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 yuri-semenenko/ai-engineering-workspace --skill handoffgit clone --depth 1 https://github.com/yuri-semenenko/ai-engineering-workspaceWrote 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/yuri-semenenko/ai-engineering-workspace/handoff)<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/handoff"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/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/yuri-semenenko/ai-engineering-workspace/handoff"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/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.00109 | $0.01842 |
| Opus 5.5 | $0.00044 | $0.00737 |
| Sonnet 5.5 | $0.00022 | $0.00368 |
| Haiku 4.5 | $0.00011 | $0.00184 |
Grade C, and why
handoff scanned grade C with 1 finding 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 23d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
When the stream ends (its last PR merged, or the work abandoned), close it instead of writing a handoff: fold anything durable into memory, then run the ownership check from Write on the stream's file. Before deleting an How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
handoff
/clear is cheap only if nothing that matters dies with the context. A handoff carries what a fresh session needs to continue without re-deriving it: the next step, the state, the decisions and their reasons. It leaves out whatever the next session can re-read from git, the PR, the ticket, or memory.
When
At a task boundary: write first, then suggest /clear with the resume line. Which moments are boundaries, and when not to offer one, is the Session Hygiene rule in the persona; it is not restated here. When the boundary is the stream's last PR merging, Close instead of writing.
Write
Path: ~/.handoffs/<key>/<stream>.md. <key> is the main checkout's directory name plus a short hash of the repository's identity: its origin URL as configured, or the main checkout's absolute path when there is no origin. Every worktree of one repository gets the same key, and two repositories that share a name do not. The hash covers exact bytes, so run one of these as written rather than translating it; both print the same key:
main=$(git worktree list --porcelain | sed -n '1s/^worktree //p')
id=$(git config --get remote.origin.url); [ -n "$id" ] || id=$main
printf '%s-%s\n' "$(basename "$main" .git)" "$(printf '%s' "$id" | git hash-object --stdin | cut -c1-8)"
$enc = [Console]::OutputEncoding; [Console]::OutputEncoding = [Text.UTF8Encoding]::new($false)
$main = (git worktree list --porcelain)[0] -creplace '^worktree '
$id = git config --get remote.origin.url; if (-not $id) { $id = $main }
[Console]::OutputEncoding = $enc
$f = [IO.Path]::GetTempFileName(); [IO.File]::WriteAllText($f, $id); $h = git hash-object $f; Remove-Item $f
'{0}-{1}' -f ((Split-Path -Leaf $main) -creplace '(?<=.)\.git$'), $h.Substring(0, 8)
The PowerShell form reads git's output as UTF-8 and strips .git case-sensitively, as basename does; without either, a non-ASCII path or a .GIT suffix prints a different key.
The URL goes into the hash, never into the path or the handoff, so a credential in it does not land there. Renaming the checkout's directory, changing origin, or moving a checkout that has none changes the key. <stream> is the ticket key (PROJ-123) or a kebab-case topic.
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.
- 23d ago Changed 9d388112aaf4
- 1mo ago First seen · 95 lines · 109 tokens per session scan C 1184677ef2cb
handoff is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (4 stars, last pushed 3d ago), licensed MIT. It adds 109 tokens to every session and 1,842 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.
handoff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| handoffyuri-semenenko/ai-engineering-workspace | Skill | 4 | 3d ago | MIT | C | 109 | Claude Code |
| al-context-createjaviarmesto/ALDC-AL-Development-Collection | Skill | 116 | 2d ago | MIT | A | 39 | Claude Code |
| al-memory-createjaviarmesto/ALDC-AL-Development-Collection | Skill | 116 | 2d ago | MIT | A | 40 | Claude Code |
| apex-context-managementjonathan-vella/apex-accelerator | Skill | 51 | 3d ago | MIT | A | 100 | Claude Code |
| workspace-knowledge-synculises-jeremias/agent-toolkit | Skill | 28 | 2d ago | MIT | A | 64 | Claude Code |
| workspaceulises-jeremias/agent-toolkit | Skill | 28 | 2d ago | MIT | A | 27 | Claude Code |
| reflectrjmurillo/ai-agents | Skill | 50 | today | Apache-2.0 | A | 42 | Claude Code |