What problem does it solve? Large Bash and MCP tool outputs flood the agent's context window with raw text, wasting tokens and degrading performance. This Skill installs a progressive-disclosure system that intercepts oversized outputs, saves them to disk, indexes them with a local small model, and returns only a compact summary plus chunk index to the agent. ## Core Features & Use Cases - Progressive Disclosure: Replaces raw tool outputs over ~2000 tokens with a summary and semantic chunk table, cutting token usage by roughly 70-80%. - Multi-Platform Support: Ships sub-skills for Codex CLI (PostToolUse hook), Claude Code and Cursor (updatedToolOutput hook), and pi (tool_result extension), all sharing one Python indexing engine. - Local Semantic Indexing: Uses qwen3.5:4b via Ollama to split saved outputs into line-addressable chunks, with fail-open behavior so errors never block the agent. - Use Case: An agent runs find /usr/lib -name '*.dylib' producing thousands of lines. Instead of ingesting the raw dump, it receives a chunk index and retrieves only the relevant line ranges via offset/limit reads. ## Quick Start Ask the agent to install the context-index system for your platform, for example: "Set up context indexing for Claude Code so large tool outputs get summarized instead of dumped into context."