A strategic advisory skill designed to audit and refine OpenClaw workspaces for peak efficiency, lower costs, and reduced context bloat.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-agent-optimize
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 openclaw-agent-optimize using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
OpenClaw Agent Optimization is a specialized diagnostic and advisory tool within the ecosystem of Openclaw Skills. It is engineered to streamline AI operations by focusing on cost-aware model routing, parallel-first delegation, and lean context management. The skill acts as a technical consultant for your workspace, identifying hidden inefficiencies such as transcript noise, overactive heartbeat crons, and ambient specialist surface bloat.
By prioritizing a safe, advisory-first posture, this skill ensures that no persistent system mutations occur without explicit human approval. It provides developers with a clear roadmap for improvements, including exact patch proposals, expected performance impacts, and verified rollback procedures, making it an essential component for maintaining high-performance Openclaw Skills environments.
To integrate this capability into your suite of Openclaw Skills, place the skill definition in your workspace configuration. No complex installation is required as it operates within the standard runtime.
# Navigate to your OpenClaw workspace skills directory
cd .openclaw/skills
# Verify the presence of the optimization skill file
ls openclaw-agent-optimize.md
Ensure that complementary tools like context-clean-up are available for enhanced diagnostic depth.
The skill utilizes high-signal metadata and session receipts to measure optimization success. Data is organized into the following taxonomy:
| Field | Description |
|---|---|
eligible skills |
The total count of tools currently visible to the agent. |
skills.promptChars |
The character count weight each skill adds to the system prompt. |
projectContextChars |
The total volume of project-specific context being injected. |
systemPrompt.chars |
The baseline size of the core instructions before skill injection. |
promptTokens |
The actual token cost per inference request. |
Loading
A utility focused on refining and optimizing the performance of AI agents within the Openclaw ecosystem.

A reliability-first checklist for hardening POSIX-based OpenClaw background workers and unattended automation against shell-specific failures.

A portable tagging protocol that defines explicit context boundaries and memory persistence rules for AI chat sessions.

A diagnostic utility that identifies prompt context bloat and generates a safe, reversible plan to reduce token costs and improve response speed.

A specialized utility for reducing AI agent token consumption, now transitioned to the canonical openclaw-agent-optimize skill.

A browser-automation tool for extracting and analyzing Amazon ASIN data to uncover competitor vulnerabilities and pricing strategies.








































