layerkit-session-handoff

layerkit-session-handoff is a skill for Claude Code, Codex from hariharapanigrahy/layerkit. It costs 23 tokens per session (641 once invoked), scanned A, original, MIT.

A session-handoff tool that records an integration project’s current state in a written runbook for the next coding agent. A runbook lists the goal, completed work, unfinished work, blockers, and next actions.

In plain words
What is it for?
Use it to gather project status, record completed and pending steps, document blockers, save handoff notes, and refresh the project’s memory index.
Why use it?
It prevents the next agent from losing context or repeating investigation after a session ends or work pauses.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hariharapanigrahy/layerkit/layerkit-session-handoff
Any agent
npx skills add hariharapanigrahy/layerkit --skill layerkit-session-handoff
Clone the repo
git clone --depth 1 https://github.com/hariharapanigrahy/layerkit

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 layerkit-session-handoff

README.md
[![agentmods](https://agentmods.dev/badge/skills/hariharapanigrahy/layerkit/layerkit-session-handoff.svg)](https://agentmods.dev/skills/hariharapanigrahy/layerkit/layerkit-session-handoff)
Your own site
<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>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 641 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00023 $0.00641
Opus 5 $0.00012 $0.00320
Sonnet 5 $0.00005 $0.00128
Haiku 4.5 $0.00002 $0.00064

Measured 5d ago against content hash d06ca9a9d230, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

skills/layerkit-session-handoff/SKILL.md · 90 lines

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

  1. Gather state:
layerkit repo status
layerkit proposal list
layerkit map list
layerkit agent status
layerkit memory index
layerkit doctor
  1. 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.

  1. 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
  1. Point the next agent at: {projectDir}/memory/INDEX.md + this runbook + layerkit-orchestrate-integration. Resume from layerkit 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

Read the full file on GitHub · 90 lines

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. 5d ago First seen · 90 lines · 23 tokens per session scan A d06ca9a9d230

Subscribe to this mod's changes

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.

Related

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.

digipulse-engineering/GAAI-framework · 69 tokens

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.

digipulse-engineering/GAAI-framework · 0 tokens

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.

digipulse-engineering/GAAI-framework · 58 tokens

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/.

digipulse-engineering/GAAI-framework · 58 tokens

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.

digipulse-engineering/GAAI-framework · 39 tokens

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…

digipulse-engineering/GAAI-framework · 80 tokens