.md file to compare - side-by-side diff against snappy-launch
snappy-launch
What it does for you
Coordinates several helpers working toward one goal at once.
What it produces
A recent result, so you can see the kind of work it returns.
loading…
How to get it
These run inside the Snappy workspace. Want this working in your business? I set skills like this up with you, in one focused week.
For developers how this skill is built, graded, and how it runs
at a glance- the short version
what's inside - the parts that make up a skill 3/4 present
A skill is just a few plain-text files. Only the main one is required. The rest are optional, added as the work needs them. This is what the skill is made of; how it runs is just below.
state/skills/snappy-launch/SKILL.md
present
state/skills/snappy-launch/api.ts
present
state/bin/snappy-launch/
not present
state/skills/snappy-launch/AGENTS.md
present
how it runs - the shared frame every skill uses 4/5 present
Every skill runs the same way. One part does the work, a separate part checks it, and a short loader hands the AI exactly what it needs for the job. Anything this skill doesn't use shows a one-line note saying why, on purpose, not by accident.
This skill doesn't fix its own gaps yet.
state/log/evals.ndjson what it has learned - fixes written back in over time sample
When a run hits something this skill didn't handle, the fix gets written back into the skill so it doesn't happen again. FIXED means it was corrected on the spot. LOGGED means it's queued for a bigger rewrite. Either way, the skill gets a little better and never makes the same mistake twice.
- Loading feedback rows…
how the work flows- who makes it, who checks it
what this step does
what this step does
SKILL.md- the skill, written out in plain English
snappy-launch
Orchestrate parallel subagent launches with coordinated work tracking. This skill pairs with snappy-subagents (which governs an individual subagent's behavior) to handle the higher-level orchestrator's responsibilities: deciding how many parallel agents, what each does, collecting their writebacks, and assessing whether the parallel work made aggregate progress. Failure mode prevented: orchestrators that launch agents but don't verify they wrote back, or that launch N agents without confirming the work was actually independent.
Steps
1. Define work units
- Identify independent tasks that can run in parallel (fan-out shape).
- Each unit is one Task or headless
claude -psubagent. - Skip the launch if tasks touch the same files (can't parallelize safely).
2. Compose subagent briefs
- For each unit, write a brief that names the setpoint (
state/skills/<slug>/AGENTS.md). - Include explicit FORBIDDEN paths list (files this subagent must NOT touch).
- Mandate writeback before exit: if the loader has a gap, edit this AGENTS.md inline.
git logon the file is the audit trail.
3. Launch and collect
- Fan out the subagents (Task tool for attended, headless
claude -pfor Stop-hook drains). - Wait for all subagents to return and emit writebacks.
- Read the feedback log; verify each subagent's writeback is present.
4. Assess progress
- For each subagent's writeback, check if the claimed
[FIXED]edit is on disk. - Tally: how many succeeded, how many need re-dispatch, how many silently failed.
- Log an overall verdict (1.0 = all clean | 0.5 = some re-dispatch | 0.0 = any silent returns).
5. Log + eval
import { score } from "../../lib/eval";
score("snappy-launch", run_id, {
score: <1.0 if all subagents wrote back AND every [FIXED] claim on disk
| 0.5 if writebacks present but ≥1 re-dispatch needed
| 0.0 if any silent return OR clobber OR lied [FIXED]>,
primary_issue: <null | "silent-return" | "clobber" | "lied-fix">,
});
Eval
Actor: the thing that produces the output (a dispatch model, a CLI, or the state/lib/snappy-launch.ts library if one exists). Auditor: the thing that judges (must be different - see CONSTITUTION invariant #3). Name both explicitly.
Score convention:
| Outcome | Score |
|---|---|
| Pass on first try | 1.0 |
| Failed first, auto-fix applied, re-check passed | 0.5 |
| Still failing or unrecoverable | 0.0 |
If you cannot name a deterministic auditor, switch the frontmatter to eval: manual and log to state/log/pending-eval.ndjson - but fight to avoid manual. Manual is the escape hatch that leaks the thesis.
Gotchas
- List concrete failure modes you hit while building. Examples: "API
returns 200 with empty body"; "round-tripped text has a , artifact where em-dashes used to be"; "cache file is stale after 12h."
- If a gotcha matches an entry in user memory (see
~/.claude/CLAUDE.md),
cite the memory name so future agents can follow the trail.
AGENTS.md- what the AI loads when this skill comes up
snappy-launch - loader
Parallel subagent orchestration. Full reference: state/skills/snappy-launch/SKILL.md.
Critical Rules
- Define work units. Identify truly independent tasks (fan-out). Each = one Task (attended) OR one
claude -psubagent (Stop-hook). Skip if tasks share files - parallelism requires disjoint file sets. - Compose briefs with FORBIDDEN paths. Name setpoint (
state/skills/<slug>/AGENTS.md). List files agent must NOT touch. Mandate writeback:echo "[$(date -u +%FT%TZ)] <slug>: <gap or fix> [FIXED|LOGGED]" >> state/log/loader-feedback.log. - Launch, wait, collect. Fan out (Task for attended |
claude -pfor drains). Wait for ALL to exit. Read feedback log, verify each writeback present. - Assess progress. For each writeback, verify
[FIXED]claim on disk. Tally: success | re-dispatch | silent-fail (no writeback). Silent failures = score 0.0. - Score eval row.
score()fromstate/lib/eval. 1.0 = all wrote back AND all [FIXED] on disk | 0.5 = writebacks + ≥1 re-dispatch | 0.0 = silent return OR clobber OR lied. Logprimary_issue(null | "silent-return" | "clobber" | "lied-fix"). - Actor ≠ Auditor. You launch. Distinct audit step grades (CONSTITUTION #3).
- Default scope-only (apply:false). Preview work. Explicit confirmation before side effects.
Commands
| define | identify truly independent Task / claude -p per work unit | | compose | name state/skills/<slug>/AGENTS.md, list FORBIDDEN paths, mandate writeback line | | fan out | Task(name="<unit>", prompt="<brief>") attended; claude -p for drains | | collect | grep "<slug>" state/log/loader-feedback.log to verify all writebacks | | verify | ls -l <file> per [FIXED] claim to confirm edits on disk | | score | score("snappy-launch", run_id, { score, primary_issue }) → state/log/evals.ndjson |
Self-Test
- [ ] Name independent work units (disjoint file paths)?
- [ ] Include FORBIDDEN paths in every brief?
- [ ] Wait for ALL subagents before scoring?
- [ ] Verify [FIXED] claims by reading files?
- [ ] Score if one of three never writes back?
- [ ] Distinguish 0.5 vs 0.0?
- [ ] Actor AND auditor, or separate grader?
Found a gap? Edit this file. <!-- footer-injection-point -->
api.ts- the code it can call
#!/usr/bin/env npx tsx
/**
* state/skills/snappy-launch/api.ts — sidecar stub for the snappy-launch skill.
*
* This file is created by the scaffolder so a fresh skill folder is
* structurally valid. Replace the placeholder with the real implementation
* the moment the skill needs executable logic, OR move the implementation
* to `state/lib/snappy-launch.ts` (preferred — the lib path is what
* `eval: shape` validates against).
*
* If this skill has no backing code (prose-only slash command), delete this
* file and rely on `eval: auto-shape` in SKILL.md.
*/
export const SKILL_NAME = "snappy-launch" as const;
export function describe(): string {
return "The launch skill — purpose TBD.";
}
if ((() => { try { return import.meta.url === `file://${process.argv[1]}`; } catch { return false; } })()) {
console.log(JSON.stringify({ skill: SKILL_NAME, describe: describe() }, null, 2));
}
scripts- helper scripts it can run
prose-only skill - 1 inline code block live in SKILL.md above (no state/bin/ sidecar yet).
how we check it- the checks, plus the last 10 runs
no recent runs logged - the eval contract is declared but nothing has been graded yet