# Layerkit Session Handoff

> Write a runbook to memory so the next agent can resume the integration loop safely.

- **Type:** Skill
- **Install:** `agentstack add skill-hariharapanigrahy-layerkit-layerkit-session-handoff`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [hariharapanigrahy](https://agentstack.voostack.com/s/hariharapanigrahy)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [hariharapanigrahy](https://github.com/hariharapanigrahy)
- **Source:** https://github.com/hariharapanigrahy/layerkit/tree/main/skills/layerkit-session-handoff

## Install

```sh
agentstack add skill-hariharapanigrahy-layerkit-layerkit-session-handoff
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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:

```bash
layerkit repo status
layerkit proposal list
layerkit map list
layerkit agent status
layerkit memory index
layerkit doctor
```

2. Prefer the **handoff CLI** (template + pipeline status + memory write):

```bash
layerkit handoff write \
  --vendor  \
  --goal "" \
  --done "research: map validated" \
  --done "author: source helper updated" \
  --next "layerkit-privacy-review: confirm consent rules" \
  --next "layerkit agent mark-done --step privacy --evidence " \
  --next "run package verification and checker review" \
  --blocked "need live credentials from owner" \
  --out memory
```

Writes `{projectDir}/memory/runbooks/handoff-.md` and refreshes memory INDEX.

3. Or author manually with required sections:

```text
# Handoff runbook — 
## 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:

```bash
layerkit memory append --type runbooks --title "handoff " --vendor  --body-file ./handoff.md
layerkit memory index
```

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

## Success criteria

- [ ] Runbook in `{projectDir}/memory/runbooks/handoff-*.md`
- [ ] INDEX.md lists the entry
- [ ] Required headings present (Goal, Done, In progress, Blocked, Evidence index, Next 3 actions, Forbidden, Quality)
- [ ] Next actions are ordered and skill-named
- [ ] Residual human questions are explicit
- [ ] Outcome checkpoints and unresolved errors are explicit

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [hariharapanigrahy](https://github.com/hariharapanigrahy)
- **Source:** [hariharapanigrahy/layerkit](https://github.com/hariharapanigrahy/layerkit)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-hariharapanigrahy-layerkit-layerkit-session-handoff
- Seller: https://agentstack.voostack.com/s/hariharapanigrahy
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
