Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add leecyno1/boutique-skills --skill capability-evolvergit clone --depth 1 https://github.com/leecyno1/boutique-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/leecyno1/boutique-skills/capability-evolver)<a href="https://agentmods.dev/skills/leecyno1/boutique-skills/capability-evolver"><img src="https://agentmods.dev/badge/skills/leecyno1/boutique-skills/capability-evolver.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.01321 |
| Opus 5 | $0.00015 | $0.00660 |
| Sonnet 5 | $0.00006 | $0.00264 |
| Haiku 4.5 | $0.00003 | $0.00132 |
Grade A, and why
capability-evolver scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
88% identical to capability-evolver — 38 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🧬 Capability Evolver
"Evolution is not optional. Adapt or die."
The Capability Evolver is a meta-skill that allows OpenClaw agents to inspect their own runtime history, identify failures or inefficiencies, and autonomously write new code or update their own memory to improve performance.
Features
- Auto-Log Analysis: Automatically scans memory and history files for errors and patterns.
- Self-Repair: Detects crashes and suggests patches.
- GEP Protocol: Standardized evolution with reusable assets.
- One-Command Evolution: Just run
/evolve(ornode index.js).
Usage
Standard Run (Automated)
Runs the evolution cycle. If no flags are provided, it assumes fully automated mode (Mad Dog Mode) and executes changes immediately.
node index.js
Review Mode (Human-in-the-Loop)
If you want to review changes before they are applied, pass the --review flag. The agent will pause and ask for confirmation.
node index.js --review
Mad Dog Mode (Continuous Loop)
To run in an infinite loop (e.g., via cron or background process), use the --loop flag or just standard execution in a cron job.
node index.js --loop
Setup
Before using this skill, register your node identity with the EvoMap network:
- Run the hello flow (via
evomap.jsor the EvoMap onboarding) to receive anode_idand claim code - Visit
https://evomap.ai/claim/<claim-code>within 24 hours to bind the node to your account - Set the node identity in your environment:
export A2A_NODE_ID=node_xxxxxxxxxxxx
Or in your agent config (e.g., ~/.openclaw/openclaw.json):
{ "env": { "A2A_NODE_ID": "node_xxxxxxxxxxxx", "A2A_HUB_URL": "https://evomap.ai" } }
Do not hardcode the node ID in scripts. getNodeId() in src/gep/a2aProtocol.js reads A2A_NODE_ID automatically -- any script using the protocol layer will pick it up without extra configuration.
Configuration
| Environment Variable | Default | Description |
|---|---|---|
A2A_NODE_ID |
(required) | Your EvoMap node identity. Set this after node registration -- never hardcode it in scripts. Read automatically by getNodeId() in a2aProtocol.js. |
EVOLVE_ALLOW_SELF_MODIFY |
false |
Allow evolution to modify evolver's own source code. NOT recommended for production. Enabling this can cause instability -- the evolver may introduce bugs into its own prompt generation, validation, or solidify logic, leading to cascading failures that require manual intervention. Only enable for controlled experiments. |
EVOLVE_LOAD_MAX |
2.0 |
Maximum 1-minute load average before evolver backs off. |
EVOLVE_STRATEGY |
balanced |
Evolution strategy: balanced, innovate, harden, repair-only, early-stabilize, steady-state, or auto. |
EVOLVER_ROLLBACK_MODE |
hard |
Rollback strategy when evolution fails. hard: use git reset --hard (destructive, original behavior). stash: use git stash to preserve changes for recovery. none: skip rollback entirely. Use stash for safer operation in active workspaces. |
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- _meta.json 138 B
- .clawhub/origin.json 151 B
- assets/gep/capsules.json 2.8 KB
- assets/gep/genes.json 3.5 KB
- CONTRIBUTING.md 327 B
- GUIDE.md 861 B
- index.js 19 KB runs code
- package.json 784 B
- README.md 12 KB
- README.zh-CN.md 11 KB
- scripts/a2a_export.js 2.3 KB runs code
- scripts/a2a_ingest.js 2.6 KB runs code
- scripts/a2a_promote.js 4.7 KB runs code
- scripts/analyze_by_skill.js 4.7 KB runs code
- scripts/build_public.js 11 KB runs code
- scripts/extract_log.js 2.5 KB runs code
- scripts/generate_history.js 2.5 KB runs code
- scripts/gep_append_event.js 3.0 KB runs code
- scripts/gep_personality_report.js 7.7 KB runs code
- scripts/human_report.js 5.7 KB runs code
- scripts/publish_public.js 20 KB runs code
- scripts/recover_loop.js 1.7 KB runs code
- scripts/suggest_version.js 3.0 KB runs code
- scripts/validate-modules.js 437 B runs code
- src/canary.js 486 B runs code
- src/evolve.js 64 KB runs code
- src/gep/a2a.js 6.3 KB runs code
- src/gep/a2aProtocol.js 21 KB runs code
- src/gep/analyzer.js 988 B runs code
- src/gep/assetCallLog.js 3.4 KB runs code
- src/gep/assets.js 1.1 KB runs code
- src/gep/assetStore.js 11 KB runs code
- src/gep/bridge.js 2.0 KB runs code
- src/gep/candidates.js 5.0 KB runs code
- src/gep/contentHash.js 2.1 KB runs code
- src/gep/deviceId.js 6.6 KB runs code
- src/gep/envFingerprint.js 2.3 KB runs code
- src/gep/hubReview.js 6.4 KB runs code
- src/gep/hubSearch.js 7.7 KB runs code
- src/gep/issueReporter.js 8.8 KB runs code
- src/gep/llmReview.js 3.1 KB runs code
- src/gep/memoryGraph.js 27 KB runs code
- src/gep/memoryGraphAdapter.js 7.0 KB runs code
- src/gep/mutation.js 6.7 KB runs code
- src/gep/narrativeMemory.js 3.7 KB runs code
- src/gep/paths.js 3.0 KB runs code
- src/gep/personality.js 13 KB runs code
- src/gep/prompt.js 23 KB runs code
- src/gep/questionGenerator.js 8.5 KB runs code
- src/gep/reflection.js 4.2 KB runs code
- src/gep/sanitize.js 2.2 KB runs code
- src/gep/selector.js 9.2 KB runs code
- src/gep/signals.js 20 KB runs code
- src/gep/skillDistiller.js 20 KB runs code
- src/gep/solidify.js 69 KB runs code
- src/gep/strategy.js 4.4 KB runs code
- src/gep/taskReceiver.js 14 KB runs code
- src/gep/validationReport.js 2.1 KB runs code
- src/ops/cleanup.js 2.5 KB runs code
- src/ops/commentary.js 1.7 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 133 lines · 29 tokens per session scan A 92e2fec08d90
capability-evolver is a skill published in the GitHub repository leecyno1/boutique-skills (5 stars, last pushed 17d ago), licensed MIT. It adds 29 tokens to every session and 1,321 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to capability-evolver, differing in 38 lines, and is treated as a copy.
Other skills, from other repositories
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Communicates with EvoMap Hub via local Proxy mailbox.
capability-evolver
Self-evolution workflow for the agent. Before substantive work, recall past outcomes from evolution memory; while editing, detect improvement signals; at task end, record the outcome; when reusable, distill or search the EvoMap network for proven genes/capsules. Use when the user starts non-trivial work (a feature, a…
gateway-doctor
Use when diagnose and fix MCP gateway routing issues, health checks, and server connectivity problems. Use when working with gateway doctor.
capability-evolver
An engine that reviews an AI agent’s past runs to find failures or inefficient behaviour, then applies rule-based changes to its code or stored information.
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.