Borrowing it
Nothing to install: this file belongs to cluesmith/codev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cluesmith/codev/main/.claude/skills/afx/SKILL.mdgit 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/skills/cluesmith/codev/afx)<a href="https://agentmods.dev/skills/cluesmith/codev/afx"><img src="https://agentmods.dev/badge/skills/cluesmith/codev/afx/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/skills/cluesmith/codev/afx"><img src="https://agentmods.dev/badge/skills/cluesmith/codev/afx.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.00094 | $0.03149 |
| Opus 5.5 | $0.00038 | $0.01260 |
| Sonnet 5.5 | $0.00019 | $0.00630 |
| Haiku 4.5 | $0.00009 | $0.00315 |
Grade C, and why
afx scanned grade C with 2 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 14d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -s http://localhost:4100/api/workspaces | python3 -m json.tool # → each .name is a valid <workspace> address Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s http://localhost:4100/api/workspaces | python3 -m json.tool # → each .name is a valid <workspace> address How it starts
The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Farm CLI
afx spawn
Spawns a new builder in an isolated git worktree.
afx spawn [number] [options]
The ONLY flags that exist:
| Flag | Description |
|---|---|
--protocol <name> |
Protocol: spir, aspir, air, bugfix, tick, maintain, experiment. Required for numbered spawns. |
--task <text> |
Ad-hoc task (no issue number needed) |
--shell |
Bare Claude session |
--worktree |
Bare worktree session |
--amends <number> |
Original spec number (TICK only) |
--files <files> |
Context files, comma-separated. Requires --task. |
--no-comment |
Skip commenting on the GitHub issue |
--force |
Skip dirty-worktree and collision checks |
--soft |
Soft mode (AI follows protocol, you verify) |
--strict |
Strict mode (porch orchestrates) — this is the default |
--resume |
Resume builder in existing worktree |
--no-role |
Skip loading role prompt |
There is NO -t, --title, --name, or --branch flag. The branch name is auto-generated from the issue title.
Examples:
afx spawn 42 --protocol spir # SPIR builder for issue #42
afx spawn 42 --protocol aspir # ASPIR (autonomous, no human gates)
afx spawn 42 --protocol air # AIR (small features)
afx spawn 42 --protocol bugfix # Bugfix
afx spawn 42 --protocol tick --amends 30 # TICK amendment to spec 30
afx spawn 42 --protocol spir --soft # Soft mode
afx spawn 42 --resume # Resume existing builder
afx spawn --task "fix the flaky test" # Ad-hoc task (no issue)
afx spawn 42 --protocol spir --force # Skip dirty-worktree check
Pre-spawn checklist:
git status— worktree must be clean (or use--force)- Commit specs/plans first — builders branch from HEAD and can't see uncommitted files
--protocolis required for numbered spawns
afx send
Sends a message to a running builder.
afx send [builder] [message]
| Flag | Description |
|---|---|
--all |
Send to all builders |
--file <path> |
Include file content |
--interrupt |
Send Ctrl+C first |
--raw |
Skip structured formatting |
--no-enter |
Don't press Enter after message |
What ships with it
6 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.
- af-workspace/iteration-1/eval-1-spawn-naming/without_skill/output.txt 215 B
- af-workspace/iteration-1/eval-2-cleanup-format/without_skill/output.txt 215 B
- af-workspace/iteration-1/eval-3-send-with-file/without_skill/output.txt 215 B
- af-workspace/iteration-1/eval-4-tower-restart/without_skill/output.txt 215 B
- af-workspace/iteration-1/eval-5-tick-amends/without_skill/output.txt 215 B
- evals/evals.json 1.5 KB
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.
- 14d ago Changed · +35 lines a63ecf5491b0
- 17d ago Changed · +1 lines a4c275bdd82c
- 1mo ago Changed · +15 lines ba81bfb5573b
- 2mo ago First seen · 247 lines · 94 tokens per session scan C acf47477425a
afx is a skill published in the GitHub repository cluesmith/codev (297 stars, last pushed 2d ago), licensed Apache-2.0. It adds 94 tokens to every session and 3,149 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
afx compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| afxcluesmith/codev | Skill | 297 | 2d ago | Apache-2.0 | C | 94 | Claude Code |
| hns-lsel-curatormodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 135 | Claude Code |
| moai-workflow-worktreemodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 41 | Claude Code |
| moai-lane-watchdogmodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 86 | Claude Code |
| hns-workflow-ci-loopmodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 76 | Claude Code |
| hns-moaiadk-patternsmodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 116 | Claude Code |
| moai-harness-learnermodu-ai/moai-adk | Skill | 1.3k | 3d ago | Apache-2.0 | A | 61 | Claude Code |