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.
Python agent-skillsaiai-citationsai-contentai-marketingai-marketing-hubblogblog-writingclaude-codeclaude-code-skillclaude-pluginclaude-skillcontent-creationcontent-optimizationcontent-strategyeeatgeomultilingualopen-sourceseo
fix: resolve 3 bugs from review branch, add DataForSEO MCP docs
AgriciDaniel7e70befdbdb2
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex aa96f4d..d70622e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -81,13 +81,13 @@ jobs:run: |echo "Checking for stale blog/ path references..."errors=0- # Check that no SKILL.md or doc references the old blog/ path for references/templates+ # Check that no SKILL.md or doc references the old bare blog/ path (not skills/blog/)for file in $(find skills docs -name "*.md"); do- if grep -n "blog/references/" "$file" 2>/dev/null; then+ if grep -Pn '(?<!skills/)blog/references/' "$file" 2>/dev/null; thenecho "WARNING: $file still references old 'blog/references/' path"errors=$((errors + 1))fi- if grep -n "blog/templates/" "$file" 2>/dev/null; then+ if grep -Pn '(?<!skills/)blog/templates/' "$file" 2>/dev/null; thenecho "WARNING: $file still references old 'blog/templates/' path"errors=$((errors + 1))fidiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 76d1be7..0757ada 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,34 @@ 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.3.0] - 2026-03-06++### Added+- **Plugin ecosystem support**: `.claude-plugin/plugin.json` for `/plugin install` compatibility+- **44 pytest unit tests** for `analyze_blog.py` — covers frontmatter, headings, paragraphs, images, AI detection, citations, FAQ, freshness, readability, links, schema, and integration tests+- **GitHub Actions CI**: 3 jobs — Python tests (3.11 + 3.12), SKILL.md frontmatter validation, plugin.json validation+- **DataForSEO MCP integration** documentation — recommended primary MCP server for live SEO data (SERP, keywords, backlinks, on-page, domain analytics, content analysis, AI optimization)+- `pyproject.toml` with dependency groups (core, advanced, dev)+- `CONTRIBUTING.md` with development guidelines+- `.mcp.json` for optional MCP server configuration+- Skill evaluation scenarios (7 trigger test cases)++### Changed+- **Directory restructure**: `blog/` → `skills/blog/` (official Anthropic plugin layout)+- Updated all internal path references across skills, docs, and install scripts+- README updated with plugin install as primary method+- MCP-INTEGRATION.md updated with DataForSEO as recommended integration++### Fixed+- **install.sh**: Restored `TEMP_DIR` global scope fix (lost during restructure)+- **install.sh**: Removed `--break-system-packages` pip flag (security concern)+- **install.sh**: Removed redundant `mkdir` and double-copy of `skills/blog/`+- **CI**: Fixed lint-markdown grep matching legitimate `skills/blog/references/` paths+- **Docs**: Fixed 11 instances of double `skills/skills/` paths in INSTALLATION.md and TROUBLESHOOTING.md++### Removed+- `--break-system-packages` pip install flag+## [1.1.0] - 2026-02-18### Addeddiff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.mdindex 9a09bcd..0ad6bee 100644--- a/docs/INSTALLATION.md+++ b/docs/INSTALLATION.md@@ -140,13 +140,13 @@ mkdir -p ~/.claude/skills/blog-{write,rewrite,analyze,brief,calendar,strategy,oumkdir -p ~/.claude/agents# Main skill-cp skills/blog/SKILL.md ~/.claude/skills/skills/blog/SKILL.md+cp skills/blog/SKILL.md ~/.claude/skills/blog/SKILL.md# References-cp skills/blog/references/*.md ~/.claude/skills/skills/blog/references/+cp skills/blog/references/*.md ~/.claude/skills/blog/references/# Templates-cp skills/blog/templates/*.md ~/.claude/skills/skills/blog/templates/+cp skills/blog/templates/*.md ~/.claude/skills/blog/templates/# Sub-skillsfor d in skills/blog-*/; do@@ -172,7 +172,7 @@ After installation, verify everything is in place:```bash# Main skill-ls ~/.claude/skills/skills/blog/SKILL.md+ls ~/.claude/skills/blog/SKILL.md# Sub-skills (should list 12)ls ~/.claude/skills/blog-*/SKILL.md | wc -l@@ -181,7 +181,7 @@ ls ~/.claude/skills/blog-*/SKILL.md | wc -lls ~/.claude/agents/blog-*.md | wc -l# References (should list 5+)-ls ~/.claude/skills/skills/blog/references/*.md | wc -l+ls ~/.claude/skills/blog/references/*.md | wc -l# Python scriptls ~/.claude/skills/blog/scripts/analyze_blog.pydiff --git a/docs/MCP-INTEGRATION.md b/docs/MCP-INTEGRATION.mdindex 87a7930..48e2624 100644--- a/docs/MCP-INTEGRATION.md+++ b/docs/MCP-INTEGRATION.md@@ -22,29 +22,177 @@ platforms.| | |v v v+-----------------+ +----------------+ +------------------+- | Google Search | | Ahrefs MCP | | PageSpeed |- | Console MCP | | Server | | Insights MCP |+ | DataForSEO MCP | | Individual | | Custom MCP |+ | (Recommended) | | MCP Servers | | Servers || | | | | |- | - Content decay | | - Backlinks | | - Core Web |- | - Keywords | | - Keywords | | Vitals |- | - Click data | | - Competitors | | - TTFB |+ | - SERP data | | - GSC | | - Analytics |+ | - Keywords | | - Ahrefs | | - CMS APIs |+ | - Backlinks | | - Semrush | | - Custom data |+ | - On-page | | - PageSpeed | | |+ | - Domain data | | | | |+ | - Content | | | | |+ | - AI Optim. | | | | |+-----------------+ +----------------+ +------------------++```++---++## DataForSEO MCP (Recommended)++**DataForSEO is the recommended MCP integration for `claude-blog`.** It provides+a single unified API covering SERP data, keyword research, backlink analysis,+on-page auditing, domain analytics, content analysis, and AI optimization —+replacing the need for separate Ahrefs, Semrush, GSC, and PageSpeed integrations.++### What It Enables- +------------+ +------------+- | |- v v- +-----------------+ +-----------------+- | Semrush MCP | | Custom MCP |- | Server | | Servers |- | | | |- | - Keyword gaps | | - Analytics |- | - Positions | | - CMS APIs |- | - Competitors | | - Custom data |- +-----------------+ +-----------------++| Feature | Without DataForSEO MCP | With DataForSEO MCP |+|---------|----------------------|---------------------|+| SERP analysis | WebSearch only | Live Google/Bing/Yahoo SERP with all features (AI Overviews, PAA, etc.) |+| Keyword research | Not available | Search volume, CPC, competition, keyword difficulty, search intent |+| Backlink analysis | Not available | Referring domains, anchor text, spam score, new/lost links |+| On-page auditing | Manual review | Automated crawl, meta tags, Core Web Vitals, Lighthouse scores |+| Domain analytics | Not available | Technology detection, WHOIS data, competitor domain analysis |+| Content analysis | Quality scoring only | Sentiment analysis, keyword density, content quality scoring |+| AI optimization | GEO content audit | LLM mention tracking, ChatGPT scraping, AI visibility metrics |+| Competitor research | WebSearch only | Ranked keywords, traffic estimation, content gap analysis |++### Enhanced Workflows++**`/blog brief` with DataForSEO data**:++Content briefs include real keyword metrics from DataForSEO Labs:++```+Target Keywords (DataForSEO Labs)+- Primary: "kubernetes monitoring" — 2,400/mo, KD 45, Intent: informational+- Secondary: "k8s observability" — 890/mo, KD 32, Intent: informational+- Question: "how to monitor kubernetes" — 720/mo, KD 28++Competitor SERP Analysis+| Position | Domain | Backlinks | Word Count |+|----------|---------------------|-----------|------------|+| #1 | competitor-a.com | 142 | 3,200 |+| #2 | competitor-b.com | 89 | 2,800 |+| #3 | competitor-c.com | 67 | 4,100 |```+**`/blog strategy` with DataForSEO data**:++Strategy documents gain competitive intelligence:++```+Domain Comparison (DataForSEO Labs)+| Domain | Organic Traffic | Keywords | Backlinks | Rank |+|------------------|----------------|----------|-----------|------|+| competitor-a.com | 45,000/mo | 2,340 | 12,400 | 52 |+| competitor-b.com | 28,000/mo | 1,200 | 8,900 | 47 |+| your-site.com | 3,200/mo | 380 | 1,100 | 31 |++Content Gap: 234 keywords where competitors rank but you don't+```++**`/blog geo` with DataForSEO AI Optimization data**:++AI citation audits include LLM visibility metrics:++```+AI Visibility Report (DataForSEO AI Optimization)+| Metric | Value | Notes |+|---------------------|-------|--------------------------|+| LLM mentions | 12 | Across ChatGPT, Gemini |+| AI Overview present | Yes | For 3/5 target keywords |+| Brand sentiment | 0.72 | Positive |+| Citation URLs | 4 | Directly cited pages |+```++### Configuration++**One-command install (recommended):**++```bash+claude mcp add dataforseo \+ --env DATAFORSEO_USERNAME=your_username \+ --env DATAFORSEO_PASSWORD=your_password \+ -- npx -y dataforseo-mcp-server+```++**Or remote server (no local install needed):**++```bash+claude mcp add --transport http dataforseo https://mcp.dataforseo.com/http \+ --header "Authorization: Basic $(echo -n 'username:password' | base64)"+```++**Or add to `~/.claude/settings.json` manually:**++```json+{+ "mcpServers": {+ "dataforseo": {+ "command": "npx",+ "args": ["-y", "dataforseo-mcp-server"],+ "env": {+ "DATAFORSEO_USERNAME": "your-username",+ "DATAFORSEO_PASSWORD": "your-password",+ "ENABLED_MODULES": "SERP,KEYWORDS_DATA,ONPAGE,DATAFORSEO_LABS,BACKLINKS,DOMAIN_ANALYTICS,BUSINESS_DATA,CONTENT_ANALYSIS,AI_OPTIMIZATION"+ }+ }+ }+}+```++### Best Practices++1. **Store credentials in environment variables** (not in settings.json):+ ```bash+ # Add to ~/.bashrc or ~/.zshrc+ export DATAFORSEO_USERNAME="your-username"+ export DATAFORSEO_PASSWORD="your-password"+ ```++2. **Use field filtering** to reduce token usage (~75%):+ Create a field config JSON file and set `FIELD_CONFIG_PATH`:+ ```json+ {+ "env": {+ "FIELD_CONFIG_PATH": "/path/to/dataforseo-field-config.json"+ }+ }+ ```+ A comprehensive field config is available in the repository at+ `skills/seo/dataforseo-field-config.json` (if using the companion `/seo` skill).++3. **Enable only the modules you need** via `ENABLED_MODULES` to reduce+ available tools and improve response relevance.++### Available Modules++| Module | What It Provides |+|--------|-----------------|+| `SERP` | Live Google/Bing/Yahoo search results with all SERP features |+| `KEYWORDS_DATA` | Search volume, CPC, competition from Google Ads |+| `DATAFORSEO_LABS` | Keyword research, domain analysis, competitor data |+| `BACKLINKS` | Backlink profiles, referring domains, anchor text |+| `ONPAGE` | Website crawling, meta analysis, Core Web Vitals, Lighthouse |+| `DOMAIN_ANALYTICS` | Technology detection, WHOIS records |+| `BUSINESS_DATA` | Google Maps listings, reviews, business info |+| `CONTENT_ANALYSIS` | Brand citations, sentiment analysis, phrase trends |+| `AI_OPTIMIZATION` | LLM mention tracking, ChatGPT scraping, AI keyword discovery |++### Setup Requirements++1. [DataForSEO account](https://dataforseo.com/) with API credentials+2. Node.js 18+ (for `npx dataforseo-mcp-server`)+3. API username and password from the DataForSEO dashboard+---+## Alternative Individual MCP Integrations++The following individual MCP servers can be used instead of (or alongside)+DataForSEO for teams that already have accounts with these platforms.+## Google Search Console MCP### What It Enables@@ -399,19 +547,13 @@ Validate both content quality and technical readiness for AI crawlers:## 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 |+| DataForSEO | **Available** | Recommended — covers SERP, keywords, backlinks, on-page, domain, content, AI optimization |+| Google Search Console | Planned | High — for first-party traffic/CTR data || 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.+See [CONTRIBUTING.md](../CONTRIBUTING.md) for guidelines.diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.mdindex 9764715..e3719ab 100644--- a/docs/TROUBLESHOOTING.md+++ b/docs/TROUBLESHOOTING.md@@ -175,17 +175,17 @@ for the content type.1. **Templates not installed**: Verify the templates directory exists:```bash- ls ~/.claude/skills/skills/blog/templates/+ ls ~/.claude/skills/blog/templates/```If empty or missing, re-run `./install.sh`.2. **Wrong install path**: Templates must be in- `~/.claude/skills/skills/blog/templates/`, not in the repository's+ `~/.claude/skills/blog/templates/`, not in the repository's`skills/blog/templates/` directory.3. **Template file corrupted**: Re-copy from the repository:```bash- cp skills/blog/templates/*.md ~/.claude/skills/skills/blog/templates/+ cp skills/blog/templates/*.md ~/.claude/skills/blog/templates/```### Wrong template selected@@ -242,11 +242,11 @@ before spawning the agent. If the issue persists:1. Verify reference files exist:```bash- ls ~/.claude/skills/skills/blog/references/+ ls ~/.claude/skills/blog/references/```2. Re-install references:```bash- cp skills/blog/references/*.md ~/.claude/skills/skills/blog/references/+ cp skills/blog/references/*.md ~/.claude/skills/blog/references/```---@@ -377,7 +377,7 @@ If your issue is not listed here:2. **Verify file integrity**: Compare installed files with the repository:```bash- diff ~/.claude/skills/skills/blog/SKILL.md skills/blog/SKILL.md+ diff ~/.claude/skills/blog/SKILL.md skills/blog/SKILL.md```3. **Reset installation**: Remove and reinstall:diff --git a/install.sh b/install.shindex 4cd032e..74f1a3f 100755--- a/install.sh+++ b/install.sh@@ -7,11 +7,13 @@ set -euo pipefail# One-command install:# curl -sL https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh | bash+# Declared outside main() so the EXIT trap can access it after main() returns+TEMP_DIR=""+main() {local SKILL_DIR="${HOME}/.claude/skills"local AGENT_DIR="${HOME}/.claude/agents"local SCRIPT_DIR- local TEMP_DIR=""echo ""echo " ╔══════════════════════════════════════╗"@@ -43,7 +45,6 @@ main() {mkdir -p "${SKILL_DIR}/blog/references"mkdir -p "${SKILL_DIR}/blog/templates"mkdir -p "${SKILL_DIR}/blog/scripts"- mkdir -p "${SKILL_DIR}/blog"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 blog-chart; domkdir -p "${SKILL_DIR}/${skill}"done@@ -69,6 +70,7 @@ main() {echo "→ Installing sub-skills..."for skill_dir in "${SCRIPT_DIR}/skills/"*/; doskill_name="$(basename "${skill_dir}")"+ [ "$skill_name" = "blog" ] && continueif [ -f "${skill_dir}SKILL.md" ]; thencp "${skill_dir}SKILL.md" "${SKILL_DIR}/${skill_name}/SKILL.md"echo " + ${skill_name}"@@ -95,7 +97,7 @@ main() {echo "→ Installing Python dependencies..."pip3 install --quiet -r "${SCRIPT_DIR}/requirements.txt" 2>/dev/null || \echo " Skipped: Install manually with 'pip3 install -r requirements.txt'"- echo " Tip: Use a virtual environment: python3 -m venv .venv && source .venv/bin/activate"+ echo " Tip: Consider using a virtual environment: python3 -m venv .venv && source .venv/bin/activate"fiecho ""