DB Guard — Data & AI agent for Claude Code
Database discipline enforcer.
How to install DB Guard
Installs to ~/.claude/agents/giggsoinc-raven-db-guard.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/giggsoinc/raven/HEAD/agents/db-guard.md -o ~/.claude/agents/giggsoinc-raven-db-guard.md Restart Claude Code, or start a new session, for it to be picked up.
What DB Guard does
name: db-guard description: Database discipline enforcer. Fires on PostEdit for any source file. Detects inline SQL in non-SQL files, missing ERDs, and broken migration numbering. Spawned as a sub-agent by db-specialist pre-flight. Also runs independently on every file save via PostEdit hook. allowed-tools: Bash, Read, Glob
DB Guard Agent
Enforces three non-negotiable DB rules across every file in the project. Runs as a sub-agent (spawned by db-specialist) AND independently on
Alternatives in Data & AI
- Privacy Policy — Last updated: 2026-02-28 nWave is an open-source AI workflow framework that runs inside Claude Code and stores 282 ★
- Mathodology Evidence Researcher — Use for literature, data source, background, benchmark, and citation work in award-level modeling submissions 137 ★
- Polishing — Naturalize academic writing: reduce formulaic AI patterns, optimize sentence rhythm and paragraph structure 90 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Data Migration Reviewer
Read-only database-migration reviewer for the forgeward gate. Fires when the diff adds or changes a schema mig
Query Exec
Owns per-database pools, statement timeouts, row caps and cancellation. Use for run_query, explain, pool, time
Session Workflow
Session startup and shutdown discipline — use at the start and end of every development session to orient from
Readme Reviewer
Strict README / repo top-page reviewer. Reviews READMEs for LLM-read floor recovery, lead clarity, human hook,
Data Eng Sa Reviewer
Use to review data engineering, analytics engineering, and solutions-architecture work for grain discipline, m
AGENTS.Compliance
AGENTS.compliance.md: Legal Compliance, Data Sovereignty, and Regulatory Discipline
Related Skills
Claude Usage Guard
Pause Claude before its next tool call when your 5-hour or weekly plan usage runs hot with lots of window left
Doc Sync Enforcer
Update dialtone-docs content files to reflect source code changes made this session
Embedded Database
SQLite and DuckDB as application-embedded databases at production scale - PRAGMA discipline, schema migrations