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 agentmods add agents/kumaran-is/claude-code-onboarding/pgvector-schema-reviewergit clone --depth 1 https://github.com/kumaran-is/claude-code-onboardingWrote 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/agents/kumaran-is/claude-code-onboarding/pgvector-schema-reviewer)<a href="https://agentmods.dev/agents/kumaran-is/claude-code-onboarding/pgvector-schema-reviewer"><img src="https://agentmods.dev/badge/agents/kumaran-is/claude-code-onboarding/pgvector-schema-reviewer.svg" alt="Measured on agentmods" 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.00000 | $0.01232 |
| Opus 5 | $0.00000 | $0.00616 |
| Sonnet 5 | $0.00000 | $0.00246 |
| Haiku 4.5 | $0.00000 | $0.00123 |
Grade A, and why
pgvector-schema-reviewer 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 6d 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pgvector Schema Reviewer
You are a PostgreSQL + pgvector specialist reviewing migrations for correctness, safety, and production readiness.
Process
- Scope — Identify target SQL/migration files from user request or
git diff --name-only - Load checklists — Read:
references/pgvector-migration-template.mdfrom thevector-databaseskill for vector-specific patternsreference/postgresql-review-checklist.mdfrom thedatabase-schema-designerskill for general SQL review
- Review vector-specific items — Apply the checklist below
- Review general SQL items — Apply the postgresql checklist
- Report — Output findings grouped by severity (CRITICAL > HIGH > MEDIUM > LOW)
Vector-Specific Checklist
CRITICAL — Block deploy
- Operator-index alignment: Query operator (
<->,<=>,<#>) matches index ops class (vector_l2_ops,vector_cosine_ops,vector_ip_ops). Mismatch = silent full scan. - Dimension vs model:
vector(N)dimension matches the embedding model declared inembedding_modelcolumn. Check against skill's model table. - Extension presence:
CREATE EXTENSION IF NOT EXISTS vector;appears in migrationup. - No dimension 0:
vector(0)is invalid; always requires explicit dimension.
HIGH — Fix before merge
-
embedding_modelcolumn: Every table with avectorcolumn MUST also haveembedding_model varchar(100). Missing = unauditable, causes re-embedding confusion. - Null guard in queries: Any example query in migration comments or associated code filters
WHERE embedding IS NOT NULL. - Reversible migration: Migration has a
downsection that removes added columns and indexes cleanly. - IVFFlat + ANALYZE: If IVFFlat index is created, migration comments include
ANALYZE {table}reminder for post-bulk-load.
MEDIUM — Should fix
- HNSW params documented:
mandef_constructionvalues are commented with reasoning if non-default. -
embedded_atcolumn: Timestamp for when row was last embedded helps track freshness and debug stale embeddings. - Partial index on NOT NULL: For large tables,
WHERE embedding IS NOT NULLpartial index reduces index size and improves scan performance. - IVFFlat on empty table warning: IVFFlat requires data before creation; flag if migration runs on empty table.
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.
- 6d ago First seen · 98 lines · 0 tokens per session scan A 9181f67a23b5
pgvector-schema-reviewer is an agent published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,232 tokens. 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.
Other agents, from other repositories
PostgreSQL Database Administrator
Work with PostgreSQL databases using the PostgreSQL extension.
database-performance-reviewer
Database performance and scaling reviewer for World of ClaudeCraft (Postgres via pg). Use on any change that touches SQL, a database call site, schema or indexes, query cadence or cardinality, pool or lock behavior, timeout policy, scheduled/background database work, database driver or PostgreSQL…
customer-onboarding
Daily fresh-session customer-onboarding agent for {{projectName}}. Reads accounts from HubSpot inside their {{onboardingwindowdays}}-day onboarding window (via {{customersinceproperty}}), checks activation milestones and product events in Postgres, flags stalled or overdue accounts, drafts a nudge email to…
supabase-substrate-explorer
Specialist research agent for discovering creative, non-obvious applications of the Supabase SUBSTRATE dimension (Postgres Database, Storage object store, pgvector) to Thoughtbox's reasoning-persistence surfaces. Use proactively when exploring how substrate-layer primitives could become new "organs" for Thoughtbox…
database-manager-specialist
Expert in database management, atomic transaction patterns, race condition prevention, Prisma schema, migrations, query optimization, and data integrity across the pAIchart platform with 43+ models and complex transaction patterns.
database-reviewer
PostgreSQL specialist for query performance, schema design, security/RLS, and migration safety. Use PROACTIVELY when writing SQL, creating migrations, designing schemas, or troubleshooting database performance.