docs-navigation

Navigate hierarchical ai-docs indexes to locate relevant documentation pages.

8|1|Updated Jul 11, 2025
One-click install
npx skills add https://github.com/ViperJuice/treesitter-chunker --skill docs-navigation-viperjuice
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-navigation
Source: https://github.com/ViperJuice/treesitter-chunker/tree/main/.ai-dev-kit/skills/docs-navigation
Command: npx skills add https://github.com/ViperJuice/treesitter-chunker --skill docs-navigation-viperjuice

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Navigate hierarchical ai-docs indexes to locate relevant documentation quickly by prioritizing locally available docs before web searching, covering libraries like Claude Code, BAML, MCP, and other tracked resources.

Core Features & Use Cases

  • Local-first navigation: Start at the root index, identify the right library/section, and drill down to the exact page to minimize context loading.
  • Keyword-driven search: Match user task keywords against index keywords to surface the most relevant pages.
  • Efficient page loading: Load only the necessary pages rather than full-context content to preserve token budget.
  • Protocol-driven flow: Adhere to the documented navigation protocol to avoid guesswork and ensure deterministic results.

Quick Start

Start at the appropriate index level, read the index files, and drill down to the exact page needed.

Frequently Asked Questions about docs-navigation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I navigate hierarchical documentation indexes to find specific pages efficiently?

To navigate hierarchical documentation indexes efficiently, start at the root index, match task keywords against index files, and drill down to the exact page needed. This protocol-driven flow ensures deterministic results while loading only necessary content to preserve token budget.

What is local-first documentation navigation and when do I need it?

Local-first documentation navigation is the process of reading local index files to locate relevant pages before performing a web search. You need this approach when working with tracked libraries like Claude Code, BAML, or MCP to minimize context loading and reduce token usage.

How do I search local ai-docs indexes using keywords without loading full content?

To search local ai-docs indexes using keywords, read the _index.toon files within the hierarchy, match your task keywords against the indexed terms, and load only the specific pages that surface as relevant. This method avoids guessing paths and prevents loading full-context content unnecessarily.

Can I use this navigation approach for libraries like Claude Code, BAML, and MCP?

Yes, this navigation approach supports tracked resources including libraries like Claude Code, BAML, and MCP. It operates within the ai-docs hierarchy by reading index files and drilling down to precise pages, ensuring accurate and efficient results across these tracked documentation sets.

What is the best way to minimize token usage when searching through documentation indexes?

The best way to minimize token usage when searching documentation indexes is to enforce a strict navigation protocol that avoids guessing paths. By starting at the appropriate index level and loading only the necessary pages rather than full-context content, you maximize efficiency and conserve your token budget.

Why does documentation navigation fail when paths are guessed instead of read from index files?

Documentation navigation fails when paths are guessed because the ai-docs hierarchy requires reading _index.toon files to locate relevant pages accurately. Guessing paths bypasses the protocol-driven flow, leading to non-deterministic results, excessive token consumption, and failure to load the necessary content.