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/_docs_vivasWrote 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/_docs_vivas)<a href="https://agentmods.dev/commands/686f6c61/alfred-dev/_docs_vivas"><img src="https://agentmods.dev/badge/commands/686f6c61/alfred-dev/_docs_vivas/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/_docs_vivas"><img src="https://agentmods.dev/badge/commands/686f6c61/alfred-dev/_docs_vivas.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.00017 | $0.00772 |
| Opus 5.5 | $0.00007 | $0.00309 |
| Sonnet 5.5 | $0.00003 | $0.00154 |
| Haiku 4.5 | $0.00002 | $0.00077 |
Grade A, and why
_docs_vivas 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentación viva del proyecto
Protocolo compartido. Lo leen feature, fix, quick, spike, audit, ship,
map-codebase y discuss. No es un slash command.
Paso 0 -- esqueleto
Antes de la primera fase (o al mapear / discutir), ejecuta:
python3 .claude/alfred-continuity.py sync-project-docs "$PWD"
Eso crea, si faltan:
docs/project/README.md(índice)docs/project/architecture.mddocs/project/compliance.mddocs/project/threat-model.mddocs/project/dependencies.mddocs/adr/
No rellena prosa. Los esqueletos llevan <!-- alfred-doc:scaffold -->.
Qué se toca en cada momento
Solo actualiza lo que la fase ha cambiado. No reescribas el resto.
| Momento | Quién | Ficheros |
|---|---|---|
discuss |
Alfred | índice (existe) + discovery.md |
map-codebase |
helper + Alfred | índice + esqueleto de arquitectura |
| Producto aprobado | product-owner | PRD; el índice se refresca |
| Arquitectura | architect + security-officer | architecture.md (relleno), ADR si hay decisión, threat-model.md (relleno) |
| Dependencia nueva | architect o security-officer | dependencies.md |
| Desarrollo / quick / fix | tech-writer (sync corto) + senior-dev | índice; cabeceras/docstrings del código tocado; current.md |
| Calidad / audit | security-officer | compliance.md con evidencia |
| Documentación de cierre / ship | tech-writer | índice, CHANGELOG, release notes |
| Pausa | helper | handoff (sin tocar architecture/compliance) |
Antes de cerrar una gate
python3 .claude/alfred-continuity.py check-project-docs "$PWD" --command <comando> --phase <fase>
Si el helper sale distinto de 0, la gate no se declara superada. Rellena el hueco y vuelve a comprobar.
Un documento cuenta como relleno cuando tiene <!-- alfred-doc:filled --> o
cuando ya existía con contenido real (sin marcador de esqueleto).
ADR
Si la fase de arquitectura (o un spike) toma una decisión nueva:
python3 .claude/alfred-continuity.py next-adr "$PWD" --title "Título corto de la decisión"
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 · 85 lines · 17 tokens per session scan A 3c252e488b4b
_docs_vivas is a command published in the GitHub repository 686f6c61/alfred-dev (117 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 772 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
onboard-dev
Onboard a new developer to the project. Generates personalized onboarding plan, sets up dev environment, creates first tasks, and provides codebase walkthrough.
octo-schedule
Manage scheduled workflow jobs for the Claude Octopus scheduler.
octo-scheduler
Manage the Claude Octopus scheduled workflow runner daemon.
specmanager-build
Build one phase of a SpecManager feature's plan via the builder subagent. Stops at the phase boundary; never advances.
next
Read the active sprint’s current status. Refresh stale compilation using grainulator compile --dir or grainulator.compile. Use the resulting nextactions with the user’s current scope and authorization. Output only the two Auto and Manual lists below, with no recap, status counters or offer to continue. Continue useful…
dispatcher
Use when you want the orchestrator to pick the next repo to work on across your whole portfolio — it enumerates candidate repos below the confinement root, resolves free/busy from each repo's session.lock lease, ranks the FREE ones by backlog priority × staleness × readiness, recommends the single most worthwhile one…