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.
git 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/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/commands/jayvee/aigon/feature-close"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/feature-close.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.00024 | $0.02162 |
| Opus 5.5 | $0.00010 | $0.00865 |
| Sonnet 5.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 2mo 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.
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.
- 2mo ago First seen · 208 lines · 24 tokens per session scan A e498bc781943
feature-close is a command published in the GitHub repository jayvee/aigon (27 stars, last pushed 1mo 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.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.
feature-close compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| feature-closejayvee/aigon | Command | 27 | 1mo ago | Apache-2.0 | A | 24 | Claude Code |
| dashboard-session-diffBlackBeltTechnology/pi-agent-dashboard | Command | 357 | today | MIT | A | 31 | Claude Code |
| repo-architectruvnet/ruflo | Command | 83k | today | MIT | A | 0 | Claude Code |
| brain-statsmercurialsolo/claudectl | Command | 205 | 27d ago | MIT | A | 19 | Claude Code |
| post-release.enfitlab-ai/agent-infra | Command | 88 | today | MIT | A | 4 | Claude Code |
| advanced-code-review-contextaxiomantic/spellbook | Command | 13 | 5d ago | MIT | A | 19 | Claude Code |
| verifyaxiomantic/spellbook | Command | 13 | 5d ago | MIT | A | 31 | Claude Code |