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 agentmods add skills/hariharapanigrahy/layerkit/layerkit-session-handoffnpx skills add hariharapanigrahy/layerkit --skill layerkit-session-handoffgit clone --depth 1 https://github.com/hariharapanigrahy/layerkitWrote 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/hariharapanigrahy/layerkit/layerkit-session-handoff)<a href="https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-session-handoff"><img src="https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-session-handoff.svg" alt="Measured on agentmods" 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 | $0.00023 | $0.00641 |
| Opus 5 | $0.00012 | $0.00320 |
| Sonnet 5 | $0.00005 | $0.00128 |
| Haiku 4.5 | $0.00002 | $0.00064 |
Grade A, and why
layerkit-session-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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
layerkit-session-handoff
End-of-session (or mid-pipeline) handoff: durable runbook under memory so another agent continues without re-inventing context.
Protocol
- Gather state:
layerkit repo status
layerkit proposal list
layerkit map list
layerkit agent status
layerkit memory index
layerkit doctor
- Prefer the handoff CLI (template + pipeline status + memory write):
layerkit handoff write \
--vendor <vendor> \
--goal "<one-sentence outcome>" \
--done "research: map validated" \
--done "author: source helper updated" \
--next "layerkit-privacy-review: confirm consent rules" \
--next "layerkit agent mark-done --step privacy --evidence <path>" \
--next "run package verification and checker review" \
--blocked "need live credentials from owner" \
--out memory
Writes {projectDir}/memory/runbooks/handoff-<vendor|project>.md and refreshes memory INDEX.
- Or author manually with required sections:
# Handoff runbook — <vendor or project>
## Goal
## Done
- skills completed, proposal ids, validate status
## In progress
- current skill, open files, partial drafts
## Blocked
- exact residual human questions; who to ask
## Evidence index
- key source URLs + memory paths
## Next 3 actions
1. ...
2. ...
3. ...
## Forbidden
- do not invent; do not apply without checker; do not open deny-paths
## Quality
- last package verification result; coverage if any
## Outcome checkpoints
- what had to pass; proof artifact; fallback if it failed
## Unresolved errors
- exact red gates, failing assertions, or residual risks
Manual persist:
layerkit memory append --type runbooks --title "handoff <vendor>" --vendor <vendor> --body-file ./handoff.md
layerkit memory index
- Point the next agent at:
{projectDir}/memory/INDEX.md+ this runbook +layerkit-orchestrate-integration. Resume fromlayerkit agent next.
Forbidden
- Dumping secrets, tokens, or raw PII into the runbook
- Claiming steps done without proposal/map evidence
- Instructing the next agent to invent missing fields
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.
- 5d ago First seen · 90 lines · 23 tokens per session scan A d06ca9a9d230
layerkit-session-handoff is a skill published in the GitHub repository hariharapanigrahy/layerkit (8 stars, last pushed 28d ago), licensed MIT. It adds 23 tokens to every session and 641 once invoked, about $0.0001 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-31.
Other skills, from other repositories
bootstrap-llm-synthesis
Construct the LLM synthesis prompt from project surface scan + optional tree-sitter context + optional Q&A answers. Call the LLM. Parse and validate the response into 6-8 structured memory entries with clarity tags and source traceability. Used as Stage 3 of the /gaai:bootstrap pipeline.
memory-reconcile
Scan all memory files, documentation (/docs//.md), and README files (/README.md) for drift, contradictions, and stale references. Produce a reconciliation report for Discovery to action. Activate on demand or via cron.
memory-archive-superseded
Migrate a superseded DEC's index rows from active index.md to archive/superseded-decisions.archive.md. Idempotent. Discovery-only — never invoked by daemon delivery. Updates DEC frontmatter as canonical source of truth.
memory-delta-triage
Apply three deterministic heuristics to a single memory-delta file to produce a structured verdict block; invoke memory-ingest on ACCEPTED candidates only in validate mode. Activate when Discovery processes a raw memory-delta from contexts/artefacts/memory-deltas/.
decision-extraction
Identify and formalize durable product and technical decisions from agent outputs into long-term memory. Activate after Discovery produces artefacts, Delivery resolves trade-offs, or product direction materially changes.
memory-index-compact
Compact verbose memory index / registry files to pointer-only form. Activate when an index file (index.md, index-decisions.md, or any sibling registry table) breaches the file-size budget OR shows substance-duplication drift. Distinct from memory-compact (which targets content categories) and memory-archive-superseded…