cross-session-handoff

cross-session-handoff is a skill for Claude Code from Arch1eSUN/Arcgentic. It costs 31 tokens per session (227 once invoked), scanned A, original, MIT.

A shared-state tool for coordinating work across separate coding-agent sessions through a YAML file. YAML is a human-readable format for structured settings and data.

In plain words
What is it for?
Use it to read or update the current work phase, save snapshots, and lock the shared state while a session writes to it.
Why use it?
It prevents sessions from overwriting each other's progress and keeps a history of saved states.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arcgentic plugin — 18 skills, 9 agents, 1 MCP server shipped together

Good fit Use it to read or update the current work phase, save snapshots, and lock the shared state while a session writes to it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arch1esun/arcgentic/cross-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 Arch1eSUN/Arcgentic --skill cross-session-handoff
Clone the repo
git clone --depth 1 https://github.com/Arch1eSUN/Arcgentic

Made for: Claude Code.

Or install arcgentic, the plugin that ships this one along with the rest of its 18 skills, 9 agents, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arch1esun/arcgentic/cross-session-handoff"><img src="https://agentmods.dev/badge/skills/arch1esun/arcgentic/cross-session-handoff.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 227 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.00227
Opus 5.5 $0.00012 $0.00091
Sonnet 5.5 $0.00006 $0.00045
Haiku 4.5 $0.00003 $0.00023

Measured 1mo ago against content hash 80a17873a6fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cross-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 1mo 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/cross-session-handoff/SKILL.md · 32 lines

What it actually says

cross-session-handoff

Manages .arcgentic/state.yaml as the shared state medium across multiple AI sessions.

Commands

arcgentic cross-session-handoff read
arcgentic cross-session-handoff write --session-id dev-session --updates '{"current_phase":"dev"}'
arcgentic cross-session-handoff snapshot --session-id audit-session
arcgentic cross-session-handoff acquire-lock --session-id dev-session --ttl 600
arcgentic cross-session-handoff release-lock --session-id dev-session

Rules

  • Reads do not acquire a lock.
  • Writes acquire a TTL lock, write through a temp file, then rename atomically.
  • Snapshots go to .arcgentic/state-history/.
  • A session must not overwrite another non-expired lock.

See also

  • toolkit/src/arcgentic/skills_impl/cross_session_handoff.py
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. 1mo ago First seen · 32 lines · 31 tokens per session scan A 80a17873a6fe

Subscribe to this mod's changes

cross-session-handoff is a skill published in the GitHub repository Arch1eSUN/Arcgentic (285 stars, last pushed 23d ago), licensed MIT. It adds 31 tokens to every session and 227 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

kb-builder

Build an Obsidian-compatible knowledge base from public web sources using the TinyFish CLI. Use this skill when a user wants a builder-grade markdown knowledge base on a technical topic, asks for a structured research vault, or wants a topic compiled from live public sources into interlinked markdown files. Supports…

tinyfish-io/tinyfish-cookbook · 158 tokens

weknora-shared

Use when driving a WeKnora RAG server through the weknora CLI as an agent — authenticating, managing knowledge bases / documents / sessions / agents, running search or chat, or interpreting the CLI's JSON envelopes and exit codes. Read this before any other weknora- skill.

Tencent/WeKnora · 68 tokens

catchup

Rebuild the human's lost context on a project from live state, in plain language: what needs them, what changed, what new words mean. Use when the human returns after a gap, says they can't follow the project anymore, asks what happened or what a term means, or before deciding what to do next when their mental model…

LilMGenius/paperthin · 84 tokens

02-project-memory

Build the project's memory of its architecture, conventions, and decisions, and wire it into your AI tools. Use when the user wants to set up or refresh project memory, or rewire it into a tool. Not for editing one existing memory file.

ai-driven-dev/framework · 54 tokens

daily-journal

A passive daily work journal that Claude keeps FOR you so you never have to write it yourself. Append short entries after meaningful work (what was done, what you focused on, artifacts touched) to 01-daily/journal/YYYY-MM-DD.md. Run a guided reflection at night or in the morning. Use when you run /daily-journal, say…

huytieu/COG-second-brain · 107 tokens

distill-session-knowledge

Offline-mine this project's pi session JSONL logs into reusable, verified knowledge: extracts faults, decisions, corrections, procedures and docs, promotes only recurring patterns, and routes artifacts into skillmanage, memory and docs. Use on "mine my sessions", "distill session knowledge", "extract lessons from…

BlackBeltTechnology/pi-agent-dashboard · 78 tokens