简介
将任意网页一键转存为结构化 Obsidian 笔记,自动提取主题、要点与个人行动项,支持中英文双语输出
原始描述
Create and manage Obsidian “Clip” notes (web/article/page clips). Use when the user says “clip/剪藏/收藏/保存这个链接”, wants a readable summary of a URL, and wants it...
通过你的 Agent 添加
安装目录:obsidian-clip/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: obsidian-clip
description: Create and manage Obsidian “Clip” notes (web/article/page clips). Use when the user says “clip/剪藏/收藏/保存这个链接”, wants a readable summary of a URL, and wants it saved into an Obsidian vault under Clip/YYYY-MM/.
Obsidian Clip
Turn a URL into a readable, reusable Clip note in an Obsidian vault.
Storage
- Vault:
${OBSIDIAN_VAULT} (recommended to set; fallback supported by script)
- Folder:
Clip/YYYY-MM/
- Filename:
YYYY-MM-DD_标题_关键词.md
Output standard (must follow)
${OBSIDIAN_VAULT} (recommended to set; fallback supported by script)Clip/YYYY-MM/YYYY-MM-DD_标题_关键词.mdThe skill supports Chinese and English notes.
- Default language: auto-detect (based on your system locale and whether the content contains CJK characters)
- Override language: set
OBSIDIAN_CLIP_LANG=zhorOBSIDIAN_CLIP_LANG=en
Structure:
- Theme / 主题一句话 (1 sentence, plain)
- Takeaways / 要点 (5–10 bullets, each ≤ 1 line)
- How I’ll use it / 我怎么用 (1–3 bullets; actions / why it matters)
- Limits / 规则/限制 (optional; paywall/login required, license, caveats)
Workflow
- Fetch the page
- Prefer lightweight extraction tools (e.g.,
web_fetch) first.
- Use a real browser only when needed (JS-heavy sites / WeChat / login / extraction fails).
- If blocked by login/paywall, ask the user to log in, then retry.
- Rewrite for readability
- Don’t make the output about tool limitations.
- If details are still inaccessible, produce a useful clip anyway: page定位 + 可用信息 + what you need to finish.
- Do not send screenshots/images unless the user explicitly requests.
- Save to Obsidian using the bundled script.
Bundled script
- Prefer lightweight extraction tools (e.g.,
web_fetch) first. - Use a real browser only when needed (JS-heavy sites / WeChat / login / extraction fails).
- If blocked by login/paywall, ask the user to log in, then retry.
- Don’t make the output about tool limitations.
- If details are still inaccessible, produce a useful clip anyway: page定位 + 可用信息 + what you need to finish.
- Do not send screenshots/images unless the user explicitly requests.
Path: scripts/clip_save.sh
Example:
bash scripts/clip_save.sh \
--url "https://example.com" \
--title "页面标题" \
--theme "一句话主题" \
--bullets "要点1" --bullets "要点2" \
--actions "我怎么用1" \
--limits "规则/限制(可选)" \
--tags "clip" --tags "ai" \
--keywords "keyword1-keyword2" \
--date "YYYY-MM-DD"
Notes:
--bullets/--actions/--limits/--tagscan be repeated.- Keep
--keywordsshort (2–5 tokens joined by-).
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。