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.
npx skills add mblua/AgentsCommander --skill self-handoffgit clone --depth 1 https://github.com/mblua/AgentsCommanderWrote 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.
[](https://agentmods.dev/skills/mblua/agentscommander/self-handoff)<a href="https://agentmods.dev/skills/mblua/agentscommander/self-handoff"><img src="https://agentmods.dev/badge/skills/mblua/agentscommander/self-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.
<a href="https://agentmods.dev/skills/mblua/agentscommander/self-handoff"><img src="https://agentmods.dev/badge/skills/mblua/agentscommander/self-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00511 |
| Opus 5.5 | $0.00022 | $0.00204 |
| Sonnet 5.5 | $0.00011 | $0.00102 |
| Haiku 4.5 | $0.00005 | $0.00051 |
Grade A, and why
self-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.
What it actually says
Self-handoff
The clear erases only the conversation. Your context file, Role.md and skill index reload on resume; memory and canonical files stay on disk. The handoff carries only session state they lack.
Sections
Use these headings in this order. Fill each with concrete facts or none.
- First action: one concrete step with the exact path or command.
- Active task: issue or ticket, one-line goal, and the current workflow step, named, not explained.
- Where the work is: repo, branch, last commit, PR, and paths to canonical state (plan, status files). Point to them; do not copy them.
- In flight: messages awaiting reply (peer, filename, what is expected), running CI or commands, requested reservations or locks.
- Coordination: who gives you orders now (room or FQN) and active delegations, with their source.
- Pending decisions and temporary holds: what awaits the user or coordinator; temporary holds with their source and expiry; lessons not yet saved, as
Pending to save:. - Next: the next queued task, named only.
Never include
- Identity, role, language or answer rules.
- Skill procedures: name the skill instead.
- Closed work, and anything already in
SELF-FORGET.md. - Round history, hash lists or status revision numbers: re-read live state on resume.
- Credentials.
- Durable lessons: save them to the owning skill or memory before the clear.
Shorten
- Delete everything listed under "Never include".
- Count the words.
- Rewrite to half or fewer. Paths, commands, SHAs, message filenames and quoted evidence are not counted and not cut. Never cut a fact; stop at the smallest size that keeps every fact.
- Shorten by removing, never by compressing: plain sentences, no glued words, no invented abbreviations.
- End the file with
Words: draft <N>, final <M>.
More than 400 final words usually means content copied from elsewhere: recheck "Never include".
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.
- 1mo ago First seen · 40 lines · 54 tokens per session scan A be14286d90f5
self-handoff is a skill published in the GitHub repository mblua/AgentsCommander (14 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 511 once invoked, about $0.0002 per session on Opus 5.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-10-29.
self-handoff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-handoffmblua/AgentsCommander | Skill | 14 | today | MIT | A | 54 | Claude Code, Codex |
| paketw93/Pake | Skill | 64k | today | GPL-3.0 | A | 47 | Claude Code |
| prompt-cache-optimizerling-kong-ran/pisper | Skill | 315 | today | MIT | A | 42 | Claude Code |
| app-releaseluochang212/skill-zoo | Skill | 137 | today | MIT | A | 43 | Claude Code, Codex |
| tauri-updaterluochang212/skill-zoo | Skill | 137 | today | MIT | A | 53 | Claude Code, Codex |
| graphify-windowssaeedkolivand/ai-job-hunter-app | Skill | 65 | today | Apache-2.0 | A | 75 | Claude Code |
| zepp-coachlingcang728/ZeppBridge | Skill | 279 | yesterday | MIT | A | 95 | Claude Code |