sonichi/sutando/skills/relay/SKILL.md
relay
Write a handoff/continuity note for the NEXT Sutando session. Captures what was just in flight, what to check first, what might go wrong, and implicit context the structured snapshot doesn't carry. Read first by /catchup-after-startup.
- Source repository stars
- 359
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
Pass the baton to the next Sutando session. Where session-handoff.sh writes structured facts (recent commits, open PRs, pending Qs), /relay writes the narrative continuity — what you were just working on, what should be checked first, what might break and how to detect it.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/sonichi/sutando --skill "skills/relay"Inspect the Agent Skill "relay" from https://github.com/sonichi/sutando/blob/6a8f0fccd32e5aa620a3572c8885544f144bb6fe/skills/relay/SKILL.md at commit 6a8f0fccd32e5aa620a3572c8885544f144bb6fe. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Phase 1 scope
Manual-invocation only. Auto-refresh (writing/updating from /proactive-loop) deferred to Phase 2 once we see how owners actually use the manual path.
Manual-invocation only. Auto-refresh (writing/updating from /proactive-loop) deferred to Phase 2 once we see how owners actually use the manual path.No quality-gate (refuse-on-thin-note). Always write whatever the LLM produces. Quality-gate deferred to Phase 2 pending observation.Read-side lives in /catchup-after-startup — see that skill for the read-then-archive flow. - 02
Phase 2 ideas (NOT in scope)
Auto-refresh from /proactive-loop: if workspace/relay/relay-.md is mtime-stale ( 30 min) AND substantive work has happened since, write a fresh relay note as part of the loop.
Auto-refresh from /proactive-loop: if workspace/relay/relay-.md is mtime-stale ( 30 min) AND substantive work has happened since, write a fresh relay note as part of the loop.Quality-gate: refuse to write if the LLM can't list any of [active work / first action / known risk]. Could add --skip flag for genuine no-op sessions.Hook integration: PreCompact hook could prompt the LLM to write a relay note before compaction discards context. - 03
Why this exists
Catchup-after-startup pulls together 10 categories of structured state for the next session. But "I was about to land PR X and Mini's review said Y matters most" isn't captured by git log, gh pr list, or pending-questions.md tail. The next session reads structured facts but has…
Catchup-after-startup pulls together 10 categories of structured state for the next session. But "I was about to land PR X and Mini's review said Y matters most" isn't captured by git log, gh pr list, or pending-questio…The relay note encodes intent + judgment — the thing only the LLM that lived through the session can write. - 04
Folder layout
Mirrors Sutando's existing tasks/ and results/ convention:
File naming: relay-{epoch}.md — sortable + greppable, matches the task-{epoch}.txt shape.Multiple files allowed: /relay always creates a NEW file by default. --append appends to the LATEST unprocessed relay-.md instead of creating a new one.Consumption: catchup-after-startup reads ALL unprocessed relay-.md files in mtime order (oldest first), prints them as section 0 of its briefing, then mvs each one to processed/ (mirroring the result-watcher drain patte… - 05
What to write
Write a narrative note (150–300 words typical, no fixed schema) covering:
What I was just working on — the active PR / thread / decision in flight. Be specific. ("PR 1429 just merged; was about to start the relay skill PR.")What to check FIRST in the next session — concrete first action. ("Pull origin; verify the relay skill SKILL.md lints clean; ping owner on quality-gate decision.")What might go wrong + recovery — known failure modes + how to detect them. ("If catchup says 'no relay note found', the relay/ dir is probably orphaned; check ls workspace/relay/.")
Permission review
Static risk signals and limitations
Writes files
The documentation asks the agent to create, modify, or delete local files.
If the session was genuinely uneventful (read-only, no decisions, no in-flight work), say so explicitly: "No new work this session; previous relay note still valid." (Still write the file so catchup has a current heartbeat to read.)Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 75/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 359 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- sonichi/sutando
- Skill path
- skills/relay/SKILL.md
- Commit
- 6a8f0fccd32e5aa620a3572c8885544f144bb6fe
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
Relay
Pass the baton to the next Sutando session. Where session-handoff.sh writes structured facts (recent commits, open PRs, pending Qs), /relay writes the narrative continuity — what you were just working on, what should be checked first, what might break and how to detect it.
Usage: /relay (writes a new relay file) or /relay --append (appends to the most recent unprocessed relay file rather than creating a new one).
Why this exists
Catchup-after-startup pulls together 10 categories of structured state for the next session. But "I was about to land PR #X and Mini's review said Y matters most" isn't captured by git log, gh pr list, or pending-questions.md tail. The next session reads structured facts but has to RE-INFER the continuity, which costs context and frequently misses the load-bearing decision.
The relay note encodes intent + judgment — the thing only the LLM that lived through the session can write.
Folder layout
Mirrors Sutando's existing tasks/ and results/ convention:
workspace/relay/
├── relay-{epoch_seconds}.md # pending relay notes (read by next catchup, then archived)
└── processed/
└── relay-{epoch_seconds}.md # already consumed by catchup; kept for audit
- File naming:
relay-{epoch}.md— sortable + greppable, matches thetask-{epoch}.txtshape. - Multiple files allowed:
/relayalways creates a NEW file by default.--appendappends to the LATEST unprocessedrelay-*.mdinstead of creating a new one. - Consumption: catchup-after-startup reads ALL unprocessed
relay-*.mdfiles in mtime order (oldest first), prints them as section 0 of its briefing, thenmvs each one toprocessed/(mirroring the result-watcher drain pattern). - Cleanup: kept indefinitely on local disk. Tiny files (~200-500 bytes each); a year of relay notes is < 1 MB. Sync via the workspace-sync engine (
scripts/sync-workspace.sh) for fleet visibility — the legacysync-memory.shflow is deprecated in v0.3.0 and removed in v0.4.0.
What to write
Write a narrative note (~150–300 words typical, no fixed schema) covering:
- What I was just working on — the active PR / thread / decision in flight. Be specific. ("PR #1429 just merged; was about to start the relay skill PR.")
- What to check FIRST in the next session — concrete first action. ("Pull origin; verify the relay skill SKILL.md lints clean; ping owner on quality-gate decision.")
- What might go wrong + recovery — known failure modes + how to detect them. ("If catchup says 'no relay note found', the relay/ dir is probably orphaned; check
ls workspace/relay/.") - Implicit context — the why-behind-the-what, decisions that haven't been committed yet, things you'd want a colleague to know if they walked in cold.
Don't write things that are already in the structured snapshot (recent commits, open PRs, pending-questions tail). Catchup will print those anyway. Relay's value is the things the structured snapshot can't reach.
Steps
- Resolve
WORKSPACE="$(bash scripts/sutando-config.sh workspace)". mkdir -p "$WORKSPACE/relay" "$WORKSPACE/relay/processed"(idempotent).- If
--append: find the latest unprocessed file vials -t "$WORKSPACE/relay/"relay-*.md 2>/dev/null | head -1. If none, fall through to new-file mode. If found, append to it (with a---separator + timestamp header). - Otherwise (new file): generate filename
relay-$(date +%s).mdunder$WORKSPACE/relay/. - Write a narrative note (markdown formatting) as described above.
- Save to the resolved path.
- Print "Relay note written to " with the absolute path. Mention briefly what's in it.
Quality bar
A good relay note is the difference between the next session starting at full speed vs. spending its first 5–10 minutes re-inferring state. Write something useful, not "I did stuff."
Bad: "Worked on some PRs. Ended session."
Good: "PR #1429 (import-UX) merged at 06:21Z; owner asked to start relay-skill PR next. Lucy's nit on stderr-parity landed pre-merge (commit 0ca0c89). Open thread: catchup PID-stamp variant — local edits applied to repo/skills/, NOT committed; owner is doing E2E test. If they greenlight, PR off staging-workspace-revamp with ~25-line diff in 2 SKILL.md files."
If the session was genuinely uneventful (read-only, no decisions, no in-flight work), say so explicitly: "No new work this session; previous relay note still valid." (Still write the file so catchup has a current heartbeat to read.)
Phase 1 scope
- Manual-invocation only. Auto-refresh (writing/updating from
/proactive-loop) deferred to Phase 2 once we see how owners actually use the manual path. - No quality-gate (refuse-on-thin-note). Always write whatever the LLM produces. Quality-gate deferred to Phase 2 pending observation.
- Read-side lives in
/catchup-after-startup— see that skill for the read-then-archive flow.
Phase 2 ideas (NOT in scope)
- Auto-refresh from
/proactive-loop: ifworkspace/relay/relay-*.mdis mtime-stale (> 30 min) AND substantive work has happened since, write a fresh relay note as part of the loop. - Quality-gate: refuse to write if the LLM can't list any of [active work / first action / known risk]. Could add
--skipflag for genuine no-op sessions. - Hook integration: PreCompact hook could prompt the LLM to write a relay note before compaction discards context.
Where it lives
workspace/relay/relay-{epoch}.md (pending) + workspace/relay/processed/relay-{epoch}.md (consumed by catchup). Workspace-root parallel to build_log.md + pending-questions.md + tasks/. Owner-readable; both LLM and human can cat it cleanly.