rag-chunking-strategy
Document chunking with multiple strategies including semantic, recursive, and fixed-size chunking
npx skills add a5c-ai/babysitter --skill rag-chunking-strategy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# RAG Chunking Strategy Skill ## Capabilities - Implement multiple document chunking strategies - Configure semantic chunking based on content boundaries - Set up recursive character text splitting - Design fixed-size chunking with overlap - Implement document-aware chunking (markdown, code, etc.) - Optimize chunk sizes for retrieval quality ## Target Processes - rag-pipeline-implementation - chunking-strategy-design ## Implementation Details ### Chunking Strategies 1. **RecursiveCharacterTextSplitter**: Hierarchical splitting with separators 2. **SemanticChunker**: Embedding-based semantic boundaries 3. **TokenTextSplitter**: Token-aware splitting 4. **MarkdownHeaderTextSplitter**: Structure-aware markdown splitting 5. **CodeSplitter**: Language-aware code chunking ### Configuration Options - Chunk size (characters or tokens) - Chunk overlap percentage - Separator hierarchy - Embedding model for semantic chunking - Document type detection ### Best Practices - Match chunk size to embedding model limits - Use appropriate overlap for context preservation - Test retrieval quality with different strategies - Consider document structure in strategy selection ### Dependencies - langchain
- Capabilities
- Target Processes
- Implementation Details
- Chunking Strategies
- Configuration Options
- Best Practices
- Dependencies
What does the rag-chunking-strategy skill do?
Document chunking with multiple strategies including semantic, recursive, and fixed-size chunking
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill rag-chunking-strategy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
