book-rag-push
Installation
SKILL.md
Book RAG Push — Phase 04b: Chunks → 3 Vector Stores
Purpose
Take the canonical <book-dir>/.ingest/chunks.jsonl produced by /book-chunk and fan it out to four destinations:
- pgvector (
book_chunkstable in Supabase) — primary, with HNSW cosine index. - OpenAI Vector Stores — accessed via
file_searchtool in Responses API. - Gemini File Search — accessed via
fileSearchtool ingenerateContent. - Anthropic Files API — accessed via
documentblocks with citations + memory tool for agentic sessions.
Each chunk's sha256 is the source of truth for "has this chunk changed". We only re-upload what's new or modified.
Invocation
$ARGUMENTS: