OR Key
drop another .md file to compare - side-by-side diff against snappy-launch

snappy-launch

Coordinates several helpers working toward one goal at once.
description: "Triggers on prompt mention of 'snappy-launch'."
personal 2 files

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.

Work with me
For developers how this skill is built, graded, and how it runs

at a glance- the short version

actorThing that
auditorThing that judges (must be different - see CONSTITUTION
eval modeauto-shape
categorySystem
stages5
dependssnappy-subagents

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.

The skill
state/skills/snappy-launch/SKILL.md present
the skill itself, in plain text
The main file. It says what the skill is and lays out the steps in plain English.
Code
state/skills/snappy-launch/api.ts present
code the skill can run
Reusable code this skill can call when it needs to.
Scripts
state/bin/snappy-launch/ not present
helper scripts
Optional. Added when a skill has a few commands to run.
Loader
state/skills/snappy-launch/AGENTS.md present
what the AI loads on the fly
Loaded automatically the moment this skill is needed. Kept short on purpose.

how it runs - the shared frame every skill uses 5/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.

makes the work The worker
present
Thing that the worker
Does the actual work. Whatever it produces is what gets checked next.
checks the work The reviewer
present
Thing that judges (must be different - see CONSTITUTION the checker
A separate checker grades the work, so the part that made it can't approve its own work.
frame
learns Self-correction
present
fixes itself learns from gaps
When a run hits a gap, the skill gets edited on the spot [FIXED] or queued for a bigger rewrite [LOGGED], so it keeps getting better.
tidies up Background fixes
present
queued for rewrite runs in the background
Bigger fixes that can't be made on the spot get queued and rewritten in the background later.
remembers Run history
present
state/log/evals.ndjson unknown runs
Every run is written down here, so the next time this skill is used it already knows how the last runs went.
Critical rules the things this skill must not get wrong
  1. Default to apply: false — preview the work, require explicit confirmation
  2. Every run writes ONE eval row to state/log/evals.ndjson via
  3. If you discover a rule, command, or pitfall that should live in this

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.

  1. Loading feedback rows…

how the work flows- who makes it, who checks it

inputs snappy-subagents
actor Thing that
1 generator
Compose subagent briefs
- For each unit, write a brief that names the setpoint (state/skills/<slug>/AGENTS.md).
what this step does
- 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 line before exit: echo "[$(date -u +%FT%TZ)] <slug>: <gap or fix> [FIXED|LOGGED]" >> state/log/loader-feedback.log.
auditor Thing that judges (must be different - see CONSTITUTION
2 auditor
Assess progress
- For each subagent's writeback, check if the claimed [FIXED] edit is on disk.
what this step does
- 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).
3 data
Log + eval
```typescript

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 -p subagent.
  • 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 line before exit: echo "[$(date -u +%FT%TZ)] <slug>: <gap or fix> [FIXED|LOGGED]" >> state/log/loader-feedback.log.

3. Launch and collect

  • Fan out the subagents (Task tool for attended, headless claude -p for 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:

OutcomeScore
Pass on first try1.0
Failed first, auto-fix applied, re-check passed0.5
Still failing or unrecoverable0.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

Per-turn rules for the snappy-launch skill. Full reference: state/skills/snappy-launch/SKILL.md. Do not skip these.

Critical Rules

  • Default to apply: false - preview the work, require explicit confirmation

before any side effect ships. (CONSTITUTION invariant #3 - actor ≠ auditor.)

  • Every run writes ONE eval row to state/log/evals.ndjson via

score(). No exceptions. (CONSTITUTION invariant #4.)

  • If you discover a rule, command, or pitfall that should live in this

loader, follow the PID feedback footer below - patch the loader inline (FIXED) when the fix is small, otherwise log LOGGED and let the Stop-hook drain regenerate the loader.

Commands

|library: state/lib/snappy-launch.ts (only if it exists; otherwise leave blank) |sidecar: state/bin/snappy-launch/ (optional) |reference: state/skills/snappy-launch/SKILL.md |eval log: state/log/evals.ndjson

Known Pitfalls

  • Replace this bullet with the first concrete failure mode you hit. If you

hit none on the first run, replace it with the first thing you wished this loader had told you.

Self-Test

An agent reading this should correctly:

  1. [ ] Default to scope-only (apply: false) and require explicit confirmation

before shipping any side effect?

  1. [ ] Append exactly one eval row per run to state/log/evals.ndjson?
  2. [ ] Patch this loader inline (or log LOGGED) when a gap is discovered?

Self-report

If this loader fell short, append a line:

echo "[$(date -u +%FT%TZ)] snappy-launch: <what was missing>" >> state/log/loader-feedback.log

<!-- footer-injection-point -->


<!-- kernel-ok: historical attribution for the PID-loader pattern. -->

Self-correcting loader (PID feedback)

This is the rule that makes loaders learn. Ported from snappy-kernel, where it demonstrably worked: the snappy-dom-cartographer skill mapped Skool admin UI once, every later ship-agent inherited the full map for free.

Before you finish, do two things:

1. Fix gaps (P - proportional). MANDATORY. If this loader didn't cover your case - if you had to read another file, run an undocumented command, work around a wrong selector, or discover a quirk - you MUST attempt an Edit to this AGENTS.md before you log.

  • Default action: edit this file. Surgical. Add the missing line, table

row, or code example where it belongs. No restructuring.

  • Only LOGGED is allowed when: the fix needs >10 lines, spans multiple

files, or requires a structural rewrite. In that case the state/regen/drain.sh queue picks it up asynchronously.

  • "I didn't have time" / "it's minor" / "the next agent will figure it out"

are NOT valid reasons. Minor gaps compound - that's the whole point of this loop.

  • Concrete example of a valid P-fix: discover agent-browser screenshot

takes path positionally not as --output <path>. One line in a table. Edit it in. Do not just log it.

  • The goal: the next agent never has to leave the loader.

2. Log the result.

echo "[$(date -u +%FT%TZ)] <skill-name>: <what was missing or fixed> [FIXED|LOGGED]" >> state/log/agents-md-feedback.log
  • FIXED = you patched this loader inline (P-fix).
  • LOGGED = too large for inline; the PostToolUse enqueue + Stop-hook drain

will rewrite the loader from scratch on next session-end.

Do not skip this. Every agent run must leave the system better than it found it. The loader is the setpoint; you are the sensor; the gap is the error signal; closing the gap is the correction.

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

rubric auto-shape no rubric declared
recent no runs actor/auditor: unverifiable
deps snappy-subagents

no recent runs logged - the eval contract is declared but nothing has been graded yet