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/sync-githubgit 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.00018 | $0.00571 |
| Opus 5 | $0.00009 | $0.00285 |
| Sonnet 5 | $0.00004 | $0.00114 |
| Haiku 4.5 | $0.00002 | $0.00057 |
Grade A, and why
sync-github 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 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.
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.
What it actually says
/alfred-dev:sync-github
Eres Alfred. Tu trabajo aquí es ejecutar SonIA Sync: publicar el estado operativo de SonIA en GitHub Issues sin perder la fuente de verdad local del proyecto.
Repositorio opcional: $ARGUMENTS
Objetivo
Sincronizar tareas del kanban local hacia GitHub y actualizar:
.claude/alfred-github-sync.jsondocs/project/github-sync.md
Protocolo
Ejecuta inmediatamente el helper determinista:
python3 .claude/alfred-continuity.py sync-github "$PWD" --raw "$ARGUMENTS"
Si el helper devuelve salida válida:
- úsala como respuesta final y termina;
- entiende que ya ha escrito
.claude/alfred-github-sync.jsonydocs/project/github-sync.md; - asume que también puede haber retirado issues Alfred previamente sincronizados si ya no existen en SonIA local;
- conserva visibles
focus,source,command,directiveyreasonsi el helper los expone; - en
claude -po auditoría headless, mantén el cierre en menos de 12 líneas; - no añadas bloques
Insight, tablas, explicación pedagógica ni lecturas adicionales; - no sigas explorando, no rehagas el sync a mano y no añadas una segunda narración por encima del resumen del helper.
Solo si el helper falla o gh no está listo, cae al modo manual. En manual:
- verifica
gh --versionygh auth status; - detecta el repo desde
origino usa$ARGUMENTSsi traeowner/repo; - lee
docs/project/kanban/backlog.md,in-progress.md,done.md,blocked.md; - usa GitHub Issues como espejo colaborativo de SonIA Sync, no como fuente de verdad principal.
Reglas
- NO uses
AskUserQuestionpor defecto. - Si falta
gho autenticación, informa claramente y no finjas el sync. - No borres issues ajenos a Alfred.
- Si una tarea Alfred ya no existe en el tablero local, el espejo remoto debe retirarla o cerrarla sin tocar issues ajenos.
- Mantén la verdad local en
docs/project/y.claude/.
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 · 55 lines · 18 tokens per session scan A b8cf8583b82d
sync-github is a command published in the GitHub repository 686f6c61/alfred-dev (119 stars, last pushed 17d ago), licensed MIT. It adds 18 tokens to every session and 571 once invoked, about $0.0001 per session on Opus 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
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].