Pageindex RAG — AI skill for Claude Code
PageIndex RAG: Reasoning-based retrieval architecture replacing vector databases with hierarchical navigation.
How to install Pageindex RAG
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mmtmr/pageindex-rag and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pageindex RAG does
PageIndex RAG: Reasoning-based retrieval architecture replacing vector databases with hierarchical navigation.
Alternatives in AI
- Hindsight — State-of-the-art long-term memory for AI agents by Vectorize 6.7k ★
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
- Graphjin — GraphJin - An Automagical Compiler to Connect AI to Your Databases 3034 44 1 3k ★
README
PageIndex RAG Skill
Reasoning-based retrieval architecture replacing vector databases with hierarchical navigation
Overview
PageIndex replaces vector-based similarity search with LLM-driven hierarchical navigation, achieving **98.7% accuracy** on financial document benchmarks by reasoning through document structure instead of matching embeddings.
Installation
npx skills add mmtmr/pageindex-rag -g -y
What This Skill Provides
- RAG Architecture Design: Hierarchical table-of-contents indices with LLM-driven navigation
- Implementation Patterns: Practical code examples for building PageIndex systems
- Vector RAG Migration: Converting existing vector-based systems to reasoning-based retrieval
- Document Indexing: Strategies for structured documents (financial reports, legal contracts, technical manuals)
Use Cases
Use this skill when:
- Implementing RAG for long structured documents (financial reports, legal contracts, technical manuals)
- Improving existing vector-based RAG systems with poor accuracy on structured content
- Designing document indexing strategies with semantic coherence
- Explaining PageIndex concepts including reasoning-based retrieval, hierarchical navigation, and cross-reference following
- Handling documents with internal references and multi-turn conversations
Core Innovation
**Why Vector RAG Fails:**
- Query-knowledge mismatch (surface semantics ≠ task relevance)
- Hard chunking fragments contextual continuity
- Context window deterioration with 10-20 chunks
- Cannot follow cross-references
**PageIndex Solution:** Replace vector databases with hierarchical tree indices stored as JSON, enabling LLM-driven navigation through document structure.
Key Features
- 98.7% accuracy on financial document benchmarks
- Hierarchical navigation with semantic coherence
- Cross-reference following capability
- Multi-turn conversation support
- No embedding dependency
References
- [Architecture
Related Skills
Sqlite Graph Memory
Graph RAG on SQLite for AI agents: vector retrieval + hand-curated wikilink graph + cross-encoder rerank, with
Zilliz Skill
Agent skill that teaches AI agents how to manage Zilliz Cloud vector databases through zilliz-cli
Hierarchical Agents
Hierarchical multi-agent architecture for AI agent organizations
Qmd Memory Stack
Local, GPU-accelerated RAG memory for coding agents (Claude Code + OpenClaw) — hierarchical 3-tier memory over
Memory Lancedb Pro
Production-grade long-term memory system (v1.1.0-beta.8) for OpenClaw AI agents. Provides persistent, intellig
Fidelis
Zero-LLM agent memory for Claude Code and AI agents: local-first BM25, dense-vector, and reciprocal-rank-fusio
Related Agents
Python RAG Backend Engineer
Production-grade Python RAG backend engineer specializing in ChromaDB vector storage, sentence-transformers em
AI Database Engineer
AI Database Engineer who designs, optimizes, and manages databases for AI-powered applications — including rel
Brain Retrieval Engineer
Retrieval engineer — six retrieval strategies (hybrid, graph-enhanced vector, entity-anchored local, guarded T