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.
npx agentmods add commands/jayvee/aigon/feature-closegit clone --depth 1 https://github.com/jayvee/aigonWrote 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/jayvee/aigon/feature-close)<a href="https://agentmods.dev/commands/jayvee/aigon/feature-close"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/feature-close.svg" alt="Measured on agentmods" 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 | $0.00024 | $0.02162 |
| Opus 5 | $0.00012 | $0.01081 |
| Sonnet 5 | $0.00005 | $0.00432 |
| Haiku 4.5 | $0.00002 | $0.00216 |
Grade A, and why
feature-close 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 yesterday.
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.
This is a copy
95% identical to afcl — 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.
How it starts
The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.
aigon-feature-close
Complete a feature by merging the implementation and cleaning up.
Argument Resolution
If no ID is provided, or the ID doesn't match an existing feature:
- Run
aigon feature-list --active - If a partial ID or name was given, filter to matches
- Present the matching features and ask the user to choose one
Usage
Drive mode (branch or worktree)
If you used feature-start {{args}} or feature-start {{args}} <agent>:
aigon feature-close {{args}}
The command auto-detects whether the feature uses a branch or a Drive worktree.
Fleet mode
If you used feature-start {{args}} cc ag cx cu:
aigon feature-close {{args}} <winning-agent>
Example: aigon feature-close {{args}} cc to merge Claude's implementation
Fleet mode with adoption
Merge the winner and print diffs from losing agents for selective adoption:
aigon feature-close {{args}} <winning-agent> --adopt <agents...|all>
Examples:
aigon feature-close {{args}} cc --adopt ag cu— adopt from specific agentsaigon feature-close {{args}} cc --adopt all— adopt from all losing agents
What happens
Drive Mode
- If on the feature branch with uncommitted changes, auto-commits them (
feat: implementation for feature <ID>) - Pushes the feature branch to origin (to save work remotely)
- Switches to main/master branch
- Merges the feature branch with
--no-ff - Records done lifecycle and refreshes the generated view
- Moves implementation log to
logs/selected/ - Deletes the local feature branch
- Commits the spec and log moves
Fleet Mode (without --adopt)
- Pushes the winning agent's branch to origin
- Switches to main/master branch
- Merges the winning agent's branch with
--no-ff - Records done lifecycle and refreshes the generated view
- Organizes logs:
- Winning agent's log →
logs/selected/ - Other agents' logs →
logs/alternatives/
- Winning agent's log →
- Removes the winning agent's worktree
- Deletes the winning agent's local branch
- Commits the changes
- Shows cleanup options for remaining worktrees/branches
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.
- yesterday First seen · 208 lines · 24 tokens per session scan A e498bc781943
feature-close is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 4d ago), licensed Apache-2.0. It adds 24 tokens to every session and 2,162 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to afcl, differing in 2 lines, and is treated as a copy.
Other commands, from other repositories
dispatcher
Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atomically, and route to the entry command.
journey-audit
Outside-in product audit as a deep session — 7 read-only roles check what the site promises against what the code does, what a user experiences, what arrives by mail, and what the data says is used. Writes a dossier; needs a per-repo journey-manifest.
cost-tracker
Track session costs, understand token spend, and get optimization tips.
workpm
PM 모드로 오케스트레이터 시작. 팀을 구성하고 5단계 워크플로우로 작업을 완수합니다.
mach12:gh-pr-read
Read a GitHub pull request's title, body, and all top-level PR conversation comments; optionally locate an HTML-marker comment.
argos
설계 산출물 대비 구현 검증 — 준공검사 감리 (아르고스).