session-handoff

session-handoff is a skill for Claude Code, Codex from strikersam/autonomous-ai-agency. It costs 32 tokens per session (883 once invoked), scanned B, original, MIT.

A structured document that records what happened in a work session, the current state, and the next actions. It is written so another developer or AI session can resume without searching through old work.

In plain words
What is it for?
Use it when pausing a large task, switching developers or agents, or preparing a clear resume point.
Why use it?
It prevents lost context when a task is paused, handed over, or interrupted by a new session.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when pausing a large task, switching developers or agents, or preparing a clear resume point.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/strikersam/autonomous-ai-agency/session-handoff
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.

Any agent
npx skills add strikersam/autonomous-ai-agency --skill session-handoff
Clone the repo
git clone --depth 1 https://github.com/strikersam/autonomous-ai-agency

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/session-handoff/github.svg)](https://agentmods.dev/skills/strikersam/autonomous-ai-agency/session-handoff)
Your own site
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/session-handoff"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/session-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.

agentmods 80×15 button for session-handoff

Your own site · 80×15
<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/session-handoff"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/session-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 883 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00032 $0.00883
Opus 5 $0.00016 $0.00441
Sonnet 5 $0.00006 $0.00177
Haiku 4.5 $0.00003 $0.00088

Measured 12d ago against content hash 7c7d65f204ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

session-handoff scanned grade B 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 12d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/state/agent-state.json # machine state
.agents/skills/session-handoff/SKILL.md · 139 lines

How it starts

The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: session-handoff

When to Use

Use this skill when:

  • Pausing mid-task and planning to resume later
  • Handing off to a different AI session or developer
  • A task is too large to finish in one session
  • You want a clean resume point before a context window reset

This is more detailed than wrap-up — it focuses on producing a handoff artifact that another session can use to continue without asking any questions.


Instructions

Step 1 — Capture current state

Gather the raw facts:

git status                          # what's staged / unstaged
git log --oneline -5                # recent commits
git stash list                      # any stashes
cat .claude/state/agent-state.json  # machine state
tail -30 .claude/state/checkpoint.jsonl  # recent steps

Step 2 — Write the handoff document

Update .claude/state/NEXT_ACTION.md with the full handoff:

# Session Handoff

**Date:** YYYY-MM-DD HH:MM
**Branch:** <current branch>
**Objective:** <one sentence — what is being built?>

---

## What Was Accomplished This Session

- <completed item 1>
- <completed item 2>
- <completed item 3>

## Current State

**Working tree:** <clean | N files modified | N staged>
**Tests:** <passing | failing — see blockers>
**Last commit:** `<hash> <message>`

## Exactly Where We Left Off

<Describe the precise stopping point. Include file name and line number if mid-edit.>

## Next Actions (in order)

1. **First:** `<exact command or action>`
2. **Then:** `<next action>`
3. **Finally:** `<last action to complete the task>`

## Blockers

- <blocker 1 — what is it and why is it blocking?>
- None (if clear)

## Key Decisions Made

- **Decision:** <what was decided>  **Reason:** <why>
- <repeat for each significant decision>

## Files Changed This Session

| File | Change |
|------|--------|
| `path/to/file.py` | Added X, modified Y |

## Do Not Touch

- `<file>` — in progress, half-written
- `<module>` — requires risky-module-review before any changes

## Context for Next Session

<2–3 sentences of context that would take 10 minutes to re-derive.
Include any gotchas, unexpected behaviour, or things that will matter.>

Read the full file on GitHub · 139 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. 12d ago First seen · 139 lines · 32 tokens per session scan B 7c7d65f204ef

Subscribe to this mod's changes

session-handoff is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 883 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.