Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

fetch-url获取网址

Agent Skill

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

总安装

374

周安装

15

GitHub Stars

1,282

下载量

121
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

fetch-url 用于获取单个网页内容并转换为干净的 Markdown 格式。

  • 适合读取单页文档、检查内容质量或提取文本进行分析的场景。
  • 使用 npx 命令安装,支持多种标记选项如链接追踪和编码处理。
  • 注意该操作为一次性读取,如需重复搜索应使用 docs-manage 技能。
  • 安装前请核实网络权限与目标 URL 的可访问性。

SKILL.md

Fetch URL

Fetch a single URL and convert its content to clean Markdown. This does not add anything to the documentation index; it is a one-shot read operation.

When to use

  • You need to read a single web page and get its content as Markdown.
  • You want to inspect a documentation page before deciding whether to index it.
  • You need the raw text of a URL for summarisation or analysis.

If you need to index the content for repeated searching, use the docs-manage skill (scrape command) instead.

Command

npx @arabold/docs-mcp-server@latest fetch-url <url> [options]
FlagDefaultDescription
--follow-redirectstrueFollow HTTP redirects
--no-follow-redirectsDisable following redirects
`--scrape-mode auto\fetch\playwright`autoHTML processing strategy
--header "Name: Value"Custom HTTP header (repeatable)
--quietSuppress non-error diagnostics
--verboseEnable debug logging

Scrape modes

ModeWhen to use
autoDefault. Tries a simple HTTP fetch first, falls back to Playwright for JS-rendered pages.
fetchForce a plain HTTP fetch. Fastest, but misses content rendered by JavaScript.
playwrightForce a headless browser. Use for SPAs or pages that require JavaScript to render.

Examples

# Fetch a documentation page
npx @arabold/docs-mcp-server@latest fetch-url https://react.dev/reference/react/useEffect

# Fetch with custom auth header
npx @arabold/docs-mcp-server@latest fetch-url https://docs.internal.com/api \
  --header "Authorization: Bearer tok_xxx"

# Force Playwright for a JS-heavy page
npx @arabold/docs-mcp-server@latest fetch-url https://some-spa.dev/docs --scrape-mode playwright

# Disable redirect following
npx @arabold/docs-mcp-server@latest fetch-url https://example.com/old-page --no-follow-redirects

Output

The command writes the converted Markdown text directly to stdout. The global --output flag is accepted but has no effect because the result is already plain text, not structured data.

Diagnostics and errors 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.

Tips

  • Pipe the output to a file if you want to save it: npx @arabold/docs-mcp-server@latest fetch-url <url> > page.md
  • Combine with search: fetch a page to read its full content after search returns a relevant URL.
  • For pages behind authentication, use --header to pass cookies or tokens.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.96%
按下载量换算48

Claude

30.46%
按下载量换算37

Cursor

17.9%
按下载量换算22

Gemini CLI

9.6%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills