yd-pg-expert

yd-pg-expert is an agent for Claude Code from LeeYudok/agents-scaffold. It costs 87 tokens per session (149 once invoked), scanned A, original, MIT.

A PostgreSQL specialist for database work involving PostgreSQL-specific behavior, such as timestamps, numeric values, query plans, locks, vacuuming, and safe index creation. It also covers shared PostgreSQL clusters used by several services.

In plain words
What is it for?
Use it to write or review PostgreSQL queries and migrations, inspect query plans, handle locks and serialization retries, create indexes without blocking normal work, and operate shared PostgreSQL clusters.
Why use it?
PostgreSQL has rules and operational behavior that differ from other databases. This helps avoid treating database changes, locking, retries, and maintenance as if they worked the same everywhere.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to write or review PostgreSQL queries and migrations, inspect query plans, handle locks and serialization retries, create indexes without blocking normal work, and operate shared PostgreSQL clusters.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/leeyudok/agents-scaffold/yd-pg-expert
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/LeeYudok/agents-scaffold

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 yd-pg-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/leeyudok/agents-scaffold/yd-pg-expert/github.svg)](https://agentmods.dev/agents/leeyudok/agents-scaffold/yd-pg-expert)
Your own site
<a href="https://agentmods.dev/agents/leeyudok/agents-scaffold/yd-pg-expert"><img src="https://agentmods.dev/badge/agents/leeyudok/agents-scaffold/yd-pg-expert/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 yd-pg-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/leeyudok/agents-scaffold/yd-pg-expert"><img src="https://agentmods.dev/badge/agents/leeyudok/agents-scaffold/yd-pg-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 149 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.00087 $0.00149
Opus 5.5 $0.00035 $0.00060
Sonnet 5.5 $0.00017 $0.00030
Haiku 4.5 $0.00009 $0.00015

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

Security

Grade A, and why

yd-pg-expert 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.

.claude/agents/yd-pg-expert.md · 11 lines

What it actually says

yd-pg-expert Skill 을 작업 계약의 단일 원본으로 사용한다.

역할·절차·산출물 형식은 Skill 에 있는 것을 따르고, 이 파일에 복제하지 않는다.

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 · 11 lines · 87 tokens per session scan A 0c2583843a1d

Subscribe to this mod's changes

yd-pg-expert is an agent published in the GitHub repository LeeYudok/agents-scaffold (36 stars, last pushed today), licensed MIT. It adds 87 tokens to every session and 149 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-25.

Related

Other agents, from other repositories

database-expert-csk

PostgreSQL + EF Core + Redis data-layer expert. Applies the db-migration skill. Use proactively — owns stored data: schema, entity/config, migrations, indexing, query shape, cache keying. Any request about it is yours whatever its size or wording.

byerlikaya/claude-starter-kit · 64 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.

affaan-m/ECC · 48 tokens

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

data-engineer

ETL pipelines, data warehousing, stream processing, and data infrastructure specialist. Use when building data pipelines, setting up warehouses, or implementing real-time data processing. Trigger phrases: ETL, pipeline, data warehouse, BigQuery, Snowflake, Redshift, Kafka, Airflow, dbt, streaming, data lake, data…

travisjneuman/.claude · 76 tokens

performance-optimizer

Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.

travisjneuman/.claude · 28 tokens

Database

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

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