rewrite

rewrite is a skill for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 84 tokens per session (3,056 once invoked), scanned A, original, Apache-2.0.

A workflow for improving an existing published article through auditing, research, chart creation, rewriting, verification, and a summary. It can preserve the original author’s voice while checking facts, structure, freshness, citations, and other content qualities.

In plain words
What is it for?
Use it to run a full rewrite, make a freshness-focused update, review article structure and sources, or respond to signals that a page’s ranking is declining.
Why use it?
It helps address outdated information, declining search performance, fabricated statistics, weak formatting, or other quality problems in an article that already exists.

Skill for Claude Code

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

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

Good fit Use it to run a full rewrite, make a freshness-focused update, review article structure and sources, or respond to signals that a page’s ranking is declining.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuanranl/loamwright-seo-skill/rewrite
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 rewrite
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 rewrite

README.md
[![agentmods](https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/rewrite/github.svg)](https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/rewrite)
Your own site
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/rewrite"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/rewrite/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 rewrite

Your own site · 80×15
<a href="https://agentmods.dev/skills/xuanranl/loamwright-seo-skill/rewrite"><img src="https://agentmods.dev/badge/skills/xuanranl/loamwright-seo-skill/rewrite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,056 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 pass 7 Sept 2026
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.00084 $0.03056
Opus 5 $0.00042 $0.01528
Sonnet 5 $0.00017 $0.00611
Haiku 4.5 $0.00008 $0.00306

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

Security

Grade A, and why

rewrite 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 10d 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.

subskills/cross-cutting/rewrite/SKILL.md · 306 lines

How it starts

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

Rewrite · Optimize Existing Posts

For ranking-decay rescue, refresh cycles, or quality lift on already-published articles. Preserves the author's voice while applying 6 optimization pillars.

When to invoke

  • /rewrite <file> — full optimization pass
  • /update <file> — freshness-only mode (minimal changes, focus on dates + stats)
  • Auto-triggered by content-refresher when GSC + drift signals indicate rank decay
  • Auto-suggested in outcome_tagger output for loser-tagged articles

6 phases

Phase 1: Audit (read-only)

  1. Read the post — detect format (MDX / markdown / HTML / WordPress block)

  2. Run quality checklist against references/seo/seo-checklist-2026.md:

    • Count fabricated vs sourced statistics
    • Check answer-first formatting (H2 → stat in first sentence?)
    • Count images + charts (type diversity?)
    • Measure paragraph lengths (any >150 words?)
    • Check heading hierarchy (H1 → H2 → H3, no skips?)
    • Look for FAQ schema
    • Check freshness signals (lastUpdated, dateModified)
    • Assess self-promotion level
    • Evaluate citation tier quality
  3. AI content detection scan:

    • Burstiness score — sentence length variance. Target SD > 6.
    • Banned phrase scan — check against references/style/banned-words.md
    • Vocabulary diversity — TTR (unique/total). Target > 0.50.
    • AI content estimate — composite percentage 0-100%
  4. Video embed check — if 0 YouTube embeds, flag (strongest AI visibility correlation 0.737)

  5. Cannibalization check:

    • Identify primary keyword
    • Grep portfolio for other posts targeting same keyword
    • Flag overlap; recommend merge OR differentiate
  6. Calculate current score across 5 categories:

    • Content Quality (30)
    • SEO Optimization (25)
    • E-E-A-T Signals (15)
    • Technical Elements (15)
    • AI Citation Readiness (15) Total: 0-100
  7. Present audit summary + AI detection results + video status + cannibalization status

  8. Plan mode — section-by-section optimization plan, wait for user approval

Read the full file on GitHub · 306 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. 10d ago First seen · 306 lines · 84 tokens per session scan A 8576b1153874

Subscribe to this mod's changes

rewrite is a skill published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 23d ago), licensed Apache-2.0. It adds 84 tokens to every session and 3,056 once invoked, about $0.0004 per session on Opus 5. 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

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

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

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

competitor-pages

Build competitor comparison and alternatives pages — X-vs-Y head-to-heads, alternatives-to-X lists, category roundups, and feature-matrix pages — delivering a 1,500+ word page template, comparison table, JSON-LD schema via schema-generator.py, keyword and title-tag targeting, an internal-linking plan, and…

indranilbanerjee/digital-marketing-pro · 142 tokens