online-content-collector

online-content-collector is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 32 tokens per session (892 once invoked), scanned A, original, Apache-2.0.

A tool for collecting tagged links from an Obsidian vault, a folder of linked Markdown notes, and saving local copies of the linked material. It can archive text, images, videos, and metadata in separate folders.

In plain words
What is it for?
It helps find notes marked for downloading, create a download list, save recognised YouTube and X links, store media and metadata together, and report items from unsupported sites as failed.
Why use it?
Useful online material can disappear, change, or remain scattered across bookmarks. Local archives make the collected pages and their related files available inside the vault.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit It helps find notes marked for downloading, create a download list, save recognised YouTube and X links, store media and metadata together, and report items from unsupported sites as failed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/online-content-collector
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cafe3310/public-agent-skills --skill online-content-collector
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for online-content-collector

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/online-content-collector/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/online-content-collector)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/online-content-collector"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/online-content-collector/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for online-content-collector

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/online-content-collector"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/online-content-collector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00892
Opus 5 $0.00016 $0.00446
Sonnet 5 $0.00006 $0.00178
Haiku 4.5 $0.00003 $0.00089

Measured 12d ago against content hash 8b06bc121aae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

online-content-collector scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/collect_links.py, scripts/process_downloads.py, scripts/sync_tags.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/online-content-collector/SKILL.md · 66 lines

What it actually says

技能:线上素材收集器 (Online Content Collector)

概述

此技能旨在实现从“发现链接”到“本地化存档”的完全自动化。它扫描 Obsidian 仓库中带有特定标签的链接,将其汇总并下载为包含文本、图片、视频及附件的完整本地 Markdown 存档。

核心配置解析

此技能依赖用户 Vault 根目录下的 AGENTS.mdAgent 在执行脚本前,必须首先读取此文件,并解析出以下路径:

  • 下载列表目录位于: 用于传递给 --list-dir
  • 下载内容目录位于: 用于传递给 --archive-dir

核心工作流

第一阶段:扫描与汇总 (Discovery & Aggregation)

  1. 配置读取: Agent 读取 AGENTS.md,确定目标路径。
  2. 执行脚本: 调用 scripts/collect_links.py,传入 --vault-path--list-dir
  3. 元数据提取与更新: 脚本扫描包含 #Marker-待下载 的文件,提取 timesource,生成 YAML 格式的任务列表 [yyyy-mm-dd-hh 下载列表整理.md],并将原始文件标签更新为 #Marker-下载中-YYYYMMDD

第二阶段:用户确认 (User Confirmation)

  1. 停止并检查: Agent 输出 YAML 列表文件路径,等待用户确认。

第三阶段:执行下载与剪藏 (Execution & Archival)

  1. 执行脚本: 调用 scripts/process_downloads.py,传入 --list-file--archive-dir
  2. 任务处理与分发:
    • YouTube / X (Twitter): 使用 yt-dlp 下载。请求最高画质,必须下载并保留全量 JSON 元数据(--write-info-json)。
    • 未知站点: 如果无法识别域名或未配置下载方式,则直接标记为“下载失败(未识别站点)”,不进行尝试。
  3. 隔离目录创建: 为每个下载任务创建独立目录,命名规范:[YYYY-MM-DD-HH] {分类} {描述/ID}
  4. 内容本地化:
    • 主文档: 在目录下创建一个同名的 .md 文件。
    • 资产存放: 所有的 .mp4, .json, .jpg 等资产全部存放在该任务目录下
    • 引用关联: Markdown 文件中使用本地相对路径链接同目录下的视频。

第四阶段:状态汇报与闭环 (Reporting & Closing)

  1. 列表回写: 脚本在 YAML 列表中更新状态为“下载完成”或“下载失败”。
  2. 标签同步: Agent 根据脚本输出,将原始文件中的链接标签更新为 #Marker-已下载-YYYYMMDD

依赖工具

  • yt-dlp: 视频抓取。
  • MarkItDown / Pandoc: 网页转 Markdown。
  • ffmpeg: 视频合并。

最佳实践

  • 路径对齐: 始终从 agents.md 读取路径,不要硬编码。
  • 元数据保留: 在剪藏的 Markdown 头部记录原始 URL 和收集时间。
  • 异常容错: 下载失败时记录错误原因,不中断后续任务。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 66 lines · 32 tokens per session scan A 8b06bc121aae

Subscribe to this mod's changes

online-content-collector is a skill published in the GitHub repository cafe3310/public-agent-skills (253 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 32 tokens to every session and 892 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

experts

Assemble a panel of experts to assess a problem from multiple professional perspectives, surface agreement and disagreement, and deliver a chaired recommendation with clear tradeoffs. Use when the user wants multi-expert judgment, a second opinion, design critique, option comparison, or a recommendation backed by…

flc1125/skills · 62 tokens

create-plan

A guide for creating repository-aware technical plans: written proposals for implementation, refactoring, migration, or design work based on the actual codebase.

flc1125/skills · 114 tokens

github-release-notes-writer

Draft or update user-focused GitHub Release Notes from verified tags, commits, pull requests, existing releases, and supplied changelog baselines. Use when preparing prerelease or stable release notes, turning GitHub's generated What's Changed list into a curated narrative, documenting upgrades or breaking changes, or…

flc1125/skills · 84 tokens

google-fonts-curator

Recommend high-taste Google Fonts for websites based on brand tone, page type, and visual direction. Use when the user needs font selection, font pairing, or aesthetic judgment within the Google Fonts ecosystem for landing pages, brand sites, editorial pages, portfolios, or digital products.

flc1125/skills · 61 tokens

programmer-motivator

Give calm, technically grounded encouragement to programmers when the user is stuck on a bug, frustrated by debugging, tired, discouraged, blaming themselves after a mistake, asking for motivation or emotional support while coding, wanting someone to stay with them through a hard problem, celebrating a breakthrough…

flc1125/skills · 102 tokens

subagent-orchestrator

Orchestrate subagent workflows for complex tasks that benefit from decomposition, role-based delegation, and parallel execution. Use when Codex should assemble a temporary team of subagents, choose roles from a reusable role library, create a controlled fallback role when no preset role fits, coordinate read-heavy…

flc1125/skills · 87 tokens