Obs Archive
将本地文档、视频、图片、演示文稿或外部链接(X/Twitter、视频、互联网文章)下载本地化并归档至 Obsidian 仓库附件目录,同时撰写包含内容解析与内嵌附件/原文的说明笔记
Install
npx skills add cafe3310/public-agent-skills --skill obs-archivegit clone --depth 1 https://github.com/cafe3310/public-agent-skills.git /tmp/public-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/public-agent-skills/skills/obs-archive ~/.claude/skills/obs-archivePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# obs-archive 将用户提供的本地文件(文档、视频、图片、演示文稿)或外部链接(X/Twitter 推文、视频链接、互联网文章)下载并本地化到 Obsidian 仓库的附件目录中,同时阅读解析其内容,在仓库中生成一篇结构清晰、内嵌附件或原文的 Obsidian 归档说明笔记。 ## 仓库、归档目录与附件目录约定 1. 默认仓库定位顺序 - 若用户显式指定了仓库路径,或当前工作目录本身位于某个 Obsidian 仓库内(存在 `.obsidian` 目录),直接使用该仓库。 - 否则优先查找名为 `obsidian-agi` 的仓库(通过读取系统 Obsidian 注册表 `~/Library/Application Support/obsidian/obsidian.json` 或常见路径如 `~/Library/Mobile Documents/iCloud~md~obsidian/Documents/obsidian-agi`、`~/workspace/obsidian-agi`)。 - 若仓库根目录下存在 `AGENTS.md`,在写入笔记前先读取并遵守其中的仓库约定。 2. 归档笔记存放目录(`./cafe3310/archives`) - 所有通过本技能生成的解析与说明文档,默认统一存放在目标 Obsidian 仓库的 `./cafe3310/archives` 目录下(该目录由本技能维护,内含 `README.md` 说明目录职责与归档规则;若在新仓库首次运行且该目录尚无 `README.md`,应一并创建)。 3. 附件目录解析 - 严禁硬编码附件目录名称,统一读取目标仓库 `.obsidian/app.json` 中的 `attachmentFolderPath` 配置项确定附件存放路径。 4. 本地文件移动与复制策略 - 若用户提供的本地文件位于桌面(`~/Desktop`)或下载目录(`~/Downloads`),归档时直接将该文件移动到 Obsidian 附件目录。 - 若本地文件位于其他目录(如代码仓库、文稿目录),归档时将其复制到 Obsidian 附件目录,保留原路径文件不动。 - 外部链接抓取产生的临时文件在归档入库时直接移动并清理临时目录。 ## 工作流程 ### 第一步:探测 Obsidian 仓库与附件配置 运行内置脚本的 `inspect-vault` 子命令,确认目标仓库路径、附件目录路径以及是否存在仓库级 `AGENTS.md`: ```bash python3 <path_to_skill>/scripts/archive_helper.py inspect-vault [--vault <custom_vault_path>] ``` 若返回的 `agents_md_path` 不为空,先读取该文件了解仓库特定规则。 ### 第二步:获取与本地化输入源 根据用户提供的输入(本地路径或 URL),创建临时工作目录并运行 `fetch` 子命令: ```bash python3 <path_to_skill>/scripts/archive_helper.py fetch \ --input "<url_or_local_path>" \ --work-dir "/tmp/obsidian_archiver_task" ``` 不同类型输入的处理行为:
Details
- Skill name
obs-archive- Repository
- cafe3310/public-agent-skills
- Path
skills/obs-archive/SKILL.md- License
- Apache-2.0
- Repo updated
- 15 November 2026
FAQ
What does the Obs Archive skill do?
将本地文档、视频、图片、演示文稿或外部链接(X/Twitter、视频、互联网文章)下载本地化并归档至 Obsidian 仓库附件目录,同时撰写包含内容解析与内嵌附件/原文的说明笔记
How do I install the Obs Archive skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add cafe3310/public-agent-skills --skill obs-archive. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Obs Archive popular?
It lives in cafe3310/public-agent-skills, which has 260 GitHub stars and 30 forks.
Related skills
Skill Creator
260cafe3310/public-agent-skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Impeccable
260cafe3310/public-agent-skills
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Not for backend-only or non-UI tasks.
Agent Browser
260cafe3310/public-agent-skills
为 Agent 设计的自动化浏览器 CLI 工具,也能操作 Electron 桌面应用。当需要与网站交互(包括页面导航)时使用
Project Design Concept Organizer
260cafe3310/public-agent-skills
补充 doc-todo-log-loop,在开发过程中归纳项目的设计理念和架构模式,将开发决策和隐性知识转化为系统的设计文档
Email Report
114cognyai/claude-code-marketing-skills
Auto-generate the weekly or monthly email performance report in three formats — Slack update, CEO email, board-deck section — from real ESP data
Project Memory
93SpillwaveSolutions/project-memory
Set up and maintain a structured project memory system in docs/project_notes/ that tracks bugs with solutions, architectural decisions, key project facts, and work history. Use this skill when asked to "set up project memory", "track our decisions", "log a bug fix", "update project memory", or "initialize memory system". Configures both CLAUDE.md and AGENTS.md to maintain memory awareness across different AI coding tools.
Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.