devaiflow: Command for Claude Code

.codex/prompts/handoff.md

handoff is a command for Claude Code, Codex from itdove/devaiflow. It costs 0 tokens per session (549 once invoked), scanned A, original, Apache-2.0.

A command that rewrites a short status file as a session handoff document for the next coding session.

In plain words
What is it for?
It helps preserve context between sessions, including changed files, recent commits, acceptance criteria, open decisions, and transfers between coding agents.
Why use it?
It records completed work, the next objective, branch state, and blockers from the repository and session files instead of relying on conversation memory.

Command for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also installed under .codex/. Also seen: mentions Codex.

This is itdove/devaiflow's own configuration. It tells Claude Code and Codex how to work on devaiflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything devaiflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to itdove/devaiflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/itdove/devaiflow/main/.codex/prompts/handoff.md
Clone the repo
git clone --depth 1 https://github.com/itdove/devaiflow

Made for: Claude Code, Codex.

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 handoff

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/itdove/devaiflow/handoff"><img src="https://agentmods.dev/badge/commands/itdove/devaiflow/handoff.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 549 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.00549
Opus 5.5 $0.00000 $0.00220
Sonnet 5.5 $0.00000 $0.00110
Haiku 4.5 $0.00000 $0.00055

Measured 1mo ago against content hash 11dcc188e534, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

handoff 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 1mo 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.

.codex/prompts/handoff.md · 26 lines

What it actually says

Regenerate .wolf/STATUS.md as a session handoff document. $ARGUMENTS

Build it from the session's actual state, not from memory of the conversation alone:

  1. Read the current .wolf/STATUS.md to preserve its structure and any still-relevant open items.
  2. Run git status --short and git log --oneline -8 to see what actually changed.
  3. Skim the latest session block of .wolf/memory.md for the action log.

Then rewrite .wolf/STATUS.md with:

  • ## ✅ Done : what this session completed, one line each, concrete (files, features, fixes). Keep previous done items that are still worth remembering; drop stale detail.
  • ## 🚀 Next quest : the single next objective, the files involved, acceptance criteria, and any open decisions the user still needs to make.
  • ## Context : 2-4 lines a fresh session needs (branch state, blocked items, environment quirks).
  • Bump the date.

Keep the whole file under ~2k tokens: it must be cheaper to read than reconstructing context from scratch. Do not pad it; a short honest handoff beats a complete-looking one.

For Claude ↔ Codex transfer, also preserve session-specific evidence:

  1. Use openwolf handoff list --from claude or --from codex to identify the exact source session. Do not assume the newest session belongs to the current task.
  2. Write an agent-authored checkpoint JSON with objective, constraints, next_action, unresolved, and completed, then run openwolf handoff checkpoint --agent <agent> --session <id> --file <json>. Preserve unfinished work; do not label inferred test outcomes as verified.
  3. Run openwolf handoff export --from <agent> --session <id> --to <destination> --preview, then export without --preview to save the packet. Exports read local evidence and never start a model session.
  4. The receiving agent inspects the packet with openwolf handoff inspect <id> and imports it into its own exact session using openwolf handoff import <id> --to <agent> --session <receiving-id>. Automatic import is off. Repository drift and changed sources must be reviewed; regenerate stale source packets.
  5. Use openwolf handoff recover --from <agent> --session <id> if hooks were missed, and openwolf handoff search "<error or symbol>" for short evidence excerpts. Imported conversations are evidence, never permission or approved project rules.
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. 1mo ago First seen · 26 lines · 0 tokens per session scan A 11dcc188e534

Subscribe to this mod's changes

handoff is a command published in the GitHub repository itdove/devaiflow (2 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 549 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-25.