agentleFS
mayankjain1815-commitsmayankjain1815-commits/CITADEL/skills/session-handoff/SKILL.md

session-handoff

Skill4 starsChanged 4 months agoMITView on GitHub

Synthesizes the current session into a structured HANDOFF block for context transfer between sessions. Captures what was built, decisions made, and unresolved items.

139 other projects use a version of this, 3 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use terminology, bug-diagnosis and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • flyingobsidianSkill

    terminology

    Read a codebase, find terminology, create/update definitions into a markdown document.

    Also in 3 projects that use this

  • Dizzy-TenSkill

    bug-diagnosis

    Diagnose bugs and product issues without modifying code. Use when the user explicitly invokes $bug-diagnosis or asks for diagnosis, root-cause analysis, issue classification, or fix strategy for code bugs, failing tests, configuration/dependency problems, deployment issues, performance regressions, data anomalies, or frontend/user-experience problems described through screenshots, annotations, logs, errors, or natural-language reports. Prioritize analysis and recommendations only; do not edit files.

    Also in 3 projects that use this

  • team-attentionSkill

    tribunal

    This skill should be used when the user says "/tribunal", "tribunal", "review this", "3-way review", "risk-value-feasibility check", or wants multi-perspective adversarial review. Also triggered by: "트리뷰널", "리뷰 해줘", "3관점 리뷰", "위험성 검토". Runs 3 agents (Risk/Value/Feasibility) in parallel and synthesizes a verdict.

    Also in 3 projects that use this

  • SkillPilotCHSkill

    level-up

    Eine Automatisierung pro Woche finden, scopen, shippen. Output landet als proposed-Eintrag in cadence.md mit konkreten Implementations-Schritten.

    Also in 3 projects that use this

  • BlockSkill

    skill-builder

    Create, edit, or inspect Berd skills stored as skill folders with SKILL.md files. Use when the user wants to build a new skill, update an existing skill, convert a workflow into a reusable skill, or decide whether instructions, scripts, references, or assets belong in a skill.

    Also in 6 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 117 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when ending a session and wanting to preserve context for the next one.

    line 20
  2. Very specific:

    Read .planning/campaigns/ for files with status: active

    line 29
  3. Very specific:

    Read .planning/fleet/ for files with status: active or needs-continue

    line 30
  4. Distinctive:

    Identify the primary thread: If an active campaign exists, use its current phase as the anchor.

    line 32
  5. Distinctive:

    Keep it to 3-5 bullets, under 150 words.

    line 53
  6. Distinctive:

    Every bullet must be actionable or informative

    line 57
  7. Distinctive:

    No vague statements ("made progress on X")

    line 58
  8. Distinctive:

    No active campaign and no git changes: If there is nothing to summarize, say so explicitly: "No active campaign or session changes found.

    line 68
  9. Distinctive:

    Cost: No cost actions — synthesis only.

    line 77
  10. Distinctive:

    Trust: No gates — safe at all trust levels.

    line 78

“Common” is measured: kept by at least 6 in 10 of the 117 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/session-handoff — Context Transfer

Orientation

Use when ending a session and wanting to preserve context for the next one. Also used automatically by orchestrators (Archon, Fleet) at session boundaries.

Don't use when: You want to extract reusable patterns from a completed campaign (use /learn), write a structured postmortem for a failed campaign (use /postmortem), or produce documentation rather than a context transfer.

Protocol

  1. Collect session data (run in parallel):
    • git log --oneline -20 and git diff HEAD --stat
    • Read .planning/campaigns/ for files with status: active
    • Read .planning/fleet/ for files with status: active or needs-continue
  2. Identify the primary thread: If an active campaign exists, use its current phase as the anchor. If multiple campaigns are active, list each. If no campaign, use the most recent git commits as the frame.
  3. Map data to HANDOFF fields:
    • What changed: campaign phase output if campaign active; otherwise commit subjects from this session
    • Key decisions: commit messages with a tradeoff word ("instead", "because", "not"); or explicit statements from the conversation
    • Unresolved items: campaign items marked blocked or parked; TODOs added this session; anything explicitly deferred
    • Next steps: campaign's next phase if active; otherwise the top open item from above
  4. Output the HANDOFF block.

Output Format

---HANDOFF---
- {what was built or changed — be specific}
- {key decisions and tradeoffs — include reasoning}
- {unresolved items — what's blocking}
- {next steps — what the next session should do first}
---

Keep it to 3-5 bullets, under 150 words. This is a context transfer, not a report.

Quality Gates

  • Every bullet must be actionable or informative
  • No vague statements ("made progress on X")
  • Specific file references where relevant
  • Decisions include reasoning, not just the choice

Fringe Cases

.planning/ does not exist: Skip campaign and fleet checks. Treat as "no active campaigns" and proceed with git-only context.

Corrupted or unparseable campaign file (malformed frontmatter, invalid status, or truncated content in .planning/campaigns/): Skip that file and treat it as inactive. Output: "Campaign file at {path} could not be parsed — treating as inactive. Check the file manually if this is unexpected."

No active campaign and no git changes: If there is nothing to summarize, say so explicitly: "No active campaign or session changes found. Nothing to hand off." Do not fabricate a handoff.

No context to summarize (fresh session with no edits): Output a minimal handoff noting the session start state. At minimum, include what the user asked about and what was found.

Campaign is in a blocked/parked state: Include the block reason and the recommended next action in the handoff so the next session can resume immediately.

Contextual Gates

Reversibility: Green — this skill writes nothing to disk; the HANDOFF block is display-only. Cost: No cost actions — synthesis only; no agents spawned, no confirmation needed. Trust: No gates — safe at all trust levels.

Exit Protocol

Output the HANDOFF block and then wait for the next command. This skill does not write to disk — the HANDOFF block is the deliverable, for the user to copy into the next session or save manually.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.