relay

Installation
SKILL.md

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

0) Parse arguments

From $ARGUMENTS:

  • First positional argument = next task (NEXT_TASK).
  • Flags: --new-session (for a brand-new session — instructs the user to paste the whole baton), --no-ask (skip the clarifying question), --quick (skip prose, skeleton only), --copy (opt-in clipboard copy — off by default, see §6).
Installs
3
GitHub Stars
863
First Seen
Sep 12, 2026