Skip to content
Agent Factory
Skills

RAG Chunk Optimizer

Use when retrieval quality is poor and you need to re-chunk and re-embed a knowledge base for better recall.

Architecturerag-chunk-optimizer

What is in the bundle

SKILL.md plus 4 files.

  • SKILL.md162 words
  • chunking.md54 words
  • scripts/rechunk.ts89 words
  • SECURITY.md173 words
  • tests/cases.md141 words

How to install

Install as a personal skill: 1. Unzip into ~/.claude/skills/ so you have ~/.claude/skills/rag-chunk-optimizer/SKILL.md 2. Restart Claude Code (or your Claude app) so it picks up the new skill. 3. Ask Claude to "optimize my RAG chunking" and share your failing queries. After any material edit to SKILL.md, re-run tests/cases.md. Those are the cases this skill has actually got wrong. For a project-scoped install, unzip into .claude/skills/ inside your repo.

RAGRetrievalEmbeddings

This is Pro content

Get Agent Factory Pro - a one-time payment for lifetime access to full articles, complete build prompts, and everything new.