# Repository Briefing: dagoSte/squadra
> Source: https://repoforai.com/repo/dagoSte/squadra (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/dagoSte/squadra
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 16/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v3.16.0 (2026-11-19) — https://github.com/dagoSte/squadra/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: MCP, Self-Hosted, CLI
- **Momentum**: 945 ★ total (+0 24h / +0 7d) · 91 forks
- **Topics**: `agent-orchestration`, `agent-skills`, `agentic-coding`, `ai-agents`, `ai-coding`, `claude`, `claude-code`, `claude-skills`, `code-review`, `codex`, `cursor`, `developer-tools`
- **When to Use**: Best for: Teams already running multiple coding-agent sessions that need explicit ownership, checks tied to the submitted code, and independent review across separate checkouts. Skip if: Most work fits in one session, you cannot run a Claude Code coordinator, or you need a hosted control plane or a guarantee of offline inference.

## Overview
```text
### Architecture & Core Mechanics
Squadra is a local coordination layer for coding-agent sessions. A Claude Code session coordinates the team; Claude Code, Codex, and interactive Cursor sessions can join. They share a registry even when working in separate Git checkouts. The workflow gates task start on the assignee's acknowledgement, then takes the task through executed checks, review by a session other than the author, and coordinator closure. Checks and review results are tied to the submitted source and stop counting if the code changes.

`SKILL.md` defines the workflow agents follow, `scripts/squadra.py` is the Python CLI entry point, and `squadra dash` opens a browser view over the local record. The CLI uses the Python standard library. Claude Code and Codex plugin packages distribute the skill, scripts, references, and dashboard; MCP plugins are also available. The core workflow runs through the skill, CLI, and shared registry rather than requiring a separately deployed MCP service.

### Key Capabilities & Differentiators
The English and Italian dashboard exposes tasks, messages, decisions, runs, outputs, and history. 'Needs you' surfaces decisions awaiting the owner; sending a message is distinct from recording its acknowledgement. The Reads view links plan and code review verdicts to subsequent submissions. Its counts describe review activity and revisions, not defects prevented or fixes verified. Version 3.16 adds structured finding outcomes and lesson promotion.

Usage aggregates token counts by day, session, model, and task from Claude Code and Codex session files, retaining counting metadata without storing conversation text. Balance suggests where to route work without assigning it. With opt-in automatic selection, a small task with a valid light-route contract can use the economy profile, while complex or uncertain work and independent reviews use the quality profile. This only affects new turns managed by `squadra run`; requested settings and observed client settings are displayed separately.

### Trade-offs & Limitations
The strongest reason to adopt Squadra over ad hoc agent chats is to preserve ownership, check results, and review decisions outside any one conversation. The cost is an explicit handoff protocol: assignments need acknowledgement, edits can invalidate evidence, and closure needs another session's review. That overhead is easier to justify for concurrent work than for a short change in one client. Git, pull requests, and CI still serve their usual roles; Squadra coordinates sessions and does not publish closed work automatically.

Client support is asymmetric. Claude Code is required for the coordinator, Cursor participates interactively, and the documented token accounting covers Claude Code and Codex, not Cursor. The local registry reduces dependence on chat history but does not make model inference offline or keep code and prompts out of external providers by itself. The standard-library runtime is a small dependency surface; practical sizing should focus on the coding clients, concurrent test runs, separate checkouts, and registry retention.

### Hardware & Deployment Guide
Python 3.12+ and Git are required, with a browser for the dashboard and Node.js for `selftest`. macOS/POSIX is the tested environment. Choose either the Claude Code or Codex plugin installation, or the standalone installer at `scripts/install.py`; installing both can register the skill twice. The plugin does not add `squadra` to `PATH`, but can invoke the Python script directly. The standalone installer uses a new backup directory for each install and supports rollback. The local registry and dashboard need no Squadra account; coding-client connectivity is a separate concern.

Plan upgrades across all active sessions. The 3.13 line introduced staged storage maintenance with adoption, compaction, and a purge preview rather than automatic cleanup. The 3.15 line added session replacement, including for the coordinator, while preserving tasks, mail, and decisions. Before the first 3.16 write, upgrade every session: the journal format is unchanged, but 3.15.x rejects `finding.outcome`, `lesson.promote`, `faster`, and review findings carrying an `id`.
```

## Key Capabilities
```text
- Shared state: One local registry tracks assignments, acknowledgements, messages, and decisions across separate checkouts.
- Review integrity: Checks and independent reviews count only for the submitted source; later edits invalidate them.
- Session recovery: The 3.15 line adds replacement of a long-running session, including the coordinator, without losing tasks, mail, or decisions.
- Usage tracking: Claude Code and Codex token counts are attributed by session, model, and task without storing conversation text.
- Model routing: Opt-in economy and quality profiles apply to new turns managed by `squadra run`, not to interactive sessions already running.
- Upgrade boundary: Upgrade all sessions before the first 3.16 write; 3.15.x rejects new event kinds and findings carrying an `id`.
```

## Quick Start / Clone
```bash
squadra models --actor builder
squadra models --actor builder --auto on
squadra models --actor builder --auto off
```
