doc-reader

A method for reading third-party technical documentation efficiently. It covers finding machine-readable documentation, locating specific pages, and choosing between focused or comprehensive reading.

In plain words
What is it for?
Use it when checking how a named tool or technical feature works, especially when a documentation URL or site is involved.
Why use it?
It helps you find the relevant details about an API, SDK, library, endpoint, or configuration option without reading an entire documentation site unnecessarily.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mintlify/docs/doc-reader
Any agent
npx skills add mintlify/docs --skill doc-reader
Clone the repo
git clone --depth 1 https://github.com/mintlify/docs

Made for: Claude Code, Codex.

Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,899 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00069 $0.01899
Opus 5 $0.00034 $0.00949
Sonnet 5 $0.00014 $0.00380
Haiku 4.5 $0.00007 $0.00190

Measured 2d ago against content hash 0feb88e0a004, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

doc-reader scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://docs.example.com/page.md"
.claude/skills/doc-reader/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Read documentation effectively

This skill helps you efficiently consume documentation without overwhelming your context window or missing important information.

Quick reference: choose your approach

Situation Approach
First visit to a doc site Check for llms.txt, then MCP
Know exactly what you're looking for MCP search or grep llms-full.txt
Need to read a specific page Try .md URL variant first, then HTML
Exploring/browsing View HTML page in browser
Need comprehensive understanding Load llms-full.txt (check length first)
Multiple doc sites in one task Set up MCPs for each

Step 1: Discover what's available

When you encounter a documentation site, check for AI-friendly resources.

Check for llms.txt

Every well-structured doc site should have an llms.txt file at the root. For example https://docs.example.com/llms.txt or https://example.com/docs/llms.txt.

This file contains:

  • A description of what the documentation covers
  • Links to each page in the docs

Sites may also have llms-full.txt files at the root which contain all the content on the documentation site as a single .md file.

Try markdown URL variants

Many doc sites serve clean markdown versions of pages at .md URL variants. Prefer the .md URL extensions for easier-to-parse content.

For any specific page you need to read, try the .md variant first:

https://docs.example.com/page      →  try https://docs.example.com/page.md

If it returns valid markdown (not a 404 or HTML error page), use that instead of fetching the HTML.

Check for skill.md

Some documentation sites provide a skill.md file that teaches you how to work with the product that is documented. Check for it at the root like https://docs.example.com/skill.md or https://example.com/docs/skill.md.

Read the skill to understand the product and features. Add the skill if it will be helpful with your current task:

npx skills add docs.example.com/skill.md

Read the full file on GitHub · 240 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 240 lines · 69 tokens per session scan A 0feb88e0a004

Subscribe to this mod's changes

doc-reader is a skill published in the GitHub repository mintlify/docs (438 stars, last pushed 2d ago), licensed MIT. It adds 69 tokens to every session and 1,899 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens