Contextual Chunk Enrichment

Use this skill when chunks have ambiguous referents that hurt retrieval — for example, a paragraph starting "It supports up to 10,000 connections" where "it" is whatever the document is about. The technique prepends an LLM-generated context block to each chunk before embedding, so the chunk embeds in the right region of vector space.

AllanWessels Updated

File contents

AllanWessels/Bratan/tree/main/skills/contextual-chunk-enrichment commit 58c49a0f3d

Frequently asked questions

npx skillmds@latest add allanwessels/contextual-chunk-enrichment