Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

docs-search文档搜索

Agent Skill

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

总安装

384

周安装

16

GitHub Stars

1,314

下载量

128
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/arabold/docs-mcp-server --skill docs-search

简介

用于在本地已索引的 Grounded Docs 知识库中快速查找库文档。

  • 支持按关键词、版本约束或已有索引列表进行结构化查询。
  • 返回 JSON 格式数据,便于程序化处理而不修改索引本身。
  • 若未建立索引,需先用 docs-manage 技能完成文档抓取。
  • 适用于解答 API 行为、参数含义等技术细节问题。docs-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Docs Search

Search the local Grounded Docs index for library documentation. These commands return structured data (JSON by default in non-interactive sessions) and never modify the index.

When to use

  • You need to answer a question about a library's API or behaviour.
  • You want to check which libraries and versions are already indexed.
  • You need to resolve which documentation version best matches a constraint.

Always run list first if you are unsure whether a library has been indexed. If nothing is indexed yet, use the docs-manage skill to scrape documentation before searching.

Commands

list

List every indexed library and its available versions.

npx @arabold/docs-mcp-server@latest list [--output yaml]
FlagDescription
`--output json\yaml\toon`Structured output format (default: JSON in non-interactive)
--server-url <url>Connect to a remote pipeline worker instead of the local store
--quietSuppress non-error diagnostics
--verboseEnable debug logging

Example output (YAML):

- library: react
  versions:
    - "19.0.0"
    - "18.3.1"
- library: typescript
  versions:
    - "5.7.0"

search

Search documents in an indexed library by natural-language query.

npx @arabold/docs-mcp-server@latest search <library> "<query>" [options]
FlagAliasDefaultDescription
--version <ver>-vlatestVersion constraint (exact or range, e.g. 18.x, 5.2.x)
--limit <n>-l5Maximum number of results
--exact-match-efalseOnly match the exact version, no fallback
--embedding-model <model>Embedding model (e.g. openai:text-embedding-3-small)
--server-url <url>Remote pipeline worker URL
`--output json\yaml\toon`JSONStructured output format
--quietSuppress non-error diagnostics
--verboseEnable debug logging

Example:

npx @arabold/docs-mcp-server@latest search react "useEffect cleanup" --version 18.x --limit 3 --output yaml

Each result contains a content snippet, source URL, and relevance score.

find-version

Resolve the best matching documentation version for a library.

npx @arabold/docs-mcp-server@latest find-version <library> [--version <pattern>]
FlagAliasDescription
--version <pattern>-vVersion pattern to match (supports ranges)
--server-url <url>Remote pipeline worker URL
`--output json\yaml\toon`Structured output format
--quietSuppress non-error diagnostics
--verboseEnable debug logging

Example:

npx @arabold/docs-mcp-server@latest find-version react --version "18.x" --output yaml

Returns the resolved version string and library metadata.

Interpreting output

All three commands emit structured data to stdout. Diagnostics and progress messages go to stderr and are suppressed by default in non-interactive sessions. Use --verbose (or set LOG_LEVEL=INFO) to re-enable them. Use --quiet to suppress all non-error diagnostics regardless of session type.

To capture results programmatically, parse stdout as JSON (the default) or request --output yaml for a more readable format.

Typical workflow

# 1. Check what is indexed
npx @arabold/docs-mcp-server@latest list --output yaml

# 2. Search for relevant docs
npx @arabold/docs-mcp-server@latest search react "server components" --version 19.x --output yaml

# 3. If no results, index the docs first (see docs-manage skill), then retry

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.6%
按下载量换算51

Claude

29.64%
按下载量换算38

Cursor

17.57%
按下载量换算22

Gemini CLI

9.26%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills