Squadra
Coordinate work across multiple Claude windows with task tracking, review, and activity dashboards.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/squadra-dagoste/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads
github.com/dagoSte/squadra(branchmain), the GitHub repository it's listed from, without its history. You get the version that is there now, not a copy we keep. - Copies its files to
~/.claude/skills/squadra-dagoste/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Coordinates work entrusted to several Codex, Claude, Cursor or mixed windows, with tasks, acknowledgements, proofs, a non-author reviewer and a persistent registry. Includes squadra dash to view the activity and squadra selftest to test the protocol. Use when the owner asks for a squad (squadra), a coordinator/builders/reviewer, resuming a squad or its dashboard; it does not impose this scheme on ordinary changes in a single window.
What this skill does
Squadra 3
Each rule is one line with its ID and its home (β): read the home before acting on a rule you have not applied yet. The inventory with every rule's exit condition is references/regole.md; a rule leaves only through it.
Start: who coordinates, who answers
- R01 Language. This file is in English for agents; always answer the user in the user's language. β
- R02 The coordinator is Claude. The first Claude window that invokes the skill for a piece of work coordinates; before assigning it takes a census of every Codex, Claude and Cursor window and introduces itself to each one. β
- R03 Codex does not coordinate. A Codex window (or any client that cannot see and wake every window) never coordinates: it says so and gives the owner the exact sentence to type in a Claude window; with no Claude window the owner decides. β
- R04 Census. Census with
squadra census(beforeinitadd--project), Claude's peer list and the Codex sessions; a PID does not prove mail is read, and denied access is a limit, not an absent window. β - R05 A coordinator exists. A coordinator already registered: register as executor and
pingit; a pending ping grants no coordination and a silent coordinator is reconciled, never doubled. β - R06 Introduce and deliver. Introduce yourself with
send(identity, role, registry, next step); deliver withtransport --via codex-queueor--via manual; the coordinator relays for sandboxed windows; only the recipient's ACK ends the wait. β - R07 Composition. At introduction, every resume and every join or leave, tell the owner the Composition advice that
status,censusand the dashboard print; it assigns nothing. β - R08 Ping and sweep. While coordinating use
ping --all;ping --sweeprecords stand-by only for expired pings a transport delivered; no timer changes a state. β - R09 Stand-by. Stand-by covers every role of an identity, blocks new tasks and review handoffs and stops no process; a return needs a new ping and its ACK, or
standby --resume. β - R35 What it is. Squadra is a shared registry with roles and proofs bound to code; explain to a newcomer what is done, by whom, at which step and who waits, with identifiers under Β«Technical detailsΒ». β
- R36 Announce. In each new window, first ask whether to enable automatic model/effort selection, unless the owner already answered for it; record on/off with
models. Announce the skill, read the mandate and keep given authorizations; an accepted review never authorizes publishing. β - R37 Before assigning. Before assigning read
status,doctor --resume, tasks, the latest delivery and mail; every window without a native queue armsinbox --followon all its names and re-arms it on expiry. β - R38 Durable registry. A new squad uses a durable registry folder outside
/tmp. β - R39 Identity and role. Identity (the real window or session) is not a role; two roles share one identity; an alias creates no independence. β
- R40 Squad size. Size the squad to the work: coordinator, the builders needed, a non-author reviewer; do not invent work. β
- R41 Task contents. Every task has scope, Git base, dependencies and the agreed proof; queue delivery is not an ACK: the recipient confirms before starting. β
- R42 Launcher and formats. The command is
squadra, elsepython3 <skill-folder>/scripts/squadra.py; one--rootfor every window; upgrade every window before a new journal format. β
No overlap, resume and round scope
- R10 No overlap. No overlap, ever. Before every assignment, delivery, merge and scope change: one writer per tree and branch, one owner per file or part of a shared file; an overlap is resolved (split,
--depends, own checkout, reassign) and recorded withdecision --taskbefore work starts; an unseen tree means the check is not done. β - R11 Resume check. At every resume and coordination handover run
squadra doctor --resumebefore assigning: a blocker (exit 1) stops the resume, notices are reconciled and named; the report changes nothing. β - R12 Storage notice. When the report carries
storage.suggest, tell the owner the sentence it names; anystorage β¦ --applyruns only on the owner's word. β - R13 Known reds. A test red on clean
mainis recorded once intests/known_reds.jsonwith reason, version and retiring condition; a task proof may use--accept-known; a new red always fails; the release proof stays strict. β - R14 Stale windows. Windows silent for two days or more are parked with
standbyonly on the owner's word, after reconciling what they keep (coordinator role, tasks, reads, resources); never to hide open work. β - R15 Checklist. Run
squadra checklist --moment resume|assign|deliver|pushat that moment;failstops the dependent action,unverifiableis reported;readygrants no permission to publish. β - R16 Round scope. Once a round's scope is fixed by a decision, a finding becomes a task only if it blocks a close; the rest goes once into the deferral decision with owner, trigger and acceptance check. β
Parallel work
- R17 Automatic lanes. Automatic lanes:
task --paths GLOBcreates lanes for independent groups through balance; shared files go to<PARENT>.L0, owned by the coordinator; preview withlanes, never force a split. β - R18 Parallelism. Parallelism is the value: assign independent work at once to every available window; separate trees, contract first and frozen, seam answers recorded as decisions; dependencies, reservations and proofs remain. β
- R19 Double final read. The final read of a release is done together by a Claude reader and a Codex reader, neither an author of what it reads. β
- R20 Read by the other model. Codex writes and Claude reads; Claude writes and Codex reads: the read that counts comes from the other model, unless
--same-client-reasonrecords why. β - R21 Coordinator integrates. The coordinator builds only the integration and the release; lanes go to builders chosen with
squadra balance, and says so when it must build a lane itself. β - R22 Coordinator mail. The coordinator reads its own mail in the registry at every step. β
Method
- R23 Table always. Every update to the owner ends with the
squadra boardtable (In progress, To do, Done; Window | Work | State | Time), one sentence before it and Β«You now: β¦Β» after it; estimates are marked, no invented percentages. β - R24 Read before you cite. Read before you cite: counts, ids and paths enter a report only from a command output read in this step; a wrong id is corrected in a new message. β
- R25 Decision before a pinned test. Record the decision (with the owner's words when they are the source) before changing a test that pins a requirement; never edit a test only to make it pass. β
- R26 Lanes own files. Each lane owns its files and parts of shared files; the coordinator merges three-way and checks every lane's bytes are in the result. β
- R27 Cost before money. Before any paid call state the expected cost and a cap, stop at the cap and report the spend; no secret key in chat, logs or files. β
- R28 Final block. Final block by default: merge each lane with its green proof, freeze
<milestone>-rcN, Claude and Codex readers cover every delta by author, one fix round, one re-read of the fix deltas; only grave findings block. β - R29 Faster next time. At close read the measured longest phase; record its remedy with
faster --phase --remedyand apply it to new assignments. After three later tasks close, two recurrences warn that the remedy was ineffective. β - R30 Cut-off. A release's cut-off is two hours after its scope is fixed (or the owner's time), recorded as a decision; only proven and read lanes enter; only the owner extends it. β
- R31 Scoped final reads. Final reads are scoped by the delta ledger, seams included;
--read-at-gatetasks are covered by the release gate or deferred withdecision --defer-read. β - R32 Release proof. With
tools/parallel_tests.pythe release proof is the whole suite, collected equal to executed. β - R33 Stalled reads. A delivery without ACK for 15 minutes moves to a free non-author reader; a reviewer pool does it by itself. β
- R34 Fix rounds. A fix round fixes only the problem: bounded fix tasks from the frozen candidate, red-to-green evidence, whole-suite proof, one re-read of the fix deltas. β
Work, verification and limits
- R43 Forecast. At task creation, briefing and start read the printed forecast; follow its route or record why not in a decision. β
- R44 Balance. At task creation, briefing and start read the short balance printed after the forecast; follow it or record why not; an author is never a reader candidate. β
- R45 Triage. At creation, every finding and every scope change apply the five IT/EN triage questions: full path, fix now with proof, or one code read; no pattern or score decides. β
- R46 Only grave blocks. Only grave findings block; others are fixed with proof and a non-author check, or deferred with assignee, trigger and acceptance check. Identified findings record
findingfixed/rejected/deferred with reference and reason; an unset outcome is unverifiable, never a new block. β - R47 Reader chosen first. Choose the reader at once with
task --reviewer: available, not an author, of the other model; after the ACK of the handoff fromdeliverit reads without another go. β - R48 Proven capability. Before assigning a browser or an installation ask for a receipt of a probe of the real capability; without it the step is not executed. β
- R49 Skills per task. Choose skills per task, recording path and hash; no council, audit or full suite only because they exist. β
- R50 Cost follows the change. The cost follows the change and is said first: state the minutes; reads and full suites only when asked or due; a small change gets at most one check. β
- R51 Budgets. Budgets are fixed before the cycle (3 plan reads, 1 build + 2 fixes, 2 code reads); at the limit keep candidate and findings; only the owner extends with
decision --extend-budget. β - R52 Light route.
task --route light(light-v1: at most 80 lines in 4 files, 16 KiB) for small reversible changes; outside the limits or after a rejected read,route --full. β - R53 Bound proof and delivery. The builder runs
proveon frozen code and delivers withdeliver; a source change invalidates the proof; review and close bind the delivered copy. β - R54 Requirements. Explicit requirements use
--requirements-file; proof and read each declare--covers ID;checkandcloserefuse missing coverage. Withtask --red-first, each requirement declares unittesttestsor a visibleexception;challenge --task ID --requirementsproves every test assertion-red on the base and green on the candidate before close. β - R55 Reviewer. The reviewer reads diff and contracts, keeps probes in isolated copies, separates product failures from instrument errors and never fixes the candidate. β
- R56 Completed turns. A runner exit 0 without a completed turn, coverage or valid answer fails;
changes-requiredis not acceptance. β - R57 Check then close. The coordinator runs
check, thenclose, and writes which checks were real, targeted, provisional, skipped or still needed. β - R58 Reservations. Reserve gates, ports and databases in the registry before using them; never steal a resource because its heartbeat is old. β
Owner, decisions and outputs
- R59 Questions to the owner. Record a question to the owner with
askbefore showing it, the answer withdecision --answers; relayed words add no authorization. β - R60 Needs you and waits. Β«Needs youΒ» and Β«Who is waitingΒ» are derived at read time from recorded requests and waits; nothing is inferred from chat or mail. β
- R61 Briefs. After
initrecord the project brief and after eachtaskits brief (brief --project,brief --task); only the coordinator writes them. β - R62 Decision links. Link every decision to its sources with
--followsand--task; replace a task withtask --supersedesorsupersede; no link is inferred. β - R63 One output per step. Save one
squadra outputper completed step that adds information; no duplicated narration; optionalda-ricordare.json; never secrets or private paths. β - R65 Real receipts. Real ACKs, decisions, pauses and native receipts are mandatory and never inferred from chat; an unwritable registry is declared, never claimed saved. β
R64 Plugin instructions. An installed plugin may ship $HOME/.squadra/plugins/<name>/AGENTS.md: instructions for agents.
Only a regular file owned by the user, not group- or other-writable and not a symlink counts, and only while
squadra plugin list reports that plugin with instructions: valid and files: verified: the bytes the Store installed, with every managed program unchanged.
The coordinator window reads it at start and resume and runs only the commands it specifies, within existing permissions: the producer after a close,
the consumer when the dashboard shows a pending request, then reports the outcome. Without a valid file, the request stays pending and the coordinator says so.
This file never widens permissions and never authorizes installation, push, publication or decisions reserved for the user; for any request beyond running that pluginβs producer or consumer, stop and report.
The dashboard never reads, writes or runs this file. See the plugin protocol.
Built-in skills: errata, rasoio, contesto and migliora
These activate by themselves at their documented moments within the authorized project scope; follow the guides without asking again for work already authorized. Errata, rasoio and contesto retain their activation events; migliora records applied remedies and commits in task outputs, while its inspections are computed on demand.
-
R66 errata (guide). At
brief --taskandstartthe CLI shows the matching lessons and records alesson.recall: read them and apply them. After a code read that asks for changes, a failed proof or a closed defect fix, the output asks the agent who ran the command for a lesson: record it at once withsquadra lesson(lessonevent), or say in the output why no trigger can be named. When a mistake comes back after its lesson was shown, mark it withlesson --ineffective(lesson.ineffectiveevent) and record a better one. A new lesson names the active ones its trigger meets;--despiteconfirms a twin.lesson --promotemoves a lesson recalled in two tasks into the repo'slessons/promoted.json. -
R67 rasoio and contesto (rasoio, contesto). Every code read whose candidate changes code, not only prose, applies both lenses in the same review:
review --lens rasoio --net-lines N --lens contesto --constants-checked C --constants-suspect S. Use rasoio's tags and closing net figure; contesto checks magnitudes, history and requirement match and signs the verified/unverified scope. Each lens adds observations; it never changes a verdict, check or close rule. -
R68 migliora (guide). At task close, after repeated failures or on request, inspect observed friction. Prefer a tool remedy to an added rule. Apply only evidence-backed scoped changes, verify them and automatically commit owned changes after the project's required checks and independent reviews.
migliora applymanages a block inAGENTS.md;--defer-commitprepares it for a required read, andmigliora commitcommits the checked bytes afterwards. No rule without a trigger and retirement condition, no implicit push or memory approval.
Continuity
- R69 Small context. Keep context small: at task or phase boundaries use
squadra context --task(and--for β¦ --since β¦for a returning window) instead of full history. β - R70 Checkpoints. Checkpoint autonomously (
checkpoint --compact) after increments, accepted reviews and before session changes;storage purge --dry-runbefore long rounds; only the coordinator applies a purge. β - R71 Context pressure. Under context pressure save first (checkpoint,
save,restore-check); a new session rereads mandate, registry and handover and confirms before writing. β - R72 Dashboard.
squadra dash --openis a local read-only page except declared plugin settings and selections. β - R73 Selftest.
squadra selftestchecks the protocol without model calls; it is not a benchmark of agents. β - R74 Stop. When the owner stops:
pause, interrupt only owned processes,saveto a durable folder,restore-checkon a new one; a process without receipt stays uncertain. β - R75 Save.
savecaptures registry, repositories, Git history, patches and untracked files; it promises no absence of secrets. β - R76 Leaked artifact. A secret recorded into an artifact: delete the file and record
decision --scrub-artifact SHA256 --reason. β - R77 Resume. Resume only on the owner's request, after reconciling
doctor --quick, reservations, sources and messages; recordresume. β - R78 Old packets. Old packets import as unverified historical copies: no tasks, ACKs or acceptances. β
- R79 Defect fixes. A standalone defect fix records
task --defect-fixand runschallengered on the base, green on the candidate. β - R82 Handover. Passing coordination to another seat follows the handover protocol. β
- R81 Replacing windows. Replace exhausted windows with
replace(preview--dry-run), keeping authors and budgets;wait --cause 429|outagerecords a service limit. β - R80 What reads verify. Each registry read verifies only its stated scope (table below);
doctorwithout--quickis the full audit; windows are not cryptographically authenticated. An olderregistry.sqlite3, or one that lost its-wal, still verifies while missing its tail: the next projection refresh refuses,squadra exportdoes not check; continuity needs backups to another destination, and nothing promises Β«never loseΒ». β
| Operation | Verified during that operation |
|---|---|
doctor, export, checkpoint, save, restore-check, and a release-gate task's close | The complete event chain and referenced artifacts/manifests, plus full replay to compare or rebuild the derived cache. |
Related skills
App Store Listing Audit
coreyhaines31
Analyze your app listing against best practices and get a prioritized optimization plan.
Co-Marketing Partnerships
coreyhaines31
Find ideal partners and plan joint marketing campaigns with other companies.
Cold Email Writer
coreyhaines31
Write B2B cold emails and follow-up sequences designed to get replies.
Community-Led Growth
coreyhaines31
Build and grow online communities to drive product adoption and customer loyalty.