generate-blog

generate-blog is a command for Claude Code from gtmagents/gtm-agents. It costs 17 tokens per session (330 once invoked), scanned A, original, Apache-2.0.

A command that drafts long-form blog posts from a topic, target reader, keyword, length, tone, and call to action. It also provides an SEO brief and ideas for reusing the content.

In plain words
What is it for?
Use it to create Markdown blog drafts, headings, metadata, social copy, and other campaign content.
Why use it?
It removes the need to plan the article structure, SEO details, and follow-up content separately.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to create Markdown blog drafts, headings, metadata, social copy, and other campaign content.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gtmagents/gtm-agents/generate-blog
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/gtmagents/gtm-agents

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 generate-blog

README.md
[![agentmods](https://agentmods.dev/badge/commands/gtmagents/gtm-agents/generate-blog/github.svg)](https://agentmods.dev/commands/gtmagents/gtm-agents/generate-blog)
Your own site
<a href="https://agentmods.dev/commands/gtmagents/gtm-agents/generate-blog"><img src="https://agentmods.dev/badge/commands/gtmagents/gtm-agents/generate-blog/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 generate-blog

Your own site · 80×15
<a href="https://agentmods.dev/commands/gtmagents/gtm-agents/generate-blog"><img src="https://agentmods.dev/badge/commands/gtmagents/gtm-agents/generate-blog.svg" alt="Reviewed on agentmods" width="80" 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 330 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.00017 $0.00330
Opus 5 $0.00009 $0.00165
Sonnet 5 $0.00003 $0.00066
Haiku 4.5 $0.00002 $0.00033

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

Security

Grade A, and why

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

plugins/content-marketing/commands/generate-blog.md · 43 lines

What it actually says

Generate Blog Command

Purpose

Create long-form blog content that balances SEO intent, persona pain points, and GTM storytelling.

Syntax

/content-marketing:generate-blog \
  --topic "<working title>" \
  --persona "<target role>" \
  --keyword "<primary keyword>" \
  --length 1200 \
  --tone "authoritative"

Parameters

  • --topic: Core subject or angle for the post.
  • --persona: Reader profile (CMO, Demand Gen Lead, Founder).
  • --keyword: Primary keyword to optimize for.
  • --length: Target word count (default 1200).
  • --tone: voice (authoritative, conversational, visionary).
  • --cta: Desired call-to-action (demo, download, subscribe).

Output Package

  • SEO brief (H1/H2 structure, keyword usage, meta data).
  • Draft article in Markdown with intro → body → CTA.
  • Pull quotes, tweet thread, LinkedIn caption suggestions.
  • Repurposing ideas (podcast segment, newsletter blurb, short video script).

Best Practices

  • Map subheadings to buyer journey stages.
  • Include statistics or quotes every ~300 words for credibility.
  • Add internal/external links (3 each minimum).
  • End with CTA tied to campaign objective.

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 · 43 lines · 17 tokens per session scan A 1f0f7a549348

Subscribe to this mod's changes

generate-blog is a command published in the GitHub repository gtmagents/gtm-agents (398 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 330 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-09-03.