relay
Skill4 starsChanged 4 months agoMITView on GitHub
Hand in-flight work to a fresh session instead of compacting, or pick up from a relay doc.
- Reads credentials
15 other projects use a version of this.
Adopted by
Most recently taken up by
- eulhowi-ctrl/claude-skillstheir own version, first seen Oct 1, 2026
- zommuter/dotclaude-skillstheir own version, first seen Sep 23, 2026
- dudupii/quivertheir own version, first seen Sep 21, 2026
- harshsinghmp/muse-skillstheir own version, first seen Sep 8, 2026
- mhlaghari/stuntmantheir own version, first seen Sep 5, 2026
- Electric-Coding-LLC/skillstheir own version, first seen Sep 4, 2026
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- sangrokjung/claude-forge★ 847same name
- sonichi/sutando★ 396same name
- gavishap/omnia-vault★ 80same name
- mhlaghari/stuntman★ 14same name
- zommuter/dotclaude-skills★ 4same name
- mosuvo/relay★ 2same name
- qsunyi/skills★ 2same name
- dhslegen/digital-delivery-team★ 1same name
- dudupii/quiver★ 1same name
- shoujiki-panman/session-relay★ 1same name
5 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 repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- actionableSkill
- astro-bootstrapSkill
- astro-patternsSkill
- autopilotSkill
- axon-code-intelSkill
- brainstormingSkill
- commit-conventionsSkill
- cross-repo-contextSkill
- django-bootstrapSkill
- django-patternsSkill
- executeSkill
- flutter-bootstrapSkill
- flutter-patternsSkill
- full-featureSkill
- intelSkill
- nextjs-bootstrapSkill
- nextjs-fullstack-bootstrapSkill
- nextjs-fullstack-patternsSkill
- nextjs-mui-bootstrapSkill
- nextjs-patternsSkill
- nextjs-shadcn-bootstrapSkill
- orchestratorSkill
- phase-breakdownSkill
- plan-and-scopeSkill
- prdSkill
- reactSkill
- recallSkill
- reflectSkill
- rememberSkill
- scaffoldSkill
- scratchSkill
- tailwindSkill
- ux-specSkill
- ux-to-promptsSkill
- verify-astroSkill
- verify-djangoSkill
- verify-flutterSkill
- verify-nextjs-fullstackSkill
- verify-nextjs-muiSkill
- verify-nextjs-shadcnSkill
- verify-nextjsSkill
- verifySkill
- visual-feedbackSkill
- work-disciplineSkill
- worktreesSkill
- wrapSkill
- write-as-friendSkill
- write-as-humanSkill
- writing-clearlySkill
- writing-skillsSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
3
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
- Distinctive: line 21
Write pointers, not states: the branch *name*, the file *paths*, the task *IDs*.
- Very specific: line 36
Write to ~/.claude/relays/<slug>-<timestamp>.md (mkdir -p first).
- Very specific: line 83
Sanitize before writing: No API keys, tokens, passwords, connection strings, or personal data.
- Distinctive: line 87
If the argument resolves to a readable file, this is resume mode.
- Distinctive: line 100
Restating what's in the repo: If it's greppable, link to it.
“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.
Files
Relay
A steerable replacement for /compact. /relay writes a short doc capturing what the current work is and where it's headed. A fresh session reads that doc and derives everything else itself.
Compaction keeps the whole conversation, lossily, and the user has no say in what survives. A relay keeps only what a new session cannot recompute — and the user says what matters.
The one rule
A relay doc carries narrative and pointers. Never status.
Status is branch state, what's deployed, what's committed, which tasks are open, whether tests pass. All of it is derivable in seconds, and all of it goes stale between writing the doc and reading it. A stale status claim is worse than no claim, because it still reads as authoritative.
Narrative is why this approach, what was tried and abandoned and why, what the user decided, what is deliberately out of scope. None of that is recoverable from the repo.
Write pointers, not states: the branch name, the file paths, the task IDs. The arriving session looks up what they currently contain.
| Write this | Not this |
"work is on feat/character-chat" | "feat/character-chat is 3 commits ahead, uncommitted" |
"the retry logic lives in worker/queue.ts" | "queue.ts is done and tested" |
| "tracked as Smitty #143" | "#143 is in progress, ~60% there" |
| "tried polling first — it deadlocked under concurrent writes, so we moved to the listener" | "polling didn't work" |
Mode 1 — write (/relay <steering note>)
The argument is the user steering what carries forward ("focus on the webhook path", "next session is just the migration"). Weight the doc toward it. If there's no argument, ask what the next session is for before writing — one question, then write.
- Determine the slug:
basename "$(git rev-parse --show-toplevel 2>/dev/null || pwd)". - Timestamp:
date +%m%d-%H%M. - Write to
~/.claude/relays/<slug>-<timestamp>.md(mkdir -pfirst). - Print the paste-ready line and nothing else after it.
Target under 40 lines. If it's longer, it's carrying status.
# Relay — <slug> — <YYYY-MM-DD HH:MM>
**For the arriving agent:** this doc is narrative only. Derive current state
yourself — git, tasks, tests — before you act on anything here. Then state
your plan and wait for a go-ahead. Do not start work off this doc alone.
## What we're doing
<2-4 sentences. The goal and why it matters. Not a task list.>
## Where it stands
<Narrative only. "The listener is wired but nothing calls it yet." Never
"done/not done" percentages.>
## Tried and ruled out
<Approach, and the specific reason it failed. This is the highest-value
section — it's what stops the next session repeating the work.>
## Decisions made
<User rulings, with the reasoning. These are binding on the next session.>
## Next
<What the user steered toward, first. Then anything else queued.>
## Pointers
- branch: <name>
- files: <paths>
- tasks: <IDs>
- docs: <paths or URLs to specs, plans, reviews>
## Out of scope
<Things deliberately not being done, so the next session doesn't drift in.>Then print exactly:
/relay ~/.claude/relays/<slug>-<timestamp>.mdThe paste line must be the slash command, not a plain-English "read this file" — this skill is command-only, so an English sentence would never load it in the fresh session, and none of the resume discipline below would apply.
Sanitize before writing. No API keys, tokens, passwords, connection strings, or personal data. Reference them by name (ANTHROPIC_API_KEY is set locally and on Vercel), never by value.
Mode 2 — resume (/relay <path>)
If the argument resolves to a readable file, this is resume mode.
- Read the doc.
- Derive current state before trusting anything. Branch, dirty files, recent commits, whether the named files exist and what they contain now, open tasks. The doc's pointers tell you where to look; they do not tell you what you'll find.
- Report anything that contradicts the doc. Drift is the signal that matters — say so plainly.
- State the plan in a few lines and wait. Do not start work. The user ended the last session deliberately; they get to aim this one.
Housekeeping
Relays are disposable. When writing a new one, if ~/.claude/relays/ holds files older than 30 days, mention the count and offer to delete — don't delete unprompted.
Common mistakes
- Restating what's in the repo. If it's greppable, link to it.
- A checklist instead of a narrative. Task lists live in the tracker. The doc explains what the tracker can't.
- Writing status because it feels helpful. It is the one thing guaranteed to be wrong on arrival.
- The arriving session acting immediately. A relay is a briefing, not an instruction.
- Padding. A short accurate relay beats a thorough one written when context was already exhausted.
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.

