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 seed-forge/harness-ai-kit --skill public-postgres-expert-basegit clone --depth 1 https://github.com/seed-forge/harness-ai-kitWrote 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/seed-forge/harness-ai-kit/public-postgres-expert-base)<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/public-postgres-expert-base"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-postgres-expert-base/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/seed-forge/harness-ai-kit/public-postgres-expert-base"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/public-postgres-expert-base.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.00057 | $0.00696 |
| Opus 5.5 | $0.00023 | $0.00278 |
| Sonnet 5.5 | $0.00011 | $0.00139 |
| Haiku 4.5 | $0.00006 | $0.00070 |
Grade A, and why
public-postgres-expert-base 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.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PostgreSQL Knowledge Base
Source: Adapted from planetscale/database-skills (PostgreSQL skill).
Schema Design
- Prefer
BIGSERIALorBIGINT GENERATED ALWAYS AS IDENTITYfor PKs. - Use
TIMESTAMPTZ(with timezone) overTIMESTAMP. TEXTandVARCHARhave similar performance in PostgreSQL — preferTEXTunless length constraint is meaningful.- Use
NUMERICfor money, neverFLOAT/REAL. JSONB(binary) overJSON(text) for structured data.
Indexing
| Type | Use for |
|---|---|
| B-Tree (default) | Equality, range, sorting |
| GIN | JSONB, fulltext, arrays, containment |
| GiST | Geometry, range types, nearest-neighbor |
| BRIN | Sequential data (timestamps, IDs) on large tables |
| Hash | Equality only (rarely needed) |
- Partial indexes:
CREATE INDEX ... WHERE condition— index only relevant rows. - Expression indexes:
CREATE INDEX ... ON t (lower(name)). - Covering indexes:
INCLUDE (col1, col2)for index-only scans. CONCURRENTLYfor creating indexes without blocking writes.
JSONB
- Store structured, semi-structured, or variable-schema data.
- Index with GIN:
CREATE INDEX ... USING GIN (data jsonb_path_ops). - Query:
data->>'key'(text),data->'key'(jsonb),data @> '{"key": "val"}'(containment). - Generated columns for frequently queried JSONB paths.
Partitioning
- Declarative partitioning (range, list, hash) for large tables.
- Partition key must be part of every unique/PK constraint.
ATTACH PARTITION/DETACH PARTITIONfor maintenance.- Partition pruning: queries automatically skip irrelevant partitions.
Extensions
pg_trgm: trigram similarity for fuzzy search.pgvector: vector similarity search (AI/embeddings).pg_stat_statements: query performance analysis.uuid-ossp: UUID generation.postgis: geospatial data.
Connection Management
- Use connection pooling (PgBouncer) — PostgreSQL connections are expensive (~5-10 MB each).
- Pool sizing: start with
2 * CPU cores + 1. - Use
prepared_statementsfor parameterized queries. - Set
statement_timeoutto prevent runaway queries.
What ships with it
3 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 · 62 lines · 57 tokens per session scan A fe1582ef4bcb
public-postgres-expert-base is a skill published in the GitHub repository seed-forge/harness-ai-kit (26 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 696 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-30.
public-postgres-expert-base compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| public-postgres-expert-baseseed-forge/harness-ai-kit | Skill | 26 | 3mo ago | Apache-2.0 | A | 57 | Claude Code, Codex |
| postgresql-table-designwshobson/agents | Skill | 43k | 2d ago | MIT | A | 37 | Claude Code |
| database-optimizerJeffallan/claude-skills | Skill | 13k | today | MIT | A | 54 | Claude Code |
| postgres-proJeffallan/claude-skills | Skill | 13k | today | MIT | A | 41 | Claude Code |
| postgres-database-migrationtimescale/pg-aiguide | Skill | 1.9k | today | Apache-2.0 | A | 220 | Cursor |
| timescaledb-hyperfunctionstimescale/pg-aiguide | Skill | 1.9k | today | Apache-2.0 | A | 298 | Cursor |
| design-postgis-tablestimescale/pg-aiguide | Skill | 1.9k | today | Apache-2.0 | A | 31 | Cursor |