handoff-inbox-drain

handoff-inbox-drain is a skill for Claude Code, Codex from escoffier-labs/brigade. It costs 64 tokens per session (922 once invoked), scanned A, original, MIT.

A controlled workflow for reviewing items in a Brigade handoff inbox, where work or information is passed between agents or sessions. It uses an approved set of commands and checks existing files before changing anything.

In plain words
What is it for?
Listing and reviewing handoff drafts, making edits backed by on-disk content, reinforcing facts already recorded, archiving handled items, and checking inbox health.
Why use it?
It reduces the risk of making unsupported edits, deleting records, or creating duplicate facts while clearing the inbox. It keeps retained items archived rather than removed.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also runs codex exec. Also seen: mentions Codex.

Good fit Listing and reviewing handoff drafts, making edits backed by on-disk content, reinforcing facts already recorded, archiving handled items, and checking inbox health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/escoffier-labs/brigade/handoff-inbox-drain
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.

Any agent
npx skills add escoffier-labs/brigade --skill handoff-inbox-drain
Clone the repo
git clone --depth 1 https://github.com/escoffier-labs/brigade

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/escoffier-labs/brigade/handoff-inbox-drain/github.svg)](https://agentmods.dev/skills/escoffier-labs/brigade/handoff-inbox-drain)
Your own site
<a href="https://agentmods.dev/skills/escoffier-labs/brigade/handoff-inbox-drain"><img src="https://agentmods.dev/badge/skills/escoffier-labs/brigade/handoff-inbox-drain/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-inbox-drain

Your own site · 80×15
<a href="https://agentmods.dev/skills/escoffier-labs/brigade/handoff-inbox-drain"><img src="https://agentmods.dev/badge/skills/escoffier-labs/brigade/handoff-inbox-drain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 922 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00064 $0.00922
Opus 5 $0.00032 $0.00461
Sonnet 5 $0.00013 $0.00184
Haiku 4.5 $0.00006 $0.00092

Measured 12d ago against content hash 2c5d04d667f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

handoff-inbox-drain 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 12d 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.

src/brigade/templates/skills/handoff-inbox-drain/SKILL.md · 70 lines

How it starts

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

handoff-inbox-drain

Drain a handoff review inbox with judgment, without owning a scheduler. Brigade stays invoke-only; this skill is the allowlist-bound agent recipe for triage.

When this applies

  • A handoff draft inbox has pending or reviewed items to triage.
  • An operator schedules a headless harness (claude -p, codex exec, or equivalent) against this skill.
  • You are reinforcing existing memory, not inventing a parallel corpus.

Allowlist

Work only through this allowlist of Brigade surfaces and local reads:

  • brigade handoff list
  • brigade handoff show <id>
  • brigade handoff archive <id>
  • brigade handoff closeout (when the workspace supports it)
  • brigade handoff lint / brigade handoff doctor for health checks
  • Read/Grep of on-disk handoff files, memory/cards/, and related indexes already present in the target

Bash is scoped to those brigade handoff … commands only. Do not expand into arbitrary filesystem writes, remote APIs, unscoped shell, or tools outside this allowlist. Stay inside the handoff inbox / memory/cards/ roots; do not follow .. or symlinks out of those trees.

Grounded-edit rules

Every edit must be grounded. You must cite existing on-disk content (handoff body, card text, or index entry) before changing anything. Prefer reinforce-in-place: edit or refresh only what you can verify against a local source of truth. Date-bumps alone are not grounded edits.

Retention (never delete)

  • Never delete handoff drafts or memory cards.
  • Never remove inbox items by destructive filesystem ops.
  • Never prune archives, queues, or card trees.
  • Archive only: uncertain or done items go through archive/closeout paths, or a needs-human file the operator already uses.

Reinforce over duplicate (#724)

brigade ingest --promote-cards reinforces an existing card on exact content fingerprint match and inboxes near-match or opposite-polarity proposals for review. When draining the inbox:

  1. Search existing cards and recent handoffs for the same fact or decision.
  2. If ingest already proposed a near-match reinforce or contradiction, honor that routing — do not create a sibling card.
  3. If a close match exists without an ingest proposal, reinforce that card (cite the on-disk source) instead of creating a sibling.
  4. If unsure, leave the draft for human review rather than splitting the corpus.

Read the full file on GitHub · 70 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 70 lines · 64 tokens per session scan A 2c5d04d667f3

Subscribe to this mod's changes

handoff-inbox-drain is a skill published in the GitHub repository escoffier-labs/brigade (72 stars, last pushed 3d ago), licensed MIT. It adds 64 tokens to every session and 922 once invoked, about $0.0003 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-08-30.