codev: Skill for Claude Code

.claude/skills/afx/SKILL.md

afx is a skill for Claude Code from cluesmith/codev. It costs 94 tokens per session (3,149 once invoked), scanned C, original, Apache-2.0.

A command-line tool for starting and managing separate coding-agent workers, called builders, in isolated workspaces. It also handles their protocols, status, messages, and scheduled tasks.

In plain words
What is it for?
Spawning builders for issues or custom tasks, resuming existing workers, checking their status, and managing their workspaces or scheduled jobs.
Why use it?
It reduces the manual work of setting up parallel coding sessions and helps keep their changes separated.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is cluesmith/codev's own configuration. It tells Claude Code how to work on codev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codev configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/cluesmith/codev/main/.claude/skills/afx/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cluesmith/codev

Made for: Claude Code.

Wrote 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.

agentmods badge for afx

README.md
[![agentmods](https://agentmods.dev/badge/skills/cluesmith/codev/afx/github.svg)](https://agentmods.dev/skills/cluesmith/codev/afx)
Your own site
<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.

agentmods 80×15 button for afx

Your own site · 80×15
<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>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,149 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 14d ago against content hash a63ecf5491b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
.claude/skills/afx/SKILL.md · 298 lines

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:

  1. git status — worktree must be clean (or use --force)
  2. Commit specs/plans first — builders branch from HEAD and can't see uncommitted files
  3. --protocol is 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

Read the full file on GitHub · 298 lines

Changes

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.

  1. 14d ago Changed · +35 lines a63ecf5491b0
  2. 17d ago Changed · +1 lines a4c275bdd82c
  3. 1mo ago Changed · +15 lines ba81bfb5573b
  4. 2mo ago First seen · 247 lines · 94 tokens per session scan C acf47477425a

Subscribe to this mod's changes

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.

Related

afx compared with skills from other repositories

afx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
afxcluesmith/codevSkill2972d agoApache-2.0C94Claude Code
hns-lsel-curatormodu-ai/moai-adkSkill1.3k3d agoApache-2.0A135Claude Code
moai-workflow-worktreemodu-ai/moai-adkSkill1.3k3d agoApache-2.0A41Claude Code
moai-lane-watchdogmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A86Claude Code
hns-workflow-ci-loopmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A76Claude Code
hns-moaiadk-patternsmodu-ai/moai-adkSkill1.3k3d agoApache-2.0A116Claude Code
moai-harness-learnermodu-ai/moai-adkSkill1.3k3d agoApache-2.0A61Claude Code