create-blog-article

create-blog-article is a command for Claude Code from davila7/claude-code-templates. It costs 17 tokens per session (3,913 once invoked), scanned A, original, MIT.

A command that creates a complete search-engine-friendly blog article for a Claude Code component and generates a cover image.

In plain words
What is it for?
It helps document agents, MCPs, skills and other Claude Code components as publishable blog posts.
Why use it?
It removes the need to research the component, structure an article and prepare its visual separately.

Command for Claude Code

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 · 30,520 stars · on GitHub

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.

agentmods
npx agentmods add commands/davila7/claude-code-templates/create-blog-article
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 create-blog-article

README.md
[![agentmods](https://agentmods.dev/badge/commands/davila7/claude-code-templates/create-blog-article.svg)](https://agentmods.dev/commands/davila7/claude-code-templates/create-blog-article)
Your own site
<a href="https://agentmods.dev/commands/davila7/claude-code-templates/create-blog-article"><img src="https://agentmods.dev/badge/commands/davila7/claude-code-templates/create-blog-article.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00017 $0.03913
Opus 5 $0.00009 $0.01956
Sonnet 5 $0.00003 $0.00783
Haiku 4.5 $0.00002 $0.00391

Measured 5d ago against content hash 0b13fabe0c6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-blog-article 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 5d 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/commands/create-blog-article.md · 432 lines

How it starts

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

Create Blog Article for Claude Code Component

You will create a complete, SEO-optimized blog article for a Claude Code component.

Component Path Argument

Component path provided: $ARGUMENTS

Expected format examples:

  • development-team/frontend-developer (for agents)
  • supabase (for MCPs)
  • productivity/nowait (for skills)

Step 1: Identify Component Type and Read Component File

Based on the path structure, determine the component type:

  • If path has /, could be an agent, MCP, command, skill, or hook in a folder
  • Single word could be MCP, command, or skill

Read the component file:

  • Agents: cli-tool/components/agents/$ARGUMENTS.md (e.g., development-team/frontend-developer.md)
  • MCPs: cli-tool/components/mcps/$ARGUMENTS.json (e.g., devtools/context7.json)
  • Skills: cli-tool/components/skills/$ARGUMENTS/SKILL.md
  • Commands: cli-tool/components/commands/$ARGUMENTS.md (e.g., setup/ci-cd-pipeline.md)
  • Hooks: cli-tool/components/hooks/$ARGUMENTS.md

CRITICAL: Use find or grep to locate the actual file path first, then extract folder/name structure.

Extract from the component file:

  • name: Component name
  • description: Component description
  • tools: Available tools (for agents)
  • Key capabilities and focus areas from the content

Step 2: Generate Component-Specific Blog ID and Names

From the component path, create:

  • Blog ID: Convert path to blog-friendly ID

    • Example: development-team/frontend-developerfrontend-developer-agent
    • Example: supabasesupabase-mcp
    • Example: productivity/nowaitnowait-skill
  • Component Name: Human-readable name

    • Example: frontend-developerFrontend Developer
    • Example: supabaseSupabase
  • Component Type: Uppercase type

    • AGENT, MCP, SKILL, COMMAND, HOOK

Step 3: Generate Cover Image FIRST

CRITICAL: Generate the cover image BEFORE creating the HTML file.

Use the Python script to generate the image:

python3 scripts/generate_blog_images.py

Read the full file on GitHub · 432 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. 5d ago First seen · 432 lines · 17 tokens per session scan A 0b13fabe0c6d

Subscribe to this mod's changes

create-blog-article is a command published in the GitHub repository davila7/claude-code-templates (30,520 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 3,913 once invoked, about $0.0001 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.