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

web-to-markdownWeb TO Markdown 网页抓取

Agent Skill

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

总安装

8,820

周安装

375

GitHub Stars

1,684

下载量

3,090
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/softaworks/agent-toolkit --skill web-to-markdown

简介

用于辅助文档、README、Markdown 和内容稿件的整理与改写。

  • 适合提炼结构、补齐章节、统一术语或把零散材料整理成可读文档。
  • 使用时应保留项目已有事实和路径,避免将未确认信息写成确定结论。
  • 安装命令:npx skills add https://github.com/softaworks/agent-toolkit --skill web-to-markdown。
  • 涉及对外文案时需控制语气,避免过度营销或夸大能力。

SKILL.md

web-to-markdown

Convert web pages to clean Markdown by driving a locally installed browser (via web2md).

Hard trigger gate (must enforce)

This skill MUST NOT be used unless the user explicitly wrote exactly a phrase like:

  • use the skill web-to-markdown...
  • use a skill web-to-markdown...

If the user did not explicitly request this skill by name, stop and ask them to re-issue the request including: use the skill web-to-markdown.

What this skill does

  • Handles JS-rendered pages (Puppeteer → user Chrome).
  • Works best with Chromium-family browsers (Chrome/Chromium/Brave/Edge) via puppeteer-core.
  • Extracts main content (Readability).
  • Converts to Markdown (Turndown) with cleaned links and optional YAML frontmatter.

Non-goals

  • Do not use Playwright or other browser automation stacks; the mechanism is web2md.

Inputs you should collect (ask only if missing)

  • url (or a list of URLs)
  • Output preference:

- Print to stdout (--print), OR - Save to a file (--out./file.md), OR - Save to a directory (--out./some-dir/ to auto-name by page title)

  • Optional rendering controls for tricky pages:

- --chrome-path <path> (if Chrome auto-detection fails) - --interactive (show Chrome and pause so the user can complete human checks/login, then press Enter) - --wait-until load|domcontentloaded|networkidle0|networkidle2 - --wait-for '<css selector>' - --wait-ms <milliseconds> - --headful (debug) - --no-sandbox (sometimes required in containers/CI) - --user-data-dir <dir> (login/session; use a dedicated profile directory)

Workflow

  1. Confirm the user explicitly invoked the skill (use the skill web-to-markdown).
  2. Validate URL(s) start with http:// or https://.
  3. Ensure web2md is installed:

- Run: command -v web2md - If missing, instruct the user to install it (assume the project exists at ~/workspace/softaworks/projects/web2md): - cd ~/workspace/softaworks/projects/web2md && npm install && npm run build && npm link - Or: cd ~/workspace/softaworks/projects/web2md && npm install && npm run build && npm install -g.

  1. Convert:

- Single URL → file: - web2md '<url>' --out./page.md - Single URL → auto-named file in directory: - mkdir -p./out && web2md '<url>' --out./out/ - Human verification / login walls (interactive): - mkdir -p./out && web2md '<url>' --interactive --user-data-dir./tmp/web2md-profile --out./out/ - Then: complete the check in the browser window and press Enter in the terminal to continue. - Print to stdout: - web2md '<url>' --print - Multiple URLs (batch): - Create output dir (e.g. ./out/) then run one web2md command per URL using --out./out/

  1. Validate output:

- If writing files, verify they exist and are non-empty (e.g. ls -la <path> and wc -c <path>).

  1. Return:

- The saved file path(s), or the Markdown (stdout mode).

Defaults (recommended)

  • For most pages: --wait-until networkidle2
  • For heavy apps: start with --wait-until domcontentloaded --wait-ms 2000, then add --wait-for 'main' (or another stable selector) if needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

25.75%
按下载量换算796

Gemini CLI

25.61%
按下载量换算791

Cursor

18.44%
按下载量换算570

Codex

12.3%
按下载量换算380

OpenCode

7.72%
按下载量换算239

Antigravity

3.36%
按下载量换算104

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills