OUTILLAGE
CLI
Outils en ligne de commande utilisés par les agents. Règle de priorité : CLI disponible → CLI (zéro token). CLI absent + MCP configuré → MCP. Sinon → l'agent informe l'utilisateur.
Référence : framework/tools/cli-registry.json · Protocole :
framework/agents/_shared/cli-tools-protocol.md
★ Règle CLI > MCP > informer
- 1 CLI dispo —
command -v <tool>retourne un chemin ? L'agent utilise la CLI directement. Coût : 0 token (la CLI ne consomme pas de contexte Claude). - 2 MCP configuré — pas de CLI mais un MCP est exposé via
/mcp? L'agent utilise le MCP. Coût : variable, dépend du protocole MCP. - 3 Aucun des deux — l'agent informe l'utilisateur et propose la commande d'install. Pas d'invention, pas de fallback silencieux.
CLI cœur — déploiement & infra
6 CLICLI prioritaires que les agents privilégient avant tout MCP. Un `command -v
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
gh | GitHub — PR, issues, releases, gists, workflows | brew install gh && gh auth login | bruce, 2b3, ci-guard, killbill, robocop, alex |
vercel | Déploiement Vercel — projets, env, preview, prod | npm i -g vercel && vercel login | deploy-vercel, killbill, picsou |
neonctl | Postgres serverless Neon — branches, roles, connection strings | npm i -g neonctl && neonctl auth | killbill, picsou |
gws | Google Workspace — drive, gmail, calendar, sheets | pip install gws-cli | brigitte, friday |
resend | Envoi d'emails transactionnels | npm i -g @resend/cli | brigitte, marketing-maestro |
notion | Notion — pages, databases, blocs (CLI-first, MCP fallback) | brew install notion-cli && notion auth | brigitte, bifrost |
Écosystème Apple
4 CLICLI Apple natifs et tiers — App Store Connect, signing, TestFlight.
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
xcrun | Tooling Xcode — altool, notarytool, simctl | Inclus avec Xcode (xcode-select --install) | steve |
asc | App Store Connect — metadata, screenshots, builds | brew install asc | steve |
fastlane | Automation iOS — beta, snapshot, sigh, gym | brew install fastlane | steve |
snapai | Génération d'app icons IA (~$0.04/img) | brew install snapai | steve, /cwb-app-icon |
LLM local (optionnel) — économie & vie privée
2 CLIDélégation de micro-tâches (classification, scan TODO/secrets, commit message) à un LLM local. Voir aussi /ia.
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
apfel | Apple Intelligence local (macOS 26+) — fichiers courts <4K tokens | brew install Arthur-Ficial/tap/apfel | godspeed, 2b3 |
ollama | LLM local cross-platform — diffs longs jusqu'à 128K (gemma3:1b) | brew install ollama && ollama pull gemma3:1b | godspeed, 2b3 |
Qualité & analyse
4 CLICLI utilisées dans les phases d'audit et de checkpoint.
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
phpstan / pint / pest | PHP/Laravel — typage strict, lint, tests | composer install | alex |
eslint / biome / tsc | JavaScript/TypeScript — lint, typecheck | npm i -D <tool> | 2b3, vision |
lighthouse | Audit performance et a11y web (Core Web Vitals) | npm i -g lighthouse | perf-auditor, a11y-auditor |
pa11y / axe | Accessibilité automatisée | npm i -g pa11y | a11y-auditor |
Kanban & documentation
2 CLICLI pour la gestion documentaire et les boards kanban des agents.
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
notesmd-cli | Vault Obsidian headless — lecture/écriture spec, todo, mémoire (CLI-first) | brew tap yakitrak/yakitrak && brew install yakitrak/yakitrak/notesmd-cli | shuri, task-runner, 2b3, lovecraft |
faru | Kanban git-natif agent-first — backlog/ cards, dojo scheduler, faru dispatch (opt-in --with-faru) | npm install -g faru | shuri, task-runner, 2b3 |
Docker & VPS (opt-in)
4 CLIActivé via ./install.sh --with-vps.
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
docker / docker compose | Conteneurs, orchestration locale | OrbStack ou Docker Desktop | agents/vps/ |
ssh / rsync / mosh | Accès et transfert serveur | natif | agents/vps/ |
caddy | Reverse proxy + HTTPS automatique | brew install caddy | agents/vps/03-reseau |
restic / borg | Backups chiffrés incrémentaux | brew install restic | agents/vps/08-backups |
Bundles CLI (opt-in)
8 CLIBundles thématiques activables via flag --with-*-clis. Chaque bundle installe un ensemble cohérent d'outils pour une discipline donnée.
| CLI | Usage | Install | Utilisé par |
|---|---|---|---|
docker · kubectl · helm · k9s · lazydocker | Conteneurs & orchestration Kubernetes | ./install.sh --with-container-clis | agents/vps/, routine |
vegeta · hyperfine · gping · mtr | Monitoring & benchmarking réseau/performance | ./install.sh --with-monitoring-clis | perf-auditor, routine |
ollama · apfel · aider · llm | LLM locaux & outils IA CLI | ./install.sh --with-ai-clis | godspeed, 2b3 |
mdbook · vale · markdownlint-cli2 · pandoc | Documentation — livres, lint prose, conversions de format | ./install.sh --with-doc-clis | shuri, tony, mdr |
jq · yq · csvkit · duckdb · visidata | Données — JSON, YAML, CSV, SQL embarqué, TUI tableur | ./install.sh --with-data-clis | picsou, killbill, sargeras |
imagemagick · ffmpeg · svgo · sharp-cli | Médias — images, vidéo, SVG, optimisation assets | ./install.sh --with-design-clis | stark, agathe, /logo-generator |
terraform · ansible · pulumi · act | DevOps — IaC, configuration, CI local | ./install.sh --with-devops-clis | routine, ci-guard, ed209 |
xcrun · bundler · fastlane · expo · eas-cli | Mobile — iOS natif, React Native, Expo Application Services | ./install.sh --with-mobile-clis | steve, agents/mobile/ |