A lightweight performance optimization framework for AI agents based on trajectory analysis and reward feedback.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-optimizer
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install agent-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Optimizer is a specialized V6.1 framework designed for the continuous performance enhancement of AI agents without the need for external dependencies. It leverages the native capabilities of Openclaw Skills to monitor execution paths, collect reward signals, and iteratively refine prompt strategies. By focusing on structured data collection and feedback loops, it empowers developers to build more efficient, high-ROI agents that learn from every interaction.
This framework provides a systematic approach to agent development, moving beyond trial-and-error by providing concrete metrics and analysis tools. Whether you are building technical assistants or automated scrapers, Agent Optimizer ensures your Openclaw Skills evolve based on real-world performance data and user feedback.
Agent Optimizer is natively integrated into the Openclaw Skills environment and requires no additional pip installations. To begin, set up your directory structure:
mkdir -p /workspace/subagents/{agent_id}/optimizer
cat > /workspace/subagents/{agent_id}/optimizer/config.json << 'EOF'
{
"agent_id": "techbot",
"optimization_target": "tutorial_quality",
"metrics": ["user_rating", "completion_rate", "roi"],
"ab_test": true
}
EOF
The skill organizes its data within the agent's workspace to ensure portability and privacy. The schema includes:
| Component | Format | Description |
|---|---|---|
config.json |
JSON | Defines optimization targets, active metrics, and A/B test settings. |
trajectories.jsonl |
JSONL | A structured log of every agent execution, including inputs and prompt versions. |
rewards.jsonl |
JSONL | A record of feedback signals linked to specific execution trajectories. |
optimization_report.json |
JSON | Periodic analysis results, including average rewards and pattern identification. |
prompts/ |
Directory | Stores version-controlled prompt templates (e.g., v1.0.txt, v2.0.txt). |
Loading
A specialized utility for extracting specific video segments and audio clips from YouTube using precise timestamp ranges.

A sophisticated skill enabling AI agents to autonomously provision, configure, and replicate themselves on the Aleph Cloud decentralized network.

A high-efficiency monitoring skill that tracks multiple GitHub repositories to deliver filtered, severity-based alerts and daily digests via OpenClaw.

A background service for macOS and Linux that provides automated, periodic synchronization for a list of Git repositories with built-in failure isolation.

A fully autonomous skill for managing GitHub repositories, pushing code, and handling releases without user intervention.

A lightweight security utility designed to detect and block malicious commands or prompt injections within AI agent data streams.








































