spae-spawn
Skill1 starsChanged 4 months agoMITView on GitHub
Executes the build phase of the SPAE structured workflow autonomously, cycling build, check, and fix per task.
In this repository19 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-specSkill
- spae-verifySkill
- testSkill
- tipSkill
- troubleshootSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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 20
Ensure phase: verify in STATE.json once the loop exits.
- 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 65
Always use the subagent tool for subagent invocation.
- Distinctive: line 79
Never write to any project file.
- Distinctive: line 81
Never invoke agents outside the permitted list.
- Very specific: line 83
Never run subagents in parallel or concurrently.
- Distinctive: line 84
Never prompt the user for decisions mid-run.
- Distinctive: line 86
Never perform activities beyond subagent invocation, state tracking, and reporting.
- Distinctive: line 101
Keep prose terse while ensuring clarity.
- Distinctive: line 104
Use lists and sub-lists over paragraphs and long sentences.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
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 every task completes. - Ensure
phase: verifyinSTATE.jsononce the loop exits.
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
- Validate State: Confirm
STATE.jsonhasphasein"build","check","fix"and a populatedcursor.active_task_id. Halt on malformed or missingSTATE.json, or an unrecognizedphase. - Dispatch Loop:
- Re-read
.spae/current/STATE.json; recordphase. - Exit on
phase: "verify". - Halt immediately if
phasematches none of the phase-agent map's rows. - Spawn the subagent the map names for the recorded
phase, no arguments. - Await completion; halt immediately on
Failedstatus or any process failure (crash, timeout,AgentError). - Re-read
.spae/current/STATE.json; halt immediately ifphasematches the value recorded at the start of this iteration. - Repeat step 2.
- Re-read
- Finalize Phase: Confirm
STATE.jsonshowsphase: "verify". Emit the final completion feedback.
Directives
- Limit actions entirely to orchestration.
- Always use the subagent tool for subagent invocation.
- Trust
STATE.jsonover subagent result. - Halt immediately on subagent
Failedstatus or any process failure (crash, timeout,AgentError). - List of agents permitted to invoke:
buildcheckfix
Constraints
- Restrict your activities to:
- Reading
.spae/current/STATE.json. - Using the subagent tool to spawn agents the phase-agent map names.
- Reading
- Never write to any project file.
- Never activate skills.
- Never invoke agents outside the permitted list.
- Never make commits.
- Never run
subagentsin parallel or concurrently. - Never prompt the user for decisions mid-run; let failures halt execution.
- Never perform activities beyond subagent invocation, state tracking, and reporting.
Verification
- Confirm every spawned subagent's phase matches the phase-agent map at spawn time.
- Confirm
phasechanges on every iteration; halt on a stalled phase. - Confirm all tasks show
donestate upon completion. - Confirm the
workstreamadvanced tophase: verify. - Confirm zero project writes from the orchestration agent itself.
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 over paragraphs and long sentences.
- 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 subagent]
- **Summary**:
- [Terse list of summary from spawned subagents]
> **`SPAE` Spawn** • `[workstream]`
> **Result**: [Completed | Halted | Failed]
> **Halted at**: `[Task ID]` _(if halted)_
> **Remaining**: [Y] tasks _(if halted)_
> **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.

