Borrowing it
Nothing to install: this file belongs to davidbuenov/dbv-md-reader. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/davidbuenov/dbv-md-reader/master/.claude/commands/maintain.mdgit clone --depth 1 https://github.com/davidbuenov/dbv-md-readerWrote 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/davidbuenov/dbv-md-reader/maintain)<a href="https://agentmods.dev/commands/davidbuenov/dbv-md-reader/maintain"><img src="https://agentmods.dev/badge/commands/davidbuenov/dbv-md-reader/maintain/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/davidbuenov/dbv-md-reader/maintain"><img src="https://agentmods.dev/badge/commands/davidbuenov/dbv-md-reader/maintain.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.00027 | $0.00999 |
| Opus 5.5 | $0.00011 | $0.00400 |
| Sonnet 5.5 | $0.00005 | $0.00200 |
| Haiku 4.5 | $0.00003 | $0.00100 |
Grade A, and why
maintain 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 4d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- maintain — 100% identical, 0 lines differ
What it actually says
Ejecuta la fase Maintain (/maintain, Fase 7 opcional) definida en
dbv-specs-ops/docs/MAINTAIN.md. Solo aplica si dbv-specs-ops/project.config.md declara
"Maintain (Fase 7) → Habilitado: sí". Diagnostica en modo solo lectura la desviación reportada y redacta
el hallazgo como una nueva entrada ## [Detectado automáticamente] <fecha> en
dbv-specs-ops/docs/SPECIFICATIONS.md, siguiendo la estructura Problema/Objetivo/Criterios. No
despliegues nada, no hagas merge de nada — el hallazgo vuelve a entrar por /plan como cualquier otro
requisito, y un humano decide si se construye.
🕸️ Grafo de fases — nodo activo: Maintain
Fase 7 (opcional): diagnóstico en solo lectura de una desviación detectada por CI/cron.
Al entrar — la transición por la que llegas fija la condición, cómo ejecutar esta fase y qué evitar:
- desde Start (TRIGGERS) — si: Maintain está habilitado en project.config.md y el detector determinista (CI/cron) reporta una desviación de banda 2 o superior.
- Cómo: Diagnostica en solo lectura. Si el log supera el presupuesto de contexto, conserva su FINAL (tail), no su principio: el fallo está al final. Consulta la Rejection Memory antes de proponer una causa o un arreglo.
- Evita: No despliegues, no hagas merge y no cambies código. No te quedes con el principio del log (head): el fallo suele estar al final.
Salidas (salto 1) — a dónde puedes ir y con qué condición:
- Maintain → End (LEADS_TO) — si: El hallazgo está redactado como ## [Detectado automáticamente] en SPECIFICATIONS.md.
- Cómo: Deja la decisión al humano: el hallazgo reentra por /plan solo si alguien decide abordarlo.
- Evita: No empieces a construir el arreglo en la misma sesión.
- Maintain → Plan (PROVIDES_INPUT_FOR) — si: Un humano ha revisado el hallazgo [Detectado automáticamente] y decide abordarlo.
- Cómo: Trata el hallazgo como un requisito más: asígnale un ID y pásalo por el Architect Review.
- Evita: No saltes de Maintain a Build sin plan aprobado.
Horizonte (salto 2) — lo que vendrá después y revisará tu trabajo:
- Plan → Spec (LEADS_TO) — si: El Architect Review revela que la especificación es ambigua o contradictoria, o el usuario rechaza el plan.
- Cómo: Corrige solo la parte de SPECIFICATIONS.md afectada y vuelve a /plan. Registra el enfoque descartado y su motivo en la Rejection Memory de memory.md (REJECTED-NN).
- Evita: No reescribas requisitos que no estaban en cuestión. No borres un enfoque rechazado: se registra para no volver a proponerlo.
- Plan → Build (PROVIDES_INPUT_FOR) — si: El plan ha superado el Architect Review y el usuario lo ha aprobado explícitamente.
- Cómo: Implementa una porción cada vez. Cabecera de project.config.md en cada fichero nuevo, @spec REQ-NN en las funciones que implementan un requisito y entrada en CHANGELOG.md [Sin publicar]. Si contradices ARCHITECTURE.md, regístralo ya en memory.md.
- Evita: Varios return fuera de las Guard Clauses iniciales (un solo return final); excepciones o None donde toca el patrón Result; any en TypeScript; .unwrap()/.expect() en comandos IPC de Rust; todo el React en App.tsx; en Tauri sin bundler, ES modules o una constante isTauri (usa IIFE y runningInTauri).
Rutas relativas a dbv-specs-ops/. Lee la 🚫 Rejection Memory de memory.md antes de proponer un enfoque: lo que ya se descartó no se vuelve a proponer sin explicar qué ha cambiado.
$ARGUMENTS
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.
- 4d ago Changed · +29 lines f32a4037f86f
- 1mo ago First seen · 13 lines · 27 tokens per session scan A 1adb03fca934
maintain is a command published in the GitHub repository davidbuenov/dbv-md-reader (50 stars, last pushed 3d ago), licensed MIT. It adds 27 tokens to every session and 999 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-09-04.
Other commands, from other repositories
verify
This page documents the livewiki verify CLI subcommand, which checks a generated wiki for the kinds of corruption that would break readers or CI pipelines.
status
This page documents the CLI command that reports the current health of a livewiki index.
ask
Ask a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).
context
Triage card for files, modules, or symbols — layer, hotspot, fix history, freshness (relationships, not source bytes).
doctor
Diagnose the Repowise setup — install, API keys, index/store drift — and optionally repair it.
doctor
Check md-anything capabilities and available optional tools.