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.

docs: interlink with public mirror; mirror claude-ads dual-repo pattern

Danielff8de5d89990
diff --git a/README.md b/README.md
index af5f610..dcb3fcc 100644
--- a/README.md
+++ b/README.md
@@ -2,13 +2,21 @@
![Claude Blog - AI-Powered Blog Creation](assets/header.jpeg)
-[![CI](https://github.com/AgriciDaniel/claude-blog/actions/workflows/ci.yml/badge.svg)](https://github.com/AgriciDaniel/claude-blog/actions/workflows/ci.yml)
-[![GitHub release](https://img.shields.io/github/v/release/AgriciDaniel/claude-blog)](https://github.com/AgriciDaniel/claude-blog/releases/latest)
-![Claude Code Skill](https://img.shields.io/badge/Claude_Code-Skill-blueviolet)
+[![Agent Skill](https://img.shields.io/badge/Agent%20Skills-Compatible-blue)](https://agentskills.io)
+[![Version](https://img.shields.io/github/v/release/AgriciDaniel/claude-blog?label=public%20release)](https://github.com/AgriciDaniel/claude-blog/releases)
+[![CI](https://img.shields.io/github/actions/workflow/status/AgriciDaniel/claude-blog/ci.yml?branch=main&label=public%20CI)](https://github.com/AgriciDaniel/claude-blog/actions)
+[![Community](https://img.shields.io/badge/AI%20Marketing%20Hub-Pro%20community-purple)](https://www.skool.com/ai-marketing-hub-pro)
![License: MIT](https://img.shields.io/badge/License-MIT-green)
![Python 3.11+](https://img.shields.io/badge/Python-3.11%2B-blue)
![Sub-Skills](https://img.shields.io/badge/Sub--Skills-30-orange)
+> **Two versions of this skill.** Choose the one that fits how you work:
+>
+> - 🌐 **Public open-source**: [`AgriciDaniel/claude-blog`](https://github.com/AgriciDaniel/claude-blog). MIT-licensed, public releases, open to anyone. Use this if you want the stable, downloadable, no-membership-required version.
+> - 🔒 **Community private mirror** (this repo): [`AI-Marketing-Hub/claude-blog`](https://github.com/AI-Marketing-Hub/claude-blog). Early access to in-development work (v1.9.0+ Blog Delivery Contract, hero ladder, mutation-tested regression coverage), and direct collaboration with the [AI Marketing Hub Pro](https://www.skool.com/ai-marketing-hub-pro) community. Requires membership.
+>
+> The badges above track the **public** repo (`AgriciDaniel/claude-blog`) since the private mirror isn't visible to shields.io. The publishing workflow (private dev → review → public release) is documented in [`docs/PUBLISHING.md`](docs/PUBLISHING.md).
+
> **Blog:** [See how claude-blog works](https://agricidaniel.com/blog/claude-code-blog-writer)
claude-blog is a Claude Code skill ecosystem for creating, optimizing, and managing blog content at scale. It generates complete articles, briefs, calendars, and schemas, dual-optimized for Google rankings and AI citation platforms (ChatGPT, Perplexity, AI Overviews).
@@ -37,42 +45,48 @@ claude-blog is a Claude Code skill ecosystem for creating, optimizing, and manag
## Quick Start
+> ℹ️ **Which version are you installing?**
+>
+> - **Not an AI Marketing Hub Pro member?** Install from the public repo instead: [`AgriciDaniel/claude-blog`](https://github.com/AgriciDaniel/claude-blog). All the install commands below work there too. Just swap `AI-Marketing-Hub/claude-blog` for `AgriciDaniel/claude-blog` and the plugin slug `claude-blog@ai-marketing-hub-claude-blog` for `claude-blog@agricidaniel-claude-blog`. Public releases ship there; this private mirror runs ahead of public releases.
+> - **Pro member?** The commands below install the **community version** with early access to in-development features. They require an authenticated `gh auth login` (or GitHub PAT) session with access to the `AI-Marketing-Hub` org. If `/plugin marketplace add` fails with a 404, your account isn't in the org yet. DM in the [Skool community](https://www.skool.com/ai-marketing-hub-pro) to get added.
+
**Plugin Install (Claude Code 1.0.33+):**
```bash
# Add marketplace (one-time)
-/plugin marketplace add AgriciDaniel/claude-blog
+/plugin marketplace add AI-Marketing-Hub/claude-blog
# Install plugin
-/plugin install claude-blog@AgriciDaniel-claude-blog
+/plugin install claude-blog@ai-marketing-hub-claude-blog
```
**Recommended: clone then verify before installing** (lets you inspect
install.sh and pin a release tag, closing audit VULN-005):
```bash
-git clone https://github.com/AgriciDaniel/claude-blog.git
+git clone https://github.com/AI-Marketing-Hub/claude-blog.git
cd claude-blog
git checkout v1.9.0 # pin to a release tag (latest as of 2026-05-18)
chmod +x install.sh && ./install.sh
```
-**Convenience one-command install (Unix/macOS, only if you trust the
-upstream `AgriciDaniel/claude-blog` GitHub account):**
+**One-Command Install (Unix/macOS):**
```bash
-curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh | bash
+curl -fsSL https://raw.githubusercontent.com/AI-Marketing-Hub/claude-blog/main/install.sh | bash
```
-> Note: piping curl to bash gives the script execution authority on your
-> machine. The clone-then-checkout-tag flow above is safer because you
-> can inspect what runs.
+**One-Command Install (Windows PowerShell):**
-**Windows (PowerShell):**
```powershell
-.\install.ps1
+irm https://raw.githubusercontent.com/AI-Marketing-Hub/claude-blog/main/install.ps1 | iex
```
+> Note: piping curl/irm to a shell gives the script execution authority on your
+> machine. The clone-then-checkout-tag flow above is safer because you
+> can inspect what runs. Both flows authenticate against the private repo using
+> your existing `gh auth` / GitHub credentials.
+
Restart Claude Code after installation to activate.
## Commands
@@ -272,7 +286,7 @@ claude-blog/
│ ├── test_security_guardrails.py
│ ├── test_security_v1_8_0.py # v1.8.0 (path traversal + DoS + contract regression)
│ └── test_version_coherence.py # v1.8.5 (pyproject / plugin.json / CITATION / SKILL.md aligned)
-├── docs/ # 7 documentation files
+├── docs/ # 8 documentation files
├── .github/workflows/ci.yml # CI pipeline
├── install.sh # Unix/macOS installer (fallback)
├── install.ps1 # Windows PowerShell installer
@@ -338,6 +352,7 @@ Detailed documentation is available in [docs/](docs/):
- [Installation Guide](docs/INSTALLATION.md): Unix, macOS, Windows, manual install
- [Command Reference](docs/COMMANDS.md): Full command reference with examples
- [Architecture](docs/ARCHITECTURE.md): System design and component overview
+- [Publishing Workflow](docs/PUBLISHING.md): Private-to-public release flow (Pro maintainers)
- [Templates](docs/TEMPLATES.md): Template reference and customization
- [Troubleshooting](docs/TROUBLESHOOTING.md): Common issues and fixes
- [MCP Integration](docs/MCP-INTEGRATION.md): Optional MCP server setup
diff --git a/docs/PUBLISHING.md b/docs/PUBLISHING.md
new file mode 100644
index 0000000..20aaaf5
--- /dev/null
+++ b/docs/PUBLISHING.md
@@ -0,0 +1,149 @@
+# Publishing Workflow: Private to Public
+
+This skill ships from two repos:
+
+| Repo | Role | Visibility | Audience |
+|---|---|---|---|
+| `AI-Marketing-Hub/claude-blog` (origin) | Working repo. All in-development changes land here first. | Private | AI Marketing Hub Pro community + maintainers |
+| `AgriciDaniel/claude-blog` (public-mirror) | Release mirror. Receives reviewed, approved versions of work. | Public | Open-source community, no membership required |
+
+The two repos share git history. The private mirror runs ahead of public; public catches up on approved releases.
+
+---
+
+## Standard release flow
+
+1. **Work in `origin`** (the private repo, `AI-Marketing-Hub/claude-blog`).
+ - Make changes locally on `main` or feature branches.
+ - Push to `origin` freely. Iteration here is cheap and not visible to non-members.
+
+2. **Run the v1.9.0 Blog Delivery Contract** end-to-end on any draft destined for the public mirror. The contract enforces:
+ - All 5 gates pass (`scripts/blog_preflight.py --strict`).
+ - `blog-reviewer` agent returns `BLOCKING: false`.
+ - Score >= 90 and zero P0 issues.
+
+3. **Pre-release sanity check** (run locally before pushing to public):
+
+ ```bash
+ python3 -m pytest tests/ # all 160 tests pass
+ python3 scripts/lint_prose.py --root . # zero prose-hygiene violations
+ claude plugin validate . # marketplace manifest valid
+ ```
+
+4. **Version + CHANGELOG**:
+ - Bump version coherently across all 14 surfaces. `tests/test_version_coherence.py` enforces this.
+ - `pyproject.toml`
+ - `.claude-plugin/plugin.json`
+ - `CITATION.cff` (also update `date-released`)
+ - All 11 sub-skill `SKILL.md` files with `version:` frontmatter
+ - Move the `## [Unreleased]` block in `CHANGELOG.md` to `## [X.Y.Z] - YYYY-MM-DD` and start a fresh empty Unreleased.
+
+5. **Pro-community review** in the [AI Marketing Hub Pro Skool](https://www.skool.com/ai-marketing-hub-pro). Post the release notes and collect feedback. This is the "approval gate" before the public push.
+
+6. **Push to public** (only after explicit approval):
+
+ ```bash
+ git push public-mirror main
+ git push public-mirror --tags # if you cut a tag
+ ```
+
+ Tags are recommended for the public mirror so users can pin a release version. See "Tag and release" below.
+
+7. **Post-release**:
+ - Append a session note to `~/Documents/Obsidian Vault/sessions/` per global rule.
+ - Update the public README if the dual-version callout needs adjusting (most edits don't).
+
+---
+
+## Tag and release
+
+For the public mirror to show a clean release on the GitHub Releases tab:
+
+```bash
+# 1. Tag the commit (annotated tag with release notes)
+git tag -a vX.Y.Z -m "Release vX.Y.Z: <one-line summary>"
+
+# 2. Push the tag to BOTH remotes
+git push origin vX.Y.Z # private
+git push public-mirror vX.Y.Z # public
+
+# 3. Create the GitHub release on the public mirror only
+gh release create vX.Y.Z \
+ --repo AgriciDaniel/claude-blog \
+ --title "vX.Y.Z" \
+ --notes-file <(awk '/^## \[X.Y.Z\]/,/^## \[/' CHANGELOG.md | head -n -1)
+```
+
+The private mirror does not need a corresponding GitHub release; community members consume via git pull. Tagging both keeps `git describe` and `git checkout vX.Y.Z` consistent across mirrors.
+
+---
+
+## Remote configuration (one-time)
+
+Anyone cloning this repo for development should set up both remotes:
+
+```bash
+# If you cloned from the private mirror:
+git remote -v
+# origin https://github.com/AI-Marketing-Hub/claude-blog.git (fetch)
+# origin https://github.com/AI-Marketing-Hub/claude-blog.git (push)
+
+# Add the public mirror as a second remote:
+git remote add public-mirror https://github.com/AgriciDaniel/claude-blog.git
+git remote -v
+# origin https://github.com/AI-Marketing-Hub/claude-blog.git (fetch)
+# origin https://github.com/AI-Marketing-Hub/claude-blog.git (push)
+# public-mirror https://github.com/AgriciDaniel/claude-blog.git (fetch)
+# public-mirror https://github.com/AgriciDaniel/claude-blog.git (push)
+```
+
+`git push` (no args) defaults to `origin` (the private repo). Pushing to public requires the explicit `git push public-mirror main` command, which is the approval gate by construction.
+
+---
+
+## When the public mirror is ahead of private
+
+This shouldn't happen normally, but if a hotfix lands on the public mirror first (e.g., a critical security patch contributed by an open-source user), pull it into the private repo:
+
+```bash
+git fetch public-mirror main
+git merge public-mirror/main
+git push origin main
+```
+
+Resolve any conflicts before pushing. Tag the merged state on both mirrors with the next patch version.
+
+---
+
+## What does NOT need to sync
+
+Some artifacts are intentionally local-only and should not be pushed to either remote:
+
+- `audit-results.md` (per-audit session evidence, already in `.gitignore`)
+- `~/Desktop/claude-blog-audit-YYYY-MM-DD/` proof folders (live outside the repo)
+- `.env*` and `BRAND.md` / `VOICE.md` / `DISCOURSE.md` at the repo root (user-specific context)
+
+The `.gitignore` already excludes these.
+
+---
+
+## What this workflow is NOT
+
+- Not an automated mirror. Public pushes are manual and gated on approval.
+- Not a fork relationship at the GitHub metadata level. The two repos share history but neither is registered as a fork of the other (which would require a destructive re-creation).
+- Not a substitute for branch protection. If you want PR-only merges to `main`, configure branch protection on the private repo via GitHub Settings.
+
+---
+
+## Quick reference card
+
+```
+origin -> AI-Marketing-Hub/claude-blog (private, working repo)
+public-mirror -> AgriciDaniel/claude-blog (public, release mirror)
+
+git push origin main # publish to private (frequent)
+git push public-mirror main # publish to public (release gate)
+git push --tags public-mirror # publish tags to public
+```
+
+Standing rule: never push to `public-mirror` without explicit approval from the maintainer + a clean Blog Delivery Contract pass.