Token导航 LogoToken导航TokenDH.com
待分类操作浏览器github未标认证来源可访问许可证需确认审计提醒

url-to-markdownURL TO Markdown 控制

Agent Skill

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

总安装

523

周安装

22

GitHub Stars

公开资料未说明

下载量

183
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hexbee/hello-skills --skill url-to-markdown

简介

用于辅助文档和 Markdown 内容整理。

  • 适合提炼结构、补齐章节、统一术语或检查链接。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 涉及对外文案时应控制语气,避免过度营销或夸大能力。
  • url-to-markdown 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

URL To Markdown

Overview

Use this skill to fetch a public URL, convert it to Markdown, and save the result as a timestamped Markdown file for later agent use.

Conversion priority is fixed:

  1. https://r.jina.ai/<url> (primary)
  2. https://markdown.new/ (fallback only when r.jina.ai is unavailable)

This skill is execution-oriented. Prefer running the bundled script instead of manually recreating the workflow.

When To Use

Use this skill when the user asks for any of the following:

  • convert a URL or webpage to Markdown
  • save an article, doc page, or blog post as .md
  • ingest a public webpage for later summarization or extraction
  • preserve page content in a machine-friendly text format
  • pull a documentation page into a local Markdown file

Do not use this skill for:

  • private pages that require browser login
  • sites the user is not authorized to access
  • tasks that require full site crawling rather than a single page fetch

Inputs

Decide these inputs before running the script:

  • url: required (single URL mode); must be a public URL
  • urls: optional; multiple URLs for batch conversion (mutually exclusive with positional url)
  • concurrency: optional; number of parallel conversions (default 3); used in batch mode
  • output_dir: optional; output directory for batch conversion; creates slug-based filenames
  • method: optional; one of auto, ai, browser; default auto; used by markdown.new fallback
  • retain_images: optional; default false; used by markdown.new fallback
  • transport: optional; one of auto, get, post; default auto; used by markdown.new fallback
  • timeout: optional; default 30
  • force_markdown_new: optional; default false; when true, skip r.jina.ai and call markdown.new directly
  • output: default ./output/ (current directory + output/); if the user explicitly provides an output path in the prompt, use that path instead

If the user does not specify these options, keep the defaults.

Output path rule:

  • Always pass --output when invoking url_to_md.py.
  • If user prompt explicitly specifies an output path, use that exact path.
  • Otherwise use --output "output/" (relative to current working directory).

Run The Script

From the skill directory, run:

python scripts/url_to_md.py "<url>" --output "output/"

Common variants:

python scripts/url_to_md.py "<url>" --output "output/"
python scripts/url_to_md.py "<url>" --method browser --retain-images --output "output/"
python scripts/url_to_md.py "<url>" --transport post --timeout 45 --output "output/"
python scripts/url_to_md.py "<url>" --force-markdown-new --output "output/"
python scripts/url_to_md.py "<url>" --output "<user_explicit_path>"

Batch conversion:

# Batch convert multiple URLs with parallel processing (default concurrency=3)
python scripts/url_to_md.py --urls "https://example.com" "https://example.org" "https://example.net" --output-dir "output/"

# Batch with custom concurrency
python scripts/url_to_md.py --urls "https://a.com" "https://b.com" "https://c.com" "https://d.com" "https://e.com" --concurrency 5 --output-dir "output/"

# Single URL in batch mode
python scripts/url_to_md.py --urls "https://example.com" --output-dir "output/"

Behavior notes:

  • The script always attempts r.jina.ai first.
  • If --force-markdown-new is set, the script skips r.jina.ai and uses markdown.new directly.
  • It falls back to markdown.new only when r.jina.ai is unavailable (for example timeout, network failure, 5xx, or rate limit).
  • Skill-level default output directory is ./output/, and the invocation should always include --output.
  • If --output is a filename, the script appends a timestamp before the extension.
  • If --output is a directory, the script creates a slug-based filename with a timestamp.

Required Output Behavior

Prefer producing both:

  1. A saved Markdown file.
  2. A short conversational summary.

The summary should include:

  • source URL
  • whether the conversion succeeded
  • provider used: r.jina.ai or markdown.new
  • saved file path, if a file was written
  • key options used if non-default: method, retain_images, transport, timeout

Summary Template

Use this structure:

Source URL: <url>
Status: success
Provider: <r.jina.ai|markdown.new>
Saved Markdown: <path>
Options: method=<value>, retain_images=<value>, transport=<value>, timeout=<value>

If defaults were used, keep Options brief.

Error Handling

If the script fails:

  • say that URL-to-Markdown conversion failed
  • include the main error briefly
  • do not invent page content
  • mention likely cause when obvious: network issue, timeout, rate limit, unsupported page access

If both providers fail, report which provider failed first and which provider failed last. If the service returns rate limiting, report that directly and avoid pretending a retry succeeded.

Notes

  • Prefer saved Markdown over raw stdout because agents can reuse local files more reliably.
  • The bundled script uses only the Python standard library.
  • The script supports both importable usage and CLI execution, but this skill should normally use the CLI path.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.74%
按下载量换算67

Claude

33.36%
按下载量换算61

Cursor

17.67%
按下载量换算32

Gemini CLI

9.64%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills