Skip to content
cccskills
FreePublished on GitHub

rag-chunking-strategy

Document chunking with multiple strategies including semantic, recursive, and fixed-size chunking

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md1.8 KB
  • README.md621 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

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-text-splitters
  • sentence-transformers (for semantic chunking)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Provide implementations of advanced data structures

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Generate visual representations of algorithm execution

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.

The English summary is being prepared. Showing the original description.

a5c-ai/babysitter1.9KUpdated Sep 17, 2026

See all skills by a5c-ai

Report a problem with this skill