
Grepai Troubleshooting
- 582 installs
- 18 repo stars
- Updated February 1, 2026
- yoanbernabeu/grepai-skills
grepai-troubleshooting is a Claude Code skill that diagnoses GrepAI index, embedding, and search failures for developers running local semantic code search with Ollama or custom configs.
About
grepai-troubleshooting is a diagnostic skill for GrepAI when semantic code search misbehaves on a developer machine. The guide supplies copy-paste commands such as grepai version, grepai status, curl against Ollama at localhost:11434/api/tags, and cat .grepai/config.yaml to inspect setup before deeper fixes. grepai-troubleshooting covers index-not-updating errors, poor search relevance, and connection or configuration failures common in local embedding pipelines. Developers reach for grepai-troubleshooting after GrepAI stops returning useful hits, embeddings fail to refresh, or Ollama connectivity breaks during agent-assisted codebase exploration. The skill structures quick diagnostics first, then walks through common issue sections with targeted remediation steps.
- Quick diagnostic block: grepai version, status, Ollama curl check, and .grepai/config.yaml review
- Documented fixes for “Index not found” via init and grepai watch
- Embedding provider troubleshooting for Ollama endpoint, firewall, and curl /api/tags
- “Model not found” remediation path for missing embed models
- Structured issue sections with symptom, cause, and solution per failure mode
Grepai Troubleshooting by the numbers
- 582 all-time installs (skills.sh)
- +6 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #71 of 596 Debugging skills by installs in the Skillselion catalog
- Security screen: HIGH risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-troubleshootingAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 582 |
|---|---|
| repo stars | ★ 18 |
| Security audit | 2 / 3 scanners passed |
| Last updated | February 1, 2026 |
| Repository | yoanbernabeu/grepai-skills ↗ |
Why is GrepAI semantic search returning poor results?
Diagnose GrepAI index, embedding, and search failures with copy-paste commands and fixes when semantic code search misbehaves locally.
Who is it for?
Developers running GrepAI locally who see stale indexes, weak search results, or Ollama connection errors.
Skip if: Teams not using GrepAI who only need ripgrep or IDE text search without embeddings.
When should I use this skill?
User reports GrepAI not working, poor semantic search, index not updating, or .grepai config errors.
What you get
Verified GrepAI config, rebuilt indexes, restored Ollama connectivity, and working local semantic code search.
- diagnostic command log
- fixed config.yaml
- rebuilt search index
By the numbers
- Documents 4 quick diagnostic shell commands in the setup checklist
Files
GrepAI Troubleshooting
This skill provides solutions for common GrepAI issues and diagnostic procedures.
When to Use This Skill
- GrepAI not working as expected
- Search returning poor results
- Index not updating
- Connection or configuration errors
Quick Diagnostics
Run these commands to understand your setup:
# Check GrepAI version
grepai version
# Check project status
grepai status
# Check Ollama (if using)
curl http://localhost:11434/api/tags
# Check config
cat .grepai/config.yamlCommon Issues
---
Issue: "Index not found"
Symptom:
Error: Index not found. Run 'grepai watch' first.Cause: No index has been created for this project.
Solution:
# Initialize if needed
grepai init
# Create the index
grepai watch---
Issue: "Cannot connect to embedding provider"
Symptom:
Error: Cannot connect to Ollama at http://localhost:11434Causes: 1. Ollama not running 2. Wrong endpoint configured 3. Firewall blocking connection
Solutions:
1. Start Ollama:
ollama serve2. Check endpoint in config:
embedder:
endpoint: http://localhost:11434 # Verify this3. Test connection:
curl http://localhost:11434/api/tags---
Issue: "Model not found"
Symptom:
Error: Model 'nomic-embed-text' not foundCause: The embedding model hasn't been downloaded.
Solution:
# Download the model
ollama pull nomic-embed-text
# Verify
ollama list---
Issue: Search returns no results
Symptom: Searches return empty or very few results.
Causes: 1. Index is empty 2. Files are being ignored 3. Query too specific
Solutions:
1. Check index status:
grepai status
# Should show files > 0 and chunks > 02. Verify files are being indexed:
# Check ignore patterns in config
cat .grepai/config.yaml | grep -A 20 "ignore:"3. Try broader query:
grepai search "function" # Very broad test---
Issue: Search returns irrelevant results
Symptom: Results don't match what you're looking for.
Causes: 1. Query too vague 2. Boosting not configured 3. Wrong content indexed
Solutions:
1. Improve query (see grepai-search-tips skill):
# Bad
grepai search "auth"
# Good
grepai search "user authentication middleware"2. Configure boosting to penalize tests:
search:
boost:
enabled: true
penalties:
- pattern: /tests/
factor: 0.53. Check what's indexed:
grepai status---
Issue: Index is outdated
Symptom: Recent file changes aren't appearing in search results.
Causes: 1. Watch daemon not running 2. Debounce delay 3. File not in indexed extensions
Solutions:
1. Check daemon status:
grepai watch --status2. Restart daemon:
grepai watch --stop
grepai watch --background3. Force re-index:
rm .grepai/index.gob
grepai watch---
Issue: "Config not found"
Symptom:
Error: Config file not found at .grepai/config.yamlCause: GrepAI not initialized in this directory.
Solution:
grepai init---
Issue: Slow indexing
Symptom: Initial indexing takes very long.
Causes: 1. Large codebase 2. Slow embedding provider 3. Not enough ignore patterns
Solutions:
1. Add ignore patterns:
ignore:
- node_modules
- vendor
- dist
- build
- "*.min.js"2. Use faster model:
embedder:
model: nomic-embed-text # Smaller, faster3. Use OpenAI for speed (if privacy allows):
embedder:
provider: openai
model: text-embedding-3-small
parallelism: 8---
Issue: Slow searches
Symptom: Search queries take several seconds.
Causes: 1. Very large index 2. GOB storage on large codebase 3. Embedding provider slow
Solutions:
1. Check index size:
ls -lh .grepai/index.gob2. For large indices, use Qdrant:
store:
backend: qdrant3. Limit results:
grepai search "query" --limit 5---
Issue: Trace not finding symbols
Symptom: grepai trace callers returns no results.
Causes: 1. Function name spelled wrong 2. Language not enabled for trace 3. Symbols index out of date
Solutions:
1. Check exact function name (case-sensitive)
2. Enable language in config:
trace:
enabled_languages:
- .go
- .js
- .ts3. Re-build symbol index:
rm .grepai/symbols.gob
grepai watch---
Issue: MCP not working
Symptom: AI assistant can't use GrepAI tools.
Causes: 1. MCP config incorrect 2. GrepAI not in PATH 3. Working directory wrong
Solutions:
1. Test MCP server manually:
grepai mcp-serve2. Check GrepAI is in PATH:
which grepai3. Verify MCP config:
# Claude Code
cat ~/.claude/mcp.json
# Cursor
cat .cursor/mcp.json---
Issue: Out of memory
Symptom: GrepAI crashes or system becomes slow.
Causes: 1. Large embedding model 2. Very large index in GOB format 3. Too many parallel requests
Solutions:
1. Use smaller model:
embedder:
model: nomic-embed-text # Smaller2. Use PostgreSQL or Qdrant instead of GOB
3. Reduce parallelism:
embedder:
parallelism: 2---
Issue: API key errors (OpenAI)
Symptom:
Error: 401 Unauthorized - Invalid API keySolutions:
1. Check environment variable:
echo $OPENAI_API_KEY2. Ensure variable is exported:
export OPENAI_API_KEY="sk-..."3. Check key format in config:
embedder:
api_key: ${OPENAI_API_KEY} # Uses env var---
Diagnostic Commands
Full System Check
#!/bin/bash
echo "=== GrepAI Diagnostics ==="
echo -e "\n1. Version:"
grepai version
echo -e "\n2. Status:"
grepai status
echo -e "\n3. Config:"
cat .grepai/config.yaml 2>/dev/null || echo "No config found"
echo -e "\n4. Index files:"
ls -la .grepai/ 2>/dev/null || echo "No .grepai directory"
echo -e "\n5. Ollama (if using):"
curl -s http://localhost:11434/api/tags | head -5 || echo "Ollama not responding"
echo -e "\n6. Daemon:"
grepai watch --status 2>/dev/null || echo "Daemon not running"Reset Everything
If all else fails, complete reset:
# Remove all GrepAI data
rm -rf .grepai
# Re-initialize
grepai init
# Start fresh index
grepai watchGetting Help
If issues persist:
1. Check GrepAI documentation: https://yoanbernabeu.github.io/grepai/ 2. Search issues: https://github.com/yoanbernabeu/grepai/issues 3. Create new issue with:
- GrepAI version (
grepai version) - OS and architecture
- Config file (remove secrets)
- Error message
- Steps to reproduce
Output Format
Diagnostic summary:
🔍 GrepAI Diagnostics
Version: 0.24.0
Project: /path/to/project
✅ Config: Found (.grepai/config.yaml)
✅ Index: 245 files, 1,234 chunks
✅ Embedder: Ollama (connected)
✅ Daemon: Running (PID 12345)
❌ Issue: [Description if any]
Recommended actions:
1. [Action item]
2. [Action item]Related skills
How it compares
Pick grepai-troubleshooting for GrepAI-specific index and embedding failures rather than generic ripgrep or IDE search debugging.
FAQ
What commands start GrepAI troubleshooting?
grepai-troubleshooting starts with grepai version, grepai status, curl http://localhost:11434/api/tags for Ollama, and cat .grepai/config.yaml to inspect the local GrepAI configuration.
Which GrepAI failures does this skill address?
grepai-troubleshooting addresses index-not-updating errors, poor search results, and connection or configuration failures when local GrepAI semantic code search stops behaving as expected.
Is Grepai Troubleshooting safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.