Individual skill
relay
Session relay — compresses what's been done so far (writes a one-liner for /compact) and generates a "next task" prompt (a baton) for the user to hand off. Use on requests like "relay / hand off / next session / continue after compact / baton / handoff / clean up context and continue next task." Does not run /compact itself (a skill cannot do that) — it produces the one-liner the user pastes in.
skills/relay/SKILL.md
Source commit 34d881dc9bdc669aadc3a1e8147a4bd5467ecbe3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 877
- Repository last updated
- Sep 3, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agents Repository topic
- ai-assistant Repository topic
- anthropic Repository topic
- automation Repository topic
- claude-code Repository topic
- developer-tools Repository topic
- dotfiles Repository topic
- llm Repository topic
- macos Repository topic
- productivity Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 6,227 bytesSKILL.mdcore · 6,227 bytesSKILL.mdcore · 6,227 bytesSKILL.mdcore · 6,227 bytesSKILL.mdcore · 6,227 bytesreferences/next-prompt-spec.mddoc · 3,918 bytesscripts/relay-build-focus.shruns · 2,324 bytesscripts/relay-collect.shruns · 7,914 bytesscripts/relay-lib.shruns · 2,637 bytesscripts/relay-write-baton.shruns · 8,619 bytestests/relay.batsruns · 10,452 bytes
Read excerpt
# relay — session relay (compact + next-task baton)
> Think of a relay race: the runner hands off the baton before stopping. Before context fills up, this
> skill produces two things: ① a one-line `/compact` command that compresses everything so far, and
> ② a handoff document (a "baton") that lets the next session start running immediately on the next task.
**When**: context is 70%+ used, work is about to be interrupted, or the user asks to "relay / hand off / next session / baton / handoff."
**Important (invariant)**: this skill **never runs `/compact` directly** (a skill cannot execute `/compact`).
It only produces **the one-liner the user pastes in**.
Let `$SKILL` be the absolute path of the directory containing this SKILL.md. Scripts live in `$SKILL/scripts/`.
## Flow