
Grepai Chunking
Tunes how GrepAI splits source files into embedding chunks, covering size and overlap for search accuracy.
- skills.sh installs
- 735
- GitHub stars
- 20
- last updated
- Aug 21, 2026
What it does
- Covers chunk size and overlap settings in
.grepai/config.yaml, with a tradeoff table for each parameter - Includes per-language and per-codebase presets for Java, C#, Go, Python, Rust, Zig, microservices, and monoliths
- Explains token counting, index size impact, and how chunk boundaries snap to empty lines and closing braces
- Designed for developers troubleshooting fragmented or noisy GrepAI search results after indexing a codebase
Install
$ npx -y skills add yoanbernabeu/grepai-skills --skill grepai-chunking -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GrepAI Chunking Configuration
This skill covers how GrepAI splits code files into chunks for embedding, and how to optimize chunking for your codebase.
When to Use This Skill
- Optimizing search accuracy
- Adjusting for code style (verbose vs. concise)
- Troubleshooting search results
- Understanding how indexing works
What is Chunking?
Chunking is the process of splitting source files into smaller segments for embedding:
┌─────────────────────────────────────┐
│ Large Source File │
│ (1000+ tokens) │
└─────────────────────────────────────┘
↓
┌─────────┐ ┌─────────┐ ┌─────────┐
│ Chunk 1 │ │ Chunk 2 │ │ Chunk 3 │
│ ~512 │ │ ~512 │ │ ~512 │
│ tokens │ │ tokens │ │ tokens │
└─────────┘ └─────────┘ └─────────┘
↓
Each chunk gets
its own embedding
Why Chunking Matters
Embedding models have optimal input sizes:
- Too large chunks: Less precise search results
- Too small chunks: Lost context, fragmented results
- Just right: Good balance of precision and context
Configuration
Basic Settings
Details
- Repository
- github.com/yoanbernabeu/grepai-skills
- Categories
- Memory & Context, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
More from yoanbernabeu/grepai-skills
All 27- 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
- Grepai Trace Graph837
- Grepai Trace Callers818
- Grepai Search Tips813
- Grepai Ollama Setup811
- Grepai Trace Callees796
- Grepai Search Boosting784
- Grepai Embeddings Ollama777
Similar to Grepai Chunking
More Memory & Context
grepai-config-referenceyoanbernabeu/grepai-skills723 installsComplete configuration reference for GrepAI's .grepai/config.yaml, covering embedder, store, search, and indexing options.
grepai-search-advancedyoanbernabeu/grepai-skills861 installsAdvanced GrepAI search output options for JSON, TOON, and compact formats aimed at scripts and AI agents.
chunking-strategygiuseppe-trisciuoglio/developer-kit4K installsTiered chunking strategy guide for RAG pipelines that picks chunk size, overlap, and boundary detection.
embedding-strategieswshobson/agents12K installsGuide for choosing and tuning embedding models and chunking strategies in semantic search and RAG pipelines.
rag-engineerdavila7/claude-code-templates392 installsExpert guide for building RAG systems covering chunking, embeddings, vector search, and retrieval tuning.
indexion-segmenttrkbt10/indexion-skills4.9K installsSplits text into contextual chunks for RAG and embedding pipelines using window, TF-IDF, punctuation, or hybrid strategies.