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 aldianriski/lean-flow --skill handoffgit clone --depth 1 https://github.com/aldianriski/lean-flowWrote 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/aldianriski/lean-flow/handoff)<a href="https://agentmods.dev/skills/aldianriski/lean-flow/handoff"><img src="https://agentmods.dev/badge/skills/aldianriski/lean-flow/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/aldianriski/lean-flow/handoff"><img src="https://agentmods.dev/badge/skills/aldianriski/lean-flow/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.00093 | $0.01963 |
| Opus 5.5 | $0.00037 | $0.00785 |
| Sonnet 5.5 | $0.00019 | $0.00393 |
| Haiku 4.5 | $0.00009 | $0.00196 |
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 8d 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.
This is a copy
88% identical to google-tag-manager — 116 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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
handoff
Compact the current conversation into a handoff document so a fresh agent can continue without
re-deriving everything. Transient, not durable — this is the conversation's working state, not a
project record. Pairs with /prime: handoff out at session end → /prime + read the handoff in.
TODO.md present and no docs/work/ → v1 · both present → mixed · only docs/work/ → v2 (existence only, never content).
On v1 or mixed, name it and refuse to write the status stub — point to /lean-doc-generator migrate, the only 2.x path for a v1 tree.
When to invoke
- The session's context is past ~200k (or the host's
lane-context-ceiling:) at a task boundary and work is unfinished; in a lane, also send the coordinator "rotate me<path>" (→/orchestratorreferences/coordinator.md§ 8 Lane rotation). - A task is blocked and the next session will resume it.
- A deliberate stop mid-task, or a planned agent-to-agent handoff.
Not a substitute for /lean-doc-generator close (durable sprint record + CHANGELOG) or a commit.
Where it saves
Write to the OS temp directory, not the workspace — a handoff is throwaway and must not pollute the repo or git status. Resolve temp per platform:
- Windows:
$env:TEMP(e.g.C:\Users\<you>\AppData\Local\Temp) - macOS / Linux:
$TMPDIRor/tmp
Filename: handoff-<short-slug>.md. Emit the absolute path so the next session can read it.
Before saving, pass the doc's prose through /humanizer embedded mode (the humanizer skill's references/embedded.md; format markdown; voice sample = the "What goes in" outline below, since no template file exists).
Never changed: paths, commands, ids, the handoff-path line and the status fields. A failed pass saves the original text plus the contract's one-line notice; it never blocks the handoff.
What goes in
- Goal / focus — what this work is trying to achieve. If the user passed an argument, treat it as the next session's focus and tailor the doc to it.
- State — what's done, what's in progress, what's left. Be concrete (files touched, decisions made).
- Next steps — the ordered list the next agent should start with.
- Blockers / open questions — anything unresolved, with what's needed to unblock. A sprint run's ready frontier lands here as rounds with a recommended answer per question; dependents wait for prerequisite answers (
orchestrator/references/sprint-bulk-run.md§ Runtime). - Uncertain writes — every write you started but did not see finish (a worktree agent that timed out, a remote gate run whose connection dropped, a merge-back that stopped part-way, a push with no reply), plus any you inherited from an earlier handoff and have not yet reconciled:
the operation, its target, and how to read it back. A timeout does not prove it failed. Write
nonewhen there is none; never omit the item. - Suggested skills — which skills the next agent should invoke (e.g.
/primefirst, then/orchestratorto resume,/diagnosefor the failing test). - References — do not duplicate — point to durable artifacts by path or URL (PRDs, ADRs, the sprint file, commits, diffs, issues). Summarize only what is NOT already captured elsewhere.
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.
- 8d ago Changed 3de91736930a
- 14d ago Changed · +1 lines f5db5b3bb31e
- 15d ago Changed · +3 lines f0560c6ac043
- 1mo ago Changed · +2 lines e0c9546a92b1
- 1mo ago Changed · +3 lines 65f6a5d57f5a
- 1mo ago Changed 193eb0700597
- 2mo ago Changed · +7 lines c86e5034854f
- 2mo ago Changed · +28 lines 30f06f7a483b
- 3mo ago First seen · 66 lines · 93 tokens per session scan A 512a77dd5ce0
handoff is a skill published in the GitHub repository aldianriski/lean-flow (4 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,963 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to google-tag-manager, differing in 116 lines, and is treated as a copy.
handoff compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| handoffaldianriski/lean-flow | Skill | 4 | today | MIT | A | 93 | Claude Code |
| knowledge-ingestopenclaw/openclaw | Skill | 395k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | 2d ago | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 12d ago | MIT | A | 184 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |