aigon-feature-transfer

aigon-feature-transfer is a command for Claude Code, Cursor from jayvee/aigon. It costs 0 tokens per session (733 once invoked), scanned A, original, Apache-2.0.

A handoff command that transfers an active feature from one coding agent to another while preserving its worktree, commits, branch, and workflow history.

In plain words
What is it for?
Use it to assign the feature to another agent, optionally recording the reason and choosing whether to launch that agent automatically.
Why use it?
It prevents in-progress work from being stranded when an agent reaches a limit, gets stuck, or needs to be replaced.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md). Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to assign the feature to another agent, optionally recording the reason and choosing whether to launch that agent automatically.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/aigon-feature-transfer/github.svg)](https://agentmods.dev/commands/jayvee/aigon/aigon-feature-transfer)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/aigon-feature-transfer"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/aigon-feature-transfer/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.

agentmods 80×15 button for aigon-feature-transfer

Your own site · 80×15
<a href="https://agentmods.dev/commands/jayvee/aigon/aigon-feature-transfer"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/aigon-feature-transfer.svg" alt="Reviewed on agentmods" width="80" 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 733 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.00000 $0.00733
Opus 5 $0.00000 $0.00367
Sonnet 5 $0.00000 $0.00147
Haiku 4.5 $0.00000 $0.00073

Measured 6d ago against content hash d92ffd3d3780, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

aigon-feature-transfer 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 6d 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.

.cursor/commands/aigon-feature-transfer.md · 49 lines

How it starts

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

aigon-feature-transfer

Hand a stuck or paywalled in-progress feature from its current agent to a different agent, without losing commits or in-flight work. Intended for:

  • An agent hitting a usage/token limit mid-implementation (Codex paywall, Claude 5h limit).
  • An agent stalling on a prompt, auth flow, or tool confusion that won't resolve itself.
  • A human deciding that a different agent (e.g. Claude Code) should take over from here.

The worktree, commits, branch, and workflow history are all preserved. Only the active agent changes.

Usage

aigon feature-transfer <name> --to=<agent> [--reason="..."] [--no-launch]

Flags:

  • --to=<agent> (required) — target agent id (e.g. cc, cx, ag, cu).
  • --reason="..." — free-text reason recorded in the transfer briefing.
  • --no-launch — do the transfer but don't auto-spawn the new agent; handy for scripted orchestration.

What it does (in order)

  1. Captures the last ~3000 lines from every live tmux pane for the feature.
  2. Writes a briefing to docs/specs/features/logs/feature-<ID>-transfer-<timestamp>.md — last commits, uncommitted diff, pane tails, and next-steps for the new agent.
  3. Commits any uncommitted work in the worktree as wip(transfer): save <old> state before handoff to <new> so nothing is lost by the directory move.
  4. Kills the old agent's tmux sessions and removes its heartbeat file.
  5. Moves the worktree with git worktree move — directory renames from feature-<ID>-<old>-<desc>/ to feature-<ID>-<new>-<desc>/. The branch name is preserved (it encodes who originally started the work — not a problem, it's cosmetic after merge).
  6. Re-seeds the workflow engine by emitting a fresh feature.started event so the dashboard and snapshot reflect the new agent. Prior events stay in history.
  7. Launches the new agent with aigon feature-do <ID> --agent=<new> unless --no-launch was passed.

The new agent's first task is to read the briefing and the wip(transfer) commit before doing anything else — the briefing lays out exactly where the previous agent stopped and why.

Read the full file on GitHub · 49 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. 6d ago First seen · 49 lines · 0 tokens per session scan A d92ffd3d3780

Subscribe to this mod's changes

aigon-feature-transfer is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 9d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 733 tokens. 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.