grepai-troubleshooting
БесплатноБез исполняемых скриптовНе проверенTroubleshooting guide for GrepAI. Use this skill to diagnose and fix common issues.
от yoanbernabeu★ 20 звёзд на GitHubОб этом скилле
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.yaml
Common 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:11434
Causes:
- Ollama not running
- Wrong endpoint configured
- Firewall blocking connection
Solutions:
- Start Ollama:
ollama serve
- Check endpoint in config:
embedder:
endpoint: http://localhost:11434 # Verify this
- Test connection:
curl http://localhost:11434/api/tags
Issue: "Model not found"
Symptom:
Error: Model 'nomic-embed-text' not found
Cause: 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:
- Index is empty
- Files are being ignored
- Query too specific
Solutions:
- Check index status:
grepai status
# Should show files > 0 and chunks > 0
- Verify files are being indexed:
# Check ignore patterns in config
cat .grepai/config.yaml | grep -A 20 "ignore:"
- 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:
- Query too vague
- Boosting not configured
- Wrong content indexed
Solutions:
- Improve query (see
grepai-search-tipsskill):
# Bad
grepai search "auth"
# Good
grepai search "user authentication middleware"
- Configure boosting to penalize tests:
search:
boost:
enabled: true
penalties:
- pattern: /tests/
factor: 0.5
- Check what's indexed:
grepai status
Issue: Index is outdated
Symptom: Recent file changes aren't appearing in search results.
Causes:
- Watch daemon not running
- Debounce delay
- File not in indexed extensions
Solutions:
- Check daemon status:
grepai watch --status
- Restart daemon:
grepai watch --stop
grepai watch --background
- Force re-index:
rm .grepai/index.gob
grepai watch
Issue: "Config not found"
Symptom:
Error: Config file not found at .grepai/config.yaml
Cause: GrepAI not initialized in this directory.
Solution:
grepai init
Issue: Slow indexing
Symptom: Initial indexing takes very long.
Causes:
- Large codebase
- Slow embedding provider
- Not enough ignore patterns
Solutions:
- Add ignore patterns:
ignore:
- node_modules
- vendor
- dist
- build
- "*.min.js"
- Use faster model:
embedder:
model: nomic-embed-text # Smaller, faster
- 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:
- Very large index
- GOB storage on large codebase
- Embedding provider slow
Solutions:
- Check index size:
ls -lh .grepai/index.gob
- For large indices, use Qdrant:
store:
backend: qdrant
- Limit results:
grepai search "query" --limit 5
Issue: Trace not finding symbols
Symptom: grepai trace callers returns no results.
Causes:
- Function name spelled wrong
- Language not enabled for trace
- Symbols index out of date
Solutions:
Check exact function name (case-sensitive)
Enable language in config:
trace:
enabled_languages:
- .go
- .js
- .ts
- Re-build symbol index:
rm .grepai/symbols.gob
grepai watch
Issue: MCP not working
Symptom: AI assistant can't use GrepAI tools.
Causes:
- MCP config incorrect
- GrepAI not in PATH
- Working directory wrong
Solutions:
- Test MCP server manually:
grepai mcp-serve
- Check GrepAI is in PATH:
which grepai
- Verify MCP config:
# Claude Code
cat ~/.claude/mcp.json
# Cursor
cat .cursor/mcp.json
Issue: Out of memory
Symptom: GrepAI crashes or system
Установить grepai-troubleshooting в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл grepai-troubleshooting?
Troubleshooting guide for GrepAI. Use this skill to diagnose and fix common issues.
Как установить скилл grepai-troubleshooting?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл grepai-troubleshooting запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic