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.
git clone --depth 1 https://github.com/cluesmith/codevWrote 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/cluesmith/codev/overview)<a href="https://agentmods.dev/commands/cluesmith/codev/overview"><img src="https://agentmods.dev/badge/commands/cluesmith/codev/overview/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/cluesmith/codev/overview"><img src="https://agentmods.dev/badge/commands/cluesmith/codev/overview.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.00000 | $0.01210 |
| Opus 5.5 | $0.00000 | $0.00484 |
| Sonnet 5.5 | $0.00000 | $0.00242 |
| Haiku 4.5 | $0.00000 | $0.00121 |
Grade B, and why
overview scanned grade B with 1 finding 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 2d 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
| `porch -C <dir> <command>` | Run any command as if porch was started in `<dir>`, like `git -C` — no `cd` into a builder worktree. Grants nothing: `approve` still needs its flag. | How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codev CLI Command Reference
Codev provides four core CLI tools for AI-assisted software development:
| Tool | Description |
|---|---|
codev |
Project setup, maintenance, and framework commands |
afx |
Agent Farm - multi-agent orchestration for development |
porch |
Protocol orchestrator - drives each protocol's state machine |
consult |
AI consultation with external models (Gemini, Codex, Claude) |
Quick Start
# Create a new project
codev init my-project
# Or add codev to an existing project
codev adopt
# Check your environment
codev doctor
# Start the workspace
afx workspace start
# Consult an AI model about a spec
consult -m gemini --protocol spir --type spec
Installation
npm install -g @cluesmith/codev
This installs the commands globally: codev, afx, porch and consult (plus team and generate-image).
Command Summaries
codev - Project Management
| Command | Description |
|---|---|
codev init [name] |
Create a new codev project |
codev adopt |
Add codev to an existing project |
codev bootstrap-docs |
Draft the governance docs from an existing codebase |
codev doctor |
Check system dependencies |
codev update |
Update codev templates and protocols |
codev import <source> |
AI-assisted protocol import from other projects |
codev check pr <N> |
Read-only merge readiness of a PR: head, state, mergeability, trial merge, CI on the code, attribution, watched files, size, files to read |
codev check deploy <N>... |
Read-only: whether merged PRs reached the deploy branch and the latest green deploy run |
codev check worktree <id|path> |
Read-only: whether removing a builder worktree would lose data, and whether its PR is finished |
See codev.md for full documentation.
afx - Agent Farm
| Command | Description |
|---|---|
afx workspace start |
Start the workspace |
afx workspace stop |
Stop all agent farm processes |
afx spawn |
Spawn a new builder (--max-load <n> refuses with exit 75 while the machine is loaded) |
afx status |
Show status of all agents |
afx cleanup |
Clean up a builder worktree (--keep-ignored copies its untracked and kept ignored files out first) |
afx send |
Send instructions to a builder (--message-file, opt-in --exit-code, safe --retry) |
afx inbox |
List/show/release/dismiss held (undelivered) messages |
afx peer |
Messaging between your own Towers through Codev Cloud: the switch, grants, your other Towers |
afx open |
Open file annotation viewer |
afx shell |
Spawn a utility shell |
afx tower |
Cross-project dashboard |
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.
- 2d ago Changed · +1 lines 7bd4769b4e9f
- 6d ago Changed · +3 lines 93fe88eb72df
- 7d ago Changed · +1 lines scan A → B 6d5086806655
- 14d ago Changed · +14 lines 959417828297
- 1mo ago Changed · +1 lines 9dc3357e3879
- 3mo ago First seen · 97 lines · 0 tokens per session scan A 6714ee47726e
overview is a command published in the GitHub repository cluesmith/codev (298 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,210 tokens. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
overview compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| overviewcluesmith/codev | Command | 298 | today | Apache-2.0 | B | 0 | Claude Code |
| conventions-checkeugenelim/agent-ready-repo | Command | 35 | yesterday | Apache-2.0 | A | 28 | Claude Code |
| regulateDauQuangThanh/hanoi-rainbow | Command | 18 | 10mo ago | MIT | A | 23 | Claude Code |
| review-prsnkhdiscovery/headless-agentic-codebase | Command | 10 | 7mo ago | MIT | A | 11 | Claude Code |
| next-issuenkhdiscovery/headless-agentic-codebase | Command | 10 | 7mo ago | MIT | A | 9 | Claude Code |
| specifyDauQuangThanh/hanoi-rainbow | Command | 18 | 10mo ago | MIT | A | 13 | Claude Code |
| taskifyDauQuangThanh/hanoi-rainbow | Command | 18 | 10mo ago | MIT | A | 18 | Claude Code |