Borrowing it
Nothing to install: this file belongs to PedroMosquera/squadai. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/PedroMosquera/squadai/main/.claude/commands/squadai-init.mdgit clone --depth 1 https://github.com/PedroMosquera/squadaiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/pedromosquera/squadai/squadai-init)<a href="https://agentmods.dev/commands/pedromosquera/squadai/squadai-init"><img src="https://agentmods.dev/badge/commands/pedromosquera/squadai/squadai-init/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/pedromosquera/squadai/squadai-init"><img src="https://agentmods.dev/badge/commands/pedromosquera/squadai/squadai-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01034 |
| Opus 5.5 | $0.00000 | $0.00414 |
| Sonnet 5.5 | $0.00000 | $0.00207 |
| Haiku 4.5 | $0.00000 | $0.00103 |
Grade A, and why
squadai-init scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/squadai-init
You are running the squadai squadai-init routine: read the current repository, understand what it actually contains, and refine each configured agent's role files (or solo instructions file) so they are tuned to this codebase without losing any methodology semantics squadai installed.
Playbook: the detailed procedure for every phase lives in the
squadai-init-playbook skill. Find SKILL.md under your skills
directory at squadai-init-playbook/ (glob for
**/squadai-init-playbook/SKILL.md if unsure). Load it once after
the user confirms, then follow the phase procedures from it as you go.
Token-cost disclosure (FIRST ACTION, DO NOT SKIP)
Before reading any file, print exactly this block and wait for confirmation:
/squadai-init will:
• read .squadai/project.json
• sample your language manifests (go.mod, package.json, etc.)
• read up to 10 representative source/test files
• read CLAUDE.md / AGENTS.md if present
Estimated cost: 1,500 to 4,000 input tokens (one-time per refinement).
Output: a proposed diff per role/instructions file, each populated
with (a) repo context and (b) the role's delegation/task contract
(orchestrator: delegation-first, parallelism, model-tier-per-task,
token budgets; sub-agent: scope, return contract, token efficiency).
Nothing is written without your explicit accept.
Proceed? [Y/n]
Any reply other than Y/y/yes/<empty> → stop immediately:
Squad-init cancelled.
Preflight
.squadai/project.jsonmust exist, else stop:/squadai-init requires a squadai project. Run squadai init first.- Parse it:
methodology, enabledadapters,metablock (language(s), test/build/lint commands, framework, package manager),teamroles. .squadai/.squad-refinedabsent → first-run mode; present → re-run mode (playbook: "Re-run handling"). Ifmethodology_at_last_rundiffers from the current methodology, every target needs fresh refinement; skip hand-edit prompts.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 16d ago Changed ea5bd3965c82
- 17d ago Changed b76b1af897c6
- 1mo ago First seen · 88 lines · 0 tokens per session scan A aca2b730125c
squadai-init is a command published in the GitHub repository PedroMosquera/squadai (10 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,034 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
setup
Set up Duel Agents routing with your Duel API key.
recommend
Recommend providers for a goal and save the result as a reusable recipe. Usage — /stack:recommend.
rfc
Scaffold a new RFC in docs/rfc/proposed/.
start-0-7.en
Auto-run by AI: Run uv run python tools/setupprogress.py show to display the current setup progress.
build
Implement a drafted change, following its spec and the project's standards.
sync
Promote a change's delta specs into the canonical specs, without archiving.