spae-spawn
Skill2 starsChanged 14 days agoMITView on GitHub
Execution Orchestrator for the `SPAE` framework. Spawns the `build`, `check`, and `fix` subagents per task until the `workstream` reaches `phase: verify`.
In this repository21 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-specSkill
- spae-verifySkill
- structureSkill
- testSkill
- tipSkill
- troubleshootSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Read .spae/current/STATE.json for phase, cursor, and task registry.
- Distinctive: line 33
Every phase maps to exactly one subagent, spawned the same way regardless of phase:
- Distinctive: line 44
After each read, check the exit first.
- Very specific: line 48
Read .spae/current/STATE.json.
- Distinctive: line 60
Always use the subagent tool for subagent invocation.
- Distinctive: line 70
Never run subagents in parallel or concurrently.
- Very specific: line 83
Every spawn matched the phase-agent map row for the recorded phase.
- Distinctive: line 90
Keep prose terse while ensuring clarity.
- Distinctive: line 93
Use lists and sub-lists for long sentences and dense paragraphs.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spawn (SPAE)
When to use
- The user wants to perform the build phase of the
SPAEstructured workflow autonomously.
Goal
- Spawn the subagent matching the current
STATE.jsonphase, looped until theworkstreamreachesphase: verify.
Input
Read .spae/current/STATE.json for phase, cursor, and task registry.
STATE.json
See references/STATE.md for the field reference, directives, and phase
snapshots.
Phase-agent map
Every phase maps to exactly one subagent, spawned the same way regardless of phase:
phase | Subagent |
build | build |
check | check |
fix | fix |
Workflow
After each read, check the exit first; halt on any Halt conditions entry after every non-exit read and every spawn.
- Dispatch Loop:
- Read
.spae/current/STATE.json; recordphase. - Exit on
phase: "verify". - Spawn the subagent the map names for
phase, no arguments; await completion. - Repeat step 1.
- Read
- Report: emit the result per Result directives:
Result:Completedon an exit;Haltedwhen a subagent reportsFailedor leavesphaseunchanged;Failedon any other Halt conditions entry.
Directives
- Always use the subagent tool for subagent invocation.
- Route only from
STATE.jsonphase; trust it over subagent output text. - Spawn only the subagents the phase-agent map names.
Constraints
- Restrict activities to spawning subagents, reading
.spae/current/STATE.json, and reporting; never write files, run git operations, activate skills, or prompt the user mid-run. - Never run subagents in parallel or concurrently.
- Halt conditions: halt immediately; report per Report with
Halted atandReason:STATE.jsonmissing at a loop read, or holding unparseable JSON syntax.phasematching no phase-agent map row.cursor.active_task_idmissing.phaseunchanged since the previous spawn.- A subagent
Failedresult or process failure (crash, timeout,AgentError).
Verification
- Every spawn matched the phase-agent map row for the recorded
phase. - The run ended on an exit or a Halt conditions entry.
- The orchestrator wrote no file.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists for long sentences and dense paragraphs.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions from spawned subagents]
- **Files**:
- [Terse list of files affected by spawned subagents]
- **Findings**:
- [Terse list of findings from spawned subagents]
- **Summary**:
- [Terse list of summary from spawned subagents]
> **`SPAE` Spawn** • `[workstream]`
> **Result**: [Completed | Halted | Failed]
> **Halted at**: `[Task ID]` _(unless completed)_
> **Reason**: [Terse explanation] _(unless completed)_
> **Remaining**: [Y] tasks _(unless completed)_
> **Impact**: [Terse impact statement]<!-- prettier-ignore-end -->Does 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.

