skillberry-ai/cap-evolve

Optimize any AI agent’s skills, tools/MCP, and prompts against your own evals.

47Stars on the repository
30Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

arithmetic-answers

01

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Answers a short arithmetic question with just the number. Use when the user asks to compute a sum, difference, or product and wants only the result back.

47 2d ago A 36 tokens original Apache-2.0

agent-optimize

02

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Free-form optimization algorithm for agent orchestration mode: the conversational agent owns the whole search — proposing capability edits itself, screening them cheaply, gating each on full val, and sealing test once. Use when orchestrationmode is agent and algorithmskill is agent-optimize. For a deterministic loop…

47 2d ago A 73 tokens original Apache-2.0

evograph

03

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Deprecated agent-mode algorithm (evo-graph port): a weakness-graph search that dispatched one solver agent per failure cluster and reverted a whole round on regression. Do not start new runs with it — its per-weakness fan-out is already agent-optimize's sibling fan-out, done behind the honest val significance gate…

47 2d ago A 184 tokens original Apache-2.0

gepa

04

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Runs the GEPA optimization loop (arXiv:2507.19457) — sample-efficient reflective Pareto search. A cheap train-minibatch pre-gate decides whether a proposal is worth an expensive val evaluation, and parents are sampled from a per-instance frontier so specialists survive instead of being averaged away. Use when rollouts…

47 2d ago A 111 tokens original Apache-2.0

hill-climb

05

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Runs a global hill-climb optimization loop where the parent is always the current best candidate and the val significance gate decides acceptance. Use as the algorithm for most runs — the first run on a new project, binary pass/fail scorers, and small task sets. Pick how each iteration's reflection is focused with…

47 2d ago A 120 tokens original Apache-2.0

skillopt

06

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Runs the SkillOpt single-lineage optimization loop, which organizes a hill-climb into epochs over mini-batches of train tasks under a textual learning rate — an integer edit budget that decays on a constant|linear|cosine schedule — and ends each epoch with one extra gated consolidation step. Parent is always the…

47 2d ago A 118 tokens original Apache-2.0

mcp-tool

07

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Optimize the tool surface of an EXTERNAL MCP server — one the agent talks to but does not implement. Use when an agent wired to an MCP server mis-selects tools, fills arguments wrong, or is offered a noisy 40-tool set it mostly ignores. Covers MCP tool descriptions, per-parameter documentation, in-description…

47 2d ago A 192 tokens original Apache-2.0

skill-package

08

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Optimize an Agent Skill package itself — its SKILL.md (frontmatter + body), its references, and its bundled scripts. Use when the capability under optimization IS a skill, you want the downstream agent to trigger it correctly and follow it without wasted steps, or you want a step the agent keeps skipping turned into…

47 2d ago A 112 tokens original Apache-2.0

system-prompt

09

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Optimize an agent's system prompt, developer message, or policy text — the instructions that shape its behavior. Use when the artifact to improve is a prompt or policy file rather than tools or a skill package: the agent lacks a rule, misses the required output format, or applies the wrong decision criterion. Covers…

47 2d ago A 142 tokens original Apache-2.0

tools

10

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Optimize an agent's OWN tool surface (tools it implements, not an external MCP server). Use when the agent mis-selects tools, fills arguments wrong, calls the same tool N times in a row, or has a confusing, redundant, or oversized toolset. Covers tool names and descriptions, parameter docs, tool schemas, handler code…

47 2d ago A 81 tokens original Apache-2.0

run-optimizer

11

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Drives any shell-invokable coding agent (Claude Code, Codex, Gemini CLI, opencode, Cursor, Factory Droid, GitHub Copilot CLI, Kimi, Pi, Antigravity, OpenClaw, IBM Bob, or a fully custom command) as the edit proposer in a cap-evolve run, resolving the named optimizer from optimizers/registry.yaml. Use this as the…

47 2d ago A 122 tokens original Apache-2.0

orchestrate

12

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Drive the entire cap-evolve pipeline end to end, autonomously. Use when the user wants the whole optimization run with minimal hand-holding. Sequences intake → implement-and-check → baseline → the chosen algorithm loop → finalize → report, enforces the cap-evolve-check hard gate before spending budget, decides when to…

47 2d ago A 100 tokens original Apache-2.0

using-cap-evolve

13

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Front door for cap-evolve: routes an optimization request to the right pipeline phase. Use when someone wants an agent, skill, system prompt, tool surface, or MCP toolset to score higher on an eval, benchmark, or task suite — "optimize my skill", "raise the pass rate on these tasks", "my agent keeps failing these…

47 2d ago A 188 tokens original Apache-2.0

baseline

14

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Establish the starting point. Use after implement-and-check and before any algorithm. Creates the run directory, freezes the seeded train/val/test split (written once), scores the unmodified seed capability on val, and records it as the candidate every algorithm must beat. Reports the remaining headroom so a saturated…

47 2d ago A 72 tokens original Apache-2.0

diagnose

15

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Extract the learning signal from execution traces — the textual analogue of a gradient. Use between evaluation and proposing edits. Reads a candidate's rollouts and traces, separates good signals to keep from bad signals to fix, builds a reflective dataset (per failing task — Inputs, Generated Outputs, Feedback) and…

47 2d ago A 97 tokens original Apache-2.0

evaluate

16

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Score a candidate on a split with honest, variance-aware evaluation. Use whenever you need a number for a candidate (the algorithm calls it internally; you can also call it directly to inspect). Runs the target via the adapter for each task, scores each rollout, aggregates mean + standard error, and reports pass^k…

47 2d ago A 84 tokens original Apache-2.0

finalize

17

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Score the best candidate on the held-out TEST split exactly once and seal the run. Use as the last evaluation step, after optimization stops. The run dir enforces the seal — a second finalize raises an error — so the headline number is produced once on data the optimizer never saw, the way an honest benchmark result…

47 2d ago A 69 tokens original Apache-2.0

gate

18

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Apply the acceptance decision that keeps optimization honest — always on the val split, by default requiring the improvement to exceed the significance bar (Δ > k·SE) so noise is not mistaken for progress. Use to inspect or reproduce a single accept/reject decision; the algorithms apply it internally every iteration.

47 2d ago A 62 tokens original Apache-2.0

implement-and-check

19

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Runs the hard gate that has to pass before any optimization budget is spent. Use right after intake. Walks the agent through implementing the 3 required adapter methods plus any defaulted hooks that need overriding (and any selected skill's abstract methods), then runs cap-evolve check on the project plus each…

47 2d ago A 94 tokens original Apache-2.0

intake

20

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Starts a cap-evolve optimization run. Interviews the user to decide what capability to optimize, which runner/optimizer/algorithm to use, and where the tasks and the scoring source live, then scaffolds .capevolve/project/ (adapter stub, capevolve.yaml, PROJECT.md). Use when someone asks to optimize or improve an agent…

47 2d ago A 169 tokens original Apache-2.0

report

21

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Summarize a run for a human — baseline val → best val → sealed test, the winning candidate, iterations spent, and pass^k. Use after finalize. Writes report.md and prints a compact JSON summary; the source of truth for "did this optimization actually work, and by how much".

47 2d ago A 63 tokens original Apache-2.0

<skill-name>

22

skillberry-ai/cap-evolve

Skill Claude CodeCodex

Concrete triggers. What situation in the pipeline calls for it.

47 2d ago A 50 tokens original Apache-2.0