
Grepai Ignore Patterns
This handles ignore pattern configuration for GrepAI, the code indexing tool. You'll use it when your search results are cluttered with node_modules, build artifacts, or generated code you don't want indexed. The patterns work like gitignore (which is also automatically respected) and go in .grepai/config.yaml. Supports exact matches, wildcards, and glob patterns for directories, files, and paths. The examples are comprehensive, covering JavaScript through Rust projects, with special sections on excluding tests versus penalizing them with boost factors. One nice touch is the verification section showing how to check if your index is bloated. Straightforward configuration that makes search actually usable on large codebases.
- skills.sh installs
- 703
- GitHub stars
- 20
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-ignore-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
GrepAI Ignore Patterns
This skill covers how to configure ignore patterns to exclude files and directories from GrepAI indexing.
When to Use This Skill
- Excluding test files from search results
- Ignoring generated or vendored code
- Reducing index size by excluding unnecessary files
- Customizing which files GrepAI indexes
How Ignore Patterns Work
GrepAI uses two sources for ignore patterns:
.grepai/config.yaml- Custom patterns you define.gitignore- Automatically respected
Configuration Location
# .grepai/config.yaml
ignore:
- pattern1
- pattern2
Pattern Syntax
Directory Patterns
ignore:
# Exact directory name (matches anywhere)
- node_modules
- vendor
- __pycache__
# With trailing slash (explicit directory)
- dist/
- build/
- coverage/
File Patterns
ignore:
# Exact filename
- package-lock.json
- yarn.lock
# Wildcard patterns
- "*.min.js"
- "*.min.css"
- "*.map"
- "*.lock"
Path Patterns
ignore:
# Paths containing substring
- /tests/
- /spec/
- /__tests__/
# Specific paths
- src/generated/
- api/swagger/
Sponsors
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- First seen
- Jun 3, 2026
More from yoanbernabeu/grepai-skills
All 27- 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
- Grepai Trace Callers812
- Grepai Ollama Setup808
- Grepai Search Tips807
- Grepai Trace Callees790
- Grepai Search Boosting778
- Grepai Embeddings Ollama770
- Grepai Mcp Tools744
- Grepai Languages732
- Grepai Chunking729
- Grepai Init724
- Grepai Watch Daemon723
- Grepai Config Reference717