session-handoff
Skill8 starsChanged 7 months agoMITView on GitHub
Cold-start advisory: surfaces commits on remote-tracking refs that landed in the last 24 hours and are NOT yet on any local branch. Catches the incident-2026-1507 pattern where a sibling machine pushed work between sessions and the next session edited blind. Read-only; never blocks.
72 other projects use a version of this.
Adopted by
Most recently taken up by
- upex-galaxy/agentic-qa-boilerplatetheir own version, first seen Oct 5, 2026
- aktsmm/Agent-Skillstheir own version, first seen Oct 4, 2026
- kreid415/claude-science-skillstheir own version, first seen Oct 3, 2026
- yuzushi-dev/session-handofftheir own version, first seen Oct 2, 2026
- OneWave-AI/onewave-toolkittheir own version, first seen Oct 2, 2026
- rohitg00/pro-workflowtheir own version, first seen Sep 29, 2026
Used with
Projects with it also use domain-modeling, testing and 5 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.
AWSSkilldomain-modeling
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
Also in 4 projects that use this
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
genomewalkerSkilllearn
Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.
Also in 3 projects that use this
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 5 projects that use this
Other versions72 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 72
- rohitg00/pro-workflow★ 2.9ksame name
- softaworks/agent-toolkit★ 2.5ksame name
- SethGammon/Citadel★ 922same name
- OneWave-AI/claude-skills★ 321same name
- ai-analyst-lab/ai-analyst★ 304same name
- entireio/skills★ 223same name
- Innei/SKILL★ 86same name
- yuzushi-dev/session-handoff★ 66same name
- aktsmm/Agent-Skills★ 26same name
- upex-galaxy/agentic-qa-boilerplate★ 26same name
62 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- guidance/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- guidance/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- blast-radius-checkSkill
- brainstormingSkill
- branch-flow-gateSkill
- branch-sync-gateSkill
- codebase-reconSkill
- codeowners-drift-auditSkill
- code-review-batterySkill
- cognitive-complexity-refactoringSkill
- debateSkill
- debug-conductorSkill
- dispatching-parallel-agentsSkill
- domain-buildSkill
- evidence-adjudicatorSkill
- executing-plansSkill
- external-cli-auditSkill
- feature-developmentSkill
- field-rename-verificationSkill
- finishing-a-development-branchSkill
- git-branch-conventionsSkill
- gitlab-cliSkill
- hotfix-charterSkill
- implementation-trackerSkill
- infra-config-investigatorSkill
- investigation-stateSkill
- kernel-splitSkill
- llm-behavior-investigatorSkill
- llm-skill-reviewSkill
- merge-authorization-gateSkill
- micro-harsh-reviewSkill
- output-verificationSkill
- pre-commit-gateSkill
- progressive-code-review-gateSkill
- progressive-harsh-reviewSkill
- providing-code-reviewSkill
- pr-triage-gateSkill
- push-authorization-gateSkill
- receiving-code-reviewSkill
- reproduction-experiment-investigatorSkill
- requesting-code-reviewSkill
- requirements-validation-pmSkill
- requirements-validationSkill
- scope-tripwireSkill
- skills-hierarchy-tuningSkill
- sp-bughuntSkill
- state-consistency-investigatorSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- timeline-trace-investigatorSkill
- token-estimationSkill
- unified-commit-gateSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- experimental-self-promptingSkill
- The first 60 shown.
The file
Files
Session Handoff
Wrong skill? Resuming an explicit prior context ->
branch-sync-gate(fetches + checks behind/diverged). Per-branch budget doc ->hotfix-charter. Per-commit LOC ceiling ->pre-push-loc-gate. Cumulative branch vs ticket estimate ->scope-tripwire.
A first-touch advisory that asks: what landed in this repo since I last looked? Lists commits on remote-tracking refs from the last 24 hours that are NOT yet reachable from any local branch -- the actionable handoff set. Run it BEFORE editing on a cold start.
When this fires (vs. branch-sync-gate)
| Verb / phrase | Skill | Why |
| "let me check this repo" / "starting work on..." / "what's new in..." | session-handoff | Cold start; engineer needs to see what landed |
| "continuing work on..." / "resuming where I left off..." | branch-sync-gate | Explicit resume; fetch + behind/diverged check |
/sp-session-handoff (explicit) | session-handoff | Manual invocation |
/sp-sync (explicit) | branch-sync-gate | Manual invocation |
Both should run when both verbs are present. Session-handoff runs first (order: -1), reports the sibling-activity summary, then branch-sync-gate handles the fetch + alignment workflow.
Quick start
# Manually, from the repo root
tools/session-handoff-check.sh
# With assurance line when no activity found
tools/session-handoff-check.sh --verbose
# Wider window (default: "24 hours ago")
SESSION_HANDOFF_WINDOW="7 days ago" tools/session-handoff-check.sh
# Skip the git fetch (offline or hostile network)
SESSION_HANDOFF_NO_FETCH=1 tools/session-handoff-check.shWhat it shows
Output (stderr; nothing on stdout):
session-handoff: sibling activity detected (window: 24 hours ago)
(Read these commits before editing -- they may overlap your planned work.)
origin/fix/incident-2026-1507-intro-protection
2026-06-09T14:32 user@example.com fix: greeting registration race
2026-06-09T15:14 user@example.com test: add ceiling-hit case
origin/main
2026-06-10T11:22 user@example.com Merge commit message
Tip: `git log <ref> --since="24 hours ago"` for full detail.Silent when no commits match (unless --verbose).
Configuration
| Env var | Default | Purpose |
SESSION_HANDOFF_WINDOW | 24 hours ago | Any git log --since= expression |
SESSION_HANDOFF_VERBOSE | 0 | 1: print assurance line when no activity |
SESSION_HANDOFF_NO_FETCH | 0 | 1: skip git fetch (uses stale local refs) |
SESSION_HANDOFF_FETCH_TIMEOUT | 10 | Wall-clock budget for fetch (seconds) |
Exit codes
| Exit | Meaning |
| 0 | Activity surfaced; OR no activity; OR fetch failed (advisory only -- never blocks) |
| 2 | Not in a git repo, OR invalid env var, OR git log error |
Composition with peer skills
session-handoff is the COLD-START half of the session-orientation pair:
+-- session-start group --------------------+
| |
| [order: -1] session-handoff | <-- "what landed since I left?"
| | |
| v produces: sibling-activity |
| |
| [order: 0] branch-sync-gate | <-- "now fetch + reconcile"
| |
+--------------------------------------------+Both skills running back-to-back is intended ergonomics. The incident-2026-1507 pattern would have been caught by this skill firing on cold-start verbs.
Why this exists
The 2026-06-10 incident-2026-1507 involved two machines doing parallel work on the same hotfix branch. Branch-sync-gate did not fire because the engineer never said "continuing" or "resuming" -- it was a cold start with edit verbs ("let me look at..."). The sibling commits sat invisible on the feature branch while the engineer started a second parallel implementation. Hours of fork-merge confusion followed.
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
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.

