aigon-feature-do

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

A feature implementation command for working directly on a branch, in an isolated worktree, or with multiple agents competing on the same feature. It can also repeat agent sessions until validation passes.

In plain words
What is it for?
Use it to implement a planned feature, run implementation in an isolated worktree, or start an iteration loop that keeps checking the result.
Why use it?
It gives implementation work a defined workspace and workflow, including optional repeated validation.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md). 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/aigon-feature-do
Clone the repo
git clone --depth 1 https://github.com/jayvee/aigon

Made for: Claude Code, Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/aigon-feature-do.svg)](https://agentmods.dev/commands/jayvee/aigon/aigon-feature-do)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/aigon-feature-do"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/aigon-feature-do.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 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,607 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.00000 $0.01607
Opus 5 $0.00000 $0.00804
Sonnet 5 $0.00000 $0.00321
Haiku 4.5 $0.00000 $0.00161

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

Security

Grade A, and why

aigon-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 3d 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 — 12 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.

.cursor/commands/aigon-feature-do.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 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 <name>

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 <name>

Only run /aigon-feature-start <name> 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 · 121 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. 3d ago First seen · 121 lines · 0 tokens per session scan A 47348d483132

Subscribe to this mod's changes

aigon-feature-do is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,607 tokens. A static security scan graded it A with 0 findings. It is 98% identical to afd, differing in 12 lines, and is treated as a copy.