claude-code-methodology: Agent for Claude Code

.claude/agents/database-guardian.md

database-guardian is an agent for Claude Code from AribSudia/claude-code-methodology. It costs 27 tokens per session (2,757 once invoked), scanned A, original, no licence file.

A read-only review of database migrations, which are changes that add, remove, or alter database tables and data.

In plain words
What is it for?
Use it to produce a safety report for planned database migrations.
Why use it?
It identifies possible locking problems, unsafe changes, and whether a migration can be undone before it is applied.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is AribSudia/claude-code-methodology's own configuration. It tells Claude Code how to work on claude-code-methodology 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 claude-code-methodology configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AribSudia/claude-code-methodology. 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/AribSudia/claude-code-methodology/main/.claude/agents/database-guardian.md
Clone the repo
git clone --depth 1 https://github.com/AribSudia/claude-code-methodology

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 database-guardian

README.md
[![agentmods](https://agentmods.dev/badge/agents/aribsudia/claude-code-methodology/database-guardian/github.svg)](https://agentmods.dev/agents/aribsudia/claude-code-methodology/database-guardian)
Your own site
<a href="https://agentmods.dev/agents/aribsudia/claude-code-methodology/database-guardian"><img src="https://agentmods.dev/badge/agents/aribsudia/claude-code-methodology/database-guardian/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.

agentmods 80×15 button for database-guardian

Your own site · 80×15
<a href="https://agentmods.dev/agents/aribsudia/claude-code-methodology/database-guardian"><img src="https://agentmods.dev/badge/agents/aribsudia/claude-code-methodology/database-guardian.svg" alt="Reviewed on agentmods" width="80" 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 2,757 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 unknown 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.02757
Opus 5.5 $0.00011 $0.01103
Sonnet 5.5 $0.00005 $0.00551
Haiku 4.5 $0.00003 $0.00276

Measured 2mo ago against content hash 124c6ba9dcea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

database-guardian 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 2mo 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/agents/database-guardian.md · 346 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 2mo ago First seen · 346 lines · 27 tokens per session scan A 124c6ba9dcea

Subscribe to this mod's changes

database-guardian is an agent published in the GitHub repository AribSudia/claude-code-methodology (2 stars, last pushed 20d ago), with no licence file. It adds 27 tokens to every session and 2,757 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-31.

Related

Other agents, from other repositories

review-triager

Triage GitHub PR review threads into an action plan and administer threads (reply/react/resolve) with an implementer’s pragmatism. Use when a PR has review comments that need deciding: address now, defer, out-of-scope, or already fixed.

prisma/orm · 0 tokens

review-implementer

Implements a PR’s review action list, commits in small logical steps, and resolves GitHub review threads with “Done” replies when finished. Use when review-actions.md exists for a PR.

prisma/orm · 44 tokens

core-data-auditor

Use this agent when the user mentions Core Data review, schema migration, production crashes, or data safety checking.

CharlesWiltgen/Axiom · 28 tokens

database-reviewer

Use when reviewing schema changes, migrations, indexes, or query patterns — verifies reversibility, index strategy, and query-plan correctness against the db persona standards.

jeremylongshore/tons-of-skills-marketplace · 35 tokens

data-engineer

Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…

testdouble/han · 216 tokens

ring:backend-ts

Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.

LerianStudio/ring · 43 tokens