yoanbernabeu avatar

Grepai Storage Postgres

Switches GrepAI from local GOB files to PostgreSQL with pgvector for vector storage. You want this when multiple people need to share the same codebase index or you're dealing with 10K+ files. Setup is straightforward with Docker for dev or managed services like Supabase for production. The main win is concurrent access without file locking issues, plus you get standard database tooling for backups and monitoring. Includes solid tuning guidance for IVFFlat indexes and SSL configuration. Migration from GOB is destructive (delete and reindex), so plan accordingly.

skills.sh installs
560
GitHub stars
20
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from yoanbernabeu/grepai-skills

All 27
1aj-geddes avataroauth-implementationaj-geddes/useful-ai-promptsImplement secure OAuth 2.0, OpenID Connect (OIDC), JWT authentication, and SSO integration. Use when building secure authentication systems for web and mobile a558skills.sh installs
2libukai avatarvscode-sftp-configlibukai/awesome-agent-skillsThis skill should be used when setting up SFTP deployment for static websites to production servers, including converting projects from Docker/Express to static557skills.sh installs
3auth0 avatarauth0-fastifyauth0/agent-skillsUse when adding session-based login, logout, or protected routes to a Fastify web application. Integrates @auth0/auth0-fastify β€” use even if the user says "add 555skills.sh installs
4andreadellacorte avatargroove-utilities-task-doctorandreadellacorte/grooveCheck task backend health and connectivity.551skills.sh installs
5aj-geddes avatarreal-time-featuresaj-geddes/useful-ai-promptsImplement real-time functionality using WebSockets, Server-Sent Events (SSE), or long polling. Use when building chat applications, live dashboards, collaborati548skills.sh installs
6inertia-rails avatarinertia-rails-architectureinertia-rails/skillsServer-driven architecture patterns for Inertia Rails + React. Load this FIRST when building any Inertia page or feature β€” it routes to the right skill. Decisio545skills.sh installs