feature-do

feature-do is a command for Claude Code from jayvee/aigon. It costs 13 tokens per session (1,669 once invoked), scanned A, a copy of afd, Apache-2.0.

A command for implementing a feature from its written specification. It can run in a normal feature branch, a separate worktree, or Fleet mode, where several agents compete on the same feature.

In plain words
What is it for?
Use it to start feature implementation, run iterative agent attempts, or test the workflow with a dry run.
Why use it?
It provides one workflow for attaching the work to the right feature and, optionally, repeating implementation attempts until validation passes.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; mentions AGENTS.md.

Install

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.

agentmods
npx agentmods add commands/jayvee/aigon/feature-do
Clone the repo
git clone --depth 1 https://github.com/jayvee/aigon

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 feature-do

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/feature-do.svg)](https://agentmods.dev/commands/jayvee/aigon/feature-do)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/feature-do"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/feature-do.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 98% copy Near-identical to another mod 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.00013 $0.01669
Opus 5 $0.00006 $0.00834
Sonnet 5 $0.00003 $0.00334
Haiku 4.5 $0.00001 $0.00167

Measured 2d ago against content hash 0b5238f0ee26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

feature-do 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 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.

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.

Origin

This is a copy

98% identical to afd — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/aigon/feature-do.md · 125 lines

How it starts

The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.

aigon-feature-do

RUN THIS FIRST — no preamble, no --help, no file searches:

aigon feature-do {{args}}

This prints the feature spec inline. Read the output, then follow the steps below. Do NOT search for spec files, do NOT run aigon --help, do NOT hunt for the aigon source. Just run the command above.

Implement a feature. Works in Drive mode (branch), Drive worktree, and Fleet mode (competition).

Worktree invariant: you are already inside the correct repo. If aigon fails, read the error — do NOT try to introspect the tool's internals.

Argument Resolution

If no ID is provided or it doesn't match an active feature, run aigon feature-list --active, filter to matches, and ask the user which one.

Step 1: Attach to the workspace

aigon feature-do {{args}}

Only run /aigon:feature-start {{args}} if the feature branch/worktree does not exist yet.

To run in Autopilot mode — iterate loop where a fresh agent session is spawned each iteration until validation passes:

aigon feature-do {{ARG1_SYNTAX}} --iterate

Optional flags: --max-iterations=N (default 5) · --agent=<id> · --dry-run

What is iterate mode? The iterate technique runs an agent in a loop: implement → validate → if fail, repeat with fresh context until success or max iterations. Add a ## Validation section to your feature spec to define feature-specific checks alongside project-level validation.

If the CLI fails with "Could not find feature in in-progress" and you're in a worktree: the spec move was likely not committed before the worktree was created. Fix by running these commands from the worktree:

SPEC_PATH=$(aigon feature-spec {{ARG1_SYNTAX}})
git checkout main -- "$SPEC_PATH"
git commit -m "chore: sync spec to worktree branch"

Step 2: Read the spec (already inlined)

The spec body was printed inline by feature-do above. Use that copy. Do not re-read from disk and do not re-run aigon feature-spec — the inline copy is authoritative.

Read the full file on GitHub · 125 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. 2d ago First seen · 125 lines · 13 tokens per session scan A 0b5238f0ee26

Subscribe to this mod's changes

feature-do is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 13 tokens to every session and 1,669 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to afd, differing in 2 lines, and is treated as a copy.