agentleFS
dudupiidudupii/quiver/skills/relay/SKILL.md

relay

Skill1 starsChanged 2 months agoMITView on GitHub

Ignite a fresh background agent seeded by the latest handover note — it restores context from the note and continues the work unattended. User-requested only - invoke when the user explicitly says "relay", "点火", or clearly asks for the latest note to be handed to a new background agent. Never invoke on your own initiative.

15 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 2

    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. Very specific:

    No note in either directory → refuse: say so and point at /quiver:handover as the way to create one.

    line 18
  2. Distinctive:

    Keep the seed to three essentials:

    line 24
  3. Very specific:

    Claude Code: run claude --bg --name "<descriptive name>" "<seed>".

    line 38
  4. Distinctive:

    User-requested only: never fire on your own initiative — the explicit-only wording rides the skill description every platform reads, and is …

    line 47

“Common” is measured: kept by at least 6 in 10 of the 10 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

Background Relay

Hand the latest handover note to a brand-new background agent on this machine. The new agent starts in the current working directory, restores its context from the note, and works unattended; the user manages it with the platform's agents surface. handover writes the note, catchup reads it into the session you are in — relay reads it into a session nobody has to sit in.

Reply in the language of the conversation; write the seed in the same language. The .handovers/.lang memory governs the note, not this reply — the ignited agent resolves its own working language when it reads the note via catchup (.lang first, then the seed's language).

Note resolution (catchup's rule)

  1. List *.md notes in .handovers/ and in legacy .claude/handovers/ (pre-0.4.0), merge, sort by filename; on a filename tie the .handovers/ copy wins; .lang files and CURRENT.md are not notes.
  2. Take the newest. Legacy notes without frontmatter are valid seeds.
  3. No note in either directory → refuse: say so and point at /quiver:handover as the way to create one. Never invent a seed.

Seed: a pointer, not a copy

The seed prompt names the note's path and tells the new agent what to pursue — it never inlines the note's content. The note is the single source of truth: structured, redacted by handover's rules, and readable by the new agent because it starts in this working directory.

Keep the seed to three essentials:

  1. the note file to read (path),
  2. the thread to pursue — the focus argument, or when absent the note's top-priority next step,
  3. a reminder that the catchup skill loads the full brief from the notes.

Focus

Optional free text naming the thread the new agent pursues. Default: the note's top-priority next step. The focus shapes the seed only — the note itself is never edited, filtered, or rewritten.

Launch

Drive the platform's real background mechanism — the mapping below is verified against each platform's own CLI and docs. Never fake a launch, and never detach an orphan process the platform's agents surface cannot show.

  • Claude Code: run claude --bg --name "<descriptive name>" "<seed>". The name derives from the focus or the top next step (e.g. quiver #12 relay arrow); it is what the user sees in the job list, session picker, and terminal title. The command returns immediately.
  • Codex: no local background launch exists — codex exec runs in the foreground, codex queue only feeds an existing session, and codex agents only browses existing sessions. Report exactly that, then give the manual paths: codex exec "<seed>" in a second terminal or tmux pane; or, if the user runs Codex Cloud, the experimental codex cloud exec --env <ENV_ID> "<seed>" — echo that one for the user, never run it yourself: it spends cloud compute.
  • pi: the core spawns no agents of its own — the platform's documented path is a second pi instance via tmux. If a background-agent extension package is installed (the pi-subagents family — check pi list), defer to it per its own docs; it inherits this skill's explicit-only and zero-writes rules. Otherwise, when tmux is available run tmux new-session -d -s "<slug>" 'pi -p --name "<name>" -- "<seed>"' — the tmux session takes a slug of the descriptive name (tmux rewrites . and : to _ in session names, and a # unquoted would comment the command away: spaces become dashes, ./:/# and shell metacharacters drop, other characters including non-Latin ones are kept, e.g. quiver #12 relay arrow → quiver-12-relay-arrow; fall back to relay if nothing survives, append -2, -3, … if the slug is taken), while pi --name carries the full descriptive name; pi -p is the headless one-shot run, the user watches progress with tmux attach -t <slug> and revisits the saved session via pi --resume. Without tmux, report unsupported and hand over the seed for a manual launch.
  • PrimeAgent: background agents are native — sessions are daemon-backed and keep running after the terminal disconnects. Create the seeded agent as a resident daemon session the user manages from prime-agent agents: rlm.create_session(prompt=<seed>, name=<descriptive name>, cwd=this directory). Where the host session offers only child spawning, rlm.spawn(<seed>, name=<unique descriptive name>) runs it as a background child instead (name is required and must be unique among siblings).

Echo the exact launch command in the reply, on its own line, when you run it. On a platform with no mechanism, echo the seed itself as the manual path.

Rules

  • User-requested only: never fire on your own initiative — the explicit-only wording rides the skill description every platform reads, and is declared in each adapter policy.
  • Zero writes: notes stay byte-identical after a run (.lang included), and no state-changing git command ever runs. The launch is the only side effect.
  • Nothing beyond the note: the seed adds no conversation summaries and no secrets — redaction is inherited from the note.
  • Quoting: the name and seed travel inside shell-quoted strings — including the nested quoting of a tmux-wrapped launch, where a single quote breaks out and $ or a backtick expands in the inner shell. Whatever the text's origin — focus argument or note-derived name and next step — paraphrase out double quotes, backslashes, single quotes, dollar signs, and backticks rather than letting them break or extend the command.
  • Facts only; when something fails (no note, no launcher), report it honestly and give the manual path.

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.