# Corpus Rule Rollout

> Corpus Rule Rollout is an AI agent skill for Claude Code, Codex CLI, Gemini CLI, and other agents that read SKILL.md. Applies one new writing rule across hundreds of files without losing a sentence. Best for: content linting.

- URL: https://atharvashah.com/ai-skills/corpus-rule-rollout
- Price: $19, one payment
- Works with: Claude Code, Codex CLI, Gemini CLI, Cursor, GitHub Copilot
- Category: Writing and voice
- Built by: Atharva Shah (https://atharvashah.com)
- Requirements: Needs a paid Claude plan with Claude Code and Python. Large judgement rewrites run many agents at once, so a higher Claude plan finishes faster. Your publish pipeline must have a dry run or a verify step for the pre-flight check.
- Buy: https://buy.polar.sh/polar_cl_UrbGOx20Q8jkmsQZp6DiawITRxXonNK11YhGk4UcDzG?custom_field_data.skill-standard=corpus-rule-rollout (the skill folder and setup guide arrive by email)

## Roll one new rule across every file you ever wrote.

It tests the rule on your best work first, so a bad check never rewrites a good post. Mechanical edits come with proof that no sentence changed.

## What it produces

- **The archive after.** A new rule lands on every published post, and each live page is pushed once, after all edits are done. ![The live blog archive with post titles that follow one title rule, tilted, with a sticker reading 78 posts, one push.](https://atharvashah.com/ai-skills/corpus-rule-rollout/scene-1.webp)
- **Calibrate first.** The check is tested on work you trust, so a half-built rule gets fixed before it edits anything. ![A rollout log across 179 files: a check that flagged 83 of 100 drafts is fixed down to 20, then 78 posts are pushed once.](https://atharvashah.com/ai-skills/corpus-rule-rollout/scene-2.webp)
- **Rules that stick.** A fault that repeats across the archive becomes a check that catches it in every future draft. ![An excerpt from a 78-article audit report naming a repeated writing pattern and the permanent checker fix for it.](https://atharvashah.com/ai-skills/corpus-rule-rollout/scene-3.webp)

## Apply the rule everywhere without breaking the archive.

You bring the rule and the folder. It handles the three places a bulk change goes wrong.

1. **Test the check on your best work.** It runs the check and reads what it flags among files you already trust. When good work gets flagged, it fixes the check before it touches any file.
2. **Edit with proof.** Mechanical fixes run as a dry run across the whole folder. The count of files with any word change must be zero before anything gets written.
3. **Publish once.** It reads your publish pipeline for steps that drop content, holds back the files at risk, and pushes the rest in a single pass.

## Bulk edits fail in the quiet places.

Find-and-replace breaks formatting. A bulk AI rewrite changes sentences nobody reviewed. This skill proves what changed.

### Corpus Rule Rollout

- **Calibrates first.** Your best work tests the rule before the rule touches it.
- **Whitespace-only proof.** Mechanical edits must show zero word changes.
- **No invented facts.** Judgement rewrites mark a missing fact for you to fill.
- **One publish pass.** Every edit lands before the first push.

### Bulk AI rewrite

- **Unreviewed sentences.** The model smooths lines you never asked it to touch.
- **Invented facts.** A rewrite can add a number or a quote that never happened.
- **Trusts the rule.** A half-built check gets applied to every file.
- **No proof.** You find the damage after readers do.

### File by file by hand

- **Weeks of work.** Two hundred files is a month of evenings.
- **Drift.** The rule reads differently to you on file 150.
- **Pushed twice.** Titles one week and bodies the next rewrite every live page again.
- **Missed files.** Nothing tells you which ones you skipped.

## Frequently asked questions

### What is content linting?

Content linting checks prose against written rules, the way a code linter checks code. This skill adds the rollout step: it applies a new rule across a whole folder and proves no other text changed.

### What kind of rule can it roll out?

Any writing, style, or quality rule. Headline shape, paragraph length, banned words, title punctuation, and voice problems that need a reader to judge.

### Will it change my sentences?

Mechanical fixes cannot. Each one has to show zero word changes in a dry run before it writes. Judgement rewrites do change sentences, and they run only when you ask.

### Why test on my best work first?

A check that flags work you would never change is a broken check. Acting on it makes the archive worse. It fixes the check first.

### Does it invent facts during a rewrite?

No. A missing personal fact gets a bracket for you to fill, or the claim gets cut back to what the piece already supports.

### Which Claude plan do I need?

A paid plan with Claude Code. Pro handles mechanical rollouts. Judgement rewrites across a large folder fit a Max plan better.

### What else do I pay for?

Nothing. Python is free. It works with your existing checker and publish scripts.

### Does it publish for me?

It pushes through your own pipeline after the pre-flight check, and only when you say go. It never pushes the same pages twice for one rollout.

### Should every rule apply to old posts?

No. Some rules only guard new writing. It helps you scope a rule by folder so a length limit never cuts published essays.

### What if the first rollout goes wrong?

The dry run catches word changes before any write, and the pre-flight names files at risk before any push. Run the dry run again after you adjust the rule.

### Does this skill work with Gemini CLI, Codex, Cursor, or GitHub Copilot?

Yes, with one caveat. The skill is a SKILL.md folder in the Agent Skills open standard, which Claude Code, Codex CLI, Gemini CLI, Cursor, and GitHub Copilot all load. It is built and tested on Claude Code. Steps that lean on Claude-only features, such as parallel subagents, run one after another or need a manual step in other agents.

### How do I install an agent skill?

Copy the skill folder into your agent's skills directory: ~/.claude/skills for Claude Code, or the skills folder your agent documents for Codex CLI, Gemini CLI, Cursor, or Copilot. The agent reads the description and loads the skill when your request matches it. Each skill ships with a setup guide for any tool it needs.

[All AI skills](https://atharvashah.com/skill-pack) · [Library index](https://atharvashah.com/ai-skills.md)
