Skip to content

Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.

Phase 1: Fix phantom update, add repo infrastructure

Daniel9f9fd5932852
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..2c3bfa2
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,37 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [1.0.0] - 2026-02-18
+
+### Added
+- **12 slash commands**: write, rewrite, analyze, brief, calendar, strategy, outline, seo-check, schema, repurpose, geo, audit
+- **12 reference documents** loaded on-demand (RAG pattern):
+ - google-landscape-2026, geo-optimization, content-rules, visual-media, quality-scoring
+ - eeat-signals, content-templates, ai-crawler-guide, schema-stack, platform-guides, distribution-playbook, internal-linking
+- **12 content type templates**: how-to, listicle, case study, comparison, pillar page, product review, thought leadership, roundup, tutorial, news analysis, data research, FAQ/knowledge base
+- **4 specialized subagents**: blog-researcher, blog-writer, blog-seo, blog-reviewer
+- **Python quality analysis script** (`analyze_blog.py`):
+ - 5-category, 100-point scoring system (Content 30, SEO 25, E-E-A-T 15, Technical 15, AI Citation 15)
+ - Readability analysis via textstat (Flesch, Gunning Fog, SMOG, Coleman-Liau)
+ - AI content detection signals (burstiness, known AI phrases, vocabulary diversity)
+ - Schema detection via BeautifulSoup
+ - Batch mode with directory scanning
+ - Multiple output formats (JSON, markdown, table)
+ - Graceful degradation without optional dependencies
+- **Unix + Windows installers** (install.sh, install.ps1) with one-command curl install
+- **Uninstaller** (uninstall.sh) for clean removal
+- **Full documentation suite** (docs/): Installation, Commands, Architecture, Templates, Troubleshooting, MCP Integration
+
+### Architecture
+- Main orchestrator: `blog/SKILL.md` (routes all 12 commands)
+- 12 sub-skills in `skills/blog-*/SKILL.md`
+- 4 subagents in `agents/blog-*.md`
+- 12 reference docs in `blog/references/` (loaded on-demand)
+- 12 content templates in `blog/templates/`
+
+### Fixed
+- Corrected phantom "January 2026 Authenticity Update" references to verified **December 2025 Core Update** (Dec 11-29, 2025)
diff --git a/README.md b/README.md
index 2e7e221..92dcffc 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# claude-blog
-A Claude Code skill ecosystem for blog content creation, optimization, and management. Dual-optimized for Google rankings (Authenticity Update, E-E-A-T) and AI citation platforms (GEO/AEO).
+A Claude Code skill ecosystem for blog content creation, optimization, and management. Dual-optimized for Google rankings (December 2025 Core Update, E-E-A-T) and AI citation platforms (GEO/AEO).
## What It Does
diff --git a/TODO.md b/TODO.md
new file mode 100644
index 0000000..17117c0
--- /dev/null
+++ b/TODO.md
@@ -0,0 +1,17 @@
+# TODO — claude-blog Roadmap
+
+## Phase 2 (Next)
+- [ ] AI Citation Probability Scoring (0-100 per post for ChatGPT/Perplexity/AI Overview citation likelihood)
+- [ ] Writing Style Learning (`/blog style learn` — analyze 5-10 posts to extract author voice profile)
+- [ ] Content Decay Detection (`/blog decay` — GSC MCP integration to flag 20%+ QoQ decline)
+- [ ] Pre-commit hooks for quality gates (block commits with score < 70)
+- [ ] CI/CD workflows (.github/workflows/ for automated quality checks)
+
+## Phase 3 (Future)
+- [ ] MCP integrations (Ahrefs, Semrush, Google Search Console, PageSpeed Insights)
+- [ ] Multi-language content support (i18n, hreflang generation)
+- [ ] Automated A/B title testing via analytics integration
+- [ ] Content performance dashboard (aggregate scores, traffic, citations)
+- [ ] Plugin marketplace submission
+- [ ] Image generation via AI (DALL-E, Midjourney prompts) as alternative to stock
+- [ ] Podcast/audio repurposing (blog → podcast script → audio via TTS)
diff --git a/blog/SKILL.md b/blog/SKILL.md
index 667f919..a774dc7 100644
--- a/blog/SKILL.md
+++ b/blog/SKILL.md
@@ -2,7 +2,7 @@
name: blog
description: >
Blog strategy, content briefs, editorial calendars, and article generation
- optimized for Google rankings (Authenticity Update, E-E-A-T) and AI citations
+ optimized for Google rankings (December 2025 Core Update, E-E-A-T) and AI citations
(GEO/AEO). Writes, rewrites, analyzes, and updates blog posts with answer-first
formatting, sourced statistics, Pixabay/Unsplash images, SVG charts via /svg skill,
FAQ schema injection, and freshness signals. Supports any platform (WordPress,
@@ -26,7 +26,7 @@ allowed-tools:
# Blog -- Content Engine for Rankings & AI Citations
Full-lifecycle blog management: strategy, briefs, writing, analysis, optimization,
-and editorial planning. Dual-optimized for Google's January 2026 Authenticity Update
+and editorial planning. Dual-optimized for Google's December 2025 Core Update
and AI citation platforms (ChatGPT, Perplexity, Google AI Overviews).
## Quick Reference
@@ -124,7 +124,7 @@ Blog quality is scored across 6 categories (100 points total):
## Reference Files
Load on-demand as needed:
-- `references/seo-2026.md` — Google Authenticity Update, E-E-A-T, algorithm changes
+- `references/google-landscape-2026.md` — December 2025 Core Update, E-E-A-T, algorithm changes
- `references/geo-optimization.md` — GEO/AEO techniques, AI citation factors
- `references/content-rules.md` — Structure, readability, answer-first formatting
- `references/visual-media.md` — Image sourcing (Pixabay, Unsplash) + SVG chart integration
@@ -159,7 +159,7 @@ Load on-demand as needed:
| Anti-Pattern | Why |
|-------------|-----|
-| Fabricate statistics | Authenticity Update penalizes unsourced claims |
+| Fabricate statistics | December 2025 Core Update penalizes unsourced claims |
| Use the same chart type twice | Visual monotony, reduces engagement |
| Keyword-stuff headings or meta | Google ignores/penalizes this |
| Bury answers in paragraphs | AI systems extract from section openers |
diff --git a/blog/references/seo-2026.md b/blog/references/google-landscape-2026.md
similarity index 92%
rename from blog/references/seo-2026.md
rename to blog/references/google-landscape-2026.md
index 875d152..7d5271c 100644
--- a/blog/references/seo-2026.md
+++ b/blog/references/google-landscape-2026.md
@@ -1,10 +1,11 @@
# SEO Landscape 2026 -- Google Updates & E-E-A-T
-## January 2026 "Authenticity Update"
+## December 2025 Core Update
-Launched January 4, 2026. Google's strongest push against generic AI-generated content.
-Built on the December 2025 Core Update (Dec 11-29, 2025) which caused 15% of top-10
-pages to disappear from top 100.
+Ran December 11-29, 2025 (18 days). Google's official statement: "designed to better
+surface relevant, satisfying content." Rewarded authentic first-hand experience and
+penalized "fake freshness." 71% of affiliate sites without original testing were
+negatively impacted. E-E-A-T requirements expanded beyond YMYL to ALL competitive queries.
### Authenticity Signals Google Evaluates
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
new file mode 100644
index 0000000..c2c0081
--- /dev/null
+++ b/docs/ARCHITECTURE.md
@@ -0,0 +1,424 @@
+# Architecture
+
+System design documentation for `claude-blog`, covering component types,
+data flow, scoring methodology, file conventions, and extension points.
+
+---
+
+## System Overview
+
+```
+ +-----------------------------+
+ | User Input |
+ | /blog <command> [args] |
+ +-------------+---------------+
+ |
+ v
+ +-----------------------------+
+ | Main Orchestrator |
+ | blog/SKILL.md |
+ | |
+ | - Command parsing |
+ | - Platform detection |
+ | - Sub-skill routing |
+ | - Quality gate enforcement |
+ +------+----------+-----------+
+ | |
+ +----------------+ +----------------+
+ | |
+ v v
++----------------------------+ +---------------------------+
+| 12 Sub-Skills | | On-Demand References |
+| skills/blog-*/SKILL.md | | blog/references/*.md |
+| | | blog/templates/*.md |
+| write rewrite | | |
+| analyze brief | | Loaded as needed |
+| calendar strategy | | (RAG-style pattern) |
+| outline seo-check | +---------------------------+
+| schema repurpose |
+| geo audit |
++------+----------+----------+
+ | |
+ v v
++------------------+ +------------------+
+| 4 Subagents | | Python Script |
+| agents/*.md | | analyze_blog.py |
+| | | |
+| blog-researcher | | Automated |
+| blog-writer | | quality metrics |
+| blog-seo | | and scoring |
+| blog-reviewer | +------------------+
++------------------+
+```
+
+---
+
+## Component Types
+
+### 1. Main Orchestrator
+
+**File**: `blog/SKILL.md`
+
+The entry point for all `/blog` commands. Responsibilities:
+
+- Parse user input to identify the sub-command and arguments
+- Detect the blog platform from project structure (MDX, Hugo, Jekyll, etc.)
+- Route to the appropriate sub-skill
+- Enforce quality gates (hard rules that never ship content violating them)
+- Load reference files on demand
+
+The orchestrator is a Claude Code skill with YAML frontmatter defining its
+name, description, trigger phrases, and allowed tools.
+
+### 2. Sub-Skills (12)
+
+**Location**: `skills/blog-*/SKILL.md`
+
+Each sub-skill is a standalone Claude Code skill with its own:
+
+- YAML frontmatter (name, description, allowed-tools)
+- Detailed workflow (step-by-step instructions)
+- Input/output specifications
+- Quality checks
+
+| Sub-Skill | Responsibility |
+|-----------|---------------|
+| blog-write | New article generation with full optimization |
+| blog-rewrite | Existing post optimization preserving author voice |
+| blog-analyze | Quality audit with 0-100 scoring |
+| blog-brief | Content brief generation with research |
+| blog-calendar | Editorial calendar planning |
+| blog-strategy | Blog positioning and content architecture |
+| blog-outline | SERP-informed outline generation |
+| blog-seo-check | Post-writing SEO validation |
+| blog-schema | JSON-LD schema markup generation |
+| blog-repurpose | Cross-platform content repurposing |
+| blog-geo | AI citation optimization audit |
+| blog-audit | Full-site blog health assessment |
+
+### 3. Subagents (4)
+
+**Location**: `agents/blog-*.md`
+
+Specialized agents spawned by sub-skills via Claude Code's `Task` tool.
+Each agent has a focused role with a restricted tool set.
+
+| Agent | Tools | Role |
+|-------|-------|------|
+| blog-researcher | WebSearch, WebFetch, Read, Grep, Glob | Find statistics, images, competitive data |
+| blog-writer | Read, Write, Edit, Grep, Glob | Write and rewrite optimized content |
+| blog-seo | Read, WebFetch, Grep, Glob | Technical SEO analysis and validation |
+| blog-reviewer | Read, Grep, Glob | Quality review and scoring |
+
+Agents are defined as markdown files with YAML frontmatter specifying their
+name, description, and available tools.
+
+### 4. Reference Files (12)
+
+**Location**: `blog/references/*.md`
+
+Knowledge documents loaded on demand (not preloaded). Each reference covers
+a specific optimization domain:
+
+| Reference | Domain |
+|-----------|--------|
+| google-landscape-2026.md | December 2025 Core Update, E-E-A-T, algorithm changes |
+| geo-optimization.md | GEO/AEO techniques, AI citation factors |
+| content-rules.md | Structure, readability, answer-first formatting |
+| visual-media.md | Image sourcing (Pixabay, Unsplash) + SVG chart integration |
+| quality-scoring.md | Full scoring checklist with point values |
+| eeat-signals.md | E-E-A-T demonstration techniques |
+| content-templates.md | Template selection and customization guide |
+| ai-crawler-guide.md | AI crawler behavior and technical requirements |
+| schema-stack.md | JSON-LD schema type reference |
+| platform-guides.md | Platform-specific formatting (MDX, Hugo, Ghost, etc.) |
+| distribution-playbook.md | Off-site distribution tactics |
+| internal-linking.md | Internal link strategy and implementation |
+
+### 5. Content Templates (12)
+
+**Location**: `blog/templates/*.md`
+
+Structural templates for different content types. Each template defines
+section structure, word count targets, and format-specific guidance.
+See [TEMPLATES.md](TEMPLATES.md) for the full reference.
+
+### 6. Python Analysis Script
+
+**File**: `scripts/analyze_blog.py`
+
+Standalone Python script for automated quality metrics. Runs outside Claude
+Code's context as a CLI tool. Provides:
+
+- Frontmatter extraction
+- Heading structure analysis
+- Paragraph length measurement
+- Image and chart counting
+- Citation detection and source counting
+- FAQ section detection
+- Self-promotion pattern matching
+- 0-100 quality scoring across 6 categories
+- Batch mode for directory scanning
+- JSON, markdown, and table output formats
+
+---
+
+## Data Flow
+
+### Write Flow
+
+```
+/blog write "topic"
+ |
+ v
+ Orchestrator (blog/SKILL.md)
+ |
+ +-- Loads: references/content-rules.md
+ | references/visual-media.md
+ | templates/[auto-selected].md
+ |
+ +-- Spawns: blog-researcher agent
+ | |
+ | +-- WebSearch: finds 8-12 statistics
+ | +-- WebSearch: finds 3-5 Pixabay/Unsplash images
+ | +-- WebFetch: verifies sources and URLs
+ | +-- Returns: structured research data
+ |
+ +-- Presents outline for user approval
+ |
+ +-- Invokes: /svg-chart (2-4 charts)
+ |
+ +-- Spawns: blog-writer agent
+ | |
+ | +-- Writes full article with:
+ | | - Answer-first formatting
+ | | - Sourced statistics
+ | | - Image embeds
+ | | - Chart embeds
+ | | - FAQ section
+ | +-- Returns: complete article
+ |
+ +-- Quality verification (all 6 pillars)
+ |
+ +-- Writes file to user's project
+ |
+ v
+ Delivery summary
+```
+
+### Analyze Flow
+
+```
+/blog analyze "file.md"
+ |
+ v
+ Orchestrator --> blog-analyze sub-skill
+ |
+ +-- Reads target file
+ |
+ +-- Loads: references/quality-scoring.md
+ |
+ +-- Runs: analyze_blog.py (if Python available)
+ | |
+ | +-- Returns: JSON metrics
+ |
+ +-- Manual scoring (6 categories, 100 points)
+ |
+ +-- Generates prioritized recommendations
+ |
+ v
+ Quality report with score and action items
+```
+
+---
+
+## On-Demand Reference Loading (RAG Pattern)
+
+Reference files are NOT preloaded into context. The orchestrator and sub-skills
+load them selectively based on the current task:
+
+```
+Task References Loaded
+---- -----------------
+/blog write content-rules, visual-media, quality-scoring
+/blog rewrite content-rules, quality-scoring
+/blog analyze quality-scoring
+/blog brief content-rules, geo-optimization
+/blog strategy geo-optimization, google-landscape-2026
+/blog geo geo-optimization, ai-crawler-guide
+/blog schema schema-stack
+/blog seo-check google-landscape-2026, schema-stack
+```
+
+This pattern keeps context usage efficient. Only the knowledge relevant to
+the current operation is loaded.
+
+---
+
+## Scoring Methodology
+
+Blog quality is measured across 5 categories totaling 100 points. The
+`analyze_blog.py` script and the `blog-analyze` sub-skill both use this
+framework.
+
+### Category Weights
+
+```
+Content Quality (30 pts) ############################--
+SEO Signals (25 pts) #########################-----
+E-E-A-T (15 pts) ###############---------------
+Technical (15 pts) ###############---------------
+AI Citation (15 pts) ###############---------------
+ | | | | | |
+ 0 20 40 60 80 100
+```
+
+### Scoring Bands
+
+| Score | Rating | Action |
+|-------|--------|--------|
+| 90-100 | Excellent | Publish as-is |
+| 75-89 | Good | Minor tweaks needed |
+| 60-74 | Needs Work | Significant improvements required |
+| < 60 | Poor | Full rewrite recommended |
+
+### Quality Gates (Hard Rules)
+
+These are non-negotiable. Content violating any of these must not be published:
+
+| Gate | Threshold |
+|------|-----------|
+| Fabricated statistics | Zero tolerance |
+| Paragraph length | Never > 100 words |
+| Heading hierarchy | Never skip levels (H1 > H2 > H3) |
+| Source tier | Tier 1-3 only |
+| Image alt text | Required on all images |
+| Self-promotion | Max 1 brand mention |
+| Chart diversity | No duplicate chart types per post |
+
+---
+
+## Platform Detection
+
+The orchestrator auto-detects the blog platform from project signals:
+
+| Signal | Platform | Output Format |
+|--------|----------|---------------|
+| `.mdx` files + `next.config` | Next.js/MDX | JSX-compatible markdown |
+| `.md` files + `hugo.toml` | Hugo | Standard markdown |
+| `.md` files + `_config.yml` | Jekyll | Markdown with YAML front matter |
+| `.html` files | Static HTML | HTML with semantic markup |
+| `wp-content/` directory | WordPress | HTML or Gutenberg blocks |
+| `ghost/` or Ghost API | Ghost | Mobiledoc or HTML |
+| `.astro` files | Astro | MDX or markdown |
+| No signals detected | Default | Standard markdown |
+
+Platform detection affects:
+
+- Frontmatter format and field names
+- Image embedding syntax (markdown vs `<Image>` component)
+- Chart embedding format (HTML SVG vs JSX SVG with camelCase)
+- Schema injection method
+
+---
+
+## File Naming Conventions
+
+| Component | Location | Naming |
+|-----------|----------|--------|
+| Main skill | `blog/SKILL.md` | Fixed name |
+| Sub-skills | `skills/blog-<command>/SKILL.md` | Prefix `blog-` + command name |
+| Agents | `agents/blog-<role>.md` | Prefix `blog-` + role name |
+| References | `blog/references/<topic>.md` | Kebab-case topic name |
+| Templates | `blog/templates/<type>.md` | Kebab-case content type |
+| Scripts | `scripts/<name>.py` | Snake-case script name |
+
+---
+
+## Extension Points
+
+### Adding a New Command
+
+1. Create `skills/blog-<name>/SKILL.md` with YAML frontmatter
+2. Add routing logic to `blog/SKILL.md` orchestrator
+3. Update `install.sh` and `install.ps1` to copy the new sub-skill
+4. Update `uninstall.sh` to remove it
+
+### Adding a New Agent
+
+1. Create `agents/blog-<role>.md` with YAML frontmatter
+2. Define the tool set (keep it minimal for the role)
+3. Reference the agent from sub-skills that need it
+
+### Adding a New Reference
+
+1. Create `blog/references/<topic>.md`
+2. Document when to load it in the orchestrator
+3. Update `install.sh` to copy the new reference file
+
+### Adding a New Template
+
+1. Create `blog/templates/<type>.md`
+2. Define section structure, markers, and word count targets
+3. Add template selection logic to `blog-write`
+
+---
+
+## Installed Directory Tree
+
+After installation, `claude-blog` occupies this structure inside `~/.claude/`:
+
+```
+~/.claude/
+├── skills/
+│ ├── blog/
+│ │ ├── SKILL.md # Main orchestrator
+│ │ ├── references/
+│ │ │ ├── ai-crawler-guide.md
+│ │ │ ├── content-rules.md
+│ │ │ ├── content-templates.md
+│ │ │ ├── distribution-playbook.md
+│ │ │ ├── eeat-signals.md
+│ │ │ ├── geo-optimization.md
+│ │ │ ├── google-landscape-2026.md
+│ │ │ ├── internal-linking.md
+│ │ │ ├── platform-guides.md
+│ │ │ ├── quality-scoring.md
+│ │ │ ├── schema-stack.md
+│ │ │ └── visual-media.md
+│ │ ├── templates/
+│ │ │ ├── how-to.md
+│ │ │ ├── listicle.md
+│ │ │ ├── case-study.md
+│ │ │ ├── comparison.md
+│ │ │ ├── pillar-page.md
+│ │ │ ├── product-review.md
+│ │ │ ├── thought-leadership.md
+│ │ │ ├── roundup.md
+│ │ │ ├── tutorial.md
+│ │ │ ├── news-analysis.md
+│ │ │ ├── data-research.md
+│ │ │ └── faq-knowledge-base.md
+│ │ └── scripts/
+│ │ └── analyze_blog.py
+│ ├── blog-write/SKILL.md
+│ ├── blog-rewrite/SKILL.md
+│ ├── blog-analyze/SKILL.md
+│ ├── blog-brief/SKILL.md
+│ ├── blog-calendar/SKILL.md
+│ ├── blog-strategy/SKILL.md
+│ ├── blog-outline/SKILL.md
+│ ├── blog-seo-check/SKILL.md
+│ ├── blog-schema/SKILL.md
+│ ├── blog-repurpose/SKILL.md
+│ ├── blog-geo/SKILL.md
+│ └── blog-audit/SKILL.md
+└── agents/
+ ├── blog-researcher.md
+ ├── blog-writer.md
+ ├── blog-seo.md
+ └── blog-reviewer.md
+```
+
+**Component counts**: 1 orchestrator, 12 sub-skills, 4 agents, 12 references,
+12 templates, 1 Python script = **42 files total**.
diff --git a/docs/COMMANDS.md b/docs/COMMANDS.md
new file mode 100644
index 0000000..81231ce
--- /dev/null
+++ b/docs/COMMANDS.md
@@ -0,0 +1,549 @@
+# Command Reference
+
+Complete reference for all 12 `/blog` slash commands. Every command is invoked
+through the main orchestrator (`blog/SKILL.md`), which routes to the appropriate
+sub-skill.
+
+## Command Overview
+
+```
+/blog <command> [arguments]
+```
+
+| Command | Sub-Skill | Description |
+|---------|-----------|-------------|
+| `write <topic>` | blog-write | Write a new blog post from scratch |
+| `rewrite <file>` | blog-rewrite | Optimize an existing blog post |
+| `analyze <file-or-url>` | blog-analyze | Audit blog quality with 0-100 score |
+| `brief <topic>` | blog-brief | Generate a detailed content brief |
+| `calendar [monthly\|quarterly]` | blog-calendar | Generate an editorial calendar |
+| `strategy <niche>` | blog-strategy | Blog strategy and topic ideation |
+| `outline <topic>` | blog-outline | SERP-informed outline generation |
+| `seo-check <file>` | blog-seo-check | Post-writing SEO validation |
+| `schema <file>` | blog-schema | Generate JSON-LD schema markup |
+| `repurpose <file>` | blog-repurpose | Repurpose content for other platforms |
+| `geo <file>` | blog-geo | AI citation optimization audit |
+| `audit [directory]` | blog-audit | Full-site blog health assessment |
+| `update <file>` | blog-rewrite | Freshness update (alias for rewrite) |
+
+---
+
+## /blog write
+
+Write a new blog post from scratch, fully optimized for Google rankings and
+AI citation platforms.
+
+### Usage
+
+```
+/blog write <topic>
+/blog write "How to Optimize for AI Search in 2026"
+/blog write kubernetes monitoring --format mdx --words 3000
+```
+
+### Workflow
+
+1. **Topic clarification** -- Asks for audience, keyword, word count, platform
+2. **Research** -- Spawns `blog-researcher` agent to find 8-12 statistics and images
+3. **Outline** -- Generates structured outline, presents for approval
+4. **Chart generation** -- Creates 2-4 SVG charts via `/svg-chart`
+5. **Content writing** -- Spawns `blog-writer` agent for the full article
+6. **Quality check** -- Verifies all 6 optimization pillars
+7. **Delivery** -- Saves file and presents summary
+
+### Output
+
+A complete blog post in the detected format (Markdown, MDX, or HTML) with:
+
+- YAML frontmatter (title, description, coverImage, ogImage, date, tags)
+- Answer-first formatting on every H2 section
+- 8-12 sourced statistics from tier 1-3 sources
+- 3-5 inline images from Pixabay/Unsplash/Pexels
+- 2-4 SVG data visualization charts
+- FAQ section with 3-5 items
+- Internal linking placeholders
+
+### Related Commands
+
+- `/blog brief` -- Generate a brief first, then feed it to `/blog write`
+- `/blog analyze` -- Score the finished post
+- `/blog seo-check` -- Validate SEO after writing
+
+---
+
+## /blog rewrite
+
+Optimize an existing blog post for rankings and AI citations while preserving
+the author's voice and unique perspective.
+
+### Usage
+
+```
+/blog rewrite <file>
+/blog rewrite content/blog/my-post.mdx
+/blog rewrite posts/old-article.md
+```
+
+### Workflow
+
+1. **Audit** -- Reads the file, scores it against the quality checklist
+2. **Plan** -- Presents section-by-section optimization plan for approval
+3. **Research** -- Finds replacement statistics for fabricated/unsourced data
+4. **Chart generation** -- Adds SVG charts if the post has fewer than 2
+5. **Rewrite** -- Applies answer-first formatting, fixes paragraphs, adds FAQ
+6. **Verification** -- Confirms all quality gates pass
+7. **Summary** -- Reports before/after scores and changes made
+
+### Output
+
+The rewritten file in its original format with:
+
+- Updated `lastUpdated` date in frontmatter
+- Answer-first paragraphs on all H2 sections
+- Fabricated statistics replaced with sourced data
+- Images and charts added where needed
+- FAQ section added or improved
+- Self-promotion reduced to max 1 brand mention
+
+### Related Commands
+
+- `/blog analyze` -- Audit before rewriting to see the starting score
+- `/blog update` -- Alias for freshness-focused rewrite
+
+---
+
+## /blog analyze
+
+Audit a blog post's quality with a 0-100 score across 6 categories, with
+prioritized improvement recommendations.
+
+### Usage
+
+```
+/blog analyze <file>
+/blog analyze <url>
+/blog analyze content/blog/ --batch
+```
+
+### Input Types
+
+| Input | Behavior |
+|-------|----------|
+| Local file (`.md`, `.mdx`, `.html`) | Reads and analyzes directly |
+| URL | Fetches via WebFetch, extracts content |
+| Directory (with `--batch`) | Scans all blog files, produces summary table |
+
+### Output
+
+```
+Blog Quality Report: [Title]
+
+Score: 78/100 -- Good
+
+Score Breakdown
+| Category | Score | Max |
+|------------------------|-------|-----|
+| Content Quality | 21 | 25 |
+| Answer-First Format | 15 | 20 |
+| Statistics & Citations | 18 | 20 |
+| Visual Elements | 10 | 15 |
+| Schema & Structure | 7 | 10 |
+| Freshness & Trust | 7 | 10 |
+
+Issues Found (prioritized: Critical > High > Medium > Low)
+Recommended Actions (top 3 highest-impact fixes)
+```
+
+### Batch Mode Output
+
+When given a directory, produces a ranked summary table of all posts with
+scores, ratings, and top issues. Posts are sorted lowest-score-first as a
+priority queue for optimization.
+
+### Python Script
+
+The `analyze_blog.py` script provides automated metrics:
+
+```bash
+python3 ~/.claude/skills/blog/scripts/analyze_blog.py post.md
+python3 ~/.claude/skills/blog/scripts/analyze_blog.py posts/ --batch
+python3 ~/.claude/skills/blog/scripts/analyze_blog.py post.md -o report.json
+```
+
+### Related Commands
+
+- `/blog rewrite` -- Apply the recommended fixes automatically
+- `/blog audit` -- Full-site assessment (broader than single-file analyze)
+
+---
+
+## /blog brief
+
+Generate a comprehensive content brief with keywords, competitive analysis,
+statistics research, visual element planning, and a structured outline.
+
+### Usage
+
+```
+/blog brief <topic>
+/blog brief "cloud cost optimization for startups"
+/blog brief ai-search-optimization --audience "marketing managers"
+```
+
+### Workflow
+
+1. **Topic intake** -- Gathers topic, audience, intent, business context
+2. **Keyword research** -- Primary keyword, 3-5 secondary, 3-5 questions
+3. **Competitive analysis** -- Analyzes top 3-5 ranking pages
+4. **Statistics research** -- Finds 8-12 stats with sources
+5. **Brief generation** -- Complete brief with outline and recommendations
+
+### Output
+
+A detailed brief document saved to `briefs/[slug]-brief.md` containing:
+
+- Target keywords (primary, secondary, questions)
+- Search intent analysis
+- Content parameters (word count, format, chart/image counts)
+- Recommended title options and meta description
+- Full content outline with section-level guidance
+- Statistics table with sources pre-researched
+- Visual element plan (chart types, image search terms)
+- Competitive gaps to exploit
+- Internal linking opportunities
+- E-E-A-T signals to include
+- Distribution notes (Reddit, YouTube, social)
+
+### Related Commands
+
+- `/blog write` -- Write the article using the generated brief
+- `/blog strategy` -- Higher-level planning before individual briefs
+- `/blog outline` -- Lighter-weight outline without full research
+
+---
+
+## /blog calendar
+
+Generate an editorial calendar with topic clusters, publishing schedules,
+freshness update plans, and seasonal opportunities.
+
+### Usage
+
+```
+/blog calendar
+/blog calendar monthly
+/blog calendar quarterly
+/blog calendar --niche "devops tooling" --cadence 3
+```
+
+### Output Formats
+
+**Monthly calendar**: Week-by-week table with post type (New/Update), title,
+topic cluster, target keyword, and status. Includes freshness update queue
+and seasonal hooks.
+
+**Quarterly calendar**: Three-month plan with cluster focus per month,
+content velocity targets, quarterly goals, and distribution plan.
+
+### Key Features
+
+- **Topic cluster design** -- 3-5 pillar + supporting content clusters
+- **Freshness scheduling** -- 30-day update cycles for high-priority posts
+- **Content mix** -- Balances new posts with freshness updates
+- **Seasonal hooks** -- Industry events, trending topics, report releases
+
+### Related Commands
+
+- `/blog strategy` -- Define pillars and positioning before calendar planning
+- `/blog brief` -- Create briefs for calendar items
+
+---
+
+## /blog strategy
+
+Develop a comprehensive blog strategy with content pillars, audience mapping,
+competitive landscape analysis, and distribution planning.
+
+### Usage
+
+```
+/blog strategy <niche>
+/blog strategy "B2B SaaS marketing"
+/blog strategy ecommerce --competitors "shopify,bigcommerce,woocommerce"
+```
+
+### Workflow
+
+1. **Discovery** -- Business context, goals, current state, competitors
+2. **Competitive landscape** -- Analyzes competitor blogs and AI visibility
+3. **Audience mapping** -- 2-3 segments with pain points and search behavior
+4. **Content pillar design** -- 3-5 pillars with keyword themes
+5. **Differentiation** -- First-hand experience and original data plans
+6. **Distribution channels** -- YouTube, Reddit, reviews, publications
+7. **Measurement framework** -- Traditional SEO + AI citation metrics
+8. **Strategy document** -- Executive summary through 90-day roadmap
+
+### Output
+
+A full strategy document with:
+
+- Audience segments with AI behavior analysis
+- Content pillars with estimated post counts
+- Competitive positioning and gaps
+- Distribution channel priorities with tactics
+- Content velocity recommendations
+- 90-day implementation roadmap
+- KPIs across SEO, AI citation, quality, and business impact
+
+### Related Commands
+
+- `/blog calendar` -- Operationalize the strategy into a publishing schedule
+- `/blog brief` -- Create briefs for strategy-identified topics
+
+---
+
+## /blog outline
+
+Generate a SERP-informed content outline by analyzing what currently ranks for
+the target keyword.
+
+### Usage
+
+```
+/blog outline <topic>
+/blog outline "react server components best practices"
+```
+
+### Output
+
+A structured outline with:
+
+- H2 section headings (60-70% question format)
+- Answer-first guidance per section
+- Image and chart placement markers
+- FAQ question suggestions
+- Word count targets per section
+
+### Related Commands
+
+- `/blog brief` -- Full brief with research (outline is a subset)
+- `/blog write` -- Write from the outline directly
+
+---
+
+## /blog seo-check
+
+Post-writing SEO validation that checks technical SEO elements beyond content
+quality.
+
+### Usage
+
+```
+/blog seo-check <file>
+/blog seo-check content/blog/new-post.mdx
+```
+
+### Checks Performed
+
+- Meta title length (under 60 characters)
+- Meta description length (150-160 characters with statistic)
+- Heading hierarchy (H1 > H2 > H3, no skips)
+- Keyword presence in title, H2s, and meta description
+- Internal link count (target 5-10 per 2,000 words)
+- Image alt text completeness
+- Schema markup presence (BlogPosting, FAQPage)
+- Open Graph / Twitter Card meta tags
+- `lastUpdated` / `dateModified` freshness signal
+
+### Related Commands
+
+- `/blog analyze` -- Full quality audit (content + SEO + citations)
+- `/blog schema` -- Generate missing schema markup
+
+---
+
+## /blog schema
+
+Generate JSON-LD structured data markup for a blog post.
+
+### Usage
+
+```
+/blog schema <file>
+/blog schema content/blog/my-post.mdx
+```
+
+### Generated Schema Types
+
+| Schema Type | When Generated |
+|-------------|---------------|
+| BlogPosting | Always (primary) |
+| FAQPage | When FAQ section detected |
+| BreadcrumbList | When site structure available |
+| Person | When author information available |
+| Organization | When company context available |
+
+### Output
+
+JSON-LD `<script>` blocks ready for injection into the page `<head>` or
+component. Includes `datePublished`, `dateModified`, `author`, `image`,
+and FAQ items.
+
+### Important
+
+Schema must appear in HTML source (server-rendered), not injected via
+client-side JavaScript. AI crawlers (GPTBot, ClaudeBot, PerplexityBot) do
+not execute JavaScript.
+
+### Related Commands
+
+- `/blog seo-check` -- Validates schema presence and correctness
+- `/blog analyze` -- Checks schema as part of the full quality audit
+
+---
+
+## /blog repurpose
+
+Repurpose a blog post into content for other platforms and formats.
+
+### Usage
+
+```
+/blog repurpose <file>
+/blog repurpose content/blog/ai-search-guide.mdx
+```
+
+### Output Formats
+
+| Platform | Format |
+|----------|--------|
+| Twitter/X | Thread (5-10 tweets with key insights) |
+| LinkedIn | Article or post with professional angle |
+| Reddit | Discussion-starter post for relevant subreddits |
+| YouTube | Video script outline with talking points |
+| Newsletter | Email digest version with CTA |
+| Podcast | Interview/discussion script based on post content |
+
+### Related Commands
+
+- `/blog strategy` -- Identifies distribution channels for repurposing
+- `/blog write` -- Create the original post to repurpose
+
+---
+
+## /blog geo
+
+AI citation optimization audit. Analyzes a blog post specifically for
+visibility on AI platforms (ChatGPT, Perplexity, Google AI Overviews).
+
+### Usage
+
+```
+/blog geo <file>
+/blog geo content/blog/my-post.mdx
+```
+
+### Checks Performed
+
+- Answer-first formatting (critical for +340% AI citations)
+- Content freshness (76% of top citations updated within 30 days)
+- FAQ schema presence (+28% AI citations)
+- Source authority tier quality
+- Content extractability (50-150 word chunks)
+- JavaScript dependency (AI crawlers cannot execute JS)
+- `robots.txt` AI crawler access (GPTBot, ClaudeBot, PerplexityBot)
+- Off-site signal recommendations (YouTube, Reddit, reviews)
+
+### Related Commands
+
+- `/blog analyze` -- Full quality audit including GEO metrics
+- `/blog rewrite` -- Apply GEO optimizations automatically
+
+---
+
+## /blog audit
+
+Full-site blog health assessment. Scans an entire directory of blog posts
+and produces a comprehensive report.
+
+### Usage
+
+```
+/blog audit
+/blog audit content/blog/
+/blog audit posts/ --format markdown
+```
+
+### Output
+
+- **Summary table**: Every post scored and rated
+- **Priority queue**: Posts ranked lowest-score-first for optimization
+- **Category breakdown**: Site-wide averages per scoring category
+- **Common issues**: Most frequent problems across all posts
+- **Freshness report**: Posts overdue for updates (>30 days)
+- **Topic coverage**: Cluster analysis and gap identification
+
+### Related Commands
+
+- `/blog analyze` -- Single-file audit (audit is the batch version)
+- `/blog calendar` -- Plan content based on audit findings
+- `/blog rewrite` -- Fix posts identified by the audit
+
+---
+
+## /blog update
+
+Alias for `/blog rewrite` with a freshness-focused mode. Minimizes structural
+changes and focuses on updating data and signals.
+
+### Usage
+
+```
+/blog update <file>
+/blog update content/blog/old-post.mdx
+```
+
+### What It Does
+
+1. Updates statistics to latest available data (2025-2026)
+2. Adds new developments since last update
+3. Refreshes images if older than 1 year
+4. Updates `lastUpdated` in frontmatter
+5. Preserves existing structure (minimal rewrites)
+6. Targets at least 30% content change for AI freshness signals
+
+### Related Commands
+
+- `/blog rewrite` -- Full rewrite (more aggressive than update)
+- `/blog audit` -- Find posts that need updating
+
+---
+
+## Command Routing
+
+The main orchestrator (`blog/SKILL.md`) parses user input and routes to
+the correct sub-skill:
+
+```
+User Input Routes To
+----------- ---------
+/blog write <topic> --> blog-write
+/blog rewrite <file> --> blog-rewrite
+/blog analyze <file-or-url> --> blog-analyze
+/blog audit <file-or-url> --> blog-analyze
+/blog brief <topic> --> blog-brief
+/blog calendar [period] --> blog-calendar
+/blog plan [period] --> blog-calendar
+/blog strategy <niche> --> blog-strategy
+/blog ideation <niche> --> blog-strategy
+/blog outline <topic> --> blog-outline
+/blog seo-check <file> --> blog-seo-check
+/blog schema <file> --> blog-schema
+/blog repurpose <file> --> blog-repurpose
+/blog geo <file> --> blog-geo
+/blog audit [directory] --> blog-audit
+/blog update <file> --> blog-rewrite (freshness mode)
+```
+
+If no sub-command is provided, the orchestrator asks which action the user
+needs.
diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md
new file mode 100644
index 0000000..54ab9b1
--- /dev/null
+++ b/docs/INSTALLATION.md
@@ -0,0 +1,281 @@
+# Installation Guide
+
+This guide covers all installation methods for `claude-blog`, a Claude Code skill
+ecosystem for blog content creation, optimization, and management.
+
+## Prerequisites
+
+| Requirement | Version | Purpose |
+|-------------|---------|---------|
+| [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) | Latest | Runtime for all `/blog` commands |
+| Python | 3.12+ | Quality analysis script (`analyze_blog.py`) |
+| pip | Latest | Python dependency management |
+
+Claude Code must be installed and configured before installing `claude-blog`.
+Python is only required for the `analyze_blog.py` quality scoring script; all
+other commands work without it.
+
+---
+
+## Quick Install (One Command)
+
+### Linux / macOS
+
+```bash
+curl -sL https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh | bash
+```
+
+### Windows (PowerShell)
+
+```powershell
+irm https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.ps1 | iex
+```
+
+Both installers automatically copy all skills, agents, references, templates,
+and scripts to the correct Claude Code configuration directories.
+
+---
+
+## Standard Install (Git Clone)
+
+```bash
+git clone https://github.com/AgriciDaniel/claude-blog.git
+cd claude-blog
+chmod +x install.sh
+./install.sh
+```
+
+### Install Python Dependencies
+
+The installer on Linux/macOS does not auto-install Python packages. Run this
+after the main install:
+
+```bash
+pip install -r requirements.txt
+```
+
+**Core dependencies:**
+
+| Package | Version | Purpose |
+|---------|---------|---------|
+| textstat | >=0.7.3 | Readability scoring (Flesch, Gunning Fog, SMOG) |
+| beautifulsoup4 | >=4.12.0 | HTML and schema parsing |
+| lxml | >=5.0.0 | XML/HTML parser backend |
+| jsonschema | >=4.20.0 | JSON-LD schema validation |
+
+**Optional dependencies** (unlock advanced features in `analyze_blog.py`):
+
+```bash
+pip install spacy # NER, advanced NLP
+python -m spacy download en_core_web_sm
+pip install sentence-transformers # Semantic similarity / duplicate detection
+pip install scikit-learn # Topic cannibalization clustering
+pip install language-tool-python # Grammar and style checking (requires Java)
+```
+
+The analysis script works without optional dependencies by falling back to
+basic mode automatically.
+
+---
+
+## Manual Install (File by File)
+
+If you prefer not to run the installer, copy files to these paths manually.
+`~` refers to your home directory (`$HOME` on Unix, `%USERPROFILE%` on Windows).
+
+### Directory Structure
+
+```
+~/.claude/
+├── skills/
+│ ├── blog/
+│ │ ├── SKILL.md # Main orchestrator
+│ │ ├── references/
+│ │ │ ├── content-rules.md
+│ │ │ ├── geo-optimization.md
+│ │ │ ├── google-landscape-2026.md
+│ │ │ ├── quality-scoring.md
+│ │ │ └── visual-media.md
+│ │ ├── templates/ # 12 content type templates
+│ │ │ └── *.md
+│ │ └── scripts/
+│ │ └── analyze_blog.py
+│ ├── blog-write/SKILL.md
+│ ├── blog-rewrite/SKILL.md
+│ ├── blog-analyze/SKILL.md
+│ ├── blog-brief/SKILL.md
+│ ├── blog-calendar/SKILL.md
+│ ├── blog-strategy/SKILL.md
+│ ├── blog-outline/SKILL.md
+│ ├── blog-seo-check/SKILL.md
+│ ├── blog-schema/SKILL.md
+│ ├── blog-repurpose/SKILL.md
+│ ├── blog-geo/SKILL.md
+│ └── blog-audit/SKILL.md
+└── agents/
+ ├── blog-researcher.md
+ ├── blog-writer.md
+ ├── blog-seo.md
+ └── blog-reviewer.md
+```
+
+### Copy Commands (Unix)
+
+```bash
+# Create directories
+mkdir -p ~/.claude/skills/blog/{references,templates,scripts}
+mkdir -p ~/.claude/skills/blog-{write,rewrite,analyze,brief,calendar,strategy,outline,seo-check,schema,repurpose,geo,audit}
+mkdir -p ~/.claude/agents
+
+# Main skill
+cp blog/SKILL.md ~/.claude/skills/blog/SKILL.md
+
+# References
+cp blog/references/*.md ~/.claude/skills/blog/references/
+
+# Templates
+cp blog/templates/*.md ~/.claude/skills/blog/templates/
+
+# Sub-skills
+for d in skills/blog-*/; do
+ name=$(basename "$d")
+ cp "$d/SKILL.md" ~/.claude/skills/$name/SKILL.md
+done
+
+# Agents
+cp agents/*.md ~/.claude/agents/
+
+# Scripts
+cp scripts/analyze_blog.py ~/.claude/skills/blog/scripts/
+chmod +x ~/.claude/skills/blog/scripts/analyze_blog.py
+```
+
+---
+
+## Verification
+
+After installation, verify everything is in place:
+
+### 1. Check installed files
+
+```bash
+# Main skill
+ls ~/.claude/skills/blog/SKILL.md
+
+# Sub-skills (should list 12)
+ls ~/.claude/skills/blog-*/SKILL.md | wc -l
+
+# Agents (should list 4)
+ls ~/.claude/agents/blog-*.md | wc -l
+
+# References (should list 5+)
+ls ~/.claude/skills/blog/references/*.md | wc -l
+
+# Python script
+ls ~/.claude/skills/blog/scripts/analyze_blog.py
+```
+
+### 2. Restart Claude Code
+
+Close and reopen Claude Code (or restart the CLI) to load the new skills:
+
+```bash
+# If running in terminal, exit and relaunch
+claude
+```
+
+### 3. Test a command
+
+```bash
+# Inside Claude Code, run:
+/blog strategy "home automation"
+```
+
+You should see the orchestrator route to the `blog-strategy` sub-skill and
+begin gathering context about the niche.
+
+### 4. Test the Python analysis script
+
+```bash
+python3 ~/.claude/skills/blog/scripts/analyze_blog.py --help
+```
+
+Expected output:
+
+```
+usage: analyze_blog.py [-h] [--output OUTPUT] [--batch] input
+
+Analyze blog post quality
+
+positional arguments:
+ input Blog file path or directory (with --batch)
+
+options:
+ -h, --help show this help message and exit
+ --output OUTPUT, -o OUTPUT
+ Output file path (JSON)
+ --batch Analyze all blog files in directory
+```
+
+---
+
+## Updating
+
+Pull the latest changes and re-run the installer:
+
+```bash
+cd claude-blog
+git pull
+./install.sh
+```
+
+The installer overwrites existing files, so updates are safe to run
+at any time. Restart Claude Code after updating.
+
+---
+
+## Uninstall
+
+### Automated Uninstall (Unix)
+
+```bash
+# From the claude-blog repository
+chmod +x uninstall.sh
+./uninstall.sh
+```
+
+This removes:
+
+- `~/.claude/skills/blog/` (main skill, references, templates, scripts)
+- `~/.claude/skills/blog-*/` (all 12 sub-skills)
+- `~/.claude/agents/blog-*.md` (all 4 agents)
+
+### Manual Uninstall
+
+```bash
+rm -rf ~/.claude/skills/blog
+rm -rf ~/.claude/skills/blog-{write,rewrite,analyze,brief,calendar,strategy,outline,seo-check,schema,repurpose,geo,audit}
+rm -f ~/.claude/agents/blog-{researcher,writer,seo,reviewer}.md
+```
+
+### Clean Up Python Dependencies (Optional)
+
+```bash
+pip uninstall textstat beautifulsoup4 lxml jsonschema
+```
+
+Restart Claude Code after uninstalling to complete removal.
+
+---
+
+## Troubleshooting Installation
+
+| Symptom | Cause | Fix |
+|---------|-------|-----|
+| `/blog` command not found | Claude Code not restarted | Close and reopen Claude Code |
+| `python3: command not found` | Python not installed or not in PATH | Install Python 3.12+ via your package manager |
+| `pip install` fails | Missing pip or wrong Python version | Run `python3 -m ensurepip --upgrade` |
+| Permission denied on `install.sh` | Script not executable | Run `chmod +x install.sh` |
+| Files not in `~/.claude/` | Wrong install location | Verify `$HOME` points to your home directory |
+
+For additional issues, see [TROUBLESHOOTING.md](TROUBLESHOOTING.md).
diff --git a/docs/MCP-INTEGRATION.md b/docs/MCP-INTEGRATION.md
new file mode 100644
index 0000000..87a7930
--- /dev/null
+++ b/docs/MCP-INTEGRATION.md
@@ -0,0 +1,417 @@
+# MCP Integration Guide
+
+Optional Model Context Protocol (MCP) server integrations that extend
+`claude-blog` with live data from SEO platforms, analytics services, and
+performance monitoring tools.
+
+**Important**: `claude-blog` works fully without any MCP servers. These
+integrations are optional enhancements for teams that already use these
+platforms.
+
+---
+
+## Overview
+
+```
+ +---------------------------+
+ | claude-blog |
+ | /blog commands |
+ +------+----+----+----------+
+ | | |
+ +------------+ | +------------+
+ | | |
+ v v v
+ +-----------------+ +----------------+ +------------------+
+ | Google Search | | Ahrefs MCP | | PageSpeed |
+ | Console MCP | | Server | | Insights MCP |
+ | | | | | |
+ | - Content decay | | - Backlinks | | - Core Web |
+ | - Keywords | | - Keywords | | Vitals |
+ | - Click data | | - Competitors | | - TTFB |
+ +-----------------+ +----------------+ +------------------+
+
+ +------------+ +------------+
+ | |
+ v v
+ +-----------------+ +-----------------+
+ | Semrush MCP | | Custom MCP |
+ | Server | | Servers |
+ | | | |
+ | - Keyword gaps | | - Analytics |
+ | - Positions | | - CMS APIs |
+ | - Competitors | | - Custom data |
+ +-----------------+ +-----------------+
+```
+
+---
+
+## Google Search Console MCP
+
+### What It Enables
+
+| Feature | Without GSC MCP | With GSC MCP |
+|---------|----------------|--------------|
+| Content decay detection | Manual check | Automated: flags posts with 20%+ QoQ traffic decline |
+| Keyword tracking | Not available | Live keyword rankings and CTR data |
+| Query analysis | Not available | Actual search queries driving traffic |
+| AI Overview impact | Not available | CTR changes when AI Overviews appear |
+| Freshness scheduling | Time-based (30 days) | Data-driven (based on actual performance drops) |
+
+### Enhanced Workflows
+
+**`/blog audit` with GSC data**:
+
+Instead of scoring posts only on content quality, the audit can incorporate
+actual performance data:
+
+```
+Blog Audit: 47 Posts Analyzed
+
+| Post | Quality | Traffic (QoQ) | CTR | Action |
+|-------------------|---------|---------------|--------|-----------------|
+| ai-search-guide | 85/100 | -35% | 1.2% | Content decay! |
+| kubernetes-setup | 72/100 | +12% | 3.1% | Quality fixes |
+| react-patterns | 91/100 | -5% | 4.2% | Monitor |
+```
+
+**`/blog calendar` with GSC data**:
+
+Editorial calendars can prioritize updates based on actual traffic decay
+rather than arbitrary 30-day cycles:
+
+```
+Freshness Update Queue (Data-Driven)
+| Post | Last Updated | Traffic Change | Priority |
+|-------------------|-------------|----------------|----------|
+| ai-search-guide | 45 days ago | -35% QoQ | Critical |
+| seo-strategy | 60 days ago | -22% QoQ | High |
+| blog-writing-tips | 30 days ago | +5% QoQ | Low |
+```
+
+### Configuration
+
+Add the GSC MCP server to your Claude Code settings (`~/.claude/settings.json`):
+
+```json
+{
+ "mcpServers": {
+ "google-search-console": {
+ "command": "npx",
+ "args": ["-y", "@anthropic/gsc-mcp-server"],
+ "env": {
+ "GSC_CREDENTIALS_PATH": "/path/to/credentials.json"
+ }
+ }
+ }
+}
+```
+
+**Setup requirements**:
+1. Google Cloud project with Search Console API enabled
+2. OAuth credentials or service account key
+3. Site verified in Google Search Console
+
+---
+
+## Ahrefs MCP
+
+### What It Enables
+
+| Feature | Without Ahrefs MCP | With Ahrefs MCP |
+|---------|-------------------|-----------------|
+| Backlink analysis | Not available | Referring domains, anchor text distribution |
+| Keyword research | WebSearch only | Search volume, difficulty, SERP features |
+| Competitor monitoring | Manual WebSearch | Automated gap analysis and tracking |
+| Content gap analysis | Not available | Keywords competitors rank for that you don't |
+| Domain Rating | Not available | Live DR tracking |
+
+### Enhanced Workflows
+
+**`/blog brief` with Ahrefs data**:
+
+Content briefs can include precise keyword metrics:
+
+```
+Target Keywords
+- Primary: "kubernetes monitoring" (2,400/mo, KD 45)
+- Secondary: "k8s observability" (890/mo, KD 32)
+- Question: "how to monitor kubernetes clusters" (720/mo, KD 28)
+
+Competitor Content Gap
+| Keyword | Competitor A | Competitor B | You |
+|---------------------------|-------------|-------------|------|
+| kubernetes alerting setup | #3 | #7 | -- |
+| prometheus vs datadog | #5 | #2 | -- |
+| k8s monitoring best practices | #1 | #4 | #12 |
+```
+
+**`/blog strategy` with Ahrefs data**:
+
+Strategy documents gain competitive intelligence with actual metrics:
+
+```
+Competitive Landscape
+| Competitor | DR | Blog Posts | Avg Traffic/Post | Top Keywords |
+|----------------|-----|-----------|-----------------|-------------|
+| competitor-a.com | 72 | 340 | 2,100 | 890 |
+| competitor-b.com | 65 | 180 | 1,400 | 520 |
+| your-site.com | 45 | 47 | 380 | 120 |
+
+Opportunity: 234 keywords where competitors rank but you don't
+```
+
+### Configuration
+
+```json
+{
+ "mcpServers": {
+ "ahrefs": {
+ "command": "npx",
+ "args": ["-y", "@anthropic/ahrefs-mcp-server"],
+ "env": {
+ "AHREFS_API_KEY": "your-api-key"
+ }
+ }
+ }
+}
+```
+
+**Setup requirements**:
+1. Ahrefs account with API access (Standard plan or higher)
+2. API key from Ahrefs dashboard
+
+---
+
+## Semrush MCP
+
+### What It Enables
+
+| Feature | Without Semrush MCP | With Semrush MCP |
+|---------|-------------------|-----------------|
+| Keyword gap analysis | Not available | Side-by-side keyword overlap with competitors |
+| Position tracking | Not available | Daily rank tracking for target keywords |
+| Topic research | WebSearch only | Semrush Topic Research data |
+| Content audit | Quality-only scoring | Quality + traffic + keyword data |
+
+### Enhanced Workflows
+
+**`/blog strategy` with Semrush data**:
+
+Topic research backed by Semrush's keyword clustering:
+
+```
+Content Pillar: Kubernetes Monitoring
+| Topic Cluster | Keywords | Total Volume | Avg KD | Gap Score |
+|-------------------|----------|-------------|--------|-----------|
+| Setup & Config | 34 | 12,400 | 38 | High |
+| Tools Comparison | 22 | 8,900 | 52 | Medium |
+| Best Practices | 18 | 6,200 | 41 | High |
+| Troubleshooting | 45 | 15,100 | 29 | Low |
+```
+
+### Configuration
+
+```json
+{
+ "mcpServers": {
+ "semrush": {
+ "command": "npx",
+ "args": ["-y", "@anthropic/semrush-mcp-server"],
+ "env": {
+ "SEMRUSH_API_KEY": "your-api-key"
+ }
+ }
+ }
+}
+```
+
+---
+
+## PageSpeed Insights MCP
+
+### What It Enables
+
+| Feature | Without PSI MCP | With PSI MCP |
+|---------|----------------|-------------|
+| Core Web Vitals | Not available | LCP, FID, CLS, INP measurements |
+| TTFB monitoring | Not available | Server response time (critical for AI crawlers) |
+| Performance scoring | Not available | Lighthouse performance score |
+| AI crawl readiness | Manual check | Automated TTFB < 200ms verification |
+
+### Enhanced Workflows
+
+**`/blog geo` with PageSpeed data**:
+
+AI citation audits can include technical performance checks:
+
+```
+AI Crawler Readiness
+| Metric | Value | Target | Status |
+|----------|--------|---------|--------|
+| TTFB | 145ms | < 200ms | Pass |
+| LCP | 2.1s | < 2.5s | Pass |
+| CLS | 0.08 | < 0.1 | Pass |
+| JS-only? | No | No | Pass |
+
+Your pages are accessible to AI crawlers (GPTBot, ClaudeBot, PerplexityBot).
+```
+
+### Configuration
+
+```json
+{
+ "mcpServers": {
+ "pagespeed": {
+ "command": "npx",
+ "args": ["-y", "@anthropic/pagespeed-mcp-server"],
+ "env": {
+ "PAGESPEED_API_KEY": "your-google-api-key"
+ }
+ }
+ }
+}
+```
+
+**Setup requirements**:
+1. Google Cloud project with PageSpeed Insights API enabled
+2. API key from Google Cloud Console
+
+---
+
+## How to Configure MCP Servers
+
+MCP servers are configured in your Claude Code settings file. The location
+depends on your setup:
+
+### Settings File Location
+
+| Platform | Path |
+|----------|------|
+| Linux/macOS | `~/.claude/settings.json` |
+| Windows | `%USERPROFILE%\.claude\settings.json` |
+
+### Adding an MCP Server
+
+Edit `settings.json` to add MCP servers under the `mcpServers` key:
+
+```json
+{
+ "mcpServers": {
+ "server-name": {
+ "command": "npx",
+ "args": ["-y", "package-name"],
+ "env": {
+ "API_KEY": "your-key"
+ }
+ }
+ }
+}
+```
+
+### Verifying MCP Connection
+
+After adding an MCP server:
+1. Restart Claude Code
+2. The MCP server should appear in available tools
+3. Test with a simple query related to the server's function
+
+### Environment Variables for API Keys
+
+Never commit API keys to version control. Use environment variables:
+
+```bash
+# Add to ~/.bashrc or ~/.zshrc
+export AHREFS_API_KEY="your-key"
+export SEMRUSH_API_KEY="your-key"
+export GSC_CREDENTIALS_PATH="/path/to/credentials.json"
+export PAGESPEED_API_KEY="your-key"
+```
+
+Then reference them in settings:
+
+```json
+{
+ "mcpServers": {
+ "ahrefs": {
+ "command": "npx",
+ "args": ["-y", "@anthropic/ahrefs-mcp-server"],
+ "env": {
+ "AHREFS_API_KEY": "${AHREFS_API_KEY}"
+ }
+ }
+ }
+}
+```
+
+---
+
+## Example Workflows
+
+### Content Decay Detection (GSC + Blog Audit)
+
+Combine Google Search Console data with `claude-blog`'s quality scoring to
+identify posts that need immediate attention:
+
+```
+1. /blog audit content/blog/ # Quality scores for all posts
+2. GSC MCP provides traffic data # QoQ traffic changes
+3. Combined report identifies:
+ - High quality but declining traffic --> needs freshness update
+ - Low quality and declining traffic --> needs full rewrite
+ - Low quality but stable traffic --> optimize for AI citations
+4. /blog calendar # Auto-prioritized update schedule
+```
+
+### Competitor-Informed Content Strategy (Ahrefs + Strategy)
+
+Use Ahrefs data to ground your content strategy in competitive intelligence:
+
+```
+1. /blog strategy "your-niche" # Base strategy from analysis
+2. Ahrefs MCP provides:
+ - Competitor keyword rankings
+ - Content gap keywords
+ - Backlink opportunities
+3. Strategy document includes:
+ - Data-backed pillar topics
+ - Specific keyword targets with volume/difficulty
+ - Competitor weakness mapping
+4. /blog calendar # Execution plan with keyword targets
+```
+
+### Performance-Optimized GEO Audit (PSI + GEO)
+
+Validate both content quality and technical readiness for AI crawlers:
+
+```
+1. /blog geo content/blog/post.mdx # Content-level GEO audit
+2. PageSpeed MCP provides:
+ - TTFB measurement (must be < 200ms)
+ - JavaScript rendering check
+ - Core Web Vitals scores
+3. Combined report covers:
+ - Content optimization (answer-first, freshness, FAQ)
+ - Technical optimization (TTFB, SSR, robots.txt)
+ - AI crawler accessibility verification
+```
+
+---
+
+## Roadmap
+
+MCP integrations are planned for Phase 3 of the `claude-blog` roadmap.
+Current priorities:
+
+| Integration | Status | Priority |
+|------------|--------|----------|
+| Google Search Console | Planned | High |
+| Ahrefs | Planned | High |
+| Semrush | Planned | Medium |
+| PageSpeed Insights | Planned | Medium |
+| Google Analytics (GA4) | Future | Low |
+| WordPress REST API | Future | Low |
+| Contentful / Sanity CMS | Future | Low |
+
+Community contributions for MCP server implementations are welcome.
+See the [repository](https://github.com/AgriciDaniel/claude-blog) for
+contribution guidelines.
diff --git a/docs/TEMPLATES.md b/docs/TEMPLATES.md
new file mode 100644
index 0000000..e0181f9
--- /dev/null
+++ b/docs/TEMPLATES.md
@@ -0,0 +1,432 @@
+# Content Templates
+
+Reference guide for the 12 content type templates included with `claude-blog`.
+Templates provide structural blueprints for different article types, ensuring
+consistent quality and optimization across all content.
+
+---
+
+## Template Overview
+
+| Template | Content Type | Word Count Target | Best For |
+|----------|-------------|-------------------|----------|
+| how-to.md | How-To Guide | 2,000-2,500 | Step-by-step tutorials, process guides |
+| listicle.md | Listicle | 1,500-2,000 | Ranked lists, curated collections |
+| case-study.md | Case Study | 2,000-3,000 | Client results, project retrospectives |
+| comparison.md | Comparison | 1,500-2,000 | X vs Y, tool evaluations |
+| pillar-page.md | Pillar Page | 3,000-4,000 | Comprehensive topic guides |
+| product-review.md | Product Review | 1,500-2,500 | Tool reviews, software evaluations |
+| thought-leadership.md | Thought Leadership | 2,000-3,000 | Industry analysis, opinion pieces |
+| roundup.md | Expert Roundup | 2,000-2,500 | Multi-source collections, trend reports |
+| tutorial.md | Tutorial | 2,500-3,500 | Code walkthroughs, technical demos |
+| news-analysis.md | News Analysis | 800-1,500 | Industry updates, algorithm changes |
+| data-research.md | Data/Research | 2,500-3,500 | Original research, survey results |
+| faq-knowledge-base.md | FAQ / Knowledge Base | 1,500-2,000 | Reference content, Q&A collections |
+
+---
+
+## How Templates Work
+
+Templates are structural blueprints, not fill-in-the-blank forms. Each template
+defines:
+
+1. **Section structure** -- The H2/H3 skeleton for the content type
+2. **Answer-first prompts** -- Guidance for opening each section with data
+3. **Word count targets** -- Per-section and total word counts
+4. **Info gain markers** -- Where original data or unique perspective is needed
+5. **Visual element placement** -- Where charts and images should appear
+6. **FAQ zone** -- Where the FAQ section fits in the flow
+7. **Linking zones** -- Where internal and external links are most natural
+
+---
+
+## Template Structure Anatomy
+
+Every template follows a consistent internal structure:
+
+```
+# [Template Name]
+
+## Metadata
+- Content type: [type]
+- Word count: [range]
+- H2 sections: [count]
+- Charts: [count]
+- Images: [count]
+- FAQ items: [count]
+
+## Section Structure
+
+### Frontmatter
+[Required fields for this content type]
+
+### Introduction (100-150 words)
+- Hook: [Type of hook that works best]
+- Problem/opportunity: [Framing guidance]
+- Promise: [What reader learns]
+
+### H2: [Section Pattern] (word count)
+ANSWER-FIRST: [Guidance for the opening stat paragraph]
+CONTENT: [What to cover in the body]
+INFO-GAIN: [Where unique perspective is needed]
+VISUAL: [Chart type or image suggestion]
+
+[... additional H2 sections ...]
+
+### FAQ Zone (3-5 items)
+[FAQ format guidance specific to this content type]
+
+### Conclusion (100-150 words)
+[Closing pattern for this content type]
+
+## Optimization Notes
+[Content-type-specific SEO and GEO tips]
+```
+
+### Section Markers
+
+| Marker | Purpose |
+|--------|---------|
+| `ANSWER-FIRST:` | Guidance for the 40-60 word stat-rich opening paragraph |
+| `CONTENT:` | What topics and subtopics to cover in the section body |
+| `INFO-GAIN:` | Where original data, first-hand experience, or unique perspective is needed |
+| `VISUAL:` | Recommended chart type or image placement |
+| `FAQ-ZONE:` | Where the FAQ section should appear (usually before conclusion) |
+| `LINK-ZONE:` | Natural places for internal or external links |
+
+---
+
+## How /blog write Selects Templates
+
+When `/blog write` is invoked, the orchestrator selects a template based on:
+
+### 1. Explicit User Request
+
+If the user specifies a content type, that template is used directly:
+
+```
+/blog write "10 Best CI/CD Tools for 2026" --> listicle.md
+/blog write "How to Set Up Kubernetes Monitoring" --> how-to.md
+/blog write case study: Acme Corp migration --> case-study.md
+```
+
+### 2. Topic Analysis
+
+If no type is specified, the orchestrator analyzes the topic:
+
+| Topic Signal | Template Selected |
+|-------------|-------------------|
+| "How to...", "Guide to..." | how-to.md |
+| Numbers in title ("10 Best...", "7 Ways...") | listicle.md |
+| "X vs Y", "compared", "alternative" | comparison.md |
+| "Review", "tested", "hands-on" | product-review.md |
+| Company/project name + "results" | case-study.md |
+| Broad topic, "complete guide", "everything" | pillar-page.md |
+| "Tutorial", "walkthrough", "step by step" | tutorial.md |
+| News event, update, announcement | news-analysis.md |
+| Survey, study, data, research | data-research.md |
+| "FAQ", "questions about" | faq-knowledge-base.md |
+| Industry trend, prediction, opinion | thought-leadership.md |
+| Expert quotes, collection, roundup | roundup.md |
+
+### 3. Default
+
+If the topic is ambiguous, the orchestrator defaults to `how-to.md` as the
+most versatile template and confirms with the user.
+
+---
+
+## Template Details
+
+### how-to.md
+
+Best for step-by-step guides where the reader wants to accomplish something.
+
+```
+Structure:
+ Introduction (hook with difficulty/time stat)
+ H2: Why This Matters (context + data)
+ H2: Prerequisites / What You Need
+ H2: Step 1 - [Action] (answer-first with success rate)
+ H2: Step 2 - [Action]
+ H2: Step 3 - [Action]
+ H2: Common Mistakes to Avoid
+ H2: FAQ (3-5 items)
+ Conclusion (key takeaways + next step)
+
+Visuals: Process flow chart, before/after comparison chart
+Images: Screenshots or relevant stock for each major step
+```
+
+### listicle.md
+
+Best for ranked lists, tool collections, and curated recommendations.
+
+```
+Structure:
+ Introduction (hook with total count stat)
+ H2: [Item 1] - [Key Differentiator]
+ H2: [Item 2] - [Key Differentiator]
+ ... (5-15 items depending on depth)
+ H2: How We Evaluated [Category]
+ H2: FAQ (3-5 items)
+ Conclusion (top pick + comparison table)
+
+Visuals: Comparison bar chart, market share donut chart
+Images: Logo/screenshot per item, or grouped comparison image
+```
+
+### case-study.md
+
+Best for showcasing real results with specific metrics.
+
+```
+Structure:
+ Introduction (headline result stat)
+ H2: The Challenge
+ H2: The Approach / Solution
+ H2: Implementation Details
+ H2: Results (metrics + timeline)
+ H2: Key Takeaways
+ H2: FAQ (3-5 items)
+ Conclusion (CTA to learn more)
+
+Visuals: Before/after bar chart, timeline or results line chart
+Images: Screenshots, dashboards, team/process photos
+Info-Gain: Real metrics from the actual project (critical)
+```
+
+### comparison.md
+
+Best for X vs Y evaluations and tool comparisons.
+
+```
+Structure:
+ Introduction (market context stat)
+ H2: Quick Comparison Table
+ H2: [Product A] Overview
+ H2: [Product B] Overview
+ H2: Feature-by-Feature Comparison
+ H2: Pricing Comparison
+ H2: Which Should You Choose?
+ H2: FAQ (3-5 items)
+ Conclusion (recommendation matrix)
+
+Visuals: Feature comparison radar chart, pricing bar chart
+Images: Product screenshots, UI comparisons
+```
+
+### pillar-page.md
+
+Best for comprehensive guides that serve as hub pages for topic clusters.
+
+```
+Structure:
+ Introduction (scope + authority stat)
+ H2: What Is [Topic]? (definition + context)
+ H2: Why [Topic] Matters in 2026
+ H2: [Core Subtopic 1] (detailed coverage)
+ H2: [Core Subtopic 2]
+ H2: [Core Subtopic 3]
+ H2: [Core Subtopic 4]
+ H2: [Advanced Topic]
+ H2: Tools and Resources
+ H2: FAQ (5-8 items, more than standard)
+ Conclusion (learning path + next steps)
+
+Visuals: 3-4 charts (diverse types), topic overview diagram
+Images: 5+ images distributed throughout
+Linking: Heavy internal linking to supporting cluster pages
+```
+
+### product-review.md
+
+Best for hands-on tool reviews with real testing results.
+
+```
+Structure:
+ Introduction (verdict stat, e.g., performance score)
+ H2: Quick Verdict
+ H2: What Is [Product]?
+ H2: Setup and First Impressions
+ H2: Key Features Tested
+ H2: Performance Results
+ H2: Pricing and Value
+ H2: Pros and Cons
+ H2: Who Is This For?
+ H2: FAQ (3-5 items)
+ Conclusion (final rating + recommendation)
+
+Visuals: Performance benchmark chart, pricing comparison
+Images: Screenshots from actual testing (critical for E-E-A-T)
+Info-Gain: First-hand testing data (must demonstrate Experience)
+```
+
+### thought-leadership.md
+
+Best for industry analysis and forward-looking opinion pieces.
+
+```
+Structure:
+ Introduction (trend stat that sets the stage)
+ H2: The Current Landscape
+ H2: What's Changing (analysis + data)
+ H2: Why This Matters
+ H2: What I've Seen (first-hand perspective)
+ H2: What to Do About It (actionable advice)
+ H2: Looking Ahead (predictions)
+ H2: FAQ (3-5 items)
+ Conclusion (key thesis + call to action)
+
+Visuals: Trend line chart, market shift chart
+Info-Gain: Personal perspective and predictions (differentiator)
+```
+
+### roundup.md
+
+Best for collecting insights from multiple sources or experts.
+
+```
+Structure:
+ Introduction (theme + number of sources stat)
+ H2: Key Finding 1 (synthesis from multiple sources)
+ H2: Key Finding 2
+ H2: Key Finding 3
+ H2: Expert Perspectives
+ H2: What This Means for [Audience]
+ H2: FAQ (3-5 items)
+ Conclusion (synthesis + action items)
+
+Visuals: Multi-source comparison chart, trend aggregation
+```
+
+### tutorial.md
+
+Best for technical walkthroughs with code examples.
+
+```
+Structure:
+ Introduction (what you'll build + tech stack)
+ H2: Prerequisites and Setup
+ H2: Step 1 - [Foundation]
+ H2: Step 2 - [Core Feature]
+ H2: Step 3 - [Integration]
+ H2: Step 4 - [Testing/Deployment]
+ H2: Troubleshooting Common Issues
+ H2: FAQ (3-5 items)
+ Conclusion (complete code repo link + extensions)
+
+Visuals: Architecture diagram (SVG), performance chart
+Images: Terminal screenshots, UI results
+Special: Code blocks with syntax highlighting throughout
+```
+
+### news-analysis.md
+
+Best for timely commentary on industry events and updates.
+
+```
+Structure:
+ Introduction (the news + impact stat)
+ H2: What Happened
+ H2: Why It Matters
+ H2: Who's Affected
+ H2: What to Do Now (immediate actions)
+ H2: FAQ (2-3 items)
+ Conclusion (outlook)
+
+Visuals: 1-2 charts (impact visualization)
+Note: Shorter format (800-1,500 words), speed matters
+```
+
+### data-research.md
+
+Best for original research, surveys, and data analysis.
+
+```
+Structure:
+ Introduction (headline finding)
+ H2: Methodology
+ H2: Key Finding 1 (data + analysis)
+ H2: Key Finding 2
+ H2: Key Finding 3
+ H2: Implications
+ H2: Limitations
+ H2: FAQ (3-5 items)
+ Conclusion (summary of findings + data access)
+
+Visuals: 3-4 charts (data visualizations are central)
+Info-Gain: Original data is the entire value proposition
+```
+
+### faq-knowledge-base.md
+
+Best for comprehensive Q&A reference content.
+
+```
+Structure:
+ Introduction (topic scope + common questions stat)
+ H2: [Category 1] Questions
+ H3: Question 1? (answer-first, 40-60 words)
+ H3: Question 2?
+ H2: [Category 2] Questions
+ H3: Question 3?
+ H3: Question 4?
+ H2: [Category 3] Questions
+ Conclusion (additional resources)
+
+Visuals: 1-2 summary charts
+Special: Every answer must contain a statistic
+Schema: FAQPage schema critical for this type
+```
+
+---
+
+## How to Customize Templates
+
+### Modifying an Existing Template
+
+1. Navigate to `~/.claude/skills/blog/templates/`
+2. Open the template file you want to modify
+3. Adjust section structure, word counts, or guidance
+4. Changes take effect immediately (no restart needed)
+
+### Creating a New Template
+
+1. Copy an existing template as a starting point:
+ ```bash
+ cp ~/.claude/skills/blog/templates/how-to.md \
+ ~/.claude/skills/blog/templates/my-custom-type.md
+ ```
+2. Define the section structure for your content type
+3. Add `ANSWER-FIRST:`, `VISUAL:`, and `INFO-GAIN:` markers
+4. Set appropriate word count targets
+5. Add a topic signal entry in the template selection logic
+
+### Template Best Practices
+
+- Keep sections focused on one topic each
+- Place `VISUAL:` markers where data naturally supports a chart
+- Use `INFO-GAIN:` markers liberally -- these are the sections that
+ differentiate your content from AI-generated consensus
+- Set realistic word counts that match the content type's natural depth
+- Ensure every template includes an FAQ zone and conclusion
+
+---
+
+## Template and Scoring Integration
+
+Templates guide content creation; the scoring system validates the result.
+The mapping between template features and scoring categories:
+
+| Template Feature | Scoring Category | Points At Stake |
+|-----------------|------------------|-----------------|
+| Section structure | Schema & Structure | 10 |
+| Answer-first markers | Answer-First Formatting | 20 |
+| Visual placement | Visual Elements | 15 |
+| FAQ zone | Schema & Structure | 4 |
+| Info-gain markers | Content Quality | 25 |
+| Citation guidance | Statistics & Citations | 20 |
+
+A well-followed template naturally produces content scoring 75+ without
+additional optimization passes.
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
new file mode 100644
index 0000000..4d93be8
--- /dev/null
+++ b/docs/TROUBLESHOOTING.md
@@ -0,0 +1,388 @@
+# Troubleshooting
+
+Common issues, their causes, and fixes for `claude-blog`. Issues are grouped
+by category and ordered from most to least common.
+
+---
+
+## Installation Issues
+
+### "Command not found" after installation
+
+**Symptom**: Running `/blog write` produces no response or a "skill not found"
+error.
+
+**Cause**: Claude Code caches skill definitions at startup. New skills are not
+detected until the CLI is restarted.
+
+**Fix**:
+1. Close Claude Code completely (exit the CLI or close the terminal)
+2. Reopen Claude Code
+3. Try `/blog write <topic>` again
+
+### Python script errors
+
+**Symptom**: `/blog analyze` fails when running `analyze_blog.py`, or the
+script exits with an import error.
+
+**Cause**: Python dependencies are not installed.
+
+**Fix**:
+```bash
+pip install -r requirements.txt
+```
+
+Or install the core dependencies individually:
+```bash
+pip install textstat beautifulsoup4 lxml jsonschema
+```
+
+### Missing textstat or beautifulsoup4
+
+**Symptom**: `analyze_blog.py` runs but reports `ModuleNotFoundError: No module
+named 'textstat'` or similar.
+
+**Cause**: The optional Python dependencies are not installed.
+
+**Behavior**: The analysis script is designed for **graceful degradation**.
+Without optional dependencies, it falls back to basic mode:
+
+| Dependency | When Missing | Fallback |
+|-----------|-------------|----------|
+| textstat | No Flesch/Gunning Fog scores | Sentence length heuristics |
+| beautifulsoup4 | No HTML schema parsing | Regex-based detection |
+| lxml | BeautifulSoup uses html.parser | Slower but functional |
+| spacy | No NER analysis | Skipped (optional feature) |
+| sentence-transformers | No semantic similarity | Skipped (optional feature) |
+| scikit-learn | No topic clustering | Skipped (optional feature) |
+| language-tool-python | No grammar checking | Skipped (optional feature) |
+
+The script will produce results with reduced detail but will not crash.
+Install dependencies for full functionality:
+
+```bash
+pip install -r requirements.txt # Core deps
+# Optional (install individually as needed):
+pip install spacy sentence-transformers scikit-learn language-tool-python
+```
+
+### Permission denied on install.sh
+
+**Symptom**: `./install.sh` returns "Permission denied".
+
+**Fix**:
+```bash
+chmod +x install.sh
+./install.sh
+```
+
+### Windows: PowerShell execution policy blocks install
+
+**Symptom**: `install.ps1` fails with "running scripts is disabled on this
+system."
+
+**Fix**:
+```powershell
+Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
+irm https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.ps1 | iex
+```
+
+---
+
+## Content Quality Issues
+
+### Low quality scores (below 60)
+
+**Symptom**: `/blog analyze` returns a score below 60 ("Poor" rating).
+
+**Common Causes and Fixes**:
+
+| Issue | Impact | Fix |
+|-------|--------|-----|
+| No answer-first formatting | -20 pts max | Add a 40-60 word stat paragraph at the start of every H2 section |
+| Fabricated statistics | -8 pts + Critical flag | Replace every unsourced number with a real stat from a tier 1-3 source |
+| Missing images | -4 to -7 pts | Add 3-5 images from Pixabay/Unsplash with descriptive alt text |
+| Missing charts | -5 to -8 pts | Generate 2-4 SVG charts via `/svg-chart` (diverse types) |
+| No FAQ section | -4 pts | Add 3-5 FAQ items with 40-60 word answers containing statistics |
+| Long paragraphs (>100 words) | -8 pts | Split into 40-55 word paragraphs |
+| Missing `lastUpdated` | -4 pts | Add `lastUpdated: "YYYY-MM-DD"` to frontmatter |
+| Excessive self-promotion | -3 pts | Remove brand mentions except 1 in author bio context |
+
+**Quick fix workflow**:
+```
+1. /blog analyze <file> # Get the score and issues
+2. /blog rewrite <file> # Auto-fix most issues
+3. /blog analyze <file> # Verify improvement
+```
+
+### Answer-first formatting not detected
+
+**Symptom**: Score report says "Missing answer-first formatting" even though
+sections have statistics.
+
+**Cause**: The statistic must be in the FIRST paragraph under the H2 heading,
+not in the second or third paragraph.
+
+**Correct pattern**:
+```markdown
+## How Does AI Search Impact Blog Traffic?
+
+AI Overviews caused a 61% decline in organic CTR across 3,119 queries
+([Seer Interactive](https://seerinteractive.com), 2025). This shift means
+blog publishers must optimize for both traditional rankings and AI citation
+to maintain visibility.
+```
+
+**Incorrect pattern** (stat buried):
+```markdown
+## How Does AI Search Impact Blog Traffic?
+
+The landscape of search is changing rapidly. Many marketers are concerned
+about the future of organic traffic.
+
+According to Seer Interactive, CTR declined 61%.
+```
+
+### Statistics flagged as "fabricated"
+
+**Symptom**: Quality report flags statistics as fabricated or unsourced.
+
+**Cause**: The scoring system looks for inline attribution within 200
+characters of a number. Missing or malformed citations trigger this flag.
+
+**Correct attribution format**:
+```markdown
+61% decline in organic CTR ([Seer Interactive](https://seerinteractive.com), 2025)
+```
+
+**Formats that may not be detected**:
+```markdown
+According to a recent study, CTR declined 61%. # No source name or link
+CTR declined 61% (source: Seer Interactive) # No URL
+CTR declined 61%. Source: Seer Interactive [1] # Footnote style
+```
+
+---
+
+## Template Issues
+
+### Template not loading
+
+**Symptom**: `/blog write` does not follow the expected template structure
+for the content type.
+
+**Causes and fixes**:
+
+1. **Templates not installed**: Verify the templates directory exists:
+ ```bash
+ ls ~/.claude/skills/blog/templates/
+ ```
+ If empty or missing, re-run `./install.sh`.
+
+2. **Wrong install path**: Templates must be in
+ `~/.claude/skills/blog/templates/`, not in the repository's
+ `blog/templates/` directory.
+
+3. **Template file corrupted**: Re-copy from the repository:
+ ```bash
+ cp blog/templates/*.md ~/.claude/skills/blog/templates/
+ ```
+
+### Wrong template selected
+
+**Symptom**: `/blog write` picks a how-to template when you wanted a listicle.
+
+**Fix**: Specify the content type explicitly:
+```
+/blog write listicle: "10 Best Monitoring Tools for 2026"
+/blog write --type comparison "Datadog vs Grafana"
+```
+
+Or state the type in natural language:
+```
+/blog write a comparison post about Datadog vs Grafana
+```
+
+---
+
+## Agent Issues
+
+### Agent not spawning
+
+**Symptom**: The sub-skill does not delegate to a subagent (blog-researcher,
+blog-writer, etc.), and instead tries to do everything inline.
+
+**Causes**:
+
+1. **Agent file not installed**: Check that agent files exist:
+ ```bash
+ ls ~/.claude/agents/blog-*.md
+ ```
+ Expected: `blog-researcher.md`, `blog-writer.md`, `blog-seo.md`,
+ `blog-reviewer.md`
+
+2. **Missing `Task` in allowed-tools**: The sub-skill's YAML frontmatter must
+ include `Task` in its `allowed-tools` list. Check the sub-skill file:
+ ```bash
+ head -20 ~/.claude/skills/blog-write/SKILL.md
+ ```
+ The `allowed-tools` section should include `Task`.
+
+3. **Claude Code version**: Agent spawning via `Task` requires a recent
+ version of Claude Code. Update to the latest version.
+
+### Agent produces low-quality output
+
+**Symptom**: The blog-writer agent produces content that does not follow
+answer-first formatting or other rules.
+
+**Fix**: This typically means the agent did not load the relevant reference
+files. Run the command again -- the orchestrator should load references
+before spawning the agent. If the issue persists:
+
+1. Verify reference files exist:
+ ```bash
+ ls ~/.claude/skills/blog/references/
+ ```
+2. Re-install references:
+ ```bash
+ cp blog/references/*.md ~/.claude/skills/blog/references/
+ ```
+
+---
+
+## Schema and SEO Issues
+
+### Schema detection failing
+
+**Symptom**: `/blog seo-check` or `/blog analyze` reports "No schema detected"
+even though the post has JSON-LD markup.
+
+**Causes**:
+
+1. **Schema injected via JavaScript**: AI crawlers (GPTBot, ClaudeBot,
+ PerplexityBot) and the analysis script cannot see schema that is
+ injected client-side via JavaScript. Schema must be present in the HTML
+ source (server-rendered).
+
+ **How to check**: Disable JavaScript in your browser and view source.
+ If the `<script type="application/ld+json">` block is missing, your
+ schema is JS-injected.
+
+ **Fix**: Move schema to server-rendered HTML:
+ - Next.js: Use `generateMetadata()` or `<script>` in `layout.tsx`
+ - Hugo: Add to template `<head>` partial
+ - WordPress: Use a plugin that renders in PHP, not JS
+
+2. **Schema in wrong format**: The analyzer looks for
+ `<script type="application/ld+json">` blocks. Other formats (Microdata,
+ RDFa) may not be detected.
+
+3. **MDX FAQSchema component**: If using a React component like
+ `<FAQSchema>`, ensure it renders the JSON-LD in the HTML output, not
+ just the visual FAQ.
+
+### JSON-LD validation errors
+
+**Symptom**: `/blog schema` generates markup that fails validation.
+
+**Fix**: Test the generated JSON-LD at:
+- https://validator.schema.org/
+- https://search.google.com/test/rich-results
+
+Common issues:
+- Missing `@context` or `@type` fields
+- `dateModified` not matching `lastUpdated` in frontmatter
+- Image URL not accessible (returns 404)
+- Author `@type` should be `Person`, not `Organization`
+
+---
+
+## Platform-Specific Issues
+
+### MDX compilation errors after blog write/rewrite
+
+**Symptom**: The generated MDX file fails to compile in Next.js.
+
+**Common causes**:
+
+| Error | Cause | Fix |
+|-------|-------|-----|
+| `stroke-width` is not valid | HTML attributes in JSX | Convert to camelCase: `strokeWidth` |
+| `class` is not valid | HTML `class` in JSX | Use `className` |
+| `style="..."` syntax error | String style in JSX | Use object: `style={{...}}` |
+| Unexpected `{` | Curly braces in markdown text | Escape: `\{` |
+| `<` in text content | Angle brackets in prose | Use `&lt;` or wrap in backticks |
+
+**Prevention**: When the platform is detected as MDX/Next.js, the sub-skills
+automatically use JSX-compatible syntax. If errors persist, specify the
+platform explicitly:
+
+```
+/blog write "topic" --format mdx
+```
+
+### Hugo front matter format mismatch
+
+**Symptom**: Hugo does not recognize the YAML frontmatter fields.
+
+**Fix**: Hugo uses TOML frontmatter by default (`+++` delimiters). If your
+Hugo site uses YAML (`---` delimiters), add to `hugo.toml`:
+```toml
+[markup.frontmatter]
+ date = ["date"]
+ lastmod = ["lastUpdated", "lastmod"]
+```
+
+---
+
+## Performance Issues
+
+### Commands running slowly
+
+**Symptom**: `/blog write` or `/blog brief` takes a long time to complete.
+
+**Causes**:
+- **Research phase**: WebSearch calls for statistics and images can take
+ 30-60 seconds depending on the topic
+- **Chart generation**: Each `/svg-chart` invocation adds 10-20 seconds
+- **Large context**: Loading many reference files increases processing time
+
+**Mitigation**:
+- Provide a brief first (`/blog brief`) to pre-do research, then use
+ `/blog write` with the brief (skips research phase)
+- For analysis, use `analyze_blog.py` directly for faster automated metrics
+
+### analyze_blog.py batch mode slow on large directories
+
+**Symptom**: `--batch` mode takes a long time on directories with many files.
+
+**Fix**: The script processes files sequentially. For large directories,
+analyze subsets:
+```bash
+python3 analyze_blog.py posts/2026/ --batch # Only 2026 posts
+python3 analyze_blog.py posts/drafts/ --batch # Only drafts
+```
+
+---
+
+## Getting Help
+
+If your issue is not listed here:
+
+1. **Check the version**: Ensure you have the latest `claude-blog` installed:
+ ```bash
+ cd claude-blog && git pull && ./install.sh
+ ```
+
+2. **Verify file integrity**: Compare installed files with the repository:
+ ```bash
+ diff ~/.claude/skills/blog/SKILL.md blog/SKILL.md
+ ```
+
+3. **Reset installation**: Remove and reinstall:
+ ```bash
+ ./uninstall.sh && ./install.sh
+ ```
+
+4. **Open an issue**: https://github.com/AgriciDaniel/claude-blog/issues
diff --git a/install.ps1 b/install.ps1
new file mode 100644
index 0000000..7442ee5
--- /dev/null
+++ b/install.ps1
@@ -0,0 +1,142 @@
+#!/usr/bin/env pwsh
+# claude-blog installer for Windows
+# Installs the blog skill ecosystem to ~/.claude/skills/ and ~/.claude/agents/
+
+$ErrorActionPreference = "Stop"
+
+function Write-Color($Color, $Text) {
+ Write-Host $Text -ForegroundColor $Color
+}
+
+function Main {
+ Write-Color Cyan @"
+
+ ╔══════════════════════════════════════╗
+ ║ claude-blog Installer ║
+ ║ Blog Content Engine for Claude Code ║
+ ╚══════════════════════════════════════╝
+
+"@
+
+ $SkillDir = Join-Path $env:USERPROFILE ".claude" "skills"
+ $AgentDir = Join-Path $env:USERPROFILE ".claude" "agents"
+ $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
+
+ # Check prerequisites
+ try {
+ $null = Get-Command python3 -ErrorAction Stop
+ } catch {
+ try {
+ $null = Get-Command python -ErrorAction Stop
+ } catch {
+ Write-Color Yellow "WARNING: Python not found. The analyze_blog.py script requires Python 3.12+."
+ }
+ }
+
+ # Create directories
+ Write-Color White "Creating directories..."
+ $dirs = @(
+ (Join-Path $SkillDir "blog" "references"),
+ (Join-Path $SkillDir "blog" "templates"),
+ (Join-Path $SkillDir "blog" "scripts"),
+ "blog-write", "blog-rewrite", "blog-analyze", "blog-brief",
+ "blog-calendar", "blog-strategy", "blog-outline", "blog-seo-check",
+ "blog-schema", "blog-repurpose", "blog-geo", "blog-audit"
+ )
+
+ New-Item -ItemType Directory -Force -Path (Join-Path $SkillDir "blog" "references") | Out-Null
+ New-Item -ItemType Directory -Force -Path (Join-Path $SkillDir "blog" "templates") | Out-Null
+ New-Item -ItemType Directory -Force -Path (Join-Path $SkillDir "blog" "scripts") | Out-Null
+ New-Item -ItemType Directory -Force -Path $AgentDir | Out-Null
+
+ foreach ($skill in @("blog-write", "blog-rewrite", "blog-analyze", "blog-brief", "blog-calendar", "blog-strategy", "blog-outline", "blog-seo-check", "blog-schema", "blog-repurpose", "blog-geo", "blog-audit")) {
+ New-Item -ItemType Directory -Force -Path (Join-Path $SkillDir $skill) | Out-Null
+ }
+
+ # Copy main skill
+ Write-Color White "Installing main skill: blog..."
+ Copy-Item (Join-Path $ScriptDir "blog" "SKILL.md") (Join-Path $SkillDir "blog" "SKILL.md") -Force
+
+ # Copy references
+ Write-Color White "Installing reference files..."
+ Copy-Item (Join-Path $ScriptDir "blog" "references" "*.md") (Join-Path $SkillDir "blog" "references") -Force
+
+ # Copy templates
+ if (Test-Path (Join-Path $ScriptDir "blog" "templates")) {
+ Write-Color White "Installing content templates..."
+ Copy-Item (Join-Path $ScriptDir "blog" "templates" "*.md") (Join-Path $SkillDir "blog" "templates") -Force
+ }
+
+ # Copy sub-skills
+ Write-Color White "Installing sub-skills..."
+ Get-ChildItem -Directory (Join-Path $ScriptDir "skills") | ForEach-Object {
+ $skillName = $_.Name
+ $src = Join-Path $_.FullName "SKILL.md"
+ $dst = Join-Path $SkillDir $skillName "SKILL.md"
+ if (Test-Path $src) {
+ Copy-Item $src $dst -Force
+ Write-Color Green " + $skillName"
+ }
+ }
+
+ # Copy agents
+ Write-Color White "Installing agents..."
+ Get-ChildItem -File (Join-Path $ScriptDir "agents" "*.md") | ForEach-Object {
+ Copy-Item $_.FullName (Join-Path $AgentDir $_.Name) -Force
+ Write-Color Green " + $($_.BaseName)"
+ }
+
+ # Copy scripts
+ Write-Color White "Installing scripts..."
+ Copy-Item (Join-Path $ScriptDir "scripts" "analyze_blog.py") (Join-Path $SkillDir "blog" "scripts" "analyze_blog.py") -Force
+
+ # Install Python dependencies
+ Write-Color White "Installing Python dependencies..."
+ $reqFile = Join-Path $ScriptDir "requirements.txt"
+ if (Test-Path $reqFile) {
+ try {
+ & python3 -m pip install --quiet -r $reqFile 2>$null
+ Write-Color Green " Python dependencies installed."
+ } catch {
+ try {
+ & python -m pip install --quiet -r $reqFile 2>$null
+ Write-Color Green " Python dependencies installed."
+ } catch {
+ Write-Color Yellow " Skipped: Install manually with 'pip install -r requirements.txt'"
+ }
+ }
+ }
+
+ # Summary
+ Write-Color Cyan @"
+
+ ╔══════════════════════════════════════╗
+ ║ Installation Complete! ║
+ ╚══════════════════════════════════════╝
+
+"@
+
+ Write-Color White "Installed:"
+ Write-Color Green " Main skill: blog/ (orchestrator + 12 references + 12 templates)"
+ Write-Color Green " Sub-skills: 12 commands"
+ Write-Color Green " Agents: 4 specialists"
+ Write-Color Green " Scripts: analyze_blog.py"
+ Write-Color White ""
+ Write-Color White "Commands available:"
+ Write-Color Cyan " /blog write <topic> Write a new blog post"
+ Write-Color Cyan " /blog rewrite <file> Optimize an existing blog post"
+ Write-Color Cyan " /blog analyze <file> Audit blog quality (0-100 score)"
+ Write-Color Cyan " /blog brief <topic> Generate a content brief"
+ Write-Color Cyan " /blog calendar Generate an editorial calendar"
+ Write-Color Cyan " /blog strategy <niche> Blog strategy and topic ideation"
+ Write-Color Cyan " /blog outline <topic> Generate a SERP-informed outline"
+ Write-Color Cyan " /blog seo-check <file> Post-writing SEO validation"
+ Write-Color Cyan " /blog schema <file> Generate JSON-LD schema markup"
+ Write-Color Cyan " /blog repurpose <file> Repurpose content for other platforms"
+ Write-Color Cyan " /blog geo <file> AI citation optimization audit"
+ Write-Color Cyan " /blog audit [directory] Full-site blog health assessment"
+ Write-Color White ""
+ Write-Color Yellow "Restart Claude Code to activate the new skill."
+}
+
+Main
diff --git a/install.sh b/install.sh
index 3f73b04..ca2f7fa 100755
--- a/install.sh
+++ b/install.sh
@@ -3,81 +3,126 @@ set -euo pipefail
# claude-blog installer
# Installs the blog skill ecosystem to ~/.claude/skills/ and ~/.claude/agents/
+#
+# One-command install:
+# curl -sL https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh | bash
main() {
local SKILL_DIR="${HOME}/.claude/skills"
local AGENT_DIR="${HOME}/.claude/agents"
- local SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+ local SCRIPT_DIR
+ local TEMP_DIR=""
- echo "=== claude-blog Installer ==="
echo ""
+ echo " ╔══════════════════════════════════════╗"
+ echo " ║ claude-blog Installer ║"
+ echo " ║ Blog Content Engine for Claude Code ║"
+ echo " ╚══════════════════════════════════════╝"
+ echo ""
+
+ # Determine source directory (local clone or piped from curl)
+ if [ -f "${BASH_SOURCE[0]:-}" ] && [ -d "$(dirname "${BASH_SOURCE[0]}")/blog" ]; then
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+ else
+ echo "→ Cloning claude-blog..."
+ TEMP_DIR="$(mktemp -d)"
+ trap 'rm -rf "${TEMP_DIR}"' EXIT
+ git clone --depth 1 https://github.com/AgriciDaniel/claude-blog.git "${TEMP_DIR}/claude-blog" 2>/dev/null
+ SCRIPT_DIR="${TEMP_DIR}/claude-blog"
+ fi
# Check prerequisites
if ! command -v python3 &>/dev/null; then
- echo "WARNING: python3 not found. The analyze_blog.py script requires Python 3."
- echo "Install with: sudo apt install python3"
+ echo "WARNING: python3 not found. The analyze_blog.py script requires Python 3.12+."
+ echo " Install with: sudo apt install python3"
+ echo ""
fi
# Create directories
- echo "Creating directories..."
+ echo "→ Creating directories..."
mkdir -p "${SKILL_DIR}/blog/references"
+ mkdir -p "${SKILL_DIR}/blog/templates"
mkdir -p "${SKILL_DIR}/blog/scripts"
- mkdir -p "${SKILL_DIR}/blog-write"
- mkdir -p "${SKILL_DIR}/blog-rewrite"
- mkdir -p "${SKILL_DIR}/blog-analyze"
- mkdir -p "${SKILL_DIR}/blog-brief"
- mkdir -p "${SKILL_DIR}/blog-calendar"
- mkdir -p "${SKILL_DIR}/blog-strategy"
+ for skill in blog-write blog-rewrite blog-analyze blog-brief blog-calendar blog-strategy blog-outline blog-seo-check blog-schema blog-repurpose blog-geo blog-audit; do
+ mkdir -p "${SKILL_DIR}/${skill}"
+ done
mkdir -p "${AGENT_DIR}"
# Copy main skill
- echo "Installing main skill: blog..."
+ echo "→ Installing main skill: blog..."
cp "${SCRIPT_DIR}/blog/SKILL.md" "${SKILL_DIR}/blog/SKILL.md"
# Copy references
- echo "Installing reference files..."
- cp "${SCRIPT_DIR}/blog/references/"*.md "${SKILL_DIR}/blog/references/"
+ echo "→ Installing reference files..."
+ if ls "${SCRIPT_DIR}/blog/references/"*.md &>/dev/null; then
+ cp "${SCRIPT_DIR}/blog/references/"*.md "${SKILL_DIR}/blog/references/"
+ fi
+
+ # Copy templates
+ if ls "${SCRIPT_DIR}/blog/templates/"*.md &>/dev/null; then
+ echo "→ Installing content templates..."
+ cp "${SCRIPT_DIR}/blog/templates/"*.md "${SKILL_DIR}/blog/templates/"
+ fi
# Copy sub-skills
- echo "Installing sub-skills..."
+ echo "→ Installing sub-skills..."
for skill_dir in "${SCRIPT_DIR}/skills/"*/; do
skill_name="$(basename "${skill_dir}")"
- cp "${skill_dir}SKILL.md" "${SKILL_DIR}/${skill_name}/SKILL.md"
- echo " - ${skill_name}"
+ if [ -f "${skill_dir}SKILL.md" ]; then
+ cp "${skill_dir}SKILL.md" "${SKILL_DIR}/${skill_name}/SKILL.md"
+ echo " + ${skill_name}"
+ fi
done
# Copy agents
- echo "Installing agents..."
+ echo "→ Installing agents..."
for agent_file in "${SCRIPT_DIR}/agents/"*.md; do
- agent_name="$(basename "${agent_file}")"
- cp "${agent_file}" "${AGENT_DIR}/${agent_name}"
- echo " - ${agent_name}"
+ if [ -f "${agent_file}" ]; then
+ agent_name="$(basename "${agent_file}")"
+ cp "${agent_file}" "${AGENT_DIR}/${agent_name}"
+ echo " + ${agent_name%.md}"
+ fi
done
# Copy scripts
- echo "Installing scripts..."
+ echo "→ Installing scripts..."
cp "${SCRIPT_DIR}/scripts/analyze_blog.py" "${SKILL_DIR}/blog/scripts/analyze_blog.py"
chmod +x "${SKILL_DIR}/blog/scripts/analyze_blog.py"
+ # Install Python dependencies
+ if [ -f "${SCRIPT_DIR}/requirements.txt" ] && command -v pip3 &>/dev/null; then
+ echo "→ Installing Python dependencies..."
+ pip3 install --quiet --break-system-packages -r "${SCRIPT_DIR}/requirements.txt" 2>/dev/null || \
+ pip3 install --quiet -r "${SCRIPT_DIR}/requirements.txt" 2>/dev/null || \
+ echo " Skipped: Install manually with 'pip3 install -r requirements.txt'"
+ fi
+
echo ""
- echo "=== Installation Complete ==="
+ echo " ╔══════════════════════════════════════╗"
+ echo " ║ Installation Complete! ║"
+ echo " ╚══════════════════════════════════════╝"
echo ""
- echo "Installed:"
- echo " Main skill: ${SKILL_DIR}/blog/SKILL.md"
- echo " Sub-skills: 6 (write, rewrite, analyze, brief, calendar, strategy)"
- echo " References: 5 (seo-2026, geo, content-rules, visual-media, quality-scoring)"
- echo " Agents: 2 (blog-researcher, blog-writer)"
- echo " Scripts: 1 (analyze_blog.py)"
+ echo " Installed:"
+ echo " Main skill: blog/ (orchestrator + references + templates)"
+ echo " Sub-skills: 12 commands"
+ echo " Agents: 4 specialists"
+ echo " Scripts: analyze_blog.py"
echo ""
- echo "Commands available:"
- echo " /blog write <topic> Write a new blog post"
- echo " /blog rewrite <file> Optimize an existing blog post"
- echo " /blog analyze <file> Audit blog quality (0-100 score)"
- echo " /blog brief <topic> Generate a content brief"
- echo " /blog calendar Generate an editorial calendar"
- echo " /blog strategy <niche> Blog strategy and topic ideation"
+ echo " Commands available:"
+ echo " /blog write <topic> Write a new blog post"
+ echo " /blog rewrite <file> Optimize an existing blog post"
+ echo " /blog analyze <file> Audit blog quality (0-100 score)"
+ echo " /blog brief <topic> Generate a content brief"
+ echo " /blog calendar Generate an editorial calendar"
+ echo " /blog strategy <niche> Blog strategy and topic ideation"
+ echo " /blog outline <topic> SERP-informed outline generation"
+ echo " /blog seo-check <file> Post-writing SEO validation"
+ echo " /blog schema <file> Generate JSON-LD schema markup"
+ echo " /blog repurpose <file> Repurpose for other platforms"
+ echo " /blog geo <file> AI citation optimization audit"
+ echo " /blog audit [directory] Full-site blog health assessment"
echo ""
- echo "Restart Claude Code to activate the new skill."
+ echo " Restart Claude Code to activate the new skill."
}
main "$@"
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..aa36206
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,20 @@
+# claude-blog — Python Dependencies
+# Bounded version pinning with security-conscious minimums
+# Last updated: February 18, 2026
+
+# Core dependencies (required for full functionality)
+textstat>=0.7.3,<1.0.0 # Readability scoring (Flesch, Gunning Fog, SMOG)
+beautifulsoup4>=4.12.0,<5.0.0 # HTML/schema parsing
+lxml>=5.0.0,<7.0.0 # XML/HTML parser backend for BeautifulSoup
+jsonschema>=4.20.0,<5.0.0 # JSON-LD schema validation
+
+# ─────────────────────────────────────────────────────────────────────
+# OPTIONAL — Heavy dependencies that unlock advanced features.
+# The analyze_blog.py script works WITHOUT these but gains capabilities
+# when they are present. Install individually as needed:
+#
+# pip install spacy # NER, advanced NLP (download model: python -m spacy download en_core_web_sm)
+# pip install sentence-transformers # Semantic similarity for duplicate detection
+# pip install scikit-learn # Clustering for topic cannibalization detection
+# pip install language-tool-python # Grammar and style checking (requires Java)
+# ─────────────────────────────────────────────────────────────────────
diff --git a/screenshots/README.md b/screenshots/README.md
new file mode 100644
index 0000000..e82f92a
--- /dev/null
+++ b/screenshots/README.md
@@ -0,0 +1,8 @@
+# Screenshots
+
+Place the following screenshots/GIFs here:
+
+- `cover-image.jpeg` — 1200x630 repo cover image
+- `blog-command-demo.gif` — Demo of `/blog write` in action
+- `blog-audit-demo.gif` — Demo of `/blog audit` parallel agents
+- `blog-analyze-demo.gif` — Demo of quality scoring output
diff --git a/skills/blog-brief/SKILL.md b/skills/blog-brief/SKILL.md
index 0d0292b..d93ea60 100644
--- a/skills/blog-brief/SKILL.md
+++ b/skills/blog-brief/SKILL.md
@@ -4,7 +4,7 @@ description: >
Generate detailed content briefs for blog posts with target keywords,
content outlines, competitive analysis, recommended statistics, image and
chart suggestions, word count targets, and internal linking plans. Briefs
- are optimized for Google rankings (Authenticity Update) and AI citations
+ are optimized for Google rankings (December 2025 Core Update) and AI citations
(GEO/AEO). Use when user says "content brief", "blog brief", "write brief",
"outline blog", "plan blog post", "blog outline", "content outline".
allowed-tools:
diff --git a/skills/blog-strategy/SKILL.md b/skills/blog-strategy/SKILL.md
index 988ecd7..1a7c3d1 100644
--- a/skills/blog-strategy/SKILL.md
+++ b/skills/blog-strategy/SKILL.md
@@ -79,7 +79,7 @@ Design 3-5 content pillars based on audience needs and competitive gaps:
### Step 5: Differentiation Strategy
-The January 2026 Authenticity Update rewards first-hand experience. Plan
+The December 2025 Core Update rewards first-hand experience. Plan
how to demonstrate genuine expertise:
| Signal Type | Implementation |
diff --git a/uninstall.sh b/uninstall.sh
new file mode 100755
index 0000000..df08b00
--- /dev/null
+++ b/uninstall.sh
@@ -0,0 +1,42 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# claude-blog uninstaller
+# Cleanly removes all blog skills, agents, templates, and scripts
+
+main() {
+ local SKILL_DIR="${HOME}/.claude/skills"
+ local AGENT_DIR="${HOME}/.claude/agents"
+
+ echo "=== Uninstalling claude-blog ==="
+ echo ""
+
+ # Remove main skill (includes references, templates, scripts)
+ if [ -d "${SKILL_DIR}/blog" ]; then
+ rm -rf "${SKILL_DIR}/blog"
+ echo " Removed: ${SKILL_DIR}/blog/"
+ fi
+
+ # Remove sub-skills
+ for skill in blog-write blog-rewrite blog-analyze blog-brief blog-calendar blog-strategy blog-outline blog-seo-check blog-schema blog-repurpose blog-geo blog-audit; do
+ if [ -d "${SKILL_DIR}/${skill}" ]; then
+ rm -rf "${SKILL_DIR}/${skill}"
+ echo " Removed: ${SKILL_DIR}/${skill}/"
+ fi
+ done
+
+ # Remove agents
+ for agent in blog-researcher blog-writer blog-seo blog-reviewer; do
+ if [ -f "${AGENT_DIR}/${agent}.md" ]; then
+ rm -f "${AGENT_DIR}/${agent}.md"
+ echo " Removed: ${AGENT_DIR}/${agent}.md"
+ fi
+ done
+
+ echo ""
+ echo "=== claude-blog uninstalled ==="
+ echo ""
+ echo "Restart Claude Code to complete removal."
+}
+
+main "$@"