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.
npx skills add cafe3310/public-agent-skills --skill online-content-collectorgit clone --depth 1 https://github.com/cafe3310/public-agent-skillsWrote 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.
[](https://agentmods.dev/skills/cafe3310/public-agent-skills/online-content-collector)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
What it actually says
技能:线上素材收集器 (Online Content Collector)
概述
此技能旨在实现从“发现链接”到“本地化存档”的完全自动化。它扫描 Obsidian 仓库中带有特定标签的链接,将其汇总并下载为包含文本、图片、视频及附件的完整本地 Markdown 存档。
核心配置解析
此技能依赖用户 Vault 根目录下的 AGENTS.md。Agent 在执行脚本前,必须首先读取此文件,并解析出以下路径:
下载列表目录位于: 用于传递给--list-dir。下载内容目录位于: 用于传递给--archive-dir。
核心工作流
第一阶段:扫描与汇总 (Discovery & Aggregation)
- 配置读取: Agent 读取
AGENTS.md,确定目标路径。 - 执行脚本: 调用
scripts/collect_links.py,传入--vault-path和--list-dir。 - 元数据提取与更新: 脚本扫描包含
#Marker-待下载的文件,提取time和source,生成 YAML 格式的任务列表[yyyy-mm-dd-hh 下载列表整理.md],并将原始文件标签更新为#Marker-下载中-YYYYMMDD。
第二阶段:用户确认 (User Confirmation)
- 停止并检查: Agent 输出 YAML 列表文件路径,等待用户确认。
第三阶段:执行下载与剪藏 (Execution & Archival)
- 执行脚本: 调用
scripts/process_downloads.py,传入--list-file和--archive-dir。 - 任务处理与分发:
- YouTube / X (Twitter): 使用
yt-dlp下载。请求最高画质,必须下载并保留全量 JSON 元数据(--write-info-json)。 - 未知站点: 如果无法识别域名或未配置下载方式,则直接标记为“下载失败(未识别站点)”,不进行尝试。
- YouTube / X (Twitter): 使用
- 隔离目录创建: 为每个下载任务创建独立目录,命名规范:
[YYYY-MM-DD-HH] {分类} {描述/ID}。 - 内容本地化:
- 主文档: 在目录下创建一个同名的
.md文件。 - 资产存放: 所有的
.mp4,.json,.jpg等资产全部存放在该任务目录下。 - 引用关联: Markdown 文件中使用本地相对路径链接同目录下的视频。
- 主文档: 在目录下创建一个同名的
第四阶段:状态汇报与闭环 (Reporting & Closing)
- 列表回写: 脚本在 YAML 列表中更新状态为“下载完成”或“下载失败”。
- 标签同步: Agent 根据脚本输出,将原始文件中的链接标签更新为
#Marker-已下载-YYYYMMDD。
依赖工具
- yt-dlp: 视频抓取。
- MarkItDown / Pandoc: 网页转 Markdown。
- ffmpeg: 视频合并。
最佳实践
- 路径对齐: 始终从
agents.md读取路径,不要硬编码。 - 元数据保留: 在剪藏的 Markdown 头部记录原始 URL 和收集时间。
- 异常容错: 下载失败时记录错误原因,不中断后续任务。
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- 2026-04-28-20-55-online-collector-requirements.md 2.0 KB
- assets/example_vault/agents.md 107 B
- assets/example_vault/Archives/Clips/[2026-05-02-15] 演示 dQw4w9WgXcQ/[2026-05-02-15] 演示 dQw4w9WgXcQ.md 278 B
- assets/example_vault/Archives/Clips/[2026-05-02-15] 演示 dQw4w9WgXcQ/metadata.json.example 0 B
- assets/example_vault/Archives/Clips/[2026-05-02-15] 演示 dQw4w9WgXcQ/video.mp4.example 0 B
- assets/example_vault/Archives/Clips/[2026-05-02-18] 演示 2036268335927796152/[2026-05-02-18] 演示 2036268335927796152.md 264 B
- assets/example_vault/Archives/Clips/[2026-05-02-18] 演示 2036268335927796152/image_1.jpg.example 0 B
- assets/example_vault/Archives/Clips/[2026-05-02-18] 演示 2036268335927796152/metadata.json.example 0 B
- assets/example_vault/DailyNotes/2026-05-01.md 281 B
- assets/example_vault/DailyNotes/2026-05-02.md 584 B
- assets/example_vault/DailyNotes/failure_test.md 190 B
- assets/example_vault/Workflows/DownloadLists/2026-05-02-01 下载列表整理.md 473 B
- assets/example_vault/Workflows/DownloadLists/2026-05-02-18 下载列表整理.md 836 B
- requirements.md 1.9 KB
- scripts/collect_links.py 4.7 KB runs code
- scripts/process_downloads.py 6.8 KB runs code
- scripts/sync_tags.py 4.3 KB runs code
- workflows/01_collection_loop.md 2.1 KB
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.
- 12d ago First seen · 66 lines · 32 tokens per session scan A 8b06bc121aae
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.
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…
create-plan
A guide for creating repository-aware technical plans: written proposals for implementation, refactoring, migration, or design work based on the actual codebase.
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…
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.
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…
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…