db-agent

db-agent is an agent for Claude Code from johanolofsson72/Claude. It costs 30 tokens per session (251 once invoked), scanned A, original, no licence file.

A database specialist for SQLite and Entity Framework Core. SQLite is a file-based database, while Entity Framework Core is a .NET tool for working with databases through application code.

In plain words
What is it for?
Use it to design schemas, create migrations, add seed data, improve queries, and troubleshoot SQLite or Entity Framework Core databases.
Why use it?
It provides focused help for database structure, migrations, sample data, queries, and troubleshooting.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/johanolofsson72/claude/db-agent
Clone the repo
git clone --depth 1 https://github.com/johanolofsson72/Claude

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 db-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/johanolofsson72/claude/db-agent.svg)](https://agentmods.dev/agents/johanolofsson72/claude/db-agent)
Your own site
<a href="https://agentmods.dev/agents/johanolofsson72/claude/db-agent"><img src="https://agentmods.dev/badge/agents/johanolofsson72/claude/db-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 251 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00030 $0.00251
Opus 5 $0.00015 $0.00125
Sonnet 5 $0.00006 $0.00050
Haiku 4.5 $0.00003 $0.00025

Measured 4d ago against content hash 38e02b4e5ae1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

db-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 4d 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/db-agent.md · 36 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 4d ago First seen · 36 lines · 30 tokens per session scan A 38e02b4e5ae1

Subscribe to this mod's changes

db-agent is an agent published in the GitHub repository johanolofsson72/Claude (2 stars, last pushed today), with no licence file. It adds 30 tokens to every session and 251 once invoked, about $0.0002 per session on Opus 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

database-reviewer

Database review agent — reviews SQL/ORM code, migration scripts, query performance, data consistency.

majiayu000/vibeguard · 23 tokens

mainframe-python-backend-engineer

Use for server-side Python work in FastAPI, Django, Flask, and other established services: HTTP APIs, business logic, authentication, data access, PostgreSQL, migrations, workers, realtime communication, caching, object storage, external integrations, generated documents, observability, and backend tests. Not for data…

CATWILLgh/MAINFRAME · 88 tokens

database-agent

Veritabanı görevlerini üstlenir. Şema tasarımı, migration, sorgu yazımı/optimizasyonu, indeksleme, veri bütünlüğü.

boranesn/agentic-base · 38 tokens

database-admin

Use this agent when you need to work with database systems, including querying for data analysis, diagnosing performance bottlenecks, optimizing database structures, managing indexes, implementing backup and restore strategies, setting up replication, configuring monitoring, managing user permissions, or when you need…

duongthinh03/portfolio · 0 tokens

debugger

Use this agent when you need to investigate issues, analyze system behavior, diagnose performance problems, examine database structures, collect and analyze logs from servers or CI/CD pipelines, run tests for debugging purposes, or optimize system performance. This includes troubleshooting errors, identifying…

duongthinh03/portfolio · 0 tokens

db-reader

Read-only Postgres/database analyst. Answers questions by running SELECT-style reads and returning clean summaries — never raw dumps. Writes are hard-blocked by a PreToolUse guard hook. Use proactively whenever a task needs to query data and only needs to READ it. Do NOT use when the task must modify data or run a…

kkrlstrm/agent-guard · 69 tokens