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 vikasudasi/skill-vault --skill postgres-sql-fundamentalsgit clone --depth 1 https://github.com/vikasudasi/skill-vaultWrote 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/vikasudasi/skill-vault/postgres-sql-fundamentals)<a href="https://agentmods.dev/skills/vikasudasi/skill-vault/postgres-sql-fundamentals"><img src="https://agentmods.dev/badge/skills/vikasudasi/skill-vault/postgres-sql-fundamentals/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/vikasudasi/skill-vault/postgres-sql-fundamentals"><img src="https://agentmods.dev/badge/skills/vikasudasi/skill-vault/postgres-sql-fundamentals.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.00038 | $0.01402 |
| Opus 5.5 | $0.00015 | $0.00561 |
| Sonnet 5.5 | $0.00008 | $0.00280 |
| Haiku 4.5 | $0.00004 | $0.00140 |
Grade A, and why
postgres-sql-fundamentals 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PostgreSQL Fundamentals (When You Outgrow SQLite)
Use when a single-file SQLite DB hits its ceilings — concurrent writes, a shared
server with many clients, or multi-process isolation — and you move to a networked
Postgres. This is the Postgres counterpart to Skill Vault's sqlite-optimization;
where that skill tunes a single file, this one runs a real server with
connections, roles, and a query planner.
SQLite → Postgres decision table
| concern | SQLite | Postgres |
|---|---|---|
| concurrency | single writer, WAL-readers | MVCC: concurrent reads+writers |
| deployment | embedded, one file | server, clients connect over TCP |
| data types | flexible/affinity | strict, rich (arrays, JSONB, enum) |
| migration | ad-hoc | real migrations, DDL transactions |
| backups | file copy / .backup |
pg_dump / WAL + PITR |
| user management | none | roles, grants, row-level security |
Reach for Postgres when you have real concurrent writers, multiple app instances, or need production guarantees. For a single-user local tool, SQLite (WAL) is still the right call.
psql basics
psql "postgresql://user:pass@host:5432/db"
| command | purpose |
|---|---|
\l |
list databases |
\dt |
list tables |
\d table |
describe table + indexes |
\d+ table |
detailed (incl. sizes) |
\x |
expanded output (friendly) |
\timing |
show query time |
\q |
quit |
Connect with a URL or named database; use PGPASSWORD/~/.pgpass rather than
typing secrets at the prompt in logs.
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.
- 1mo ago First seen · 132 lines · 38 tokens per session scan A 207ae775482a
postgres-sql-fundamentals is a skill published in the GitHub repository vikasudasi/skill-vault (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,402 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.
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.
postgis
Use when extending PostgreSQL with PostGIS 3.6.4 — geometry/geography/raster types, GiST and KNN indexes, STIntersects/STBuffer/STTransform/STAsMVT, shp2pgsql -I and raster2pgsql import, and fixing "Operation on mixed SRID", slow spatial joins, and invalid polygons with STMakeValid.
postgresql
A guide for administering PostgreSQL, a database system that stores application data and supports SQL queries. It covers connections, users and permissions, database objects, backups, extensions, and query optimisation.
PostgreSQL
PostgreSQL 17.x — data types, DDL, DML, queries, indexes, full text search, concurrency, performance, functions.
connection-troubleshooting
Use this skill when diagnosing PostgreSQL connection issues through PGAutoPilot. Trigger when user asks to: - "I can't connect to the database" - "Connection refused" - "Connection timed out" - "Database is not reachable" - "How do I fix my database URL?" - "The database won't start" - Connection errors…
database-health
Use this skill when checking PostgreSQL database health, monitoring, or diagnosing production issues. Trigger when user asks to: - "Check database health" - "Is the database healthy?" - "Check vacuum status" - "Check replication lag" - "Are there unused indexes?" - "Check connection pool" - "Database monitoring" …