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 Nevaberry/nevaberry-plugins --skill pgvector-knowledge-patchgit clone --depth 1 https://github.com/Nevaberry/nevaberry-pluginsWrote 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/nevaberry/nevaberry-plugins/pgvector-knowledge-patch)<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/pgvector-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/pgvector-knowledge-patch/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/nevaberry/nevaberry-plugins/pgvector-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/pgvector-knowledge-patch.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.00009 | $0.01617 |
| Opus 5.5 | $0.00004 | $0.00647 |
| Sonnet 5.5 | $0.00002 | $0.00323 |
| Haiku 4.5 | $0.00001 | $0.00162 |
Grade A, and why
pgvector-knowledge-patch 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 today.
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 — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pgvector Knowledge Patch
Use this skill when upgrading pgvector, building vector indexes, planning filtered nearest-neighbor queries, working with vector values, or deploying the extension.
Reference index
| Reference | Topics |
|---|---|
| Compatibility and Deployment | PostgreSQL and Aurora compatibility, hosted extension versions, container tags, packages, portable builds, Windows linking |
| Indexing and Storage | IVFFlat upgrade requirements, build resources, vector storage, sparse casts, comparisons, norms, averages |
| Iterative Scans and Filtered Search | Iterative scan limits, planner changes, relaxed result ordering, tenant partitions, distance cutoffs |
Upgrade requirements and changed behavior
PostgreSQL compatibility
pgvector 0.8.0 drops PostgreSQL 12 support. Upgrade the PostgreSQL server before installing this extension release on a PostgreSQL 12 deployment.
For pgvector 0.8.0, the minimum Aurora PostgreSQL engine versions are 13.20, 14.17, 15.12, 16.8, and 17.4 in their respective major series. pgvector added support for PostgreSQL 18 RC1 in 0.8.1.
IVFFlat upgrade and build requirements
When upgrading from 0.2.7 or 0.3.0 to 0.3.1 or later, recreate every existing IVFFlat index after the upgrade to ensure all rows are indexed.
Upgrade to pgvector 0.8.6 or later before building IVFFlat indexes on 32-bit systems. This release fixes a buffer overflow during index creation.
Sparse array casts and empty averages
Starting in 0.8.6, casting an array to sparsevec rejects inputs that exceed
the type's limit on nonzero elements. An array that cast successfully on an
older release can now raise an error.
Starting in pgvector 0.8.7, an ungrouped avg(embedding) query returns SQL
NULL when its filter matches no rows.
Filtered nearest-neighbor queries
Check the plan when result counts change
The revised index costing in 0.8.0 can change which plan serves a filtered
nearest-neighbor query even when hnsw.iterative_scan is off.
If a query returns more rows after upgrading, use EXPLAIN to check whether
the planner switched from an HNSW index scan to an exact scan followed by a sort.
What ships with it
4 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.
- today First seen · 174 lines · 9 tokens per session scan A 16b56551acde
pgvector-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 9 tokens to every session and 1,617 once invoked, about $0.0000 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-12-02.
pgvector-knowledge-patch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pgvector-knowledge-patchNevaberry/nevaberry-plugins | Skill | 25 | yesterday | MIT | A | 9 | Claude Code |
| pgvector-semantic-searchtimescale/pg-aiguide | Skill | 1.9k | 3d ago | Apache-2.0 | A | 190 | Cursor |
| postgres-hybrid-text-searchtimescale/pg-aiguide | Skill | 1.9k | 3d ago | Apache-2.0 | A | 162 | Cursor |
| cloudflare-vectorizesecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 37 | Claude Code |
| vector-db-rag-expertroedyrustam/vibes-plug | Skill | 131 | 5d ago | MIT | A | 47 | Cursor |
| postgres-semantic-searchlaguagu/claude-code-nextjs-skills | Skill | 75 | 5d ago | MIT | A | 90 | Claude Code |
| managing-databasesrileyhilliard/claude-essentials | Skill | 133 | today | MIT | A | 61 | Claude Code |