Build your first CocoIndex pipeline from a local folder into a vector DB
Quand l'utiliser : You've read the CocoIndex homepage and want Claude to scaffold a working flow instead of copy-pasting tutorials.
Prérequis
- Skill cloned to ~/.claude/skills/cocoindex-claude — git clone https://github.com/cocoindex-io/cocoindex-claude ~/.claude/skills/cocoindex-claude
- cocoindex Python package installed — pip install cocoindex
Déroulement
-
Describe the pipelineUse the cocoindex skill — scaffold a flow that watches ./docs, chunks markdown, embeds with OpenAI, writes to Qdrant.✓ Copié→ Claude generates a flow.py with @cocoindex.flow_def and the right source/transform/export calls
-
Run and verifyNow show me the exact CLI commands to build, run, and incrementally update this flow.✓ Copié→ cocoindex setup / update / eval commands in the correct order
Résultat : A working flow.py plus the commands to run it — no more guessing at the CocoIndex decorator surface.
Pièges
- Claude invents APIs that don't exist in CocoIndex — Explicitly prompt 'use only APIs documented in the cocoindex skill' — hallucination drops when the skill is in scope