dbv-specs-ops: Command for Claude Code

.claude/commands/maintain.md

maintain is a command for Claude Code from davidbuenov/dbv-specs-ops. It costs 27 tokens per session (207 once invoked), scanned A, original, MIT.

A read-only maintenance command for diagnosing a reported deviation in an SDD project. It records the finding as a new specification entry instead of changing or deploying the code.

In plain words
What is it for?
Use it to document an observed issue in the specification so it can later enter the normal planning and implementation process.
Why use it?
It turns detected problems into explicit requirements that a person can review before deciding whether to fix them.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is davidbuenov/dbv-specs-ops's own configuration. It tells Claude Code how to work on dbv-specs-ops itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dbv-specs-ops configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davidbuenov/dbv-specs-ops. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/davidbuenov/dbv-specs-ops/master/.claude/commands/maintain.md
Clone the repo
git clone --depth 1 https://github.com/davidbuenov/dbv-specs-ops

Made for: Claude Code.

Wrote 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.

agentmods badge for maintain

README.md
[![agentmods](https://agentmods.dev/badge/commands/davidbuenov/dbv-specs-ops/maintain.svg)](https://agentmods.dev/commands/davidbuenov/dbv-specs-ops/maintain)
Your own site
<a href="https://agentmods.dev/commands/davidbuenov/dbv-specs-ops/maintain"><img src="https://agentmods.dev/badge/commands/davidbuenov/dbv-specs-ops/maintain.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 207 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00207
Opus 5 $0.00014 $0.00103
Sonnet 5 $0.00005 $0.00041
Haiku 4.5 $0.00003 $0.00021

Measured 3d ago against content hash 1adb03fca934, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 3d 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.

.claude/commands/maintain.md · 13 lines

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.

$ARGUMENTS

Changes

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.

  1. 3d ago First seen · 13 lines · 27 tokens per session scan A 1adb03fca934

Subscribe to this mod's changes

maintain is a command published in the GitHub repository davidbuenov/dbv-specs-ops (22 stars, last pushed 6d ago), licensed MIT. It adds 27 tokens to every session and 207 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-09-04.