relay
Skill22 starsChanged 3 months agoMITView on GitHub
Use claude-relay to run a long or rate-limit-prone task autonomously across subscription accounts. Invoke this skill whenever the user says "use relay", "run this with relay", "do this overnight", "run this autonomously", "use relay for X", or has a multi-hour / multi-step task they want to hand off completely. Also use proactively when a task looks like it will take many turns and the user hasn't thought about rate limits yet. Guides goal writing, picks the right flags, and starts the run.
- Reads credentials
25 other projects use a version of this.
Adopted by
Most recently taken up by
- chrisliu298/relaytheir own version, first seen Nov 8, 2026
- hyperdreamer/pi-webuitheir own version, first seen Nov 8, 2026
- gao-xh/multi-agent-protocoltheir own version, first seen Nov 1, 2026
- theyoungastronauts/polaristheir own version, first seen Nov 1, 2026
- luci-efe/skillstheir own version, first seen Nov 1, 2026
- zommuter/dotclaude-skillstheir own version, first seen Oct 28, 2026
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- jmfederico/pi-web★ 931same name
- sonichi/sutando★ 396same name
- gavishap/omnia-vault★ 53same name
- bekhruztbx/ai-creative-team★ 18same name
- mhlaghari/stuntman★ 16same name
- hyperdreamer/pi-webui★ 9same name
- chrisliu298/relay★ 6same name
- gao-xh/multi-agent-protocol★ 4same name
- theyoungastronauts/polaris★ 4same name
- zommuter/dotclaude-skills★ 4same name
15 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 repository194 other files it gives its agents.
- 0-templateSkill
- ab-test-analyzerSkill
- academy-guideSkill
- add-to-my-skillsSkill
- adr-authorSkill
- ai-tools-setupSkill
- algorithmic-artSkill
- api-and-interface-designSkill
- api-designerSkill
- api-docs-writerSkill
- apple-store-submitSkill
- aws-cost-optimizerSkill
- bash-script-hardeningSkill
- blog-post-writerSkill
- book-summarizerSkill
- branch-cleanupSkill
- brand-copy-landingSkill
- brand-copySkill
- brand-designSkill
- brand-guidelinesSkill
- browser-testing-with-devtoolsSkill
- canvas-designSkill
- changelog-generatorSkill
- changelog-keeperSkill
- chart-chooserSkill
- ci-cd-and-automationSkill
- ci-fix-loopSkill
- claude-apiSkill
- cloudflare-block-countriesSkill
- coderabbitloopSkill
- code-review-and-qualitySkill
- code-reviewerSkill
- code-simplificationSkill
- codexloopSkill
- comms-notionSkill
- comms-slackSkill
- comms-whatsappSkill
- competitive-analysisSkill
- concept-explainerSkill
- constraint-driven-developmentSkill
- context-engineeringSkill
- context-repoSkill
- cover-letter-writerSkill
- crash-courseSkill
- cron-schedulerSkill
- data-digestSkill
- data-pipeline-architectSkill
- debug-detectiveSkill
- debugging-and-error-recoverySkill
- decision-matrixSkill
- dependabot-triageSkill
- dependency-upgraderSkill
- deprecation-and-migrationSkill
- dev-instantdbSkill
- discernment-nudgeSkill
- doc-coauthoringSkill
- dockerfile-proSkill
- docs-index-keeperSkill
- documentation-and-adrsSkill
- docxSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 82
When in doubt: if the repo has a .env or node_modules the task depends on, use --in-place.
- Distinctive: line 108
If anything seems misconfigured:
- Distinctive: line 113
Should show ✓ for both account slots.
“Common” is measured: kept by at least 6 in 10 of the 20 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
Runs a task unattended using claude-relay: drives claude -p in a headless loop, writes a
handoff summary when one account's limit approaches, and switches to the next account automatically.
You watch logs; relay handles the rest.
Binary: claude-relay (alias relay if added to shell). Config: ~/.claude-relay/relay.config.json.
Step 1: Decide: relay or inline?
Use relay when:
- Task will take many turns or hours (big refactor, migration, research + implementation)
- The user wants to hand it off and walk away
- Rate limits are a real concern (long-running or token-heavy)
Stay inline when:
- Task is quick (< ~10 turns)
- User wants to review each step
- Task needs interactive input that relay can't provide
Step 2: Write the goal
A relay goal is a self-contained spec a fresh Claude agent can execute cold. Write it to
/tmp/relay-goal-<short-name>.md. It must include:
- What to do: concrete deliverables, not vague intent
- How to verify: the exact command proving success (
npm test,curl /api/health, etc.) - Scope: explicit list of what NOT to do (no commits, no PRs, no migrations, unless stated)
- Key files: paths the agent should read first if the context isn't obvious
Template:
## Goal
<1-3 sentences: the deliverable>
## Success criteria
Run `<command>` and confirm it exits 0 / returns the expected result.
## Scope
- DO: <explicit list>
- DO NOT: open PRs / push commits / run migrations / touch unrelated files
## Key files
- <path>: <why it matters>Good goals are specific. "Add input validation to all POST routes in app/api/" beats "improve the API".
Step 3: Pick flags
| Situation | Flag |
Task needs uncommitted changes, local .env, or a local database | --in-place |
| Everything is committed; task is self-contained | (default, isolated git worktree) |
When in doubt: if the repo has a .env or node_modules the task depends on, use --in-place.
Step 4: Run
claude-relay run /tmp/relay-goal-<name>.md <absolute-path-to-repo> [--in-place]Relay logs stream to stderr. The run ends when the agent outputs RELAY_TASK_COMPLETE on its own
line, or hits a hard cap (400 turns / 48h wall clock).
Step 5: Tell the user
After starting, report:
- The exact command you ran
- What to watch for:
RELAY_TASK_COMPLETEin logs, orclaude-relay status --config ~/.claude-relay/relay.config.json - The flag you picked and why (especially if you chose
--in-place)
Health check
If anything seems misconfigured:
claude-relay doctor --config ~/.claude-relay/relay.config.jsonShould show ✓ for both account slots. If a slot shows ✗, tell the user to run:
claude-relay login <email> # must have claude.ai open in browser as that account firstDoes 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.

