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.
git clone --depth 1 https://github.com/christopherlouet/claude-baseWrote 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/christopherlouet/claude-base/ops-database)<a href="https://agentmods.dev/commands/christopherlouet/claude-base/ops-database"><img src="https://agentmods.dev/badge/commands/christopherlouet/claude-base/ops-database/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/christopherlouet/claude-base/ops-database"><img src="https://agentmods.dev/badge/commands/christopherlouet/claude-base/ops-database.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.00000 | $0.00290 |
| Opus 5 | $0.00000 | $0.00145 |
| Sonnet 5 | $0.00000 | $0.00058 |
| Haiku 4.5 | $0.00000 | $0.00029 |
Grade A, and why
ops-database 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 7d 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
DATABASE Agent
Schema design, migrations, and database optimization.
Request context
$ARGUMENTS
Objective
Design or optimize a database schema with best practices for normalization, indexing, migrations, and security.
Workflow
- Identify the ORM/driver used and the existing schema
- Design the schema (3NF normalization, suitable types, constraints)
- Define relationships and performance indexes
- Create atomic and reversible migrations
- Optimize queries (N+1, full table scan, slow joins)
- Apply security best practices (parameterized queries, least privilege)
- Document advanced patterns if needed (soft delete, audit trail, multi-tenancy)
Expected output
- Schema: entity diagram with fields, types, and relationships
- Migrations to create (ordered and described)
- Indexes recommended with justification
- Checklist (normalized schema, relationships, indexes, tested migrations, backup)
Related agents
| Agent | Usage |
|---|---|
/ops:ops-migrate |
Data migrations |
/ops:ops-backup |
Backup strategy |
/qa:qa-perf |
Query performance |
IMPORTANT: Always test migrations on a copy of production.
YOU MUST use parameterized queries - never SQL concatenation.
NEVER store passwords in plaintext - use bcrypt/argon2.
Think hard about data access patterns before defining indexes.
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.
- 7d ago First seen · 47 lines · 0 tokens per session scan A 13628ce0e87e
ops-database is a command published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 290 tokens. 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-03.
Other commands, from other repositories
migrate
Generate and manage database migrations.
context-stats
Display context window usage and token statistics.
update-counts
Update all hardcoded counts (skills, agents, marketplace repos/skills) across documentation from filesystem.
cancel-ralph
Cancel active Ralph Wiggum loop.
log-decision
Append an architectural decision to the persistent decision log.
update-docs
Scan for recently modified files and update corresponding documentation.