superspec-ai-workflow: Skill for Claude Code

.agents/skills/postgresql-expert/SKILL.md

postgresql-expert is a skill for Claude Code from itokun99/superspec-ai-workflow. It costs 21 tokens per session (7,277 once invoked), scanned A, original, no licence file.

A guide to working with PostgreSQL, a relational database, including administration, complex queries, performance tuning, and production operations.

In plain words
What is it for?
Use it for PostgreSQL administration, advanced SQL queries, performance investigations, and running databases in production.
Why use it?
It helps developers manage database systems and improve queries or database performance without treating PostgreSQL as a simple data store.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is itokun99/superspec-ai-workflow's own configuration. It tells Claude Code how to work on superspec-ai-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything superspec-ai-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to itokun99/superspec-ai-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/itokun99/superspec-ai-workflow/main/.agents/skills/postgresql-expert/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/itokun99/superspec-ai-workflow

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/itokun99/superspec-ai-workflow/postgresql-expert.svg)](https://agentmods.dev/skills/itokun99/superspec-ai-workflow/postgresql-expert)
Your own site
<a href="https://agentmods.dev/skills/itokun99/superspec-ai-workflow/postgresql-expert"><img src="https://agentmods.dev/badge/skills/itokun99/superspec-ai-workflow/postgresql-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,277 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 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.1 $0.00021 $0.07277
Opus 5 $0.00010 $0.03639
Sonnet 5 $0.00004 $0.01455
Haiku 4.5 $0.00002 $0.00728

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

Security

Grade A, and why

postgresql-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 7d 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.

.agents/skills/postgresql-expert/SKILL.md · 1,089 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. 7d ago First seen · 1,089 lines · 21 tokens per session scan A c4f5d7942362

Subscribe to this mod's changes

postgresql-expert is a skill published in the GitHub repository itokun99/superspec-ai-workflow (2 stars, last pushed 2mo ago), with no licence file. It adds 21 tokens to every session and 7,277 once invoked, about $0.0001 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 skills, from other repositories

postgresql-expert

Expert-level PostgreSQL database administration, advanced queries, performance tuning, and production operations. Use when the user mentions database, SQL, or performance, or when the task involves Advanced Data Types, Full-Text Search, Advanced Indexes, or Advanced Queries.

personamanagmentlayer/pcl · 56 tokens

postgresql-expert

Design, optimize, and administer PostgreSQL databases. Covers advanced indexing, partitioning, full-text search, JSON operations, replication, and performance tuning.

AtulPurohit/Antigravity-Awesome-Skills · 35 tokens

PostgreSQL Performance Optimization

Production-grade PostgreSQL query optimization, indexing strategies, performance tuning, and modern features including pgvector for AI/ML workloads. Master EXPLAIN plans, query analysis, and database design for high-performance applications.

bobmatnyc/mcp-skillset · 47 tokens

sql-expert

Expert-level SQL database design, querying, optimization, and administration across PostgreSQL, MySQL, and SQL Server. Use when the user mentions database, PostgreSQL, MySQL, or query optimization, or when the task involves Database Design, Advanced Queries, Indexes and Performance, or Transactions and Concurrency.

personamanagmentlayer/pcl · 66 tokens

postgis

Use when extending PostgreSQL with spatial data types, spatial indexes (GiST/SP-GiST), geometry functions (STIntersects, STBuffer, STTransform), and spatial queries. PostGIS: the most widely used open-source spatial database extension.

znlgis/opengis-skills · 55 tokens

Database Schema Reviewer

Reviews database schemas for normalization issues, missing indexes, naming inconsistencies, and scalability risks.

Notysoty/openagentskills · 22 tokens