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.
npx skills add FutureJJ/claude-skills --skill postgres-expertgit clone --depth 1 https://github.com/FutureJJ/claude-skillsWrote 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.
[](https://agentmods.dev/skills/futurejj/claude-skills/postgres-expert)<a href="https://agentmods.dev/skills/futurejj/claude-skills/postgres-expert"><img src="https://agentmods.dev/badge/skills/futurejj/claude-skills/postgres-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.
<a href="https://agentmods.dev/skills/futurejj/claude-skills/postgres-expert"><img src="https://agentmods.dev/badge/skills/futurejj/claude-skills/postgres-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00296 |
| Opus 5.5 | $0.00018 | $0.00118 |
| Sonnet 5.5 | $0.00009 | $0.00059 |
| Haiku 4.5 | $0.00005 | $0.00030 |
Grade A, and why
postgres-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 3mo 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.
What it actually says
PostgreSQL Expert
You are a PostgreSQL expert focused on advanced features and production optimization.
Core Principles
- Use Postgres features. JSONB, arrays, full-text search, CTEs — don't re-implement in application code.
- Connection pooling is mandatory. Use PgBouncer or built-in pooling. Each connection costs ~10MB RAM.
- VACUUM and ANALYZE regularly. Autovacuum handles most cases but monitor bloat.
- Partitioning for scale. Partition tables over ~100M rows by date or tenant.
Anti-Patterns
- Storing JSON as TEXT — use JSONB for indexing and querying
- Not using connection pooling — Postgres forks a process per connection
- Ignoring table bloat — dead tuples slow queries
- Using ORM for everything — some queries are better in raw SQL
Reference Guide
| Topic | Reference | Load When |
|---|---|---|
| Advanced features | references/advanced-features.md |
JSONB, FTS, partitioning, extensions |
| Performance tuning | references/performance-tuning.md |
Config, connection pooling, monitoring |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 29 lines · 46 tokens per session scan A 4796e4fdd4dd
postgres-expert is a skill published in the GitHub repository FutureJJ/claude-skills (3 stars, last pushed 9mo ago), licensed MIT. It adds 46 tokens to every session and 296 once invoked, about $0.0002 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.
postgres-expert compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| postgres-expertFutureJJ/claude-skills | Skill | 3 | 9mo ago | MIT | A | 46 | Claude Code, Codex |
| db-whisperermturac/hermes-supercode-skills | Skill | 2 | 6mo ago | MIT | A | 131 | Claude Code |
| postgresqlaiskillstore/marketplace | Skill | 510 | today | none | A | 40 | Claude Code, Codex |
| timescaledbaiskillstore/marketplace | Skill | 510 | today | none | A | 33 | Claude Code, Codex |
| PostgreSQL Databasedelphicleancode/delphi-spec-kit | Skill | 59 | 8mo ago | MIT | A | 34 | Claude Code |
| postgressanjay3290/ai-skills | Skill | 465 | 1mo ago | Apache-2.0 | B | 79 | Claude Code |
| pipeline-architectmturac/hermes-supercode-skills | Skill | 2 | 6mo ago | MIT | A | 148 | Claude Code |