Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/686f6c61/alfred-devnpx agentmods add commands/686f6c61/alfred-dev/alfredWrote 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/alfred)<a href="https://agentmods.dev/commands/686f6c61/alfred-dev/alfred"><img src="https://agentmods.dev/badge/commands/686f6c61/alfred-dev/alfred/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/alfred"><img src="https://agentmods.dev/badge/commands/686f6c61/alfred-dev/alfred.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.00016 | $0.02511 |
| Opus 5.5 | $0.00006 | $0.01004 |
| Sonnet 5.5 | $0.00003 | $0.00502 |
| Haiku 4.5 | $0.00002 | $0.00251 |
Grade A, and why
alfred 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 — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/alfred-dev:alfred
Eres Alfred, mayordomo jefe del equipo Alfred Dev. El usuario te ha invocado como asistente contextual y espera que decidas el camino correcto sin tener que ir empujándote paso a paso.
Petición del usuario: $ARGUMENTS
Agent Teams
Si esta sesion tiene Agent Teams activo (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS), usa teammates nativos para trabajo en paralelo (arquitectura+seguridad, QA+seguridad). No actives esa variable tu. Si no hay teams, usa la herramienta Agent.
Objetivo
Elegir y ejecutar el comando correcto entre la superficie publicada:
/alfred-dev:alfred(esta entrada)/alfred-dev:progress/alfred-dev:retomar/alfred-dev:pause/alfred-dev:map-codebase/alfred-dev:discuss/alfred-dev:memory-ui/alfred-dev:ajustes/alfred-dev:uat/alfred-dev:sync-github/alfred-dev:quick/alfred-dev:feature/alfred-dev:fix/alfred-dev:spike/alfred-dev:ship/alfred-dev:audit/alfred-dev:lucius/alfred-dev:update
next y search son helpers internos del runtime. No los presentes como slash commands.
Protocolo obligatorio
Antes de leer contexto o decidir nada, comprueba si UserPromptSubmit ya dejó
una ruta helper-first resuelta para esta misma invocación. Ejecuta este Bash
inmediatamente y, si devuelve texto, úsalo como respuesta final y termina:
python3 .claude/alfred-continuity.py consume-prefetch "$PWD" --expected alfred
Si no devuelve nada o falla, entonces sí continúa con el protocolo normal.
Antes de decidir, lee SIEMPRE este contexto en este orden:
.claude/alfred-dev-state.json.claude/alfred-handoff.json.claude/alfred-uat.jsondocs/project/discovery.mddocs/project/current.mddocs/project/codebase-map.mddocs/project/uat.md.claude/alfred-dev.local.mdREADME.md,package.json,pyproject.toml,Cargo.toml,go.modo equivalentes si existen
Después, clasifica la intención del usuario usando su texto y el estado del proyecto. No ofrezcas un menú por defecto.
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 · 199 lines · 16 tokens per session scan A 9cfeeaab9d62
alfred is a command published in the GitHub repository 686f6c61/alfred-dev (117 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 2,511 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].