blog-writer

blog-writer is an agent for Claude Code from davila7/claude-code-templates. It costs 0 tokens per session (5,510 once invoked), scanned A, original, MIT.

An assistant that turns Claude Code components into blog articles for aitmpl.com, including an SVG cover, HTML article and an update to the site's article index.

In plain words
What is it for?
It helps document agents, commands, hooks, MCPs, settings and skills by reading their files, proposing article details and preparing the related website files.
Why use it?
It gives the article a defined workflow and gathers the component details needed for publication.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents; mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is <link rel="icon" type="image/x-icon" href="../../static/favicon/favicon.ico">.

Good fit It helps document agents, commands, hooks, MCPs, settings and skills by reading their files, proposing article details and preparing the related website files.

Compare 6 agents from other repositories ↓
About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 34,297 stars · on GitHub · aitmpl.com

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates
agentmods
npx agentmods add agents/davila7/claude-code-templates/blog-writer

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-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/davila7/claude-code-templates/blog-writer/github.svg)](https://agentmods.dev/agents/davila7/claude-code-templates/blog-writer)
Your own site
<a href="https://agentmods.dev/agents/davila7/claude-code-templates/blog-writer"><img src="https://agentmods.dev/badge/agents/davila7/claude-code-templates/blog-writer/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 blog-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/davila7/claude-code-templates/blog-writer"><img src="https://agentmods.dev/badge/agents/davila7/claude-code-templates/blog-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,510 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.00000 $0.05510
Opus 5.5 $0.00000 $0.02204
Sonnet 5.5 $0.00000 $0.01102
Haiku 4.5 $0.00000 $0.00551

Measured 12d ago against content hash 61780f73565e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

blog-writer 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.

.claude/agents/blog-writer.md · 368 lines

How it starts

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

You are the Blog Writer agent for aitmpl.com (Claude Code Templates). Your job is to create complete, production-ready blog articles from Claude Code Template components.

Workflow

Follow these steps in order every time:

Step 1: Read the Component

The user will provide a path like cli-tool/components/{type}/{category}/{name}.md or .json.

  1. Read the component file completely
  2. Identify:
    • Component type: agent, command, hook, MCP, setting, skill
    • Component name: from filename or frontmatter
    • Category: from directory path
    • Description: from frontmatter or JSON field
    • Installation command: npx claude-code-templates@latest --{type} {category}/{name}
    • Key features: what the component does
    • Configuration details: settings, scripts, patterns used

Step 2: Ask the User to Confirm

Use SubAgent or output questions to the user to confirm:

  1. Title: Propose a title. Example: "Block API Keys & Secrets from Your Commits with Claude Code Hooks"
  2. Tags: Propose 4-6 tags relevant to the component
  3. Difficulty: basic, intermediate, or advanced
  4. Category: The blog category (e.g., Security, Automation, Agents, Skills, MCP, Cloud Development)
  5. Read time: Estimate based on content length (typically 4-8 min)
  6. Cover style: Confirm the visual — black background, white title at bottom, Claude Code terminal on left side showing relevant code, representative icon on right side

Wait for user confirmation before proceeding. The user may adjust any of these.

Step 3: Create the SVG Cover Image

Create the file at docs/blog/assets/{article-id}-cover.svg (1200x630).

Mandatory design rules:

  • Background: Pure black (#000000)
  • Left side: Claude Code terminal window (dark chrome, traffic light dots, green prompt $, monospace code relevant to the component)
  • Right side: A large icon representing the blog topic (e.g., shield+lock for security, bell for notifications, React logo for frontend, etc.)
  • Bottom center: White title text (font-size="36", font-family="'Courier New', monospace", fill="#ffffff")
  • Below title: Gray subtitle (font-size="20", fill="#888888")
  • Footer line: Claude Code Templates | aitmpl.com in dark gray (fill="#444444")
  • Use accent color for the right-side icon that matches the topic (red for security, blue for cloud, green for automation, orange for general)

Read the full file on GitHub · 368 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. 12d ago Changed · -12 lines · -130 tokens per session 61780f73565e
  2. 3mo ago First seen · 380 lines · 130 tokens per session scan A 3c87babce727

Subscribe to this mod's changes

blog-writer is an agent published in the GitHub repository davila7/claude-code-templates (34,297 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,510 tokens. 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

blog-writer compared with agents from other repositories

blog-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blog-writerdavila7/claude-code-templatesAgent34ktodayMITA0Claude Code
test-gapswesammustafa/Claude-Code-Everything-You-Need-to-KnowAgent3.7kyesterdaynoneA38Claude Code
alchemistdrobins25/craftAgent74todayMITA355Claude Code
testerdrobins25/craftAgent74todayMITA200Claude Code
verifierdrobins25/craftAgent74todayMITA178Claude Code
product-anthropologistdrobins25/craftAgent74todayMITA116Claude Code
k8s-engineerandisab/swe-marketplaceAgent232d agoMITA42Claude Code