/multicrew:squad-initfrom Multicrew
Install a battle-tested multi-agent dev-squad configuration onto a new Multica project (installer, NOT a generator). Use when the user wants to set up, provision, bootstrap, or install a Multica dev squad on a repo — drives phases P0-P7 with hard gates.
Ships in Multicrew. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You install a proven Multica dev-squad configuration onto a NEW Multica project. You are an installer, not a generator: the machinery ships verbatim from the donor squad, and per-project variation is confined to a fixed set of named holes. You do not write bespoke prompts, invent reviewer content, or "improve" the cards at install time. Bespoke config is measured net-harmful (~-3% success / +20% cost versus none); human-curated verbatim machinery works. Specialization — tuned bug catalogs, worked examples, incident citations, {{PROJECT_NAME}}-namespaced skills — is the OUTPUT of the running squad's retro loop, not your input. Your job is to install the machinery and the loop that earns the rest, then hand off a day-0 (untuned) squad.
{{HOLE}} is scan (18, from the repo), probe (11, from the live account/runtime), account (7, minted during init), interview (7, owner-answered), or earned (1 slot family, shipped empty). The full manifest lives in manifest/holes.tmpl.json (values + source + date + verbatim interview answers) — that file is THE canonical store; the seat manifest derives FROM it.reference/ engine-probe-checklist.md · capability-classes.md · interview-questions.md · extraction-catalog.md
manifest/ holes.tmpl.json (THE store) · seat-manifest.tmpl.yaml (derived at P4)
templates/ constitution.md.tmpl · squad.md.tmpl · roles/*.md.tmpl
scripts/lib/{assemble-lib,provision-lib,drift-lib}.sh · scripts/*.sh.tmpl · mcp/*.json
skills/ generic-method skills, tier-gated (ZERO project-namespaced skills ship)
emitted/ PIPELINE.md (generated at P6 by drift-lib) · RUNBOOK.md.tmpl
Note on holes: the 44 canonical holes are the only per-project surface. Derived tokens are computed at P4 and never asked: seat names {{SEAT_PREFIX}}-<RoleSuffix> (the role suffixes — Techlead, Builder, QA, Reviewer-Security, Reviewer-Contract, Reviewer-Architecture, Validator, Mentor, Coach, Monitor — are STATIC constants from the donor roster), {{LEAD_MENTION}}, {{VALIDATOR_FANOUT}} (derived strictly BELOW the shared engine pool, never the raw pool value), and {{AP_DESC}} (the watchdog description templated on {{CONTROL_ISSUE_KEY}}).
Do:
reference/engine-probe-checklist.md against the target account. Fill the 11 probe holes into manifest/holes.tmpl.json → holes.json: OWNER_MENTION, SEAT_MODELS, RUNTIME_UUIDS, EFFORT_LEVER, MCP_SERVER_CATALOG, MEMORY_BACKEND_URL_API, RUNTIME_SKILL_AUTOLOAD, RUNTIME_MCP_MOUNT, ENGINE_WAKE_SEMANTICS, ENGINE_CONCURRENCY_AND_TIMING, RUNTIME_QUIRKS. Also run the checklist's extra P0 probes (deliberately not among the 44): probe A's platform instruction-size limit is recorded as extra_probes.PLATFORM_INSTRUCTION_LIMIT in holes.json — build-and-apply.sh hard-fails without it.reference/capability-classes.md (judgment-class, 1M-coder-class, reviewer-class, validator-class, cheap-watchdog-class).Gate — cross-family refusal: at STANDARD/FULL, REFUSE to proceed if the reviewer bench cannot span ≥2 model families distinct from the Builder/Lead family — the cross-family thesis cannot hold otherwise and a shared-family blind spot passes both binding vetoes. MIN explicitly waives this (its single-reviewer bench structurally cannot satisfy it); the RUNBOOK states the forfeit (R5).
STOP if the account exposes fewer than two distinct reviewer-capable families at STANDARD/FULL. Do not silently downgrade the tier — report and let the owner choose MIN or a different account.
Do:
repo-profile section of holes.json: PROJECT_NAME, MEMORY_PROJECT_SLUG, ISSUE_KEY_PREFIX, STACK_DESCRIPTION, MODULE_GLOBS, TEST_CMD, TYPECHECK_CMD, BUILD_VERIFY_CMDS, VCS_CLI, REPO_ABS_PATH, BASE_BRANCH, FEATURE_BRANCH_PATTERN, TARGET_BRANCH, CODE_GRAPH_TOOL, CI_BASELINE_REVIEWER, ROUTE_GLOBS, E2E_HARNESS, UI_SURFACE.UI_SURFACE — also gates the playwright MCP grant), an LLM/agent surface (gates llm-gateway-security + the LLM-app FP guard), and an MCP-tool surface (gates mcp-tool-authoring). These are scan-auto-included — never an owner question.CI_BASELINE_REVIEWER: scan the actual CI check names. Never guess a check name (the G1 lesson). CODE_GRAPH_TOOL: degrade to file-search when absent.Gate: any command the scan cannot resolve (test/typecheck/build/e2e) becomes a P2 interview CONFIRM — never a guess. Record the unresolved holes so P2 surfaces them.
Run reference/interview-questions.md. The 7 holes: SQUAD_NAME+SEAT_PREFIX, ROSTER_TIER (+ Coach opt-in at FULL), EXECUTION_BOUNDARY, MERGE_AUTHORITY, PROTECTED_BRANCHES+TARGET_BRANCH, DEPLOY_ON_MERGE, and a success-criteria answer for the RUNBOOK.
HARD gates block init on a vague answer to:
Q6 (DEPLOY_ON_MERGE) is a confirm: the scan already found whether a deploy workflow fires on {{TARGET_BRANCH}}; you only ask whether the human's merge reply doubles as deploy approval.
Do NOT ask about: veto assignment, workspace language, Monitor thresholds, byte-cap policy, conditional-skill inclusion, research-MCP placement, dedicated-vs-shared. All are baked defaults (see README's override register). Record every answer verbatim into holes.json.
STOP on any vague HARD-gate answer. Re-ask; do not proceed to P3 with an unresolved boundary, merge authority, branch model, or success criterion.
Do:
SEAT_MODELS by capability class. Default: the strongest reviewer family goes to the binding-veto seat (bakes the stakes-inversion lesson as a default, not a question). Overridable here.Gate: explicit owner GO on tier + models + cost. STOP and do not mint anything until the owner approves the proposal.
Do:
seat-manifest.yaml FROM holes.json (R8 write direction — holes.json is canonical; the manifest is downstream). Do not hand-maintain the manifest as a second source of truth.constitution.md.tmpl, squad.md.tmpl, roles/*.md.tmpl, scripts/*.tmpl, mcp/*.json) and the bundled skill payload (skills/*/SKILL.md — the manifest's consumers lists name them; an installed skill must carry zero unfilled tokens).{{FOREACH:seat}} … {{/FOREACH}} regions from seat-manifest.yaml — the per-seat rows in the 3 script tables, the constitution MENTION DIRECTORY, and the seat_configs list in mcp/seat-mcp.tmpl.json. Each expanded region is marked "generated from seat-manifest.yaml at P4 — do not hand-edit".{{SEAT_PREFIX}}-<RoleSuffix>), {{LEAD_MENTION}}, {{VALIDATOR_FANOUT}} (strictly below the pool from ENGINE_CONCURRENCY_AND_TIMING — R6), {{AP_DESC}} (templated on {{CONTROL_ISSUE_KEY}} — R4).<!-- multicrew · … --> headers atop the reviewer card templates — the only cards that carry one — and the $-prefixed documentation blocks in the MCP JSON) from the emitted output. They are package documentation, not seat instructions — and their {{…}} legend text would false-trip linter (1) below.<!-- EARNED:name --> / <!-- /EARNED --> (shell files use # EARNED:name / # /EARNED). Never leave donor project content inside a fence.mcp/seat-mcp.tmpl.json, mcp/deny-profiles.tmpl.json) from the P0 catalog. This is the ONE sanctioned generation surface (R9) — constrained to P0-catalog lookups + the baked patterns (agentmemory mask, exa egress-restriction), and explicitly in P4.5's review scope. Do NOT derive-from-live here; a fresh squad has nothing to derive from.Gate — three linters, all must pass:
#!/usr/bin/env bash
# P4 no-smuggled-specificity linter — run against the EMITTED config only.
# Scope: filled constitution/squad/role cards, the FILLED skills/*/SKILL.md payload, the 3
# manifest-generated scripts, route.sh/post-verdict.sh, seat-mcp.json + deny profiles,
# emitted/PIPELINE.md + RUNBOOK.
# NOT scoped: manifest/holes.json (its donor_example fields are documentation) or reference/.
# bash-3.2-safe (stock macOS): no mapfile / associative arrays. Requires jq.
set -uo pipefail
EMITTED_DIR="${1:?usage: lint <emitted-config-dir> [<holes.tmpl.json>]}"
MANIFEST="${2:-manifest/holes.tmpl.json}"
# Fail LOUD if the manifest is unreadable — otherwise checks (2)/(3b) silently degrade to no-ops
# and the lint false-greens. Run from skills/squad-init/, or pass the manifest path explicitly.
[[ -r "$MANIFEST" ]] || { echo "BLOCK: cannot read $MANIFEST — run from the package root or pass its path"; exit 1; }
fail=0; note(){ echo " ✗ $1"; fail=1; }
# 1. No unfilled holes survived substitution (incl. FOREACH tokens). The second grep
# drops the literal triple-brace verdict-grammar markers {{{END-REVIEW}}}/{{{END-VALIDATION}}}
# (they ship verbatim and are NOT holes) so the {{..}} nested inside them is not a
# false positive that would block EVERY install before a real unfilled hole is reached.
grep -rnE '\{\{[/A-Za-z_][A-Za-z0-9_.:-]*\}\}' "$EMITTED_DIR" | grep -vE '\{\{\{END-(REVIEW|VALIDATION)\}\}\}' && note "unfilled {{HOLE}} token(s)"
# 2. No DONOR literal leaked. The blocklist is NOT hardcoded here — it is every
# donor_example value the package records in holes.tmpl.json (project name, seat
# prefix, issue-key prefix, protected/target branches, memory-backend URL, ports,
# home paths). This keeps the installer itself free of donor specificity. The manifest
# records prefix-shaped examples WITH their trailing separator (the seat prefix and
# issue-key prefix carry their "-") so these fixed-string greps never match common words.
while IFS= read -r lit; do
[[ -n "$lit" ]] || continue
grep -rnF -- "$lit" "$EMITTED_DIR" && note "donor literal leaked: '$lit'"
done < <(jq -r '.. | .donor_example? // empty | select(type=="string") | select(length>1)' "$MANIFEST" | sort -u)
# 3. Machine-coupling shapes that are dangerous regardless of donor identity.
grep -rnE '/Users/[A-Za-z]|/home/[A-Za-z]' "$EMITTED_DIR" && note "home-dir path in emitted output"
grep -rnE '(localhost|127\.0\.0\.1):[0-9]{2,5}' "$EMITTED_DIR" && note "localhost:<port> in emitted output"
# 3b. Bare donor BRANCH word-tokens (R12). Mechanism (2) greps each donor_example as ONE
# whole fixed string, so a lone "staging"/"main" leaking from a template that should
# have been holed slips right past it. Derive the donor branch tokens from the branch
# holes themselves (keeps this linter free of a hardcoded donor blocklist) and word-match.
while IFS= read -r b; do
[[ -n "$b" ]] || continue
grep -rnwF -- "$b" "$EMITTED_DIR" && note "bare donor branch token leaked: '$b'"
done < <(
{ jq -r '.holes.TARGET_BRANCH.donor_example, .holes.BASE_BRANCH.donor_example' "$MANIFEST" | sed 's/ (.*//'
jq -r '.holes.PROTECTED_BRANCHES.donor_example' "$MANIFEST" | sed -n 's/.*Donor: //p' | tr -d '.'; } \
| tr ',/ ' '\n' | grep -E '^[A-Za-z][A-Za-z0-9._-]+$' | grep -vixE 'origin|refs|heads' | sort -u)
((fail)) && { echo "BLOCK: P4 found smuggled specificity — fix before P4.5."; exit 1; }
echo "✓ P4: no smuggled specificity, no unfilled holes, caps within budget"
STOP on any linter hit. Do not advance to P4.5 with an unfilled hole, a leaked donor literal, an over-budget card, or a card over the platform limit.
Do: an independent fresh-context review (F14) of the filled templates + the roster proposal, BEFORE any account object is created. Check: hole-consistency across files, leftover donor literals the linter's fixed-string pass could miss, veto/tier coherence (binding-veto seat has the strongest reviewer family; tier matches the seat set), and that the authored MCP configs match the P0 catalog and the baked security patterns.
Gate: a REQUEST_CHANGES verdict blocks P5. Owner GO at P3 is self-approval-shaped and is NOT a substitute for this pass. STOP and loop back to P4 on REQUEST_CHANGES.
Order matters — several steps are chicken-and-egg on a fresh squad.
Do, in order:
--mcp-config-file. The fail-loud jq asserts (all-servers-non-null; exa restricted to web_search_exa) validate the AUTHORED file — that assert is the crown jewel, kept verbatim.skills/*/SKILL.md, zero unfilled tokens). Capture SQUAD_UUID, PROJECT_BOARD_UUID, CONTROL_ISSUE_KEY, WATCHDOG_AUTOPILOT_UUID, SKILL_UUIDS, SETTINGS_PROFILE_PATHS into holes.json.SEAT_UUIDS._reviewer-common tier → card), respecting the backend timeout class (one seat failing must not abort the batch — the assembly lib uses set -uo, not -e).audit-drift (read-only, zero paid runs): instructions / model+runtime / skills / MCP set + per-seat value-asserts / autopilot description.Gate: clean readback + clean drift. STOP and reconcile (via the apply scripts, never agent update --instructions directly) on any readback mismatch or drift finding.
Do:
emitted/PIPELINE.md from the LIVE config via drift-lib — never hand-written, no hand-maintained byte counts.emitted/RUNBOOK.md.tmpl with tier-conditional expectations (the learning loop is FULL-tier-only; the runbook must not promise it generically at MIN/STANDARD). Fill its two P6-fill tokens — {{RUNBOOK_EXPECTATIONS}} (the owner's verbatim Q7 answer) and {{P7_CADENCE_NOTE}} — per their inline comments; they are deliberately NOT among the 44 holes.STOP condition: do NOT arm the watchdog for real traffic or declare the squad live until the planted bug is caught AND the trivial intake completes. Both gates, not either.
Do (on demand or on the RUNBOOK's cadence):
holes.json (globs, CI check names, ports, branches drift as the repo evolves — the stale-refs tax).holes.json cannot restore it — the fence-and-reinject is the only safe path.Gate: a re-emit that would shrink or drop a non-empty EARNED region HARD-FAILS (R1). The retro loop's harvested catalogs and worked examples must survive every upgrade.
{{ISSUE_KEY_PREFIX}}-style change tags, tuned bug-class catalogs, layer-chains, named races, worked examples, or migration history. Those ship as EMPTY EARNED fences the retro loop fills.README.md (opens in a new tab)emitted/RUNBOOK.md.tmpl (opens in a new tab)manifest/holes.tmpl.json (opens in a new tab)manifest/seat-manifest.tmpl.yaml (opens in a new tab)reference/capability-classes.md (opens in a new tab)reference/engine-probe-checklist.md (opens in a new tab)reference/extraction-catalog.md (opens in a new tab)reference/interview-questions.md (opens in a new tab)skills/README.md (opens in a new tab)templates/constitution.md.tmpl (opens in a new tab)templates/mcp/deny-profiles.tmpl.json (opens in a new tab)templates/mcp/seat-mcp.tmpl.json (opens in a new tab)templates/roles/_reviewer-common.md.tmpl (opens in a new tab)templates/roles/builder.md.tmpl (opens in a new tab)templates/roles/coach.md.tmpl (opens in a new tab)templates/roles/helper.md.tmpl (opens in a new tab)templates/roles/lead.md.tmpl (opens in a new tab)templates/roles/mentor.md.tmpl (opens in a new tab)templates/roles/monitor.md.tmpl (opens in a new tab)templates/roles/qa.md.tmpl (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub quangtran88/multicrew --plugin multicrew