New advertisers: 50% off your first month with code FIRSTMONTHSee slots

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
View on GitHub

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 -y

Installs 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

Similar to Grepai Chunking

More Memory & Context