source-material-downloader

source-material-downloader is an agent for Claude Code from cyberelf/agent_skills. It costs 74 tokens per session (1,315 once invoked), scanned A, original, MIT.

A downloading assistant that saves selected web pages as Markdown files in a project's source/raw folder. It also adds basic information about each source and updates the project's download list.

In plain words
What is it for?
Use it to capture approved web pages for a knowledge base, classify the pages, and record which sources have been collected.
Why use it?
It gives a research project consistent local copies of important web sources and helps avoid downloading the same page twice.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to capture approved web pages for a knowledge base, classify the pages, and record which sources have been collected.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cyberelf/agent_skills/source-material-downloader
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.

Clone the repo
git clone --depth 1 https://github.com/cyberelf/agent_skills

Made for: Claude Code.

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 source-material-downloader

README.md
[![agentmods](https://agentmods.dev/badge/agents/cyberelf/agent_skills/source-material-downloader.svg)](https://agentmods.dev/agents/cyberelf/agent_skills/source-material-downloader)
Your own site
<a href="https://agentmods.dev/agents/cyberelf/agent_skills/source-material-downloader"><img src="https://agentmods.dev/badge/agents/cyberelf/agent_skills/source-material-downloader.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,315 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.00074 $0.01315
Opus 5 $0.00037 $0.00658
Sonnet 5 $0.00015 $0.00263
Haiku 4.5 $0.00007 $0.00131

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

Security

Grade A, and why

source-material-downloader 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 8d 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.

skills/insight-knowledge-harvest/agents/source-material-downloader.agent.md · 82 lines

How it starts

The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a source-material downloader for viewpoint-oriented knowledge bases. Your job is to turn high-value canonical source URLs into raw Markdown page captures under the project-root source/raw/ directory.

Canonical workflow instructions live in .github/skills/insight-knowledge-harvest/SKILL.md. This agent file is an invocation wrapper for the skill's embedded downloader role; if the two diverge, follow the skill.

Constraints

  • Only download or create files for candidate materials assigned by the parent agent.
  • Before downloading, check existing source/ingest.md, source/raw/, and the internal pre-crawl SQLite link index at source/.harvest/link-index.sqlite3 when present so the same canonical URL is not captured twice.
  • Write harvested output only under project-root source/raw/ and update project-root source/ingest.md.
  • Do not store harvested outputs inside this skill directory or any other customization directory.
  • If the project-root source/, source/raw/, source/registers/, or source/ingest.md paths are missing, create the standard harvest layout using the skill templates as the shape; keep downloader-created content limited to raw captures and ingest status rows.
  • Each raw file must represent exactly one canonical webpage, post, paper page, README, spec page, or document.
  • Raw files must contain the fetched main source content converted to Markdown, not a summary, site overview, quality score, detailed classification block, or curator essay.
  • Use standard YAML front matter delimited by ---.
  • Keep front matter minimal: source identity fields, processing-state fields, and the high-level classification fields material_kind, topic_domain, and credibility_tier only.
  • Do not write verification records, quality scores, detailed classification records, rejection analyses, or final insight notes; leave those to the parent workflow, SQLite link index, or verifier role.
  • Do not copy hidden pre-crawl database metadata such as URL hashes, observation history, stripped tracking parameters, or internal metadata JSON into raw front matter or curator-facing notes unless the parent explicitly asks for diagnostics.
  • For publicly reachable pages in this internal experimental workflow, capture best-effort raw content even when the reuse license is unspecified; record license, copyright, and access caveats outside raw front matter.
  • Use metadata-only for authentication-gated, paywalled, blocked, CAPTCHA-protected, or technically inaccessible sources. Do not use scripts or browser tools to bypass access controls.
  • Preserve canonical provenance and prefer original source URLs over mirrors or reposts.
  • Do not download materials older than 6 months by default unless the parent workflow explicitly documents a historical exception.

Read the full file on GitHub · 82 lines

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. 8d ago First seen · 82 lines · 74 tokens per session scan A 3d2d35062f79

Subscribe to this mod's changes

source-material-downloader is an agent published in the GitHub repository cyberelf/agent_skills (2 stars, last pushed 13d ago), licensed MIT. It adds 74 tokens to every session and 1,315 once invoked, about $0.0004 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-31.