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 2 repo stars

File contents

AllanWessels/Bratan commit 58c49a0f3d

Frequently asked questions

npx get-skill add allanwessels/contextual-chunk-enrichment