sonichi/sutando/skills/startup/SKILL.md
startup
Single entry point for fresh-session bootstrap. Runs optional task-orphan recovery, cron registration, and watcher start in a fixed order. Replaces the current `claude -- '/schedule-crons'` invocation pattern as the canonical CLI startup target.
- Source repository stars
- 359
- Declared platforms
- 0
- Static risk flags
- 0
- Last source update
- 2026-07-28
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
The canonical entry point for a fresh Sutando session. Bundles every action that must happen once at session start, in the correct order.
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/startup"Inspect the Agent Skill "startup" from https://github.com/sonichi/sutando/blob/6a8f0fccd32e5aa620a3572c8885544f144bb6fe/skills/startup/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
Step 1 — Task orphan check (optional)
Invoke /task-orphan-check IF the skill is installed (i.e. $CLAUDECONFIGDIR/skills/task-orphan-check/ exists). This is the recovery half of the post-1049 redesign: scan /tasks/ for orphan tasks left over from a crash mid-execution, cross-reference per-side-effect markers (e.g. PR…
Invoke /task-orphan-check IF the skill is installed (i.e. $CLAUDECONFIGDIR/skills/task-orphan-check/ exists). This is the recovery half of the post-1049 redesign: scan /tasks/ for orphan tasks left over from a crash mid…If the skill is not installed, skip silently. /startup works without it — every other step is independent.Note: this step runs BEFORE step 2 so that the watcher (started by step 2's downstream) doesn't pick up an orphan task before recovery has classified it. - 02
Step 2 — Register schedules + start watcher
Invoke /schedule-crons. This handles: - Reading skills/schedule-crons/crons.json - Calling CronCreate for each entry that isn't already scheduled - Ensuring a fallback /proactive-loop cron exists at /10 if crons.json doesn't include one (post-954 belt-and-suspenders) - Starting…
Reading skills/schedule-crons/crons.jsonCalling CronCreate for each entry that isn't already scheduledEnsuring a fallback /proactive-loop cron exists at /10 if crons.json doesn't include one (post-954 belt-and-suspenders) - 03
Step 3 — Confirm
Emit a one-line summary so the operator (or main session's first turn) sees what fired:
Emit a one-line summary so the operator (or main session's first turn) sees what fired:The orphan-check fields say skipped (skill not installed) if step 1 was skipped. - 04
What this replaces
Previously: claude -- "/schedule-crons" was the de-facto startup invocation, and skills/schedule-crons/SKILL.md accumulated startup ceremony (cron-fallback, watcher) on top of its actual job (registering crons from crons.json).
Previously: claude -- "/schedule-crons" was the de-facto startup invocation, and skills/schedule-crons/SKILL.md accumulated startup ceremony (cron-fallback, watcher) on top of its actual job (registering crons from cron…Now: claude -- "/startup" is the canonical startup target. /startup orchestrates the sequence; /schedule-crons shrinks back to its narrow job.Migration: update /Library/LaunchAgents/.plist and any CLI invocation scripts to call /startup instead of /schedule-crons. /schedule-crons still works standalone (for manual cron re-registration) — both paths are idempo… - 05
Why one bundled skill
Per Chi 2026-05-23 Discord: "we can make a new skill and include everything we need at start." Five rationales:
Single entry point — no more "which skill does the CLI invoke?" The launchd plist points at /startup and only at /startup.Ordering encoded in one place — the sequence (recover state → register schedules → start watcher) lives in this skill's On Activation section, not scattered across schedule-crons's step list.Easy to extend — future startup work (new lifecycle checks, telemetry pings, dependency probes) appends to this skill's sequence; no debate about where it belongs.
Permission review
Static risk signals and limitations
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 78/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/startup/SKILL.md
- Commit
- 6a8f0fccd32e5aa620a3572c8885544f144bb6fe
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
Startup
The canonical entry point for a fresh Sutando session. Bundles every action that must happen once at session start, in the correct order.
Usage: /startup
ARGUMENTS: $ARGUMENTS (currently unused — reserved for future per-instance overrides)
What this replaces
Previously: claude -- "/schedule-crons" was the de-facto startup invocation, and skills/schedule-crons/SKILL.md accumulated startup ceremony (cron-fallback, watcher) on top of its actual job (registering crons from crons.json).
Now: claude -- "/startup" is the canonical startup target. /startup orchestrates the sequence; /schedule-crons shrinks back to its narrow job.
Migration: update ~/Library/LaunchAgents/*.plist and any CLI invocation scripts to call /startup instead of /schedule-crons. /schedule-crons still works standalone (for manual cron re-registration) — both paths are idempotent.
Why one bundled skill
Per Chi 2026-05-23 Discord: "we can make a new skill and include everything we need at start." Five rationales:
- Single entry point — no more "which skill does the CLI invoke?" The launchd plist points at
/startupand only at/startup. - Ordering encoded in one place — the sequence (recover state → register schedules → start watcher) lives in this skill's
On Activationsection, not scattered across schedule-crons's step list. - Easy to extend — future startup work (new lifecycle checks, telemetry pings, dependency probes) appends to this skill's sequence; no debate about where it belongs.
- Each sub-step stays callable standalone —
/task-orphan-check,/schedule-crons, etc. continue to work for manual invocation./startupis a wrapper, not a replacement. - Idempotent re-invocation — calling
/startuptwice in the same session is safe; each sub-skill is idempotent (registering an already-scheduled cron is a no-op, an already-running watcher isn't restarted, etc.).
On Activation
The sequence below MUST run in this order. Each step is naturally idempotent, so re-invocation is safe.
Step 1 — Task orphan check (optional)
Invoke /task-orphan-check IF the skill is installed (i.e. $CLAUDE_CONFIG_DIR/skills/task-orphan-check/ exists). This is the recovery half of the post-#1049 redesign: scan <workspace>/tasks/ for orphan tasks left over from a crash mid-execution, cross-reference per-side-effect markers (e.g. PR #1048's .sending files), archive completed tasks, write recovery sentinels for stuck ones. See the skill itself for the full procedure.
If the skill is not installed, skip silently. /startup works without it — every other step is independent.
Note: this step runs BEFORE step 2 so that the watcher (started by step 2's downstream) doesn't pick up an orphan task before recovery has classified it.
Step 2 — Register schedules + start watcher
Invoke /schedule-crons. This handles:
- Reading
skills/schedule-crons/crons.json - Calling
CronCreatefor each entry that isn't already scheduled - Ensuring a fallback
/proactive-loopcron exists at*/10 * * * *ifcrons.jsondoesn't include one (post-#954 belt-and-suspenders) - Starting the streaming task watcher via the
Monitortool (bash src/watch-tasks-stream.sh, persistent, description"Streaming task watcher")
Step 3 — Confirm
Emit a one-line summary so the operator (or main session's first turn) sees what fired:
/startup complete: orphan-check (N tasks recovered, M archived), schedules (K crons + watcher).
The orphan-check fields say skipped (skill not installed) if step 1 was skipped.
Sequence diagram
session start
│
▼
/startup
│
├─► step 1: /task-orphan-check (optional) ──► classifies + archives orphan tasks
│
├─► step 2: /schedule-crons ──┬─► step 1-3 (register crons.json entries)
│ ├─► step 4 (proactive-loop fallback if missing)
│ ├─► step 5 (start watch-tasks-stream.sh via Monitor)
│ └─► step 6 (confirm what was scheduled)
│
└─► step 3: emit summary
Re-invoking in an already-running session
If /startup is invoked mid-session, the sub-skills skip their already-done work (an already-scheduled cron isn't re-created, an already-running watcher isn't restarted), so the result is effectively a re-confirm of state. Safe.
What lives elsewhere
This skill is intentionally a thin orchestrator. Logic lives in the sub-skills:
- Orphan recovery:
skills/task-orphan-check/(separate PR, optional) - Cron registration + watcher start:
skills/schedule-crons/
If you find yourself wanting to put logic IN /startup, ask whether it belongs in one of the sub-skills (or a new sub-skill) first. /startup is the order, not the work.
Iteration log
- v0.1.0 — 2026-05-23 — initial draft. Per Chi 2026-05-23 Discord exchange about #1049 redesign ("make a new skill and include everything we need at start").
/startupbecomes the canonical CLI entry;/schedule-cronsremains callable for manual cron re-registration. Migration: launchd plists + CLI scripts switch to/startup. - v0.2.0 — 2026-06-21 — removed the fresh-session briefing step and its session sentinel (that sub-skill was deleted).
/startupnow runs orphan-check → schedules + watcher → confirm; sub-skill idempotency replaces the former sentinel guard.