crestapps-core-postgresql

crestapps-core-postgresql is a skill for Claude Code from CrestApps/CrestApps.AgentSkills. It costs 129 tokens per session (1,139 once invoked), scanned A, original, MIT.

A configuration skill for using PostgreSQL with pgvector in CrestApps.Core. pgvector is a PostgreSQL extension for storing and searching numerical representations of text or other data, called vectors.

In plain words
What is it for?
Use it to register PostgreSQL indexing services, configure the connection, and enable AI document, data-source, or memory storage.
Why use it?
It provides a defined setup for storing AI documents, data sources, and memories and retrieving related information by vector similarity.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the crestapps-core plugin — 51 skills shipped together

Good fit Use it to register PostgreSQL indexing services, configure the connection, and enable AI document, data-source, or memory storage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/crestapps/crestapps.agentskills/crestapps-core-postgresql
Install

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.

Any agent
npx skills add CrestApps/CrestApps.AgentSkills --skill crestapps-core-postgresql
Clone the repo
git clone --depth 1 https://github.com/CrestApps/CrestApps.AgentSkills

Made for: Claude Code.

Or install crestapps-core, the plugin that ships this one along with the rest of its 51 skills.

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 crestapps-core-postgresql

README.md
[![agentmods](https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-postgresql/github.svg)](https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-postgresql)
Your own site
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-postgresql"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-postgresql/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.

agentmods 80×15 button for crestapps-core-postgresql

Your own site · 80×15
<a href="https://agentmods.dev/skills/crestapps/crestapps.agentskills/crestapps-core-postgresql"><img src="https://agentmods.dev/badge/skills/crestapps/crestapps.agentskills/crestapps-core-postgresql.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,139 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original 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.00129 $0.01139
Opus 5.5 $0.00052 $0.00456
Sonnet 5.5 $0.00026 $0.00228
Haiku 4.5 $0.00013 $0.00114

Measured 1mo ago against content hash d40150e3ed8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crestapps-core-postgresql 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.

plugins/crestapps-core/skills/crestapps-core-postgresql/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CrestApps.Core PostgreSQL

Use PostgreSQL with pgvector as a lightweight, self-hosted knowledge-base backend for AI documents, AI data sources and AI memory. For the data source model see crestapps-core-data-sources.

Registration

builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai.AddOpenAI())
    .AddIndexingServices(indexing => indexing
        .AddYesSqlStores()
        .AddPostgreSQL(
            builder.Configuration.GetSection("CrestApps:PostgreSQL"),
            postgreSQL => postgreSQL
                .AddAIDocuments()
                .AddAIDataSources()
                .AddAIMemory())));
Call Package Adds
AddCorePostgreSQLServices(section) CrestApps.Core.PostgreSQL PostgreSQLConnectionOptions, IPostgreSQLClientFactory (manages NpgsqlDataSource instances), keyed IDataSourceContentManager, IDataSourceDocumentReader, IODataFilterTranslator, ISearchIndexManager, ISearchDocumentManager
AddAIDocuments() / AddCorePostgreSQLAIDocumentSource() CrestApps.Core.AI.PostgreSQL AIDocuments index-profile source, profile handler, keyed IVectorSearchService
AddAIDataSources() / AddCorePostgreSQLAIDataSource() CrestApps.Core.AI.PostgreSQL DataSource index-profile source, keyed PostgreSQLAIDataSourceSourceHandler, and AddCoreAIDataSourceRag()
AddAIMemory() / AddCorePostgreSQLAIMemorySource() CrestApps.Core.AI.PostgreSQL AIMemory index-profile source, profile handler, keyed IMemoryVectorSearchService

Every keyed service uses PostgreSQLConstants.ProviderName ("PostgreSQL"). Unlike Elasticsearch and Azure AI Search there is no translator-only registration; the translator comes with AddCorePostgreSQLServices().

Configuration

{
  "CrestApps": {
    "PostgreSQL": {
      "ConnectionString": "Host=localhost;Port=5432;Database=vectordb;Username=postgres;Password=use-a-secret",
      "IndexPrefix": ""
    }
  }
}

Read the full file on GitHub · 75 lines

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. 1mo ago Changed · +20 lines · +103 tokens per session d40150e3ed8c
  2. 3mo ago First seen · 55 lines · 26 tokens per session scan A 3417bb804768

Subscribe to this mod's changes

crestapps-core-postgresql is a skill published in the GitHub repository CrestApps/CrestApps.AgentSkills (14 stars, last pushed 3d ago), licensed MIT. It adds 129 tokens to every session and 1,139 once invoked, about $0.0005 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.

Related

crestapps-core-postgresql compared with skills from other repositories

crestapps-core-postgresql next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crestapps-core-postgresqlCrestApps/CrestApps.AgentSkillsSkill143d agoMITA129Claude Code
vector-backend-operationsKnuckles-Team/vector-mcpSkill16todayMITA89Claude Code, Codex
pgvector-semantic-searchtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A190Cursor
postgres-hybrid-text-searchtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A162Cursor
vector-db-rag-expertroedyrustam/vibes-plugSkill132todayMITA47Cursor
postgres-semantic-searchlaguagu/claude-code-nextjs-skillsSkill756d agoMITA90Claude Code
managing-databasesrileyhilliard/claude-essentialsSkill1332d agoMITA61Claude Code