claude-code-templates: Agent for Claude Code

.claude/agents/blog-writer.md

blog-writer is an agent for Claude Code from davila7/claude-code-templates. It costs 0 tokens per session (5,650 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.

This is davila7/claude-code-templates's own configuration. It tells Claude Code how to work on claude-code-templates 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 claude-code-templates configures →

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">.

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 · 32,670 stars · on GitHub · aitmpl.com

Reuse

Borrowing it

Nothing to install: this file belongs to davila7/claude-code-templates. 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/davila7/claude-code-templates/main/.claude/agents/blog-writer.md
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

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,650 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.05650
Opus 5.5 $0.00000 $0.02260
Sonnet 5.5 $0.00000 $0.01130
Haiku 4.5 $0.00000 $0.00565

Measured 1mo ago against content hash 3c87babce727, 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 1mo 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 · 380 lines

How it starts

The opening of the file, as written. The whole thing — 380 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 · 380 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. 1mo 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 (32,670 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,650 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

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

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

product-anthropologist

The human-truth layer for product decisions. Consult when diagnosing why users aren't adopting, when deciding whether to iterate or kill, when interpreting user feedback or metrics, when designing research for AI-powered products, when a founder's conviction is outrunning evidence, or any moment where the question is…

drobins25/craft · 116 tokens

csharp-reviewer

Read-only C#/.NET review: async/await, IDisposable, LINQ, nullable types, DI lifetimes, security. Use when a diff touches .cs or .csproj files.

KevinZai/commander · 44 tokens

security-auditor

Read-only security audit: OWASP/CWE-mapped findings with exploit path, fix and verification. Use when code touches untrusted input, auth, secrets or dependencies.

KevinZai/commander · 39 tokens