Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jcarlosrodicio/opencode-agent-orchestration-kitnpx agentmods add commands/jcarlosrodicio/opencode-agent-orchestration-kit/evolveWrote 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/commands/jcarlosrodicio/opencode-agent-orchestration-kit/evolve)<a href="https://agentmods.dev/commands/jcarlosrodicio/opencode-agent-orchestration-kit/evolve"><img src="https://agentmods.dev/badge/commands/jcarlosrodicio/opencode-agent-orchestration-kit/evolve/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/jcarlosrodicio/opencode-agent-orchestration-kit/evolve"><img src="https://agentmods.dev/badge/commands/jcarlosrodicio/opencode-agent-orchestration-kit/evolve.svg" alt="Reviewed on agentmods" width="80" 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.00019 | $0.01629 |
| Opus 5.5 | $0.00008 | $0.00652 |
| Sonnet 5.5 | $0.00004 | $0.00326 |
| Haiku 4.5 | $0.00002 | $0.00163 |
Grade A, and why
evolve 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.
How it starts
The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Evolve the OpenCode harness:
$ARGUMENTS
Run the AHE flow that matches the requested scope. The full flow remains mandatory for real harness changes; audit-only branches have explicit stop conditions. This is for agents, commands, skills, tools, workflows, or harness memory, not app features.
Preconditions
- Check whether the harness is in git with
git status. - If git is unavailable, do not promise automatic rollback.
- Identify or create the target iteration path under
docs/ai/evolution/runs/iteration-XXX/.
Init/context policy
Before evaluating or proposing harness changes, record:
cwd: must be the OpenCode harness repo.AGENTS.md: local rules and evolution boundaries.git state: branch, pending changes, and real rollback ability.validation commands:node scripts/check-harness.mjs,node --test scripts/check-harness.test.mjs, and needed replays.- validation expectations:
node scripts/check-harness.mjsis the cheap local smoke check;node --test scripts/check-harness.test.mjsis the long checker suite and should run with an explicit time budget above the default harness timeout, record observed runtime, and not be classified as a functional failure only because cancellation happened near the time ceiling.
repo docs:docs/ai/harness/,docs/ai/evolution/,mechanisms.jsonl,rejected_mechanisms.jsonl,session-sources.md, and benchmarks.
Session Sources
/evolve is OpenCode-first. Its local default source is:
~/.local/share/opencode/opencode.db
The primary evidence unit is an execution tree, not a flat standalone session:
- one root session with
parent_id = null - all child sessions and descendants linked through
parent_id
session_sources may add optional raw exports from:
RAW_SESSIONS_DIR(opt-in only)
Before invoking evaluator, stage normalized evidence with:
node scripts/collect-session-evidence.mjs --iteration iteration-XXX
The collector writes to the private state directory
(${XDG_STATE_HOME:-~/.local/state}/oak/session-evidence/<workspace-key>/iteration-XXX/)
with raw/ and public/ subdirectories. <workspace-key> is derived from the
real repository path, so two workspaces never share an iteration's artifacts or
cursor. Raw artifacts are 0700/0600 and never committed;
public/execution-evidence.json is the sanitized view. --output-dir redirects
the root, and a destination inside a git working tree requires
--allow-repo-output.
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 Changed · +8 lines d1c9abe5af4a
- 3mo ago First seen · 168 lines · 19 tokens per session scan A a6860ebcb33b
evolve is a command published in the GitHub repository jcarlosrodicio/opencode-agent-orchestration-kit (166 stars, last pushed yesterday), licensed Apache-2.0. It adds 19 tokens to every session and 1,629 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
evolve compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| evolvejcarlosrodicio/opencode-agent-orchestration-kit | Command | 166 | yesterday | Apache-2.0 | A | 19 | Claude Code |
| monitoring:agentsmonoes/monomind | Command | 23 | 2d ago | Apache-2.0 | A | 27 | Claude Code |
| team-uistriderZA/OpenCodeGameStudios | Command | 133 | 20d ago | MIT | A | 11 | Claude Code |
| fastapimfmezger/ai_agent_dotfiles | Command | 7 | 4mo ago | MIT | A | 84 | Claude Code, Gemini CLI |
| p5-impl-greenjonase47/ccpr | Command | 1 | 2mo ago | MIT | A | 0 | Claude Code |
| banking-detectgonzalezpazmonica/savia | Command | 52 | yesterday | MIT | A | 24 | Claude Code |
| playground-createlunchpaillola/lola-opencode | Command | 22 | 2mo ago | none | A | 9 | Claude Code |