Navigate hierarchical ai-docs indexes to find documentation. Check local docs FIRST for speed and curated context before web searching. Covers Claude Code, BAML, MCP, and other tracked libraries.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Navigate hierarchical ai-docs indexes to find documentation. Check local docs FIRST for speed and curated context before web searching. Covers Claude Code, BAML, MCP, and other tracked libraries.
Documentation Navigation Skill
Navigate the hierarchical documentation system to find relevant context with minimal token usage.
Variables
Variable
Default
Description
START_LEVEL
auto
auto, root, category, library, section, page
KEYWORD_MATCH
fuzzy
fuzzy (semantic) or exact matching for index navigation
Instructions
MANDATORY - Always start at the appropriate index level and drill down.
Read _index.toon files before loading pages
Match task keywords against index keywords
Load specific pages, not full contexts
Note priority and when_to_use fields in indexes
Red Flags - STOP and Reconsider
If you're about to:
Load full-context.md for a simple question
Guess file paths instead of reading the index
Skip the index and go straight to pages
Load everything "just in case"
STOP -> Follow the Navigation Protocol below -> Then proceed
Workflow
CHECKPOINT: Identify what you know (library? section? topic?)
Start at the appropriate index level
Read index, match keywords to your task
Drill down to specific pages
Load only the pages you need
CHECKPOINT: Is full-context.md justified? (rarely)
Cookbook
Level Selection
IF: Unsure where to start in the hierarchy
THEN: Read cookbook/level-selection.md
RESULT: Start at the right level based on what you know
Keyword Matching
IF: Searching for documentation by topic
THEN: Read cookbook/keyword-matching.md
RESULT: Find relevant pages through index keywords
Efficient Page Loading
IF: Loading multiple pages or managing token budget
THEN: Read cookbook/page-loading.md
RESULT: Minimize token usage while getting needed context
meta:
level: category
name: libraries
count: 5
items[5]{id,name,description,path,keywords,priority}:
baml,BAML,Structured LLM outputs with type safety,./baml/_index.toon,llm|types|prompts,high
mcp,MCP,Tool integration for AI assistants,./mcp/_index.toon,tools|servers|context,high
Library Index ({lib}/_index.toon)
meta:
level: library
name: BAML
version: 0.70.0
homepage: https://docs.boundaryml.com
overview: |
Brief description of what this library does and when to use it.
sections[3]{id,name,path,page_count,when_to_use}:
guide,Guide,./guide/_index.toon,15,Learning concepts and tutorials
reference,Reference,./reference/_index.toon,25,Exact syntax and API details
examples,Examples,./examples/_index.toon,8,Working code samples
common_tasks[5]{task,section,page}:
Define output types,reference,types
Handle errors,guide,error-handling
Stream responses,guide,streaming
Section Index ({lib}/{section}/_index.toon)
meta:
level: section
library: baml
section: guide
page_count: 15
pages[15]{id,title,path,priority,purpose,keywords}:
introduction,Introduction,./pages/introduction.toon,core,Overview and basic concepts,basics|overview|start
error-handling,Error Handling,./pages/error-handling.toon,important,Retry and fallback strategies,retry|error|fallback
Page Summary ({lib}/{section}/pages/{page}.toon)
meta:
level: page
library: baml
section: guide
page: error-handling
source_url: https://docs.boundaryml.com/guide/error-handling
content_hash: abc123
summary:
purpose: |
One to two sentences on what this page teaches.
key_concepts[5]: concept1|concept2|concept3|concept4|concept5
gotchas[3]: warning1|warning2|warning3
code_patterns[2]:
- lang: baml
desc: What this pattern shows
code: |
// Truncated code example
related_pages[2]: ../pages/timeouts.toon|../../reference/pages/retry-policy.toon