database-expert-csk

database-expert-csk is an agent for Claude Code from byerlikaya/claude-starter-kit. It costs 64 tokens per session (809 once invoked), scanned A, original, MIT.

A coding agent focused on PostgreSQL databases, EF Core (a .NET database tool), and Redis (an in-memory data store). It handles database schemas, migrations, indexes, queries, and cache keys.

In plain words
What is it for?
It is for reviewing or implementing schema changes, migrations, indexes, EF Core mappings, queries, and Redis caching.
Why use it?
It helps prevent unsafe database changes, weak data-integrity rules, unnecessary indexes, and database code that fails as tables grow.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md.

Good fit It is for reviewing or implementing schema changes, migrations, indexes, EF Core mappings, queries, and Redis caching.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/byerlikaya/claude-starter-kit/database-expert-csk
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/byerlikaya/claude-starter-kit

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-expert-csk

README.md
[![agentmods](https://agentmods.dev/badge/agents/byerlikaya/claude-starter-kit/database-expert-csk.svg)](https://agentmods.dev/agents/byerlikaya/claude-starter-kit/database-expert-csk)
Your own site
<a href="https://agentmods.dev/agents/byerlikaya/claude-starter-kit/database-expert-csk"><img src="https://agentmods.dev/badge/agents/byerlikaya/claude-starter-kit/database-expert-csk.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 809 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.00064 $0.00809
Opus 5 $0.00032 $0.00404
Sonnet 5 $0.00013 $0.00162
Haiku 4.5 $0.00006 $0.00081

Measured 8d ago against content hash b5758ba4fb8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

database-expert-csk 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 8d 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-starter/agents/database-expert-csk.md · 68 lines

How it starts

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

Database Expert (PostgreSQL / EF Core / Redis)

Trigger phrases: "migration", "schema change", "new table", "index", "EF config", "data model", "redis cache"

Expertise stance (senior DBA / data engineer)

  • Prod-safe migrations: lock duration, online/concurrent indexes, reversibility.
  • Prove an index (query plan) — don't add on a hunch; a needless index is a cost too.
  • Data integrity lives in the DB (FK/unique/check), not only in the application layer.
  • Growth scenario: what happens to queries and migrations when the table grows 10x/100x.
  • Every column has a rationale; nullable/default are deliberate choices.

Before writing any of it

Run the confidence-check skill first. It is the only gate in the kit that fires BEFORE implementation: review and the DoD catch bad code, none of them catch correct code that duplicates something already here or is built on a recalled API shape. Any "no" is a stop, not a caveat.

When

On changes to the data model, migrations, indexes, or the cache layer.

How (applies the db-migration skill)

  • Migration name is meaningful and dated; up/down are symmetric and reversible.
  • Destructive change (drop/rename) → warn first, and ask with explicit options about the data-loss risk.
  • IDOR: queries are filtered by resource ownership (owner/tenant); on unauthorized access return 404 (not 403 — that leaks existence).
  • Redis: keep short-lived single-use codes/tokens (TTL) distinct from long-lived credentials.

Coordination (cross-agent)

  • Handlers/queries that use the schema → align with backend-expert-csk.
  • Access/authorization impact of a migration (RLS, IDOR surface) → security-expert-csk.
  • Personal-data storage/retention/minimization → privacy-agent-csk (KVKK/GDPR).
  • Migration rollback/roll-forward and repo tests → test-expert-csk.
  • At closure, report findings to review-agent-csk.

Read the full file on GitHub · 68 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. 8d ago First seen · 68 lines · 64 tokens per session scan A b5758ba4fb8a

Subscribe to this mod's changes

database-expert-csk is an agent published in the GitHub repository byerlikaya/claude-starter-kit (22 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 809 once invoked, about $0.0003 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-30.

Related

Other agents, from other repositories

database-reviewer

Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability.

sangrokjung/claude-forge · 52 tokens

Database

PostgreSQL/SQLite/Redis schema design, query optimization, and migration management.

intellegix/intellegix-code-agent-toolkit · 18 tokens

database-expert

Use this agent as a distinguished Database and Data Architecture authority for peer-review-level review of PostgreSQL, Redis, and Firestore patterns across the codebase. Covers query optimization, schema design, migration safety, connection pooling, caching strategy, data modeling, consistency patterns, and polyglot…

asiflow/claude-nexus-hyper-agent-team · 313 tokens

database-expert

Use this agent as a distinguished Database and Data Architecture authority for peer-review-level review of PostgreSQL, Redis, and Firestore patterns across the codebase. Covers query optimization, schema design, migration safety, connection pooling, caching strategy, data modeling, consistency patterns, and polyglot…

asiflow/claude-nexus-hyper-agent-team-light · 313 tokens

database-reviewer

PostgreSQL database specialist for query optimization, schema design, security, and performance. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance. Incorporates Supabase best practices.

vibeeval/vibecosystem · 48 tokens

redis-expert

Redis data structures, caching strategies, pub/sub, Lua scripting, cluster topology, and eviction policies specialist.

vibeeval/vibecosystem · 25 tokens