
Grepai Search Tips
Practical guidance for writing semantic search queries that find code by intent rather than exact names.
- skills.sh installs
- 813
- GitHub stars
- 20
- last updated
- Aug 21, 2026
What it does
- Covers query writing principles, query patterns for behavior, purpose, errors, data, config, and security, and iterative refinement
- Includes before-and-after rewrites that turn exact identifiers like
getUserByIdinto intent phrases like "fetch user record from database using ID" - Explains how to read similarity scores (0.85+ strong, below 0.60 weak) and what to try when results are missing, such as
grepai status - Designed for developers who know what code does but not what it is called
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-search-tips -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- Category
- Agent Workflow & Planning
- First seen
- May 16, 2026
More from yoanbernabeu/grepai-skills
All 27- Grepai Ollama Setup811
- Grepai Trace Callees796
- Grepai Search Boosting784
- Grepai Embeddings Ollama777
- Grepai Mcp Tools750
- Grepai Languages738
- Grepai Chunking735
- Grepai Init730
- Grepai Watch Daemon729
- Grepai Config Reference723
- Grepai Troubleshooting723
- Grepai Workspaces717
- Grepai Ignore Patterns709
- Grepai Storage Gob698
- Grepai Mcp Claude618
- Grepai Mcp Cursor601
- Grepai Quickstart600
- Grepai Installation598
- Grepai Storage Qdrant570
- Grepai Embeddings Lmstudio568
- Grepai Embeddings Openai560
- Grepai Storage Postgres560
- Grepai Search Basics942
- Grepai Search Advanced861
Similar to Grepai Search Tips
More Agent Workflow & Planning
grepai-search-basicsSkillyoanbernabeu/grepai-skills942 installsBeginner's guide to GrepAI semantic code search, matching by meaning rather than exact text.
grepai-mcp-toolsSkillyoanbernabeu/grepai-skills750 installsReference for the five GrepAI MCP tools, with parameters, compact output, and error codes documented.
Pg AiguideMCP servertimescale1.9K starsSemantic and keyword search over PostgreSQL, TimescaleDB, and PostGIS manuals, plus curated best-practice skills.
code-simplifierSkillpproenca/dot-skills1.6K installsConcise guide that simplifies recently modified code while preserving exact behavior across 47 rules.
context-enginePluginContext-Engine-AI/Context-Engine402 starsCodebase search and context retrieval using hybrid semantic/lexical search with neural reranking
naming-analyzerSkillsoftaworks/agent-toolkit4K installsAnalyzes variable, function, and class names against language conventions to suggest clearer alternatives with rationale.