
Grepai Search Tips
If you're used to grep, you already know the problem: semantic search needs a different mindset. This skill teaches you to write queries that describe what code does rather than what it's called. Instead of searching for "getUserById", you'd search for "fetch user from database by ID". The guide covers query length (3-7 words is the sweet spot), iterative refinement when results are weak, and how to interpret similarity scores. There's a useful comparison table showing text search versus semantic search thinking, plus concrete examples across different domains like e-commerce and finance. Honestly, this is the documentation GrepAI should have shipped with. If your semantic searches keep missing obvious code, spend ten minutes here first.
- skills.sh installs
- 807
- GitHub stars
- 20
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-search-tips --agent claude-codeInstalls into .claude/skills of the current project.
Files
GrepAI Search Tips
This skill provides tips and best practices for writing effective semantic search queries.
When to Use This Skill
- Improving search result quality
- Learning semantic search techniques
- Understanding how to phrase queries
- Troubleshooting poor search results
Semantic Search Mindset
Think differently from text search:
| Text Search (grep) | Semantic Search (GrepAI) |
|---|---|
| Search for exact text | Search for meaning/intent |
| "getUserById" | "retrieve user from database by ID" |
| Literal match | Conceptual match |
Query Writing Principles
1. Describe Intent, Not Implementation
❌ Bad: getUserById
✅ Good: fetch user record from database using ID
❌ Bad: handleError
✅ Good: error handling and response to client
❌ Bad: validateInput
✅ Good: check if user input is valid and safe
2. Use Descriptive Language
❌ Bad: auth
✅ Good: user authentication and authorization
❌ Bad: db
✅ Good: database connection and queries
❌ Bad: config
✅ Good: application configuration loading
3. Be Specific About Context
Sponsors
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- Category
- Code Review & Quality
- First seen
- May 16, 2026
More from yoanbernabeu/grepai-skills
All 27- Grepai Trace Callees790
- Grepai Search Boosting778
- Grepai Embeddings Ollama770
- Grepai Mcp Tools744
- Grepai Languages732
- Grepai Chunking729
- Grepai Init724
- Grepai Watch Daemon723
- Grepai Config Reference717
- Grepai Troubleshooting717
- Grepai Workspaces711
- Grepai Ignore Patterns703
- Grepai Storage Gob692
- Grepai Mcp Claude618
- Grepai Mcp Cursor601
- Grepai Quickstart600
- Grepai Installation598
- Grepai Storage Qdrant570
- Grepai Embeddings Lmstudio568
- Grepai Embeddings Openai560
- Grepai Storage Postgres560
- Grepai Search Basics936
- Grepai Search Advanced855
- Grepai Trace Graph831