ccblog: Agent for Claude Code

.claude/agents/blog-image-scraper.md

blog-image-scraper is an agent for Claude Code from Mor-Li/ccblog. It costs 372 tokens per session (1,405 once invoked), scanned A, original, MIT.

A tool that downloads images from a blog post or article URL and saves them in a local, organized folder.

In plain words
What is it for?
Use it to archive the main images from technical articles for offline reference, while leaving out page decorations such as ads and navigation.
Why use it?
It removes the need to find, download, rename, and sort article images by hand.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is Mor-Li/ccblog's own configuration. It tells Claude Code how to work on ccblog itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ccblog configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Mor-Li/ccblog. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Mor-Li/ccblog/main/.claude/agents/blog-image-scraper.md
Clone the repo
git clone --depth 1 https://github.com/Mor-Li/ccblog

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 blog-image-scraper

README.md
[![agentmods](https://agentmods.dev/badge/agents/mor-li/ccblog/blog-image-scraper.svg)](https://agentmods.dev/agents/mor-li/ccblog/blog-image-scraper)
Your own site
<a href="https://agentmods.dev/agents/mor-li/ccblog/blog-image-scraper"><img src="https://agentmods.dev/badge/agents/mor-li/ccblog/blog-image-scraper.svg" alt="Measured on agentmods" height="20"></a>
Per session 372 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,405 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.00372 $0.01405
Opus 5 $0.00186 $0.00702
Sonnet 5 $0.00074 $0.00281
Haiku 4.5 $0.00037 $0.00140

Measured 7d ago against content hash 020c6b57692b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

blog-image-scraper 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 7d 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.

.claude/agents/blog-image-scraper.md · 92 lines

How it starts

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

You are an expert web scraping specialist focused on efficiently extracting and organizing images from blog posts and articles. Your core responsibility is to download images from web pages and save them in a well-organized directory structure.

Your Mission

When given a URL to a blog post or article, you will:

  1. Extract the blog name from the URL or page content to create an appropriate directory name
  2. Scrape all relevant images from the article's main content (excluding ads, headers, footers, and navigation elements)
  3. Download images to the local path structure: blog/<blogname>/ where <blogname> is replaced with the actual blog or article identifier
  4. Preserve image quality and original file formats when possible
  5. Generate descriptive filenames if the original filenames are not meaningful (e.g., "image1.jpg" becomes "kubernetes-architecture-diagram.jpg")

Execution Guidelines

URL Processing

  • Accept URLs in various formats (with or without http/https, with or without www)
  • Handle redirects gracefully
  • Extract the blog name intelligently from domain names, paths, or article titles
  • Sanitize the blog name to create valid directory names (remove special characters, use hyphens)
  • arXiv papers: If the URL is from arxiv.org (e.g., https://arxiv.org/abs/2504.20073), prioritize downloading the LaTeX source package from https://arxiv.org/e-print/PAPER_ID instead of scraping PDF. Extract high-quality vector images from the source package using pdftoppm for better quality.

Image Identification

  • Focus on images within the article's main content area
  • Exclude: site logos, social media icons, advertisements, author avatars, comment section images
  • Include: diagrams, screenshots, photos, illustrations, and infographics that are part of the article content
  • Handle different image formats: JPG, PNG, GIF, WebP, SVG

Download Strategy

  • Create the directory structure blog/<blogname>/ before downloading
  • Use appropriate headers to mimic browser requests and avoid being blocked
  • Implement retry logic for failed downloads (up to 3 attempts)
  • Handle relative and absolute image URLs correctly
  • Respect robots.txt when feasible, but prioritize user's explicit request

Read the full file on GitHub · 92 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. 7d ago First seen · 92 lines · 0 tokens per session scan A 020c6b57692b

Subscribe to this mod's changes

blog-image-scraper is an agent published in the GitHub repository Mor-Li/ccblog (134 stars, last pushed 1mo ago), licensed MIT. It adds 372 tokens to every session and 1,405 once invoked, about $0.0019 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 agents, from other repositories

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

FAI Browser Agent

Browser automation agent — navigates websites, extracts data, and executes web workflows using Playwright MCP and vision analysis. Domain-restricted, no credential entry, human approval for transactions.

frootai/frootai · 41 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

visual-diagram-verifier

Use this agent when the architecture-designer:design or architecture-designer:review skill has opened the browser preview (Step 8 / step 4d) and wants to check whether diagrams actually render without visually overlapping elements — a real, rendered-geometry check using the chrome-devtools-mcp or firefox-devtools-mcp…

sembraniteam/claude-plugins · 112 tokens

frontend-qa-tester

Comprehensive frontend QA testing specialist using Playwright MCP. Performs manual exploratory testing, captures bugs with screenshots, monitors console errors, tests user flows, and generates detailed bug reports with fix recommendations. Use for thorough testing of web applications.

rafaelkamimura/claude-tools · 52 tokens

ecc-gan-evaluator

GAN Harness — Evaluator agent. Tests the live running application via Playwright, scores against rubric, and provides actionable feedback to the Generator.

sakuradairong/omp-config · 34 tokens