perplexity-cli
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
Claude Code blog skill suite: 30 sub-skills, 5 agents, 5-gate v1.9.0 Blog Delivery Contract, dual-optimized for Google…
claude-blog)claude-blog is a Claude Code skill suite that writes, optimizes, audits, localizes, and refreshes blog content at scale. Every article is evaluated for Google-aligned usefulness and internal AI citation readiness heuristics. Version 2.1.1 was prepared on 2026-07-23.
The core promise is simple: the user is never the first reviewer. A 5-gate Blog Delivery Contract scores every draft against a 100-point rubric, blocks delivery below 90, verifies artifacts and links, and iterates up to 3 times before escalation.
This is the public, MIT-licensed distribution at
AgriciDaniel/claude-blog.
The publishing workflow is documented in
docs/PUBLISHING.md.
Blog: See how claude-blog works
Watch the original demo on YouTube.
claude-blog is a full-lifecycle blog engine for strategy, briefs, outlines, writing, rewriting, analysis, schema, AI citation readiness, site audits, topic clusters, multilingual publishing, audio narration, and content decay detection.
Current v2.1.1 shape: 32 skill directories = 1 orchestrator + 31 sub-skills; 30 user-facing /blog commands (blog-chart is internal, not a command). It also includes 5 specialized agents, repository consistency and public-release validators, 22 core references, 12 templates, a 250+ test suite, and the bundled Claude Blog Brain at ./brain.
Every draft ships as an artifact folder with the markdown source, rendered HTML, PDF, real hero.<ext>, 3 viewport screenshots, review.md, and preflight-report.json. The renderer uses XSS-safe JSON-LD handling, dark-mode-aware CSS, and the same source for every output format.
Solo bloggers and creators can ship high-quality posts without spending hours on SEO, schema, source checks, and internal linking.
Marketing teams and agencies can run consistent multi-post workflows across brands, languages, authors, and platforms with /blog cluster, /blog multilingual, /blog persona, /blog brand, and /blog discourse.
Claude Code skill builders can study a Tier 4 Agent Skills reference architecture with orchestrator routing, sub-skill dispatch, agent handoffs, code-enforced delivery gates, installer hardening, and CI coherence checks.
Most user-installable Claude Code skill plugins should ship to ~/.claude/skills/<name>/ for skill content, ~/.claude/agents/<name>.md for agents, and ~/.claude/scripts/<helper>.py for Python helpers.
This answer is intentionally kept in the README because it demonstrates the GEO and SEO writing pattern claude-blog produces: answer-first summary, explicit paths, source-ready structure, and a compact FAQ-ready section that AI systems can quote without extra context.
A condensed specimen of a generated article:
--- title: "Where Should a Claude Code Skill Plugin Install Itself?" description: "A working answer to the install-path question..." date: "2026-05-18" author: "Daniel Agrici" tags: [claude-code, skills, plugins, installation] canonical: "https://example.com/blog/skill-plugin-install-path" --- ## Where Should a Claude Code Skill Plugin Install Itself? The short answer: most user-installable Claude Code skill plugins should ship to `~/.claude/skills/<name>/` for skill content, `~/.claude/agents/<name>.md` for agents, and `~/.claude/scripts/<helper>.py` for any Python helpers. ### Key Takeaways - `~/.claude/skills/` is the SKILL.md surface area. - `~/.claude/agents/` holds agent markdown files. - The full article includes sourced citations, FAQ, and schema JSON-LD.
The orchestrator in skills/blog/SKILL.md parses /blog input, detects the target platform, loads only the references it needs, routes to a sub-skill, and coordinates agents plus scripts through the delivery contract.
| Layer | Count | Where |
|---|---|---|
| Skill directories | 32 | skills/blog plus skills/blog-* |
| Orchestrator | 1 | skills/blog/SKILL.md |
| Sub-skills | 31 | skills/blog-*/SKILL.md |
User-facing /blog commands |
30 | skills/blog/SKILL.md routing table |
| Internal-only sub-skill | 1 | skills/blog-chart/SKILL.md |
| Specialized agents | 5 | agents/blog-*.md |
| Root scripts | 14 | scripts/*.py |
| References | 22 | skills/blog/references/*.md |
| Templates | 12 | skills/blog/templates/*.md |
| Tests | 252 | tests/ |
More architecture detail lives in docs/ARCHITECTURE.md.
Every /blog write and /blog rewrite result must pass the delivery contract before it is shown to the user.
| Gate | Enforces | Implementation |
|---|---|---|
| 1. Capability Discovery | Required tools, agents, env vars, and optional dependencies are known before writing | scripts/blog_preflight.py --gate 1 |
| 2. Format Completeness | .md, .html, .pdf, and a real hero image exist |
scripts/blog_render.py, scripts/generate_hero.py |
| 3. Visual Verification | Screenshots render at 375, 768, and 1280 widths, JSON-LD is valid, dark mode holds, SVGs do not overflow | patchright or playwright |
| 4. Content Review | blog-reviewer score is 90+ with zero P0 issues |
agents/blog-reviewer.md |
| 5. Asset and Link Integrity | Images resolve, og:image exists, links return 200, word count matches schema within 5% |
scripts/blog_preflight.py --gate 5 |
Hero image ladder: Banana MCP, direct Gemini API, premium stock APIs, then Openverse. First working source wins. Full spec: skills/blog/references/blog-delivery-contract.md.
The ecosystem is intentionally modular. Most commands are user-facing sub-skills. blog-chart is internal-only, and blog-image can be called both by the user and internally by write and rewrite workflows.
First run: /blog strategy <niche> to scope the site, /blog write <topic> to generate a gated article, and /blog analyze <file-or-url> to score an existing post.
| Command | What it does |
|---|---|
/blog write <topic> |
Write a new blog post from scratch |
/blog rewrite <file> |
Rewrite/optimize an existing blog post |
/blog analyze <file-or-url> |
Audit blog quality with 0-100 score |
/blog brief <topic> |
Generate a detailed content brief |
/blog calendar [monthly|quarterly] |
Generate an editorial calendar |
/blog strategy <niche> |
Blog strategy and topic ideation |
/blog outline <topic> |
Generate SERP-informed content outline |
/blog seo-check <file> |
Post-writing SEO validation checklist |
/blog schema <file> |
Generate JSON-LD schema markup |
/blog repurpose <file> |
Repurpose content for other platforms |
/blog geo <file> |
AI citation readiness audit |
/blog audit [directory] |
Full-site blog health assessment |
/blog cannibalization [dir] |
Detect keyword cannibalization across posts |
/blog factcheck <file> |
Verify statistics against cited sources |
/blog image [generate|edit|setup] |
AI image generation and editing via Gemini |
/blog persona [create|list|use|show] |
Manage writing personas and voice profiles |
/blog brand [init|show|update] |
Generate BRAND.md + VOICE.md context files auto-loaded by all sub-skills |
/blog discourse <topic> |
Research what people are actually saying about a topic in last 30 days; produces DISCOURSE.md (v1.8.0, API-free) |
/blog taxonomy [suggest|sync|audit] |
Tag/category management across CMS platforms |
/blog notebooklm <question> |
Query NotebookLM for source-grounded research |
/blog audio [generate|voices|setup] |
Generate audio narration of blog posts |
/blog google [command] [args] |
Google API data: PSI, CrUX, GSC, GA4, NLP, YouTube, Keywords |
/blog update <file> |
Update existing post with fresh stats (routes to rewrite) |
/blog cluster [plan|execute] <seed-or-plan> |
Semantic topic-cluster planning + execution (hub and spoke) |
/blog multilingual <topic> --languages <codes> |
Write + translate + localize + emit hreflang in one command |
/blog translate <file> --to <codes> |
SEO-optimized translation with format preservation |
/blog localize <file> --locale <code> |
Cultural deep-adaptation (DACH, FR, ES, JA, custom) |
/blog locale-audit <directory> |
Multilingual content QA (completeness, hreflang, parity, freshness) |
/blog flow [find|optimize|win|prompts|sync] |
FLOW framework prompts (evidence-led, 30 blog-applicable) |
/blog style learn <paths> |
Learn author voice profile from 5-10 posts (feeds blog-write and blog-persona) |
/blog decay <current-gsc> <previous-gsc> |
Detect content decay: flag 20%+ QoQ traffic decline from GSC exports |
/blog update is a freshness alias routed to blog-rewrite; the project count remains 30 user-facing /blog commands. blog-chart remains internal-only.
Full reference: docs/COMMANDS.md.
claude-blog integrates the FLOW framework from AgriciDaniel/flow (CC BY 4.0). FLOW means Find, Leverage, Optimize, Win. The skill surfaces Find, Optimize, and Win as /blog flow commands; Leverage is available as a prompt family through /blog flow prompts and is applied inside drafting, repurposing, and distribution workflows.
scripts/ai_citation_score.py produces non-calibrated 0-100 editorial-readiness views for AI Overview, Perplexity, and ChatGPT and feeds /blog geo./blog style learn <paths> builds an author voice profile from 5 to 10 posts./blog decay <current-gsc> <previous-gsc> flags 20%+ quarter-over-quarter GSC traffic drops and suggests refresh, consolidate, or prune actions.scripts/quality_gate.py and .pre-commit-config.yaml block blog posts below score 70 before commit./blog brand writes BRAND.md and VOICE.md; /blog discourse writes DISCOURSE.md. The orchestrator loads them through fenced, nonce-bound untrusted-data handling./blog multilingual, /blog translate, /blog localize, /blog locale-audit, and /blog cluster support international hub-and-spoke publishing.scripts/blog_hygiene.py can add lazy image loading and a table of contents without replacing human review.Auto-selected by topic and intent: how-to guide, listicle, case study, comparison, pillar page, product review, thought leadership, roundup, tutorial, news analysis, data research, and FAQ knowledge base.
| Category | Points | Focus |
|---|---|---|
| Content Quality | 30 | Depth, readability, originality, engagement |
| SEO Optimization | 25 | Headings, title, keywords, links, meta |
| E-E-A-T Signals | 15 | Author, citations, trust, evidence basis |
| Technical Elements | 15 | Schema, images, speed, mobile, OG tags |
| AI Citation Readiness | 15 | Evidence-backed citability, purpose fit, entity clarity |
Scoring bands: Exceptional (90-100), Strong (80-89), Acceptable (70-79), Below Standard (60-69), Rewrite (<60). The delivery contract blocks delivery below 90.
/blog factcheck source verification with exact match, paraphrase, and not-found confidence scoring./blog cannibalization keyword overlap detection with merge or differentiate recommendations.| Reference | Purpose |
|---|---|
ai-slop-detection.md |
Two-tier advisory editorial pattern review; never an authorship classifier or scoring input |
editorial-heuristics.md |
Nielsen-adapted 0-4 scoring with P0-P3 severity |
cognitive-load.md |
Per-section concept-density scoring |
research-quality.md |
Source-tier, freshness, and synthesis quality checks |
synthesis-contract.md |
Research synthesis LAWs for citation-safe output |
Adapted attribution lives in CONTRIBUTORS.md.
The Claude Blog Brain is vendored at ./brain as a self-contained, evidence-gated Obsidian brain. It is not part of the plugin payload; all skill tooling remains scoped to skills/. Brain-derived updates land through reviewed reference, script, and documentation changes.
Plugin install for Claude Code 1.0.33+:
/plugin marketplace add AgriciDaniel/claude-blog /plugin install claude-blog@agricidaniel-blog
Recommended clone, verify, then install flow:
git clone https://github.com/AgriciDaniel/claude-blog.git cd claude-blog git checkout v2.1.1 chmod +x install.sh ./install.sh
One-command install on Unix and macOS:
curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh | CLAUDE_BLOG_REF=v2.1.1 bash
One-command install on Windows PowerShell:
$env:CLAUDE_BLOG_REF = "v2.1.1" irm https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.ps1 -OutFile install.ps1 pwsh -File ./install.ps1
Verify installer integrity before running:
curl -fsSL -o install.sh https://raw.githubusercontent.com/AgriciDaniel/claude-blog/main/install.sh echo "b4fcd5aa6767529bc8d11017699bd8211519c93b0d6c28c5cf032f76ada98381 install.sh" | sha256sum -c CLAUDE_BLOG_REF=v2.1.1 bash install.sh
The SHA-256 above is for the current install.sh at HEAD on main; CLAUDE_BLOG_REF pins the repository clone performed by the installer. Verify against the canonical file before running. The install.ps1 companion hash is 9532d3014aa24468d8dd309e19acb5557c9cc7e4edab718381c26515aab48a79.
Restart Claude Code after installation to activate.
Uninstall on Unix and macOS:
chmod +x uninstall.sh ./uninstall.sh
Uninstall on Windows PowerShell:
.\uninstall.ps1
Installation details: docs/INSTALLATION.md.
pip install -r requirements.txt for advanced analysis, readability scoring, schema detection, and media workflows.claude plugin validate . plus manifest, marketplace, and frontmatter checks.references/, templates/, command docs, and installer payloads.scripts/lint_prose.py enforces no em dash, no en dash, and no ASCII double-hyphen prose.skills/blog/SKILL.md and docs/COMMANDS.md must declare the same command set.--require-hashes, then initializes google-genai, Patchright, and preflight without API calls or a browser launch.brain/** run its pytest suite, vault lint, and report-only audit.Run locally before pushing:
python3 -m pytest tests/ python3 scripts/lint_prose.py claude plugin validate .
claude-blog is a structured pipeline. Direct LLM prompting is a one-shot. Hosted SaaS tools are closed-source. The tradeoffs are:
| Capability | claude-blog | Direct Claude or ChatGPT prompt | Copy.ai or Jasper | Build it yourself |
|---|---|---|---|---|
| Full article in one command with iteration loop | Yes | One-shot | Yes | No |
| Sourced statistics with verification | Yes | No | No | Manual |
| AI citation optimization (GEO / AEO) | Yes | No | No | Partial |
| Blocking content review with score 90+ | Yes | No | No | No |
| Multilingual plus hreflang in one command | Yes | Partial | Partial | No |
| Topic-cluster planning | Yes | No | Partial | No |
| Audio narration | Yes | No | No | No |
| Hero image generation ladder | Yes | No | Stock only | Partial |
| Persistent brand and voice context | Yes | Per-prompt | Limited | No |
| Open-source, MIT, no SaaS subscription | Yes | No | No | Yes |
claude-blog is not better at everything. Direct prompting is faster for a single throwaway draft. Hosted SaaS is easier for non-developers. DIY is more flexible for unique pipelines. claude-blog fits when you want production-grade content at scale without a SaaS subscription.
claude-blog is a Claude Code skill suite for writing, optimizing, and auditing blog content. It runs 32 skill directories through a 5-gate delivery contract so every article meets a 90/100 quality bar before it reaches you.
Direct prompting gives you one draft from one prompt. claude-blog gives you a structured pipeline: research with sourced statistics, outline approval, draft generation, multi-pass quality scoring, advisory editorial pattern review, fact verification, schema injection, and a blocking review that iterates up to 3 times before delivery.
Yes. AgriciDaniel/claude-blog
is MIT-licensed and available to anyone using Claude Code.
Next.js MDX, Astro, Hugo, Jekyll, WordPress, Ghost, 11ty, Gatsby, and static HTML. The orchestrator auto-detects the platform and adjusts frontmatter, image embedding, and schema injection.
The workflow is designed to block invented numbers. /blog factcheck fetches cited source URLs and scores each claim as exact match, paraphrase, or not found. blog-reviewer blocks publication when citations cannot be verified.
It is a pre-presentation pipeline for Capability Discovery, Format Completeness, Visual Verification, Content Review, and Asset and Link Integrity. The orchestrator iterates the writer up to 3 times on any gate failure before escalating to you. Full spec: skills/blog/references/blog-delivery-contract.md.
Yes. /blog multilingual <topic> --languages <codes> writes the post, translates it while preserving frontmatter and schema, runs cultural adaptation per locale, and emits hreflang tags plus a CMS-ready language map.
See How To Cite or CITATION.cff. GitHub also surfaces the citation through the public mirror.
The recommended flow downloads the installer as a file so you can inspect it before execution. v2.1.1 uses pinned refs, allowlisted recursive payload copies, manifest-backed uninstall, prose lint, version coherence checks, repository consistency checks, and installer regression tests. See SECURITY.md.
uv setup.If you use claude-blog in research or production, please cite the project:
@software{Agrici_claude_blog_2026,
author = {Agrici, Daniel},
title = {claude-blog: AI Blog Writing and SEO Optimization Skill for Claude Code},
year = {2026},
url = {https://github.com/AgriciDaniel/claude-blog},
version = {2.1.1},
license = {MIT}
}
GitHub also surfaces the structured CITATION.cff file via "Cite this repository" on the public mirror page.
SECURITY.md. To report a vulnerability privately, follow the disclosure procedure there.CODE_OF_CONDUCT.md. Contributor Covenant.Contributions are welcome. See CONTRIBUTING.md for guidelines. Before opening a PR:
python3 -m pytest tests/ and confirm the full suite passes.python3 scripts/lint_prose.py and confirm zero violations.claude plugin validate ..MIT License. See LICENSE.
Built by Daniel Agrici, AI Workflow Architect, with Claude Code.
more like this
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
:hugs: AeroPath: An airway segmentation benchmark dataset with challenging pathology
search projects, people, and tags