Token导航 LogoToken导航

Agent Skill · 研究检索

doc-reader(文档阅读器)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

doc-reader 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 53,392。

总安装 535周安装 23GitHub Stars 382下载 188核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-reader(文档阅读器)
来源仓库:https://github.com/mintlify/docs
仓库路径:skills/doc-reader
安装命令:
npx skills add https://github.com/mintlify/docs --skill doc-reader
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mintlify/docs --skill doc-reader

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

高效读取在线文档并提炼关键信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。支持 llms.txt 查询与 MCP 接口调用两种模式。避免上下文窗口过载,精准定位所需内容。推荐先尝试 .md 直链再 fallback 到网页抓取。

doc-reader 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/doc-reader

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/mintlify/docs --skill doc-reader;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

doc-reader 怎么安装?

在终端执行 npx skills add https://github.com/mintlify/docs --skill doc-reader。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

doc-reader 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

doc-reader 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

doc-reader 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

doc-reader 用的人多吗?

公开数据是累计安装 535 次,近一周安装 23 次,下载 188 次,GitHub 382 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

doc-reader 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
doc-reader

文档阅读器 · 本页

535382操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Read documentation effectively

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

Quick reference: choose your approach

SituationApproach
First visit to a doc siteCheck for llms.txt, then MCP
Know exactly what you're looking forMCP search or grep llms-full.txt
Need to read a specific pageTry .md URL variant first, then HTML
Exploring/browsingView HTML page in browser
Need comprehensive understandingLoad llms-full.txt (check length first)
Multiple doc sites in one taskSet 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

Check for MCP server

Some documentation sites provide MCP servers for semantic search. The MCP endpoint often follows this pattern:

https://docs.example.com/mcp

Step 2: Set up MCP if available

MCP (Model Context Protocol) servers let you search documentation semantically rather than relying on keyword matching or loading entire files.

Connecting to the MCP

The setup process varies by platform. For Claude Code:

{
  "mcpServers": {
    "example-docs": {
      "type": "http",
      "url": "https://docs.example.com/mcp"
    }
  }
}

Once connected, you'll have access to the search tool for semantic search across the documentation. The tool follows the naming pattern Search{DocsTitle} (for example, SearchMintlify).

Managing multiple MCPs

When working with multiple documentation sources:

  1. Give each MCP a descriptive name based on the product/library
  2. Use the appropriate MCP for each query rather than searching all of them

Step 3: Choose your consumption strategy

Strategy A: MCP search (preferred for targeted questions)

Use when:

  • You have a specific question or topic
  • You're looking for a particular API, function, or concept
  • You want semantically relevant results, not just keyword matches
Use the MCP search tool with a natural language query describing what you need.

Strategy B: Fetch markdown variant (for reading specific pages)

Use when:

  • You need to read a specific documentation page
  • MCP search returned a result but you need the full page content
  • HTML rendering is adding noise or causing truncation

Try the .md variant of the page URL:

curl -s "https://docs.example.com/page.md"

If it returns valid markdown, use it. If it 404s, fall back to HTML (Strategy E).

Strategy C: Grep llms-full.txt (for keyword-specific searches)

Use when:

  • You need to find exact matches (function names, error codes, specific terms)
  • MCP isn't available
  • You want to see all occurrences of a term

Grep for your terms:

curl -s "https://docs.example.com/llms-full.txt" | grep -C 3 "your-search-term"

Strategy D: Load full content (for comprehensive understanding)

Use when:

  • You need complete context about a library/API
  • The llms-full.txt is small enough (< 15k tokens recommended)
  • You're doing extensive work that will reference many parts of the docs

Always check length first. Before loading a full file:

curl -sI "https://docs.example.com/llms-full.txt" | grep -i content-length

If the file is too large, consider:

  • Loading specific files identified from llms.txt instead
  • Using MCP search for specific topics
  • Loading in chunks as needed

Strategy E: View HTML page (for exploration and navigation)

Use when:

  • You need to understand the documentation structure
  • The user needs to navigate or click through the docs
  • You want to see diagrams, interactive examples, or formatted content
  • You're helping the user find something and they need to continue browsing

Fetch and render the HTML page, or direct the user to open it in their browser. HTML pages provide:

  • Navigation menus showing doc structure
  • Interactive code examples
  • Visual diagrams and illustrations
  • Links to related topics

Watch for truncation. Pages over ~150,000 characters may get cut off, which means you may miss critical information without knowing it. If a page seems incomplete, try the .md URL variant (Strategy B) or look for section-specific files in llms.txt.

Common patterns

Pattern: Research before implementation

  1. Fetch llms.txt to understand documentation scope
  2. Set up MCP if available
  3. Use MCP search for your specific implementation questions
  4. Load relevant sections as needed
  5. Keep MCP connected for follow-up questions during implementation

Pattern: Debugging with docs

  1. Search for the exact error message or code using grep
  2. If no results, use MCP search with a description of the problem
  3. Load the relevant section for full context on the solution

Pattern: Learning a new library

  1. View the HTML landing page to understand structure
  2. Load llms-full.txt if small enough, or use section-specific files
  3. Set up MCP for ongoing reference during development

Pattern: Quick reference lookup

  1. MCP search with the function/method name
  2. Or grep llms-full.txt for exact matches

Tips for efficiency

  1. Prefer MCP for Mintlify sites: Semantic search is more efficient than loading and parsing raw text.
  2. Cache strategically: If you'll reference the same docs repeatedly, loading llms-full.txt once may be more efficient than multiple MCP searches.
  3. Use section files: If llms.txt links to section-specific files (like api/llms.txt), load only what you need.
  4. Parallel MCP searches: When working with multiple doc sources, search them in parallel rather than sequentially.

Handling edge cases

No llms.txt available

Fall back to:

  1. Check if there's an MCP endpoint anyway
  2. Try .md URL variants of specific pages you need to read
  3. Use WebFetch to read specific documentation pages
  4. Search the web for the documentation

Very large documentation sets

For docs over 15k tokens:

  1. Use MCP search instead of loading the full file
  2. Load section-specific files as needed
  3. Ask the user which areas are most relevant

Page not found (404)

If a page 404s:

  1. Check the 404 page for links to relevant content
  2. Check llms.txt for the current URL — it reflects the live site structure
  3. Search the MCP with the page topic to find where the content moved
  4. Note to the user that the content may have moved and provide the updated URL

Outdated or conflicting information

If you find documentation that seems outdated:

  1. Check for version indicators in the docs
  2. Note the discrepancy to the user
  3. Suggest checking the changelog or release notes

平台分布

Codex

38.22%
按下载量换算72

Claude

26.96%
按下载量换算51

Cursor

17.66%
按下载量换算33

Gemini CLI

9.35%
按下载量换算18

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills