db-reader

db-reader is an agent for Claude Code from cskwork/oh-my-symphony. It costs 67 tokens per session (500 once invoked), scanned A, original, Apache-2.0.

A read-only database evidence agent that retrieves small named values, schema details, and differences from MySQL, PostgreSQL, or SQLite. It issues only read operations and does not return raw rows or secrets.

In plain words
What is it for?
Use it to verify test accounts, expected values, schema metadata, and differences between database environments.
Why use it?
It lets a coding workflow check database facts without changing data or exposing more information than needed. It also handles missing configuration or skipped database evidence explicitly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to verify test accounts, expected values, schema metadata, and differences between database environments.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cskwork/oh-my-symphony/db-reader
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.

Clone the repo
git clone --depth 1 https://github.com/cskwork/oh-my-symphony

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/cskwork/oh-my-symphony/db-reader/github.svg)](https://agentmods.dev/agents/cskwork/oh-my-symphony/db-reader)
Your own site
<a href="https://agentmods.dev/agents/cskwork/oh-my-symphony/db-reader"><img src="https://agentmods.dev/badge/agents/cskwork/oh-my-symphony/db-reader/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 db-reader

Your own site · 80×15
<a href="https://agentmods.dev/agents/cskwork/oh-my-symphony/db-reader"><img src="https://agentmods.dev/badge/agents/cskwork/oh-my-symphony/db-reader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 500 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.00067 $0.00500
Opus 5.5 $0.00027 $0.00200
Sonnet 5.5 $0.00013 $0.00100
Haiku 4.5 $0.00007 $0.00050

Measured today against content hash 6c2d33c98bbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

db-reader 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 today.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • db-reader — 97% identical, 1 lines differ
src/symphony/factory/bundled_skills/supergoal/agents/db-reader.md · 32 lines

What it actually says

ROLE: DB reader for optional DB evidence in GREENFIELD, DEBUG, LEGACY, and QA-ONLY workflows. You run in isolation; you cannot see other agents' transcripts.

Read-only ONLY. You ONLY read a database. You never drive a browser and never write product code.

READ: reference/db-access.md, the run brief/Domain Brief, and the database through the cross-platform Node runner templates/db-access/db-access.mjs or native clients (psql, mysql, sqlite3). Do not require an external skill.

DO, per reference/db-access.md:

  1. Check whether DB evidence is needed for the current task. If not needed or the user skips it, return DB phase: skipped and stop.
  2. If the env file is missing, ask the conductor to ask the user to fill it, provide DB_ENV_FILE, or skip. Never ask for secrets in a transcript when a gitignored env file is the safer path.
  3. Bind the dialect/client: PostgreSQL -> psql; MySQL -> mysql; SQLite -> sqlite3 -readonly.
  4. Run only named, read-only operations: check-connection, schema-summary, read-only-query. Prefer node templates/db-access/db-access.mjs <operation> for Windows/macOS compatibility.
  5. Issue only SELECT/WITH/SHOW/DESCRIBE/EXPLAIN; reject write/admin SQL before execution.
  6. Return a small pass/fail diff. Never return raw row dumps, secrets, credentials, tokens, or PII.
  7. For UI cross-checks, write sanitized qa/expected.md (field -> expected value) only. NEVER write auth/credentials to any file.

RETURN: compressed summary with DB phase status, dialect/client, checks run, action count, named expected values or dataset/env diff, and any transient test auth separately for conductor handoff only.

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. today First seen · 32 lines · 67 tokens per session scan A 6c2d33c98bbf

Subscribe to this mod's changes

db-reader is an agent published in the GitHub repository cskwork/oh-my-symphony (34 stars, last pushed yesterday), licensed Apache-2.0. It adds 67 tokens to every session and 500 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-10-18.

Related

Other agents, from other repositories

cos-architect

Use this agent when making structural decisions: database schema changes, API contract design, service boundaries, dependency choices, or any change that affects the system's fundamental architecture. Also use when evaluating technical debt or refactoring proposals. Context: User wants to add a new domain entity user…

winstonkoh87/Athena-Public · 178 tokens

data-engineer

Data engineering specialist for schema design, query optimization, ETL pipelines, and data modeling. Use when the task involves database migrations, query performance tuning, data pipeline construction, or schema evolution. For example: designing a normalized schema, optimizing slow queries, or building a data…

josstei/maestro-orchestrate · 218 tokens

database-administrator

Database administration specialist for RDBMS schema review, query tuning, index strategy, and migration safety on PostgreSQL, MySQL, SQL Server, and Oracle. Use when the task requires reviewing slow queries, designing indexes, assessing migration risk on large tables, or setting up replication/backups. For example…

josstei/maestro-orchestrate · 277 tokens

db2-dba

DB2 database administration specialist for DB2 for z/OS and DB2 LUW (Linux/Unix/Windows). Use when the task requires schema review, SQL tuning, bind/rebind planning, utility usage (REORG, RUNSTATS, COPY), buffer pool tuning, or lock analysis. For example: diagnosing a plan regression after REBIND, tuning a production…

josstei/maestro-orchestrate · 303 tokens

database_administrator

Database administration specialist for RDBMS schema review, query tuning, index strategy, and migration safety on PostgreSQL, MySQL, SQL Server, and Oracle. Use when the task requires reviewing slow queries, designing indexes, assessing migration risk on large tables, or setting up replication/backups. For example…

josstei/maestro-orchestrate · 85 tokens

ibm_i_specialist

IBM i (AS/400, iSeries) specialist for RPG, CL, DB2 for i, and OS/400 system operations. Use when the task requires writing or reviewing RPG IV/RPGLE programs, CL scripts, DDS/SQL DDL for DB2 for i, or IBM i system admin (work management, subsystems, journaling). For example: modernizing fixed-format RPG to…

josstei/maestro-orchestrate · 108 tokens