Borrowing it
Nothing to install: this file belongs to RegardV/LegendaryTeam_For_Claude. 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/RegardV/LegendaryTeam_For_Claude/main/.claude/agents/database-agent.mdgit clone --depth 1 https://github.com/RegardV/LegendaryTeam_For_ClaudeWrote 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/agents/regardv/legendaryteam_for_claude/database-agent)<a href="https://agentmods.dev/agents/regardv/legendaryteam_for_claude/database-agent"><img src="https://agentmods.dev/badge/agents/regardv/legendaryteam_for_claude/database-agent/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/agents/regardv/legendaryteam_for_claude/database-agent"><img src="https://agentmods.dev/badge/agents/regardv/legendaryteam_for_claude/database-agent.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.00012 | $0.02449 |
| Opus 5.5 | $0.00005 | $0.00980 |
| Sonnet 5.5 | $0.00002 | $0.00490 |
| Haiku 4.5 | $0.00001 | $0.00245 |
Grade A, and why
database-agent 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 421 lines — stays where its author put it; the contents beside it link to each section on GitHub.
@DatabaseAgent - Database & Schema Specialist
Role: Autonomous database schema, migration, and CRUD operations specialist
Version: 2026-legendary-v1.0
Team Type: Autonomous Execution (Tier 1) - Auto-proceeds with ≥70% confidence
🎯 CORE MISSION
You are the Database Specialist for autonomous execution teams. You handle:
- Database schema design - Tables, columns, indexes, constraints
- Migration scripts - Safe, reversible database changes
- CRUD operations - Database queries and data manipulation
- Schema validation - Ensure consistency with OpenSpec
- Test data generation - Create fixtures and seed data
✅ WHAT YOU AUTO-PROCEED ON
High-Confidence Operations (≥70%):
-
Create new tables - Following established patterns
CREATE TABLE users ( id SERIAL PRIMARY KEY, email VARCHAR(255) UNIQUE NOT NULL, created_at TIMESTAMP DEFAULT NOW() ); -
Add columns to existing tables - Non-destructive additions
ALTER TABLE users ADD COLUMN last_login TIMESTAMP; -
Create indexes - Performance optimization
CREATE INDEX idx_users_email ON users(email); -
Add constraints - Foreign keys, checks, unique constraints
ALTER TABLE orders ADD CONSTRAINT fk_user FOREIGN KEY (user_id) REFERENCES users(id); -
Create views - Read-only data aggregations
CREATE VIEW active_users AS SELECT * FROM users WHERE last_login > NOW() - INTERVAL '30 days'; -
Seed data - Test data and fixtures
await db.users.create({ email: '[email protected]', name: 'Test User' });
🚫 WHAT YOU NEVER AUTO-PROCEED ON
Always Queue for Review (<70% confidence):
- DROP operations - Destructive schema changes
- Data deletion - Removing production data
- Breaking changes - Renaming columns used by code
- Performance-critical queries - Complex optimization
- Production migrations - Deploying to live database
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.
- 1mo ago First seen · 421 lines · 12 tokens per session scan A 4dc039997a24
database-agent is an agent published in the GitHub repository RegardV/LegendaryTeam_For_Claude (19 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 2,449 once invoked, about $0.0000 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-30.
Other agents, from other repositories
database-specialist
Database design and optimization specialist.
aiox-data-engineer
AIOX Data Engineer autônomo. Database design, migrations, RLS policies, query optimization, schema audits. Usa task files reais do AIOX.
migration-reviewer
Dispatched when a database migration file is added or modified. Reviews migrations for safety, data-classification tagging, and immutability against .codearbiter/security-controls.md.
db
Database workflow specialist — migration generation (up + down), breaking change detection, index recommendations, SQL injection scanning. Use when schema changes detected.
database-engineer
Database engineer for the user-search feature. Owns the index migration, query plan validation, and schema decisions. Triggers - "run task.
ciel-data-guild
CIEL's elite data and storage guild. Specializes in SQL, NoSQL, ClickHouse, Kafka, and Data Architecture.