afn

afn is a command for Claude Code from jayvee/aigon. It costs 21 tokens per session (1,264 once invoked), scanned A, original, Apache-2.0.

A command that takes a feature idea from specification to implementation in one step. It can use an existing inbox specification or create a new one, then set up a branch and start the work.

In plain words
What is it for?
Use it to create or find a feature, prioritise it, prepare its development branch, and begin implementation.
Why use it?
It removes several separate steps from the feature workflow when you want to move quickly from an idea to coding.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to create or find a feature, prioritise it, prepare its…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jayvee/aigon/afn
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.

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 afn

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/afn.svg)](https://agentmods.dev/commands/jayvee/aigon/afn)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/afn"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/afn.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 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,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00021 $0.01264
Opus 5 $0.00010 $0.00632
Sonnet 5 $0.00004 $0.00253
Haiku 4.5 $0.00002 $0.00126

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

Security

Grade A, and why

afn 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

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/commands/afn.md · 149 lines

How it starts

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

aigon-feature-now

Fast-track a feature from idea to implementation in one step. Works in two modes:

  • Existing feature: If the name matches a feature in the inbox (01-inbox/), runs prioritise → setup (Drive) → implement
  • New feature: If no inbox match, creates the spec from scratch, sets up a Drive branch, and starts implementation

Argument Resolution

If no feature name is provided:

  1. Ask the user what feature they want to create
  2. Use a slug-friendly name (lowercase, hyphens, no spaces)

Step 1: Check the inbox for an existing feature

List all files in ./docs/specs/features/01-inbox/ matching feature-*.md.

Compare the provided name/slug against the inbox filenames (partial match is fine — e.g. "ralph" matches feature-ralph-wiggum.md).

  • If a match is found → go to Path A: Fast-track existing feature
  • If no match → go to Path B: Create new feature

If multiple inbox features match, present the matches and ask the user to pick one.


Path A: Fast-track existing feature

The feature already has a spec in the inbox. Prioritise it, set up Drive mode, and implement.

A1: Explore the codebase

Before starting, explore the codebase to understand the existing architecture, patterns, and code relevant to this feature. Read the existing spec to understand what's planned.

A2: Prioritise

aigon feature-prioritise <inbox-name>

This assigns an ID and prioritises the feature to backlog. Note the assigned ID from the output.

A3: Setup (Drive mode)

aigon feature-start <ID>

This records the in-progress lifecycle state, refreshes the generated view, creates the branch, and creates the implementation log.

A4: Implement

Continue from Step 4: Implement below, using the assigned ID.


Path B: Create new feature

No inbox match — create from scratch using the CLI.

B1: Explore the codebase

Before running the command, explore the codebase to understand the existing architecture, patterns, and code relevant to this feature. Consider:

Read the full file on GitHub · 149 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 · 149 lines · 21 tokens per session scan A 21be4440f8f5

Subscribe to this mod's changes

afn is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,264 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.