phase-publish

phase-publish is a skill for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 0 tokens per session (2,720 once invoked), scanned A, original, Apache-2.0.

A publishing workflow that creates article images, uploads the finished post to WordPress, adds Rank Math metadata, sends an IndexNow notification, and registers monitoring.

In plain words
What is it for?
Use it to publish an approved SEO article with generated images and search-indexing notification.
Why use it?
It handles the final publishing tasks after an article has passed its quality and review checks, while requiring an explicit publish action.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; positional $N argument.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit Use it to publish an approved SEO article with generated images and search-indexing notification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuanranl/loamwright-seo-skill/phase-publish
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XuanRanL/loamwright-SEO-Skill --skill phase-publish
Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for phase-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/phase-publish/github.svg)](https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/phase-publish)
Your own site
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/phase-publish"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/phase-publish/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for phase-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/phase-publish"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/phase-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 138
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 156
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02720
Opus 5 $0.00000 $0.01360
Sonnet 5 $0.00000 $0.00544
Haiku 4.5 $0.00000 $0.00272

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

Security

Grade A, and why

phase-publish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/phase-publish/SKILL.md · 206 lines

How it starts

The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Phase Publish Orchestrator

Image generation + WordPress upload + indexing notification + monitor registration.

Critical: disable-model-invocation: true — only triggered explicitly by user or upstream skill. Cannot be auto-invoked. Prevents accidental publishing.

Inputs

Required in workspace/{task_id}/:

  • draft.md with frontmatter Stage: optimized
  • meta.json
  • quality.json with overall_passed: true
  • review.json with score >= target_score

Required in ~/.xuanran-seo/credentials/wordpress/<slug>.json:

  • { url, username, app_password }

Stage 1: Image Sub-Pipeline (5 sub-stages, 1-34 min total)

Stage 27a: image-slot-allocator    (~2 sec, no LLM)
  Decide brief.image_count slots (default 6, max 8 — scripts/_core/image_policy.py): 1 cover (16:9) + the rest section images (16:9/4:3)
  Format-aware H2 selection (per BLOG-FORMATS-2026-CATALOG §2.2)
  Output: image_slots.json

Stage 27b: image-prompt-designer    (~15 sec, LLM)
  Read brand-identity.json (colors), brand-voice.md (aesthetic)
  Generate shared Art Direction Prefix (Strategy A visual consistency)
  Design 9-field prompt per slot
  Output: image_prompts.json

Stage 27c: openai-image-generator  (~1-3 min realtime, parallel max_workers=4)
  Routes to the provider chain (scripts/_core/image_provider.py):
    primary  = openclawroot relay  (realtime only — relays have NO Batch API)
    fallback = official OpenAI      (auto-tried PER-SLOT if the relay fails)
  Calls images.generate per slot, saves PNGs, writes images.json.
  Mode is FORCED realtime (config.yaml :: image.default_mode). Do NOT use
  --mode auto/batch here: that bypasses the relay (batch is official-only) and
  reproduces the 2026-05-21 "worst-of-both-worlds" wait.

Stage 27d: batch-job-poller         (SUPPLEMENTAL — only if an official-OpenAI
  batch was ever submitted; the canonical realtime flow does not need it)
  GET /v1/batches/{id} → status; download output_file when completed

Stage 27e: image-post-processor    (~10 sec, no LLM)
  EXIF strip + WebP convert + srcset 3 sizes + compress <200KB + SEO filename
  Generate ImageObject schema fragment

Stage 27f: image-curator            (REFERENCE-ONLY — no Stage() dispatches agents/image-curator.md; alt/caption polish happens in the scripted image pipeline + wp_publisher media fields)
  Polish alt text per image (≤125 chars, keyword-natural)
  Generate optional captions
  Replace [IMAGE-SLOT-N] placeholders in draft.md
  Inject ImageObject into schema @graph
  Update frontmatter Stage: images-injected

Read the full file on GitHub · 206 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 206 lines · 0 tokens per session scan A a7f9d9d323c1

Subscribe to this mod's changes

phase-publish is a skill published in the GitHub repository XuanRanL/loamwright-SEO-Skill (49 stars, last pushed 26d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,720 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

geo-platform-optimizer

Platform-specific AI search optimization — audit and optimize for Google AI Overviews, ChatGPT, Perplexity, Gemini, and Bing Copilot individually.

zubair-trabzada/geo-seo-claude · 34 tokens

four-core-documents

Produce Part 3 of the 12-Part engagement: the four strategic-spine documents across 61 steps — 3.1 Business & SBU Analysis, 3.2 Segmentation Framework, 3.3 Brand Positioning & Communications, 3.4 DMFlow — with --doc single-document runs, --view v2 re-runs, and a --combined executive stitch. Triggers on…

indranilbanerjee/digital-marketing-pro · 164 tokens

continuous-improvement-loop

Run Part 12 of the engagement methodology — the continuous improvement loop that aggregates quarterly-review, customer-feedback, competitive, and operating signals into a Quarterly Product & Offering Improvement Brief for business leadership, plus fast 1-3 page ad-hoc briefs when a significant signal lands…

indranilbanerjee/digital-marketing-pro · 148 tokens

seo-plan

Build a 12-month SEO strategy and phased roadmap with industry templates (SaaS, ecommerce, local, publisher, agency). With fresh specialist outputs it runs as a dispatcher: scores four pillars — technical, content, topical, AI search — and makes the weakest pillar the plan's lead theme; missing specialists re-run only…

indranilbanerjee/digital-marketing-pro · 177 tokens

c2pa-metadata

Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…

indranilbanerjee/digital-marketing-pro · 183 tokens

import-guidelines

Import brand guidelines — voice and tone rules, messaging, banned words and restrictions, channel styles, visual identity — and structure them into enforceable markdown files in the brand's guidelines layer, auto-classified by category, conflict-checked against the brand profile, and merged with existing rules rather…

indranilbanerjee/digital-marketing-pro · 129 tokens