Agent skill

Web To Markdown

by dongsheng123132 in dongsheng123132/u-claw

网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作. An agent skill from dongsheng123132/u-claw.

MITAuto-check passedDocuments & Office

Install Web To Markdown

skills CLI
$ npx skills add dongsheng123132/u-claw --skill web-to-markdown -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dongsheng123132/u-claw web-to-markdown --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dongsheng123132/u-claw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/portable/skills-cn/web-to-markdown .claude/skills/web-to-markdown && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
web-to-markdown
GitHub stars
1.8k
Token cost
~347 tokens
SKILL.md length
30 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
MIT

At a glance

网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作. An agent skill from dongsheng123132/u-claw.

  • Tasks that involve Markdown
  • SKILL.md covers 能力概述, 操作方式 and 使用建议
  • Calls python, curl and pip; reaches r.jina.ai

What it does

Web To Markdown is an agent skill from dongsheng123132/u-claw. 网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Markdown. The repository describes itself as: U-Claw 虾盘 — OpenClaw AI 助手离线安装 U 盘:一键装好 Claude Code/Codex/OpenClaw,无需联网即插即用;新品 U-King AI 装机管家详见 u-king.org,另有远程支持与定制 AI 开发。 The licence is MIT.

When your agent uses it

  • Tasks that involve Markdown

Example prompts

  • “/web-to-markdown”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 9e769e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • curl
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • r.jina.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Web To Markdown loads about 347 tokens when it runs. Until then it costs about 17 tokens; SKILL.md has 30 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~347

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dongsheng123132/u-claw at commit 9e769e6, republished under its MIT licence (© dongsheng123132). 30 words, ~347 tokens.

Download SKILL.mdSave it as .claude/skills/web-to-markdown/SKILL.md (or your agent's skills folder).
name
web-to-markdown
description
网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作

网页转 Markdown

把用户给的网页链接抓下来,提取正文,转成干净的 Markdown,方便保存、总结或二次创作。

能力概述

  • 正文提取:去掉导航/广告/页脚,只留主体内容
  • 转 Markdown:标题、列表、链接、代码块保留结构
  • 保存:可写入本地 .md 文件

操作方式

用 Bash 工具。首选 jina.ai 的免费 reader(无需依赖,最省事):

bash
# 最简:jina reader 直接返回干净 Markdown(在链接前加 https://r.jina.ai/)
curl -s "https://r.jina.ai/https://example.com/article" -o article.md
echo "已保存 -> article.md"; head -40 article.md

离线或 jina 不可用时,用 Python 本地转换:

bash
python -c "import markdownify,requests" 2>/dev/null || pip install -q markdownify requests beautifulsoup4
python - <<'PY'
import requests, re
from bs4 import BeautifulSoup
from markdownify import markdownify as md
url = "https://example.com/article"
html = requests.get(url, timeout=15, headers={"User-Agent":"Mozilla/5.0"}).text
soup = BeautifulSoup(html, "html.parser")
for t in soup(["script","style","nav","footer","aside"]): t.decompose()
body = soup.find("article") or soup.find("main") or soup.body
out = md(str(body), heading_style="ATX")
out = re.sub(r"\n{3,}", "\n\n", out).strip()
open("article.md","w",encoding="utf-8").write(out)
print("已保存 -> article.md,", len(out), "字")
PY

使用建议

  • 先问用户要不要保存到文件、文件名
  • 微信公众号/知乎等需要登录的页面可能抓取受限,如失败如实告知
  • 抓取后可顺手做"总结要点",结合 china-search / deepseek-helper 技能

© dongsheng123132, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in portable/skills-cn/web-to-markdown of dongsheng123132/u-claw.

Open the folder on GitHubat commit 9e769e6

Compare with similar skills

Web To Markdown next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Web To Markdown compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Web To Markdown this skilldongsheng123132/u-claw1.8k—~347Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
Crosspostingwasp-lang/wasp19k—~1.1kAutomated safety check: PassMIT
Gzh Designisjiamu/gzh-design-skill4k—~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    4k GitHub stars~2.2k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Review The Docs

    supabase/supabase

    Official

    Review Supabase docs changes locally in your supabase/supabase checkout — either an open PR (triage, classify, verify) or your own branch before opening a PR (local self-review).

    111k GitHub stars~4.6k tokensUpdated yesterday
    Documents & OfficeAuto-check passed

More from dongsheng123132/u-claw

All 17 skills in this repo
  • Deepseek Helper

    dongsheng123132/u-claw

    DeepSeek API 助手 - 编程辅助、模型选择、API调用指南、定价信息. An agent skill from dongsheng123132/u-claw.

    1.8k GitHub stars~367 tokensUpdated 4 days ago
    Auto-check passed
  • Image Compress

    dongsheng123132/u-claw

    图片压缩/转换 - 批量压缩、改尺寸、转格式(jpg/png/webp),本地处理不失隐私. An agent skill from dongsheng123132/u-claw.

    1.8k GitHub stars~274 tokensUpdated 4 days ago
    Auto-check passed
  • China Translate

    dongsheng123132/u-claw

    中英互译 + 本地化 - 技术翻译、UI本地化、文化适配、避免机翻腔

    1.8k GitHub stars~526 tokensUpdated 4 days ago
    Auto-check passed
  • Ppt Designer

    dongsheng123132/u-claw

    PPT 演示助手 - 幻灯片设计、内容结构、视觉优化、动画建议、演讲稿

    1.8k GitHub stars~415 tokensUpdated 4 days ago
    Auto-check passed
  • Bilibili Helper

    dongsheng123132/u-claw

    B站内容助手 - 视频标题描述优化、标签策略、封面设计建议、分区选择、评论互动

    1.8k GitHub stars~380 tokensUpdated 4 days ago
    Auto-check passed
  • China Search

    dongsheng123132/u-claw

    国内搜索引擎 - 百度、搜狗、Bing中国搜索,绕过GFW限制

    1.8k GitHub stars~385 tokensUpdated 4 days ago
    Auto-check passed

Questions about Web To Markdown

What does Web To Markdown do?

网页转 Markdown - 抓取任意网页正文并转成干净的 Markdown,便于阅读/收藏/二次创作. An agent skill from dongsheng123132/u-claw. Web To Markdown is an agent skill from dongsheng123132/u-claw.

When should I use Web To Markdown?

Web To Markdown fits situations like: tasks that involve Markdown.

How do I install Web To Markdown in Claude Code?

Run `npx skills add dongsheng123132/u-claw --skill web-to-markdown -a claude-code`. Or copy the skill folder (portable/skills-cn/web-to-markdown in dongsheng123132/u-claw) into .claude/skills/web-to-markdown in your project. Claude Code loads it when a task matches its description.

How do I install Web To Markdown in Codex?

Run `npx skills add dongsheng123132/u-claw --skill web-to-markdown -a codex`. Or copy the skill folder (portable/skills-cn/web-to-markdown in dongsheng123132/u-claw) into .agents/skills/web-to-markdown in your project. Codex loads it when a task matches its description.

Can I use Web To Markdown in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dongsheng123132/u-claw --skill web-to-markdown -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-to-markdown, .gemini/skills/web-to-markdown, .github/skills/web-to-markdown and .opencode/skills/web-to-markdown in your project.

What does Web To Markdown need to run?

Going by SKILL.md and its folder, Web To Markdown needs the command-line tools its instructions call (python, curl and pip). Our summary lists: Python 3.

Does Web To Markdown access the network?

SKILL.md names 1 domain. In commands or code: r.jina.ai; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Web To Markdown safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Web To Markdown use?

Web To Markdown is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Web To Markdown use?

About 347 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Web To Markdown?

Skills that share tags, products or a category with Web To Markdown: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and Crossposting (wasp-lang/wasp, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Web To Markdown?

dongsheng123132 (a GitHub user) maintains it in dongsheng123132/u-claw, which has 1,759 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.

Source: dongsheng123132/u-claw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.