Install
$ agentstack add skill-skillberry-ai-cap-evolve-orchestrate ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
orchestrate — the whole pipeline, end to end
orchestrate is the autonomous driver: it runs every phase in order and enforces the guardrails so a full optimization run needs little supervision. It does not add new logic — it sequences the phase skills and refuses to let the run skip a safety check. Its value is that the honesty discipline (ask-if-missing, hard gate, val-only acceptance, sealed test) is applied automatically rather than relying on the operator to remember each one.
Inputs / outputs (manifest tokens)
- needs:
project— resolved fromcapevolve.yaml(which capability / optimizer /
algorithm / budget).
- provides:
report— the end-to-end result: baseline → best val → sealed
test, with the winner named.
The sequence (and the guardrail at each step)
- intake — collect inputs, scaffold the project, **ask for any missing NEEDED
input** (never fabricate one).
- implement-and-check — implement the adapter;
cap-evolve checkmust be green
(HARD GATE — do not advance until {"ok": true}).
- baseline — freeze the split (once, seeded), score the seed on val, check
headroom (stop early if the seed already saturates val).
- \ — run the loop named in
capevolve.yaml(defaultall-at-once):
propose → evaluate(val) → diagnose → gate → accept/reject, until budget/stall. Acceptance is always on val, by significance (Δ > k·SE).
- finalize — score the best candidate on the sealed test split, once.
- report — baseline vs test; name the winner; surface pass^k and uncertainty.
The wiring is validated structurally: each step's needs must be satisfied by an upstream provides in the manifest, so a misordered or incompatible pipeline is caught before it runs.
How to run
python scripts/run.py --spec .capevolve/project/capevolve.yaml # print the plan
python scripts/run.py --spec .capevolve/project/capevolve.yaml --execute # run it (cap-evolve run)
Without --execute it prints the ordered plan (sequence, components, gate mode, budget) for inspection — run this first to confirm the pipeline before spending anything. Or, host-agnostic, follow RUN.md step by step; or cap-evolve run --spec.
Stopping rules
Stop when any holds:
- budget exhausted —
max_iterations,max_metric_calls, ormax_usdhit. - stall — N consecutive rejects (the search has plateaued; more tries just
burn budget chasing noise the gate will keep rejecting).
- no headroom — the baseline already saturates val.
Whatever the stop reason, always finish with finalize + report so the honest, sealed-test number is recorded. An optimization run with no finalize has no result.
What good vs bad looks like
- Good: the plan inspected before
--execute; every guardrail enforced
automatically; the run ends with a sealed-test number and a named winner, even when the answer is "no significant gain".
- Bad: advancing past a red
cap-evolve check; gating on train; finalizing more
than one candidate; declaring success on val without ever scoring test.
References
references/concepts.md— the phase sequence as a needs/provides DAG, where
each honesty guardrail lives, and the stop rules, with sources.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: skillberry-ai
- Source: skillberry-ai/cap-evolve
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.