Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/686f6c61/alfred-devWrote 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/686f6c61/alfred-dev/_composicion)<a href="https://agentmods.dev/commands/686f6c61/alfred-dev/_composicion"><img src="https://agentmods.dev/badge/commands/686f6c61/alfred-dev/_composicion/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/686f6c61/alfred-dev/_composicion"><img src="https://agentmods.dev/badge/commands/686f6c61/alfred-dev/_composicion.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.00022 | $0.02017 |
| Opus 5.5 | $0.00009 | $0.00807 |
| Sonnet 5.5 | $0.00004 | $0.00403 |
| Haiku 4.5 | $0.00002 | $0.00202 |
Grade A, and why
_composicion 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 1mo 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 — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Protocolo de composición dinámica de equipo
Este fichero define el protocolo compartido para componer el equipo de cada sesión. Lo usan todos los comandos de Alfred (feature, quick, fix, spike, audit, ship). Cualquier cambio aquí se refleja en todos los flujos.
Paso 0 -- Configuración inicial del proyecto
Antes de cualquier otra cosa, comprueba si el proyecto ya tiene configurado el modo
de autonomía. Lee .claude/alfred-dev.local.md y busca la sección autonomia: en
el frontmatter YAML.
Si la sección autonomia: NO existe (primera vez que se usa Alfred en este proyecto):
-
Escribe directamente una configuración por defecto compatible con Claude Code CLI en
.claude/alfred-dev.local.md:autonomia: producto: autonomo arquitectura: autonomo desarrollo: autonomo calidad: autonomo documentacion: autonomo entrega: autonomo -
NO uses
AskUserQuestionen este bootstrap inicial. El objetivo es que Alfred pueda actuar automáticamente desde la primera sesión si el usuario invoca/alfred,/alfred-dev:feature,/alfred-dev:quick,/alfred-dev:fix,/alfred-dev:spike,/alfred-dev:audito/alfred-dev:ship. -
Muestra un mensaje breve indicando que Alfred ha activado el modo autopilot por defecto para evitar bloquear el flujo en la primera sesión y que el usuario puede cambiarlo más tarde con
/alfred-dev:ajustes.
Si la sección autonomia: YA existe: salta este paso y continúa directamente.
Nota: el usuario puede cambiar el modo en cualquier momento con /alfred-dev:ajustes.
Paso 1 -- Contexto del proyecto
Llama a suggest_optional_agents(project_dir) para obtener señales basadas en I/O
del proyecto (stack detectado, presencia de ORM, frontend, HTML público, remote GitHub,
tamaño del proyecto, memoria activa). Estas señales son objetivas y complementan tu
razonamiento semántico.
Paso 2 -- Razonamiento semántico
Lee la descripción de la tarea y las señales del proyecto. Decide qué agentes opcionales son relevantes usando tu comprensión semántica, no keywords. Razona sobre el dominio de la tarea, no sobre palabras sueltas.
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.
- 1mo ago First seen · 195 lines · 22 tokens per session scan A 172fa1d893cb
_composicion is a command published in the GitHub repository 686f6c61/alfred-dev (117 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 2,017 once invoked, about $0.0001 per session on Opus 5.5. 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-30.
Other commands, from other repositories
review-pr
Review a PR (GitHub or Bitbucket) — single reviewer by default, or a 3-panelist council with --council.
gen-brand
Generate complete brand identity with SVG logos, color system, typography, and design tokens. Claude writes SVG code directly — no API key needed. Usage: /gen-brand 'ProductName — description' or /gen-brand ./PRD.md.
init-project
Initialize a new or upgrade existing project with Alpha AI's standard architecture. Supports Python/FastAPI, Node.js/NestJS, Java/Spring Boot. Usage: /init-project [--lang=python|nestjs|springboot] [--with-frontend] [--with-mobile] [--with-ai] [--existing].
accessibility
Audit frontend for WCAG 2.1 AA compliance: check semantic HTML, ARIA labels, color contrast, keyboard navigation, screen reader support. Usage: /accessibility [page-or-component] [--fix] [--level=AA|AAA].
e2e-test
Generate end-to-end tests using Playwright (web) and Detox (mobile). Covers user flows, visual regression, and cross-browser testing. Usage: /e2e-test [flow-name|--all] [--visual].
gen-prd
Generate a detailed PRD from a brief idea, pre-configured for Alpha AI's tech stack. Supports Python/FastAPI, Node.js/NestJS, Java/Spring Boot backends. Usage: /gen-prd 'brief product idea' [--lang=python|nestjs|springboot].