URL Reader — Development skill for Claude Code
智能网页内容读取器 - Claude Code Skill,支持微信公众号、小红书、今日头条等中国主流平台.
How to install URL Reader
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yhslgg-arch/url-reader and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What URL Reader does
智能网页内容读取器 - Claude Code Skill,支持微信公众号、小红书、今日头条等中国主流平台.
Alternatives in Development
- Domxss — Confirm DOM XSS in a real headless browser — injects canary payloads into params + URL fragment and only repor 4.5k ★
- Instinct Import — 从文件或 URL 导入直觉(Instincts)到项目/全局作用域 1.9k ★
- Reader Review — reader skill — 苛刻读者版 669 ★
README
URL Reader - 智能网页内容读取器
一键读取任意URL的内容,自动识别平台类型,智能选择最佳读取策略,自动保存内容和图片到本地。
功能特点
- 🔍 智能平台识别:自动识别微信公众号、小红书、今日头条、抖音、淘宝、天猫、京东、百度、知乎、微博、B站等平台
- 🔄 三层读取策略:Firecrawl → Jina → Playwright 自动降级
- 📝 Markdown输出:干净的Markdown格式输出
- 💾 自动保存:自动保存内容和图片到本地
技术架构
用户输入 URL
↓
┌─────────────┐
│ 平台识别器 │ → 识别URL所属平台
└─────────────┘
↓
┌─────────────────────────────────────┐
│ 策略选择器 │
│ Firecrawl → Jina → Playwright │
│ (首选) (备选) (兜底) │
└─────────────────────────────────────┘
↓
┌─────────────┐
│ 内容提取器 │ → 提取标题、正文、作者等
└─────────────┘
↓
┌─────────────┐
│ 格式化输出 │ → Markdown 格式
└─────────────┘
安装
cd ~/.claude/skills/url-reader
python3 -m venv .venv
source .venv/bin/activate
# 核心依赖
pip install firecrawl-py requests
# Playwright(可选,用于需要登录的平台)
pip install playwright
playwright install chromium
配置
Firecrawl API Key
- 访问 https://www.firecrawl.dev/ 注册账号
- 获取 API Key
- 配置环境变量:
export FIRECRAWL_API_KEY="fc-YOUR_API_KEY"
使用方式
Claude Code 中使用
用户:帮我读取这个链接 https://mp.weixin.qq.com/s/xxxxx
用户:看看这个小红书 https://www.xiaohongshu.com/explore/xxxxx
命令行调用
/url-reader https://example.com/article
支持的平台
| 平台 | 域名 | 推荐策略 |
|---|---|---|
| 微信公众号 | mp.weixin.qq.com | Firecrawl → Playwright |
| 小红书 | xiaohongshu.com | Firecrawl → Jina |
| 今日头条 | toutiao.com | Firecrawl → Jina |
| 抖音 | douyin.com | Firecrawl |
| 淘宝 | taobao.com | Firecrawl → Playwright |
| 天猫 | tmall.com | Firecrawl → Playwright |
| 京东 | jd.com | Firecrawl → Jina |
| 百度 | baidu.com | Firecrawl → Jina |
| 知乎 | zhihu.com | Firecrawl → Jina |
| 微博 | weibo.com | Firecrawl → Playwright |
| B站 | bilibili.com | Firecrawl → Jina |
| 通用网站 | * | Firecrawl → Jina |
目录结构
url-reader/
├── skill.md # Skill文档
├── metadata.json # 元数据
├── scripts/
│ ├── url_reader.py # 主读取器
│ ├── url_identifier.py # URL平台识别器
│ ├── save_content
Related Skills
Reddit Analyze
Post-mortem on a Reddit thread (phase 5 of reddit-strategist). Pass the thread URL, or paste the thread. Separ
Content Risk Detector
短视频逐字稿内容合规检测 Claude Skill,支持抖音、小红书、视频号三大平台
Media Crawler Easy
Claude Code Skill:B站/小红书/抖音/快手/微博/贴吧/知乎 多平台社媒评论采集爬虫。扫码登录,自动生成 HTML 报告+CSV,支持关键词搜索/指定链接/创作者主页三种模式
Xhs Compliance Skill
Claude Code Agent Skill for XHS (小红书) content compliance — avoid banned words and traffic limits
Free Course Share
小红书「免费课程 / 证书」笔记生产 skill:两列截图拼图、证书敏感信息打码(中文 OCR)、3:4 竖版封面生成。Content production for Xiaohongshu notes on free c
Live Class Skill
直播课/会议「代听」Skill(听课 Skill):打开直播网址 → macOS 系统自带 ScreenCaptureKit 捕获系统声音(零安装)→ sherpa-onnx 本地增量转写 → 结束生成结构化总结笔记。适
Related Agents
Template Cloner
Use this agent whenever Pulkit gives a UI template/website URL in the fable repo and wants it reproduced same-
Omd A11y Auditor
Stage 0 deterministic gate of the eval pipeline. Validates DESIGN.md Core v2 binding and portability, then run
Browser QA Report
URL: [tested URL] Date: [timestamp] Flows Tested: [list]