feature-transfer

feature-transfer is a command for Claude Code from jayvee/aigon. It costs 20 tokens per session (789 once invoked), scanned A, a copy of aft, Apache-2.0.

A workflow command for handing an in-progress feature from one coding agent to another while keeping its branch, commits, worktree, and history.

In plain words
What is it for?
It helps transfer active feature implementation, capture a briefing for the new agent, and optionally launch that agent.
Why use it?
It prevents lost work when an agent reaches a usage limit, gets stuck, or needs to be replaced.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code; mentions Codex.

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/feature-transfer
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 feature-transfer

README.md
[![agentmods](https://agentmods.dev/badge/commands/jayvee/aigon/feature-transfer.svg)](https://agentmods.dev/commands/jayvee/aigon/feature-transfer)
Your own site
<a href="https://agentmods.dev/commands/jayvee/aigon/feature-transfer"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/feature-transfer.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 789 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% 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.00020 $0.00789
Opus 5 $0.00010 $0.00394
Sonnet 5 $0.00004 $0.00158
Haiku 4.5 $0.00002 $0.00079

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

Security

Grade A, and why

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

97% identical to aft — 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.

.claude/commands/aigon/feature-transfer.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 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 {{args}} --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 · 54 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 · 54 lines · 20 tokens per session scan A 8d6af2a0c997

Subscribe to this mod's changes

feature-transfer is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 20 tokens to every session and 789 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to aft, differing in 2 lines, and is treated as a copy.