
Grepai Storage Gob
- 558 installs
- 18 repo stars
- Updated February 1, 2026
- yoanbernabeu/grepai-skills
grepai-storage-gob is a GrepAI configuration skill that enables Go Binary (GOB) local file storage for vector embeddings, file metadata, and chunk data without external vector databases.
About
grepai-storage-gob is a configuration skill in yoanbernabeu/grepai-skills for enabling GrepAI's default GOB (Go Binary) file backend. GOB stores vector embeddings, file metadata, and chunk information in a single local file on disk, giving developers fast local semantic code search without PostgreSQL, Pinecone, or other external vector databases. The skill targets single-machine setups for small to medium codebases in local development environments where minimal dependencies matter. Developers reach for grepai-storage-gob when onboarding GrepAI on one workstation and want the simplest storage path before graduating to distributed backends.
- Default GrepAI backend: single local .grepai/index.gob file for embeddings and metadata
- Minimal config with store.backend: gob in .grepai/config.yaml
- No external services—portable backup and zero infra cost for small codebases
- Documents tradeoffs: single-user, RAM-loaded search, not for very large monorepos
- Contrasts with heavier backends when you only need one-machine setups
Grepai Storage Gob by the numbers
- 558 all-time installs (skills.sh)
- +4 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #1,652 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-storage-gobAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 558 |
|---|---|
| repo stars | ★ 18 |
| Security audit | 3 / 3 scanners passed |
| Last updated | February 1, 2026 |
| Repository | yoanbernabeu/grepai-skills ↗ |
How do you set up GrepAI local semantic search without a vector DB?
Turn on GrepAI’s default GOB file backend for fast local semantic code search without external vector databases.
Who is it for?
Developers setting up GrepAI on a single machine who want local semantic code search without external database dependencies.
Skip if: Teams needing multi-node GrepAI deployments, shared remote indexes, or production-scale distributed vector storage.
When should I use this skill?
GrepAI needs its default GOB file backend configured for a simple single-machine semantic code search setup.
What you get
A configured GrepAI GOB storage backend with embeddings, metadata, and chunks in one local file.
- configured GOB storage backend
- local semantic search index file
By the numbers
- Stores vector embeddings, file metadata, and chunk information in a single local GOB file
Files
GrepAI Storage with GOB
This skill covers using GOB (Go Binary) as the storage backend for GrepAI, the default and simplest option.
When to Use This Skill
- Single developer projects
- Small to medium codebases
- Simple setup without external dependencies
- Local development environments
What is GOB Storage?
GOB is Go's native binary serialization format. GrepAI uses it to store:
- Vector embeddings
- File metadata
- Chunk information
Everything is stored in a single local file.
Advantages
| Benefit | Description |
|---|---|
| 🚀 Simple | No external services needed |
| ⚡ Fast setup | Works immediately |
| 📁 Portable | Single file, easy to backup |
| 💰 Free | No infrastructure costs |
| 🔒 Private | Data stays local |
Limitations
| Limitation | Description |
|---|---|
| 📏 Scalability | Not ideal for very large codebases |
| 👤 Single user | No concurrent access |
| 🔄 No sharing | Can't share index across machines |
| 💾 Memory | Loads into RAM for searches |
Configuration
Default Configuration
GOB is the default backend. Minimal config:
# .grepai/config.yaml
store:
backend: gobExplicit Configuration
store:
backend: gob
# Index stored in .grepai/index.gob (automatic)Storage Location
GOB storage creates files in your project's .grepai/ directory:
.grepai/
├── config.yaml # Configuration
├── index.gob # Vector embeddings
└── symbols.gob # Symbol index for traceFile Sizes
Approximate .grepai/index.gob sizes:
| Codebase | Files | Chunks | Index Size |
|---|---|---|---|
| Small | 100 | 500 | ~5 MB |
| Medium | 1,000 | 5,000 | ~50 MB |
| Large | 10,000 | 50,000 | ~500 MB |
Operations
Creating the Index
# Initialize project
grepai init
# Start indexing (creates index.gob)
grepai watchChecking Index Status
grepai status
# Output:
# Index: .grepai/index.gob
# Files: 245
# Chunks: 1,234
# Size: 12.5 MB
# Last updated: 2025-01-28 10:30:00Backing Up the Index
# Simple file copy
cp .grepai/index.gob .grepai/index.gob.backupClearing the Index
# Delete and re-index
rm .grepai/index.gob
grepai watchMoving to a New Machine
# Copy entire .grepai directory
cp -r .grepai /path/to/new/location/
# Note: Only works if using same embedding modelPerformance Considerations
Memory Usage
GOB loads the entire index into RAM for searches:
| Index Size | RAM Usage |
|---|---|
| 10 MB | ~20 MB |
| 50 MB | ~100 MB |
| 500 MB | ~1 GB |
Search Speed
GOB provides fast searches for typical codebases:
| Codebase Size | Search Time |
|---|---|
| Small (100 files) | <50ms |
| Medium (1K files) | <200ms |
| Large (10K files) | <1s |
When to Upgrade
Consider PostgreSQL or Qdrant when:
- Index exceeds 1 GB
- Need concurrent access
- Want to share index across team
- Codebase has 50K+ files
.gitignore Configuration
Add .grepai/ to your .gitignore:
# GrepAI (machine-specific index)
.grepai/Why: The index is machine-specific because:
- Contains binary embeddings
- Tied to the embedding model used
- Each machine should generate its own
Sharing Index (Not Recommended)
While you can copy the index file, it's not recommended because: 1. Must use identical embedding model 2. File paths are absolute 3. Different machines may have different code versions
Better approach: Each developer runs their own grepai watch.
Migrating to Other Backends
To PostgreSQL
1. Update config:
store:
backend: postgres
postgres:
dsn: postgres://user:pass@localhost:5432/grepai2. Re-index:
rm .grepai/index.gob
grepai watchTo Qdrant
1. Update config:
store:
backend: qdrant
qdrant:
endpoint: localhost
port: 63342. Re-index:
rm .grepai/index.gob
grepai watchCommon Issues
❌ Problem: Index file too large ✅ Solution: Add more ignore patterns or migrate to PostgreSQL/Qdrant
❌ Problem: Slow searches on large codebase ✅ Solution: Migrate to Qdrant for better performance
❌ Problem: Corrupted index ✅ Solution: Delete and re-index:
rm .grepai/index.gob .grepai/symbols.gob
grepai watch❌ Problem: "Index not found" error ✅ Solution: Run grepai watch to create the index
Best Practices
1. Use for small/medium projects: Up to ~10K files 2. Add to .gitignore: Don't commit the index 3. Backup before major changes: Copy index.gob before experiments 4. Re-index after model changes: If you change embedding models 5. Monitor file size: Migrate if index exceeds 1GB
Output Format
GOB storage status:
✅ GOB Storage Configured
Backend: GOB (local file)
Index: .grepai/index.gob
Size: 12.5 MB
Contents:
- Files: 245
- Chunks: 1,234
- Vectors: 1,234 × 768 dimensions
Performance:
- Search latency: <100ms
- Memory usage: ~25 MBRelated skills
How it compares
Pick grepai-storage-gob over distributed GrepAI backends when you want the default single-file local setup with zero external dependencies.
FAQ
What does GrepAI GOB storage persist locally?
GrepAI GOB storage serializes vector embeddings, file metadata, and chunk information into a single local Go Binary file. grepai-storage-gob configures that default backend for single-machine semantic code search.
When should developers use grepai-storage-gob?
grepai-storage-gob fits single-developer projects and small-to-medium codebases in local development. Use it when you want GrepAI semantic search without standing up PostgreSQL, Pinecone, or other external vector databases.
Is Grepai Storage Gob safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.