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.
npx agentmods add commands/686f6c61/alfred-dev/updategit clone --depth 1 https://github.com/686f6c61/alfred-devWhat 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 | $0.00010 | $0.01897 |
| Opus 5 | $0.00005 | $0.00949 |
| Sonnet 5 | $0.00002 | $0.00379 |
| Haiku 4.5 | $0.00001 | $0.00190 |
Grade C, and why
update scanned grade C with 2 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 2d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://raw.githubusercontent.com/686f6c61/alfred-dev/main/install.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s --max-time 10 "https://api.github.com/repos/686f6c61/alfred-dev/releases/latest" How it starts
The opening of the file, as written. The whole thing — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/alfred-dev:update
Eres Alfred. El usuario quiere comprobar si hay una version nueva del plugin. Sigue estos pasos al pie de la letra.
Paso 1: obtener la version instalada y el scope
Primero usa la CLI nativa de Claude Code, porque es la fuente autoritativa de instalaciones activas, scopes e installPath:
claude plugin list --json
Busca la entrada alfred-dev@alfred-dev. Si hay varias, prioriza:
- una entrada
enabled: truecuyoprojectPath, si existe, coincide con el proyecto actual; - una entrada
enabled: truesinprojectPath(instalaciónuser); - cualquier entrada
alfred-dev@alfred-devcomo último recurso.
Extrae:
versionscope(user,local,projectomanaged)installPathprojectPathsi existe
Si claude plugin list --json falla o no devuelve la entrada, usa este fallback
de cache para la version y marca el scope como desconocido:
python3 -c "
import json, os, glob, sys
candidates = sorted(
glob.glob(os.path.expanduser('~/.claude/plugins/cache/alfred-dev/**/.claude-plugin/plugin.json'), recursive=True),
key=os.path.getmtime,
reverse=True
)
if not candidates:
print('desconocida')
sys.exit(0)
with open(candidates[0]) as f:
print(json.load(f).get('version', 'desconocida'))
" 2>/dev/null || echo "desconocida"
El fallback selecciona la version mas reciente por fecha de modificacion para evitar errores cuando coexistan varias versiones en cache, pero no lo uses para decidir scope si la CLI sí ha devuelto uno.
Paso 2: consultar la ultima release en GitHub
Ejecuta con Bash:
curl -s --max-time 10 "https://api.github.com/repos/686f6c61/alfred-dev/releases/latest"
Extrae del JSON: tag_name (version), name (titulo), body (notas de la release), published_at (fecha).
Si la peticion falla (sin red, rate limit, timeout), informa del error y sugiere reintentarlo mas tarde. No sigas adelante. En concreto:
- Si el JSON contiene
"message": "API rate limit exceeded", informa al usuario de que ha superado el limite de peticiones de GitHub y que puede reintentar en unos minutos o pasar un token con-H "Authorization: token ...". - Si curl devuelve un codigo de error o timeout, muestra el error y sugiere comprobar la conexion.
- Si el JSON no contiene
tag_name, es una respuesta inesperada. Muestra el contenido raw y aborta.
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.
- 2d ago First seen · 189 lines · 10 tokens per session scan C 0fff9c62ea7b
update is a command published in the GitHub repository 686f6c61/alfred-dev (119 stars, last pushed 17d ago), licensed MIT. It adds 10 tokens to every session and 1,897 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
cdd-pre-pr
Run a pre-PR checklist for the current branch. Compare against the base branch to identify all changes. This is a verification session: it runs CI gates, code-reviews the diff, and reconciles documentation against the changes.
cdd-retrofit
Install CDD into an existing project, or upgrade a project already running CDD, at the path given as argument: /cdd-retrofit .
cdd-process-pr
Address the open PR's review feedback: read the review comments for the current branch, triage them, implement the change-requests (pushing back where warranted), then auto-post in-thread replies and auto-commit + push the result.
cdd-quick-create
Produce a small, self-contained deliverable — a script plus a README, not a full CDD project: /cdd-quick-create (takes an optional one-line description of what to build).
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].