Fetches any URL as clean Markdown using proxy services or built-in scripts. Handles login-required pages (X/Twitter, WeChat 公众号, Feishu/Lark docs) and PDFs. Routes requests to appropriate fetch scripts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/joeseesun-markdown-proxy:qiaomu-markdown-proxyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
将任意 URL 转为干净的 Markdown。支持需要登录的页面、PDF、专有平台。
将任意 URL 转为干净的 Markdown。支持需要登录的页面、PDF、专有平台。
收到 URL 后,先判断类型,不同类型走不同通道:
| URL Pattern | Route To | Reason |
|---|---|---|
mp.weixin.qq.com | scripts/fetch_weixin.py | 公众号需 Playwright 抓取 |
feishu.cn/docx/ feishu.cn/wiki/ larksuite.com/docx/ | scripts/fetch_feishu.py | 需飞书 API 认证 |
youtube.com youtu.be | yt-search-download skill | YouTube 有专用工具链 |
.pdf (URL or local path) | scripts/extract_pdf.sh | PDF 专用提取 |
| All other URLs | scripts/fetch.sh | 代理级联自动 fallback |
if URL contains "mp.weixin.qq.com":
→ python3 ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch_weixin.py "URL"
→ Done
if URL contains "feishu.cn/docx/" or "feishu.cn/wiki/" or "larksuite.com/docx/":
→ python3 ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch_feishu.py "URL"
→ Done
if URL contains "youtube.com" or "youtu.be":
→ Call yt-search-download skill
→ Done
if URL ends with ".pdf" or is local PDF path:
if remote URL:
→ Try: curl -sL "https://r.jina.ai/{url}"
→ If fails: download + extract_pdf.sh
if local path:
→ bash ~/.claude/skills/qiaomu-markdown-proxy/scripts/extract_pdf.sh "PATH"
→ Done
else:
→ bash ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch.sh "URL"
→ Done
After fetching, show to user:
Title: {title}
Author: {author} (if available)
Source: {platform} (公众号 / 飞书文档 / 网页 / PDF)
URL: {original_url}
Summary
{3-5 sentence summary}
Content
{full Markdown, truncated at 200 lines if long}
Save to ~/Downloads/{title}.md with YAML frontmatter by default.
After saving and reporting the path, stop. Do not analyze, comment on, or discuss the content unless asked.
bash ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch.sh "https://example.com/article"
bash ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch.sh "https://x.com/username/status/1234567890"
python3 ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch_weixin.py "https://mp.weixin.qq.com/s/abc123"
python3 ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch_feishu.py "https://xxx.feishu.cn/docx/xxxxxxxx"
curl -sL "https://r.jina.ai/https://example.com/paper.pdf"
bash ~/.claude/skills/qiaomu-markdown-proxy/scripts/extract_pdf.sh "/path/to/paper.pdf"
bash ~/.claude/skills/qiaomu-markdown-proxy/scripts/fetch.sh "https://example.com" "http://127.0.0.1:7890"
fetch.sh handles proxy cascade with automatic fallbackpip install playwright beautifulsoup4 lxml && playwright install chromiumFEISHU_APP_ID + FEISHU_APP_SECRET env varsreferences/methods.mdnpx claudepluginhub joeseesun/qiaomu-markdown-proxyCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.