setup
Skill608 starsChanged 9 months agoMITView on GitHub
Phase 0 of the prd-taskmaster pipeline. Resolves the active backend, initializes the project, configures the provider stack when the TaskMaster backend is active (DETECT-FIRST — never overwrite a working user config), and verifies the AI pipeline. Autonomous: zero user questions unless a hard block is hit. Declares the Setup phase complete so DISCOVER can follow.
191 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- per-simmons/claude-game-studiotheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-voice-transcription, add-discord and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 5 projects that use this
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 7 projects that use this
- +8 more from microsoft
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- anthropics/knowledge-work-plugins★ 35ksame name
- garrytan/gbrain★ 32ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.3ksame name
- pytorch/executorch★ 5.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 3.4ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
181 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 repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- prd-taskmasterSkill
- atlasSkill
- customise-workflowSkill
- discoverSkill
- execute-fleetSkill
- execute-taskSkill
- expand-tasksSkill
- generateSkill
- goSkill
- handoffSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Before the entry gate or init-project below, follow SKILL.md Phase 1 task ownership: provider-configure --project-root ROOT --board BOARD …
- Very specific: line 41
Call mcp__plugin_prd_go__check_gate(phase="SETUP", evidence={}) for diagnostics.
- Distinctive: line 49
Re-entry: if the gate reports violations, report them and stop — it protects against re-running a completed phase or skipping ahead.
- Very specific: line 72
Check whether the current project has a .taskmaster/ directory (the engine still reads/writes the .taskmaster/ file format for tasks and …
- Very specific: line 75
If missing, run backend op init:
- Very specific: line 125
When the TaskMaster backend is active, read task-master models output BEFORE setting anything.
- Distinctive: line 127
NOT be overwritten silently.
- Very specific: line 159
If tasks already exist, call the MCP tool mcp__plugin_prd_go__validate_setup or run backend op rate:
- Distinctive: line 166
If no tasks exist yet (fresh project), skip the probe — Step 3's provider configuration is sufficient evidence the pipeline is wired.
- Distinctive: line 186
After Steps 1–5 report green:
“Common” is measured: kept by at least 6 in 10 of the 170 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
Phase 0: Setup
Declarative phase skill. Invoked by the prd-taskmaster orchestrator when
current_phase is null or SETUP. Never called directly by a user.
Task provider routing comes first
Before the entry gate or init-project below, follow SKILL.md Phase 1 task ownership:
provider-configure --project-root ROOT --board BOARD persists the new-project
atlas-kanban default; doctor --project-root ROOT reports read-only diagnostics.
With no persisted provider choice, any file under .taskmaster/ stays taskmaster-file;
empty folders and a bare docs/prd.md stay new. Provider metadata is outside .taskmaster/.
For atlas-kanban, complete that setup branch and return the actual config and
doctor diagnostics to the orchestrator. It routes Discovery next, then the
plan/materialize and canonical handoff branches. Do not initialise .taskmaster,
run the legacy pipeline gates below, or fabricate validate_setup evidence for
canonical cards. All remaining steps on this page apply only to taskmaster-file.
Entry gate
Call
mcp__plugin_prd_go__check_gate(phase="SETUP", evidence={})for diagnostics.check_gateis an EXIT gate: it verifies you have the evidence to advance, not to enter. On first entry you have no evidence yet (Step 4 below producesvalidate_setup.ready=true), so agate_passed: falseresult here is EXPECTED — the state machine's legal transitions (None → SETUP) already guarantee only legal entry.- First entry (no evidence yet): note the result and continue with the Procedure.
- Re-entry: if the gate reports violations, report them and stop — it protects against re-running a completed phase or skipping ahead.
Enforce the gate when you ADVANCE (after the procedure), not on entry.
Procedure (5 steps, abort on hard failure)
Step 1: Backend detection
Run backend detection:
python3 script.py backend-detectThe native engine is the sole generator and needs no external binary — a
keyless host CLI (claude / codex / gemini) on PATH, or a provider API key,
is sufficient (see Chunk 7's atlas setup wizard). The task-master binary is
no longer required or supported; backend-detect reports its presence purely as
informational. Continue with the resolved (native) backend.
Step 2: Project init
Check whether the current project has a .taskmaster/ directory (the engine
still reads/writes the .taskmaster/ file format for tasks and config).
If missing, run backend op init:
python3 script.py init-projectThis initialises the native project state and the .taskmaster/ file format. If
.taskmaster/ is present, continue.
Step 2.5: Customisation bootstrap (REQUIRED — closes execute-task deadlock)
execute-task requires .atlas-ai/customizations/system-prompt-template.md
to exist as a precondition (its Entry gate halts otherwise). It cannot
create the file from inside the loop — the failure mode is a hard halt with
no recovery path.
This step ensures the file exists BEFORE execute-task ever runs:
PLUGIN_SKEL="${CLAUDE_PLUGIN_ROOT}/skel/customizations"
mkdir -p .atlas-ai/customizations
if [ ! -f .atlas-ai/customizations/system-prompt-template.md ]; then
if [ -d "$PLUGIN_SKEL" ]; then
cp -n "$PLUGIN_SKEL"/*.md .atlas-ai/customizations/ # -n: no-clobber, copy starter pack
else
: > .atlas-ai/customizations/system-prompt-template.md # empty is fine per execute-task Entry gate
fi
fiThe starter pack (domain-vocabulary.md, system-prompt-template.md,
task-enrichment-rules.md, verification-preferences.md) is editable —
users tune them to project-specific terminology. Empty is acceptable; the
file simply must exist.
Also scaffold .atlas-ai/ship-check.py if it doesn't already exist:
if [ ! -f .atlas-ai/ship-check.py ] && [ -f "${CLAUDE_PLUGIN_ROOT}/skel/ship-check.py" ]; then
cp "${CLAUDE_PLUGIN_ROOT}/skel/ship-check.py" .atlas-ai/ship-check.py
chmod +x .atlas-ai/ship-check.py
fi(Codified 2026-06-04 — yesterday's run halted at execute-task Entry
because system-prompt-template.md was missing; the file had to be
manually touch-ed from outside the loop.)
Step 3: Provider configuration — DETECT-FIRST
When the TaskMaster backend is active, read task-master models output BEFORE
setting anything. This is the load-bearing rule. A working user config must
NOT be overwritten silently. When the native backend is active, provider
configuration is handled by the resolved backend and this TaskMaster-specific
step is informational only.
task-master models output | Action |
| Main / Research / Fallback all populated with a supported provider | SKIP — go to Step 4. |
| Main set, Research/Fallback empty | Partial mutate — fill the empty roles only. |
| All three empty (fresh install) | Full configure — use the default stack below. |
| Provider flagged unsupported / deprecated | Ask the user before mutating. |
Why DETECT-FIRST: v4 dogfood (2026-04-13, LEARNING #9) caught the skill
overwriting a working gemini-cli / gemini-3-pro-preview config because the
procedure wasn't branch-aware. Detect first, mutate only the empty slots.
Default stack (fresh install only):
task-master models --set-main gemini-3-pro-preview --gemini-cli
task-master models --set-research gemini-3-pro-preview --gemini-cli
task-master models --set-fallback gemini-3-flash-preview --gemini-cliWhy Gemini CLI: ~113× more token-efficient than sonnet on parse-prd, free via any Google account, no API key. One provider, three roles, zero cost.
Alternatives: Claude Max (--claude-code sonnet/opus/haiku), any of the
12 task-master provider families, or a registered MCP research tool for the
Research role.
Step 4: Probe test
If tasks already exist, call the MCP tool
mcp__plugin_prd_go__validate_setup or run backend op rate:
python3 script.py rateIf no tasks exist yet (fresh project), skip the probe — Step 3's provider configuration is sufficient evidence the pipeline is wired.
Step 5: Status line
Render the preflight progress panel and print it. MCP-mode: call
render_status(phase="SETUP") and print its rendered field. CLI-mode:
python3 script.py status --phase SETUP. (Fallback if the renderer is
unavailable — emit a compact one-block status:)
Setup:
task-master: installed (<version>)
project: initialized (.taskmaster/)
provider: <main-provider> (main) / <research-provider> (research)
pipeline: verifiedExit gate
After Steps 1–5 report green:
- Call
mcp__plugin_prd_go__advance_phase(expected_current="SETUP", target="DISCOVER", evidence={"validate_setup": <Step 4 result dict>, "provider_configured": True}). The call atomically transitionspipeline.jsonfrom SETUP to DISCOVER. Theexpected_currentfield is the compare-and-swap guard;evidenceis stored underphase_evidence[DISCOVER]for audit. - Return control to the orchestrator (
prd-taskmasterskill). Do NOT invoke DISCOVER directly — the orchestrator re-readscurrent_phaseand routes.
Red flags (stop and report, do not paper over)
- "The config is set but looks wrong — I'll fix it" → NO. Report and ask.
- "No tasks exist so I'll skip backend detection" → NO. Backend detection must run before DISCOVER so later backend ops resolve consistently.
- "I'll auto-install task-master via npm" → NO. Installation is a user action; this skill only reports that installation unlocks the TaskMaster backend.
- "I can call advance_phase without check_gate" → NO. Gate first, always.
Non-exits
This skill does not use explicit process termination. A hard block reports the reason and returns control to the orchestrator; the orchestrator decides whether to surface to the user.
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.

