skill-author
Skill51 starsChanged 2 months agoMITView on GitHub
Integrate a CAFleet-orchestrated Director/member team into a new skill, with role files, broker coordination and supervision. Use when authoring a skill that spawns cafleet members or adding a CAFleet team to an existing skill. Project-local integration guide; load the linked CAFleet prerequisites at their phase triggers.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- cellrishi-code/claude-skills-atlastheir own version, first seen Oct 4, 2026
- manusco/resonancetheir own version, first seen Sep 28, 2026
- Zhonghao1995/agentic-swmm-workflowtheir own version, first seen Sep 26, 2026
- Tradebaas/Groundworktheir own version, first seen Sep 7, 2026
- DunoDoge/OHOS-Skillstheir own version, first seen Sep 6, 2026
- felvieira/claude-skills-fvtheir own version, first seen Sep 2, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- manusco/resonance★ 37same name
- Zhonghao1995/agentic-swmm-workflow★ 30same name
- felvieira/claude-skills-fv★ 23same name
- robium-ai/robium★ 21same name
- ChilliCream/agent-skills★ 13same name
- walkpod1007/lifeos-memory★ 9same name
- joshrotenberg/skillet★ 8same name
- cellrishi-code/claude-skills-atlas★ 4same name
- myeolinmalchi/mcp2cli★ 4same name
- sadlay/agent-skills★ 3same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- cafleet-model-list-refreshSkill
- clean-docsSkill
- update-readmeSkill
- cafleet-design-docSkill
- cafleetSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Write the new skill's workflow and role responsibilities locally.
- Very specific: line 50
Run cafleet doctor. On success, resolve the Director backend and its monitor default.
- Very specific: line 60
Write the following complete prompt to /repo/researches/pr-1234/.prompts/summarizer-20260911T100100Z.md.
- Distinctive: line 100
After writing the summary, member 11 sends:
- Distinctive: line 130
After confirming that only the root Director remains in the registry, delete the fleet:
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Authoring a CAFleet team skill
Use a CAFleet team when the work needs separate persistent coding-agent processes, specialized roles or parallel slices coordinated through the broker. Use a single-session skill or an in-process subagent for a small transformation that needs none of those properties. A team consists of the Director, its monitor, and ordinary members; the Director coordinates the work and owns user communication.
Write the new skill's workflow and role responsibilities locally. Reuse the shared protocols through required reads at the phases below, so their exact mechanics have one owner.
Phase prerequisites
| Before | Read and apply | Local skill responsibility |
| Designing the workflow | CAFleet core, backend-neutrality rule and the executing backend's runtime bindings | State the outcome, role boundaries, disjoint write ownership, artifact locations and approval gates; resolve concrete local tools. |
| Resolving output paths or writing | BASE contract | Declare a task-folder convention and normalize the input to that folder before resolution. Members consume the supplied BASE. |
| Bootstrapping or spawning | Director role and supervision | Gate on doctor and monitor live; select models under the Director policy and inspect failed compensation before retrying. |
| Rendering a prompt | Canonical frame, audit protocol, selected backend's Model catalog/Role defaults | Supply role path, identity block, assignment, all IMPORTANT obligations, ready and start cue. |
| Coordinating work | Coordination, including payload exemptions and marker pairing | Declare artifact pointers and any local role extension; make substance readable at the routed pointer. |
| Recovering or finishing | Recovery and Shutdown | Keep authorized work moving, then delete monitor first, remaining members, confirm cleanup and delete the fleet. |
Load a shared prerequisite once and return to its relevant section when its trigger occurs. The new member's role file requires its own backend resolution, CAFleet member startup and local workflow reads. Use an available text reader; when shell is the only reader, prerequisite reads may precede ready. Ready remains the first operational broker command. Supply equivalent session instructions for absent optional host-rule files and route an essential unknown prerequisite before dependent work.
Integration decisions
Choose researches/<topic-slug> for research-shaped tasks or design-docs/<NNNNNNN>-<slug> for design documents. Strip a supplied deliverable filename before resolving the task folder; relative arguments use the skill's bucket, absolute arguments keep their location. The BASE owner defines no-repository errors, <unset>, guarded writes and the missing-BASE member status. Agent-only artifacts use hidden directories such as .prompts/; user deliverables use visible paths. A caller's explicit output path follows the BASE contract, and a failed resolution receives its specified error rather than an ad-hoc temporary fallback.
Render each prompt to a unique .prompts/<lowercase-member-name>-<UTC-compact>.md, retaining that pre-spawn file as the immutable audit input. Resolve every [INSERT …] marker and model/runtime token before writing; leave only {fleet_id}, {member_id}, {director_member_id} and {coding_agent} for the CLI formatter. Double all other literal braces. Both creation commands format identities after allocating them. Take returned IDs as literal integers in subsequent broker calls.
Reference role files by absolute path. --file provides a durable input artifact and avoids an oversized caller shell command; the resolved prompt still reaches the backend spawn argv and remains subject to transport limits. Keep the frame compact and move role instructions into their owner file. Follow the BASE owner's guarded <unset> branch: omit BASE:, skip the audit write, use the supported inline ordinary-member or stdin monitor form, and report the anchorless audit-disabled status. An unsupported or failed transport is an error to surface.
Broker sends persist messages and attempt automatic previews. A missed preview leaves the message pending until poll/ACK; members end idle when no work remains and wake on broker events. member prompt is the separate Director-controlled keystroke operation, with its shell follow-up governed by prompt-routing. A successful placement establishes pane existence; ready establishes that the member booted, and monitor live gates the first ordinary spawn.
Keep base skills and roles backend-neutral. Resolve runtime bindings for the executing agent, models and effort for the selected spawn backend, and pane cues for the observed member. Monitor bootstrap and recovery inherit the Director backend. The unified reference owns each backend's six ordered sections: Runtime bindings, Role defaults, Model catalog, Note → applies at, Pane-state capture cues, Worked resolution. Use its Template when adding a backend; the model-refresh skill owns catalog/default/freshness data while runtime maintenance owns bindings, notes and cues. Agent and public operator documentation remain independent homes per the overlay rule.
Worked example: summarize-pr
This illustrative skill accepts a PR number, gives one Summarizer a read-only diff, and produces a 200-word summary with three risk areas. The paths, timestamp and returned IDs below are example values; resolve real paths, current model defaults and returned IDs for an actual run. Each shell command is a separate invocation.
Resolve and bootstrap
For /summarize-pr 1234 in /repo, normalize researches/pr-1234 and resolve BASE to /repo/researches/pr-1234. Fetch the PR diff through the host's approved GitHub workflow and write this agent-only input with the file writer to .inputs/diff.patch under BASE. Supply a roles/summarizer.md defining read-only input, summary-only output, revision handling, broker reporting and immediate escalation of blockers; it loads CAFleet member startup and coordination.
Run cafleet doctor. On success, resolve the Director backend and its monitor default. For this example the resolved pair is claude and haiku. Render the canonical monitor frame referencing /repo/skills/cafleet/roles/monitor.md to /repo/researches/pr-1234/.prompts/monitor-20260911T100000Z.md, with BASE, all identity lines, resolved startup prerequisites and the monitor start cue. Bootstrap:
cafleet fleet create --name summarize-pr-1234 --coding-agent claude --monitor-file /repo/researches/pr-1234/.prompts/monitor-20260911T100000Z.md --monitor-model haiku --monitor-effort low --jsonSuppose the result provides fleet 7, Director 8 and monitor 9. Carry those literal IDs thereafter. Read and ACK the monitor's ready and monitor live messages; the monitor owns launching and confirming its loop. Spawn the Summarizer only after that gate.
Render and spawn
Write the following complete prompt to /repo/researches/pr-1234/.prompts/summarizer-20260911T100100Z.md. This is the pre-substitution audit input:
You are the Summarizer in a summarize-pr team (CAFleet-native).
ROLE DEFINITION: Open /repo/skills/summarize-pr/roles/summarizer.md with an available text reader BEFORE any other action. That file is your authoritative role definition. Re-read it whenever unsure of protocol.
Load the cafleet skill at startup for broker and member protocols, resolving the backend named below. Read the summarize-pr workflow and CAFleet design-doc coordination before substantive work.
FLEET ID: {fleet_id}
DIRECTOR MEMBER ID: {director_member_id}
YOUR MEMBER ID: {member_id}
BASE: /repo/researches/pr-1234
CODING AGENT: {coding_agent}
INPUT FILE: /repo/researches/pr-1234/.inputs/diff.patch
OUTPUT FILE: /repo/researches/pr-1234/summary.md
IMPORTANT: Keep the input and repository source unchanged; write only the summary and task-local audit artifacts.
IMPORTANT: The Director owns all Git operations and user communication.
IMPORTANT: If blocked, send a message to the Director immediately instead of assuming.
IMPORTANT: Follow CAFleet member Bash and prompt-routing protocols plus the supplied host Bash rules: one command per call, literal arguments and a file writer for output.
When you see cafleet message poll output from the Director, read and ACK each message, then act on its instructions. Retrieve full payloads with JSON when needed.
Use an available non-shell text reader for prerequisites; shell file reads may precede ready when shell is the only reader.
On spawn, as your first operational broker shell command, send the ready signal: cafleet message send --from-member-id {member_id} --to-member-id {director_member_id} "ready"
Read INPUT FILE, write a 200-word summary highlighting three risk areas to OUTPUT FILE, then send complete (doc) to the Director. Handle revisions at standing COMMENT(director) markers and reply addressed (doc).cafleet member create --fleet-id 7 --name summarizer --description "Summarizes a PR diff and three risks" --file /repo/researches/pr-1234/.prompts/summarizer-20260911T100100Z.md --jsonSuppose the returned member ID is 11. The CLI renders that member's own identity; the Director uses 11 for later calls and follows the placement/ready checks in supervision.
Review and revisions
After writing the summary, member 11 sends:
cafleet message send --from-member-id 11 --to-member-id 8 "complete (doc) — summary and three risk areas ready"The Director polls and ACKs that message, reads summary.md and presents the result to the user. A requested revision becomes a COMMENT(director) at the top of that document, paired with:
cafleet message send --from-member-id 8 --to-member-id 11 "ready (doc)"The Summarizer reads the marker, revises the summary, removes the addressed marker and sends addressed (doc). The Director reviews the revised artifact. Full clarification payloads follow coordination's exemptions; routing summaries stay short and substance stays at its pointer.
Teardown
Once the authorized work is complete, run each command separately:
cafleet member delete 9cafleet member delete 11cafleet member list 7After confirming that only the root Director remains in the registry, delete the fleet:
cafleet fleet delete 7Confirm closure with:
cafleet fleet listConfirm fleet 7 is absent from the active fleet list before reporting teardown complete.
Member deletion kills its pane immediately; deleting the monitor first ends the wake source. Inspect any cleanup error before claiming teardown complete. Fleet deletion handles registry/runtime cleanup and preserves messages; member deletion handles panes. The summary and immutable prompt inputs remain under the task folder.
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.

