/handoff - Preserve Conversation Context

SkillAI & models

Write a journey summary capturing noteworthy moments (predictions, decisions, surprises, mistakes, quirks). Runs automatically the moment the agent observes something worth noting during work, and manually before /clear or /compact as a final sweep. Idempotent — skips entries already recorded. Use when the agent observes a noteworthy moment, before clearing context, or when the user mentions /handoff.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the /handoff - Preserve Conversation Context skill

What this skill tells your AI

The instructions your AI receives, as published by rakovi4/continue-framework in .claude/skills/handoff/SKILL.md and read by ahel’s review.

Run this to persist what a future session would otherwise lose. /handoff runs automatically the moment the agent observes something worth noting during work, and manually before /clear or /compact as a final sweep. /handoff is the ONLY writer of journey summaries and carryover.

Workflow

  1. Identify the work item -- find the story or task the conversation worked on (recent git log Story N / Task N, or the progress.md that changed). Resolve its folder.
  2. Locate the last work-unit commit -- the conversation since that commit is the review window. Everything after it (discussion, debugging, decisions) is what /handoff captures; the work unit itself is already recorded in progress.md and its commit.
  3. Review the window against the "When to Write" triggers in .claude/templates/workflow/summary-format.md. Decide, per trigger, whether anything noteworthy happened.
  4. Write entries, or nothing -- if at least one trigger fired, append entries to the summary file (see File Layout) in the strict format from .claude/templates/workflow/summary-format.md. Before appending, check the file for an entry already covering the same moment and skip it -- /handoff runs many times per conversation and must not duplicate. If nothing fired, or every fired trigger is already recorded, create no file and append no line -- report "nothing to record".
  5. Promote carryover -- if a scenario's last step is now [x] (scenario complete), promote codebase-quirk and system-invariant entries from that scenario's summary to carryover.md at the story root, each with a From: scenario N (slug) backreference. Tasks have no carryover.
  6. Report -- list each file touched and each entry appended (or "nothing to record"), then tell the user it is safe to /clear.

File Layout

Work itemSummary fileCarryover
Story scenarioProductSpecification/stories/NN-story-name/summaries/{scenario-slug}.mdProductSpecification/stories/NN-story-name/carryover.md
TaskProductSpecification/tasks/N-type-slug/summary.mdnone

{scenario-slug} derives from the scenario heading in progress.md. Files are created lazily -- only on first append.

Resolve the story root before writing: stories/NN-story-name/ first, then stories/done/NN-story-name/ (.claude/rules/workflow.md, "Resolving a story folder"). Write into the folder that resolved -- a moment recorded about an archived story writes beside that story's own summaries, never into a second folder re-created under stories/.

Constraints

The append-only, lazy-creation, idempotent, strict-format, and no-forward-looking-instructions rules are defined in .claude/templates/workflow/summary-format.md and .claude/guidelines/workflow-detail.md (Resuming Across Conversations). Apply them — do not restate them. /handoff is the sole writer of journey summaries and carryover; /continue only reads them.

Authoritative References

  • .claude/guidelines/workflow-detail.md -- "Resuming Across Conversations": how journey summaries fit the workflow, who writes and reads them.
  • .claude/templates/workflow/summary-format.md -- when to write, entry header, block types, length limit, DO/DON'T-WRITE examples.

Signals

GitHub stars
51
Forks
14
Last commit
Sep 2026
Hacker News mentions
20
Advanced
Catalog kind
skill
Gateway key
handoff-rakovi4
Source
github.com/rakovi4/continue-framework