✨

Web Clipper

Web Clipper · v1.0.3
可以安装,但有提示 HAS_SCRIPTS
安全 unknown 级 作者 chatgptnexus 公开目录收录
782 下载 0 安装 3k 收藏 3 浏览

简介

Web Clipper

原始描述

Save any web page as a clean Markdown note with metadata, organized in Obsidian format, using Jina Reader API without browser extensions.

通过你的 Agent 添加

安装目录:web-clipper/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/web-clipper-75218/
Codex CLI~/.codex/skills/web-clipper-75218/
DeepSeek Harness~/.agents/skills/web-clipper-75218/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: web-clipper description: Save any web page as an Obsidian-compatible Markdown clipping. Triggered by "save " or "保存这个". Uses Jina Reader API for clean content extraction. Supports custom tags, subfolders, and vault paths. Saves to ~/.openclaw/obsidian-cache/clippings/ by default. TRIGGER "save " / "保存这个" / any URL with "save" or "clip" -> ALWAYS exec: python3 ~/.openclaw/skills/web-clipper/scripts/save_web_page.py --url "URL" -> Confirm the saved filename to user. NEVER use memory.

Web Clipper

Save any web page as a clean, readable Markdown note in your Obsidian vault. Powered by Jina Reader API for content extraction — no browser extension required. Works from inside Claude.

When to Use This Skill

  • You want to save an article for later reading in Obsidian
  • You found a useful page and want it archived as Markdown
  • You want to add tags and organize clips into subfolders
  • You need to clip technical docs, blog posts, or news articles
  • You want to avoid browser extension bloat — just tell Claude to save it

What This Skill Does

  1. Fetches the page via Jina Reader API — strips ads, nav, and noise
  2. Converts to Markdown — clean readable format with frontmatter
  3. Saves to your vault — default: ~/.openclaw/obsidian-cache/clippings/
  4. Adds metadata — title, source URL, date saved, and your tags
  5. Confirms the filename — Claude tells you exactly where it was saved

Requirements

  • Python 3.7+
  • requests library: pip install requests
  • JINA_API_KEY — optional. Works without a key (free tier). Set for higher rate limits:
echo 'JINA_API_KEY=jina_xxxxxxxxxxxx' >> ~/.openclaw/.env

Get a free key at jina.ai

Note: The script only accepts http:// and https:// URLs. Local file paths are not supported.

How to Use

Basic — Save a URL

save https://example.com/article
保存这个 https://v2ex.com/t/123456

With Tags

save https://example.com/article --tags "ai,research"

Save to a Subfolder

save https://example.com/article --folder clippings/tech

Full Options

python3 ~/.openclaw/skills/web-clipper/scripts/save_web_page.py \
  --url "https://example.com/article" \
  --folder "clippings/tech" \
  --tags "ai,tools" \
  --vault "/path/to/your/obsidian/vault"

Example

User: save https://www.v2ex.com/t/1197958

Claude executes:

python3 ~/.openclaw/skills/web-clipper/scripts/save_web_page.py --url "https://www.v2ex.com/t/1197958"

Output file (~/.openclaw/obsidian-cache/clippings/2026-01-15 V2EX Thread Title.md):

---
title: "V2EX Thread Title"
source: "https://www.v2ex.com/t/1197958"
saved: "2026-01-15 14:32"
tags: []
---

# V2EX Thread Title

> Source: https://www.v2ex.com/t/1197958
> Saved: 2026-01-15 14:32

---

[Clean article content in Markdown...]

Claude confirms: "已保存为 2026-01-15 V2EX Thread Title.md ✅"

Supported Content

Content Type Support
Blog posts / articles ✅
Technical documentation ✅
News articles ✅
V2EX / Reddit threads ✅
GitHub READMEs ✅
PDF files (remote) ✅
JS-heavy SPAs ⚠️ Jina handles most; complex apps may need PinchTab
Login-required pages ❌

File Structure

web-clipper/
├── SKILL.md                    ← This file (Claude reads this)
└── scripts/
    └── save_web_page.py        ← Main clipping script

Output Format

Saved files include YAML frontmatter for Obsidian compatibility:

---
title: "Article Title"
source: "https://original-url.com"
saved: "2026-01-15 14:32"
tags: [ai, research]
---

Notes

  • Filenames are auto-sanitized and dated: YYYY-MM-DD Title.md
  • Duplicate filenames get a counter suffix: 2026-01-15 Title (2).md
  • Default vault: ~/.openclaw/obsidian-cache/clippings/
  • The JINA_API_KEY free tier supports ~1000 requests/month

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill