Skip to content
yoanbernabeu avatar

Grepai Storage Postgres

Configure PostgreSQL with pgvector as a shared, persistent storage backend for GrepAI indexes.

CCM score
56 of 100
skills.sh installs
565
GitHub stars
20
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers setup for pgvector through Docker, an existing PostgreSQL install, or managed services such as Supabase, Neon, and RDS
  • Includes DSN configuration with sslmode options, plus keeping the password out of config.yaml via PGPASSWORD
  • Documents the auto-created embeddings table and its IVFFlat index, with lists tuning guidance based on row count
  • Designed for team environments with a shared index, large codebases, and concurrent grepai search access

Install

$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-storage-postgres -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GrepAI Storage with PostgreSQL

This skill covers using PostgreSQL with the pgvector extension as the storage backend for GrepAI.

When to Use This Skill

  • Team environments with shared index
  • Large codebases (10K+ files)
  • Need concurrent access
  • Integration with existing PostgreSQL infrastructure

Prerequisites

  1. PostgreSQL 14+ with pgvector extension
  2. Database user with create table permissions
  3. Network access to PostgreSQL server

Advantages

BenefitDescription
πŸ‘₯ Team sharingMultiple users can access same index
πŸ“ ScalableHandles large codebases
πŸ”„ ConcurrentMultiple simultaneous searches
πŸ’Ύ PersistentData survives machine restarts
πŸ”§ FamiliarStandard database tooling

Setting Up PostgreSQL with pgvector

Option 1: Docker (Recommended for Development)

# Run PostgreSQL with pgvector
docker run -d \
  --name grepai-postgres \
  -e POSTGRES_USER=grepai \
  -e POSTGRES_PASSWORD=grepai \
  -e POSTGRES_DB=grepai \
  -p 5432:5432 \
  pgvector/pgvector:pg16

Option 2: Install on Existing PostgreSQL

Details

Repository
github.com/yoanbernabeu/grepai-skills
Categories
Databases, Memory & Context
First seen
Jun 3, 2026

More from yoanbernabeu/grepai-skills

All 27

Similar to Grepai Storage Postgres

More Databases