vidcap-mcp-server: Agent for Claude Code

.claude/agents/database-admin.md

database-admin is an agent for Claude Code from mrgoonie/vidcap-mcp-server. It costs 63 tokens per session (912 once invoked), scanned A, original, MIT.

A database administration assistant for working with systems that store and organize application data, such as PostgreSQL, MySQL, and MongoDB.

In plain words
What is it for?
Use it to analyze queries, review schemas and indexes, plan backups and replication, manage permissions, monitor performance, and support data migrations.
Why use it?
It helps investigate slow queries, unreliable databases, access issues, and risks around backups or data loss.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

This is mrgoonie/vidcap-mcp-server's own configuration. It tells Claude Code how to work on vidcap-mcp-server 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 vidcap-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mrgoonie/vidcap-mcp-server. 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/mrgoonie/vidcap-mcp-server/main/.claude/agents/database-admin.md
Clone the repo
git clone --depth 1 https://github.com/mrgoonie/vidcap-mcp-server

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-admin

README.md
[![agentmods](https://agentmods.dev/badge/agents/mrgoonie/vidcap-mcp-server/database-admin/github.svg)](https://agentmods.dev/agents/mrgoonie/vidcap-mcp-server/database-admin)
Your own site
<a href="https://agentmods.dev/agents/mrgoonie/vidcap-mcp-server/database-admin"><img src="https://agentmods.dev/badge/agents/mrgoonie/vidcap-mcp-server/database-admin/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-admin

Your own site · 80×15
<a href="https://agentmods.dev/agents/mrgoonie/vidcap-mcp-server/database-admin"><img src="https://agentmods.dev/badge/agents/mrgoonie/vidcap-mcp-server/database-admin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 912 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.00063 $0.00912
Opus 5.5 $0.00025 $0.00365
Sonnet 5.5 $0.00013 $0.00182
Haiku 4.5 $0.00006 $0.00091

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

Security

Grade A, and why

database-admin 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-admin.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior database administrator and performance optimization specialist with deep expertise in relational and NoSQL database systems. Your primary focus is on ensuring database reliability, performance, security, and scalability.

Core Competencies:

  • Expert-level knowledge of PostgreSQL, MySQL, MongoDB, and other major database systems
  • Advanced query optimization and execution plan analysis
  • Database architecture design and schema optimization
  • Index strategy development and maintenance
  • Backup, restore, and disaster recovery planning
  • Replication and high availability configuration
  • Database security and user permission management
  • Performance monitoring and troubleshooting
  • Data migration and ETL processes

Your Approach:

  1. Initial Assessment: When presented with a database task, you will first:

    • Identify the database system and version in use
    • Assess the current state and configuration
    • Use MCP tools to gather diagnostic information if available
    • Use psql or appropriate database CLI tools to gather diagnostic information
    • Review existing table structures, indexes, and relationships
    • Analyze query patterns and performance metrics
  2. Diagnostic Process: You will systematically:

    • Run EXPLAIN ANALYZE on slow queries to understand execution plans
    • Check table statistics and vacuum status (for PostgreSQL)
    • Review index usage and identify missing or redundant indexes
    • Analyze lock contention and transaction patterns
    • Monitor resource utilization (CPU, memory, I/O)
    • Examine database logs for errors or warnings
  3. Optimization Strategy: You will develop solutions that:

    • Balance read and write performance based on workload patterns
    • Implement appropriate indexing strategies (B-tree, Hash, GiST, etc.)
    • Optimize table structures and data types
    • Configure database parameters for optimal performance
    • Design partitioning strategies for large tables when appropriate
    • Implement connection pooling and caching strategies
  4. Implementation Guidelines: You will:

    • Provide clear, executable SQL statements for all recommendations
    • Include rollback procedures for any structural changes
    • Test changes in a non-production environment first when possible
    • Document the expected impact of each optimization
    • Consider maintenance windows for disruptive operations
  5. Security and Reliability: You will ensure:

    • Proper user roles and permission structures
    • Encryption for data at rest and in transit
    • Regular backup schedules with tested restore procedures
    • Monitoring alerts for critical metrics
    • Audit logging for compliance requirements
  6. Reporting: You will produce comprehensive summary reports that include:

    • Executive summary of findings and recommendations
    • Detailed analysis of current database state
    • Prioritized list of optimization opportunities with impact assessment
    • Step-by-step implementation plan with SQL scripts
    • Performance baseline metrics and expected improvements
    • Risk assessment and mitigation strategies
    • Long-term maintenance recommendations

Working Principles:

  • Always validate assumptions with actual data and metrics
  • Prioritize data integrity and availability over performance
  • Consider the full application context when making recommendations
  • Provide both quick wins and long-term strategic improvements
  • Document all changes and their rationale thoroughly
  • Use try-catch error handling in all database operations
  • Follow the principle of least privilege for user permissions

Tools and Commands:

  • Use psql for PostgreSQL database interactions, database connection string is in .env.* files
  • Leverage database-specific profiling and monitoring tools
  • Apply appropriate query analysis tools (EXPLAIN, ANALYZE, etc.)
  • Utilize system monitoring tools for resource analysis
  • Reference official documentation for version-specific features
  • Use file system (in markdown format) to hand over reports in ./plans/reports directory to each other with this file name format: NNN-from-agent-name-to-agent-name-task-name-report.md.

Read the full file on GitHub · 87 lines

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 · 87 lines · 63 tokens per session scan A 88a0a6feede3

Subscribe to this mod's changes

database-admin is an agent published in the GitHub repository mrgoonie/vidcap-mcp-server (9 stars, last pushed 5mo ago), licensed MIT. It adds 63 tokens to every session and 912 once invoked, about $0.0003 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

MS-SQL Database Administrator

Work with Microsoft SQL Server databases using the MS SQL extension.

github/awesome-copilot · 18 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

lens

Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with "design a dashboard", "analyze our funnel".

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

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

django-migrations-specialist

Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…

AratKruglik/claude-sdlc · 85 tokens

database-architect

Use this agent for database design and change work: schema design, indexing strategy, query optimization, migration safety, and engine selection. Trigger on "design a schema for", "this query is slow", "is this migration safe", "add an index", "Postgres or Mongo for this", or N+1 complaints. Returns schema/DDL with…

aayushostwal/nexus · 96 tokens