This skill provides solutions for common GrepAI issues and diagnostic procedures.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiongrepai-troubleshootingExecute the skills CLI command in your project's root directory to begin installation:
Fetches grepai-troubleshooting from yoanbernabeu/grepai-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate grepai-troubleshooting. Access via /grepai-troubleshooting in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
16
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
16
stars
This skill provides solutions for common GrepAI issues and diagnostic procedures.
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
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
Symptom:
Error: Cannot connect to Ollama at http://localhost:11434
Causes:
Solutions:
ollama serve
embedder:
endpoint: http://localhost:11434 # Verify this
curl http://localhost:11434/api/tags
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
Symptom: Searches return empty or very few results.
Causes:
Solutions:
grepai status
# Should show files > 0 and chunks > 0
# Check ignore patterns in config
cat .grepai/config.yaml | grep -A 20 "ignore:"
grepai search "function" # Very broad test
Symptom: Results don't match what you're looking for.
Causes:
Solutions:
grepai-search-tips skill):# Bad
grepai search "auth"
# Good
grepai search "user authentication middleware"
search:
boost:
enabled: true
penalties:
- pattern: /tests/
factor: 0.5
grepai status
Symptom: Recent file changes aren't appearing in search results.
Causes:
Solutions:
grepai watch --status
grepai watch --stop
grepai watch --background
rm .grepai/index.gob
grepai watch
Symptom:
Error: Config file not found at .grepai/config.yaml
Cause: GrepAI not initialized in this directory.
Solution:
grepai init
Symptom: Initial indexing takes very long.
Causes:
Solutions:
ignore:
- node_modules
- vendor
- dist
- build
- "*.min.js"
embedder:
model: nomic-embed-text # Smaller, faster
embedder:
provider: openai
model: text-embedding-3-small
parallelism: 8
Symptom: Search queries take several seconds.
Causes:
Solutions:
ls -lh .grepai/index.gob
store:
backend: qdrant
grepai search "query" --limit 5
Symptom: grepai trace callers returns no results.
Causes:
Solutions:
Check exact function name (case-sensitive)
Enable language in config:
trace:
enabled_languages:
- .go
- .js
- .ts
rm .grepai/symbols.gob
grepai watch
Symptom: AI assistant can't use GrepAI tools.
Causes:
Solutions:
grepai mcp-serve
which grepai
# Claude Code
cat ~/.claude/mcp.json
# Cursor
cat .cursor/mcp.json
Symptom: GrepAI crashes or system becomes slow.
Causes:
Solutions:
embedder:
model: nomic-embed-text # Smaller
Use PostgreSQL or Qdrant instead of GOB
Reduce parallelism:
embedder:
parallelism: 2
Symptom:
Error: 401 Unauthorized - Invalid API key
Solutions:
echo $OPENAI_API_KEY
export OPENAI_API_KEY="sk-..."
embedder:
api_key: ${OPENAI_API_KEY} # Uses env var
#!/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"
If all else fails, complete reset:
# Remove all GrepAI data
rm -rf .grepai
# Re-initialize
grepai init
# Start fresh index
grepai watch
If issues persist:
grepai version)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]
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
davila7/claude-code-templates
intellectronica/agent-skills
am-will/codex-skills
sickn33/antigravity-awesome-skills
myzy-ai/dokie-ai-ppt
sickn33/antigravity-awesome-skills
I recommend grepai-troubleshooting for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in grepai-troubleshooting — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
grepai-troubleshooting fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Keeps context tight: grepai-troubleshooting is the kind of skill you can hand to a new teammate without a long onboarding doc.
grepai-troubleshooting is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
We added grepai-troubleshooting from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
grepai-troubleshooting reduced setup friction for our internal harness; good balance of opinion and flexibility.
Useful defaults in grepai-troubleshooting — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend grepai-troubleshooting for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Solid pick for teams standardizing on skills: grepai-troubleshooting is focused, and the summary matches what you get after install.
showing 1-10 of 39