New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Provides an original and rewritten version

Preservation verifier

by conorbronsdon · MIT license · ★ 4,655 on GitHub · updated Sep 21

Preservation verifier cover

Use when the user provides an original and rewritten version, asks whether a rewrite preserved protected content, or wants a deterministic check for code, frontmatter, quotes, tables, links, paths, numbers, headings, and residual…

---
name: preservation-verifier
description: Use when the user provides an original and rewritten version, asks whether a rewrite preserved protected content, or wants a deterministic check for code, frontmatter, quotes, tables, links, paths, numbers, headings, and residual AI-pattern regressions.
---

# Preservation Verifier

Verify that a rewrite or file edit kept the content the original `../avoid-ai-writing/SKILL.md` says to protect.

For cross-Skill work, follow `../avoid-ai-writing-router/references/handoff-contract.md` and `../avoid-ai-writing-router/references/skill-graph.json`.

## Connection contract

### Incoming

Accept before/after verification from:

- `avoid-ai-writing-router` via `ROUTE` when the user directly supplies before and after material.

Overview

Verify that a rewrite or file edit kept the content the original ../avoid-ai-writing/SKILL.md says to protect.

Manual install (npx, ZIP)
Claude Codenpx skills add conorbronsdon/avoid-ai-writing --skill preservation-verifier -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/conorbronsdon/avoid-ai-writing/tar.gz/1be7702796e5 \ | tar -xz -C ~/.claude/skills --strip-components=2 avoid-ai-writing-1be7702796e5/skills/preservation-verifier
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/6bda29e57a9e7bfa73ac/preservation-verifier.zip" -OutFile "$env:TEMP\preservation-verifier.zip"; Expand-Archive "$env:TEMP\preservation-verifier.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md5.8 KB
  • agents/1 file · 300 B
  • scripts/2 files · 163.3 KB
Read the files here
conorbronsdon/1be77024 files
Shared references3SKILL.md reads these from elsewhere in the repo. Not in the ZIP.Get them on GitHub ↗
SKILL.md
Show the full text104 lines

Preservation Verifier

Verify that a rewrite or file edit kept the content the original ../avoid-ai-writing/SKILL.md says to protect.

For cross-Skill work, follow ../avoid-ai-writing-router/references/handoff-contract.md and ../avoid-ai-writing-router/references/skill-graph.json.

Connection contract

Incoming

Accept before/after verification from:

  • avoid-ai-writing-router via ROUTE when the user directly supplies before and after material.
  • voice-preserving-rewriter via VERIFY after returned-text rewriting.
  • file-edit-in-place via VERIFY after an authorized named-file mutation.

Require both original and current versions. If either is unavailable, return control to the router rather than inventing a comparison.

Produce

Update the handoff envelope with:

  • execution_evidence.verifier: executed only if the bundled validator ran, otherwise model_only.
  • verification_summary.status: PASS, REVIEW, or FAIL.
  • blocking errors and warnings.
  • exact repair target when repair is possible.

A FAIL is a blocking workflow result. The rewrite/edit stage is not complete merely because text was produced or a file write succeeded.

Outgoing
  • REPAIR to voice-preserving-rewriter when returned text failed preservation and the shared editing budget has room.
  • REPAIR to file-edit-in-place when a named file failed preservation and the shared editing budget has room.
  • RECHECK to ai-writing-detector only when convergence or a residual audit was part of the user's request.
  • Stop on PASS unless another user-requested stage remains.
  • Stop and report on a second verification failure. Do not start another repair loop.

Architecture and implementation lenses

Apply both encoded lenses from ../avoid-ai-writing-router/references/agency-role-lenses.md:

  • agency-software-architect: verification is a boundary gate with explicit ownership and bounded repair cycles.
  • agency-senior-developer: execution claims require actual command evidence, errors propagate, and before/after state remains attributable to the correct target.

The verifier does not rewrite content itself.

Preferred deterministic path

The bundled scripts/validate.js is an exact copy of the source repository's preservation validator. When Node execution is available, run:

node scripts/validate.js before.md after.md

For programmatic use:

const { validate } = require("./scripts/validate.js");

The validator checks protected structures and reports blocking errors separately from warnings. It does not decide whether a semantic change was grounded in an explicit user correction or whether the user specifically authorized editing a normally protected span. Never claim it ran unless the current host executed it.

If execution is unavailable, compare the original and rewrite manually using the same preservation contract and label the result as model_only.

Additional protected constraints

In addition to the canonical validator's structural checks, apply the canonical editing contract in a separate semantic review. Check remaining meaning, attribution, quantities and units, negation, conditions, causality, uncertainty, and speaker experience. Treat an explicit user correction as the intended change rather than an invention. If the user specifically placed a normally protected span in scope, verify that requested change and continue protecting its data and attribution; do not infer permission from a general cleanup, style, or voice request. Report this review as model-only rather than claiming the deterministic validator performed it.

When human_representation_sensitive: true, review identity and representation details protected by the agency-inclusive-visuals-specialist lens. A structurally valid rewrite may still require REVIEW or FAIL if it erased or genericized material cultural, geographic, disability, attire, skin-tone/lighting, physical-reality, or anti-stereotype constraints.

Do not claim the deterministic validator checked semantic representation details that it does not implement. Report that portion separately as model-only semantic review.

Result handling

PASS

No blocking preservation error was found. Continue only if another requested stage remains.

REVIEW

Warnings or semantic changes need judgment but are not automatically blocking. This includes a literal validator difference that corresponds to a specifically requested edit of normally protected content: review it against that scope and its remaining data and attribution constraints instead of automatically repairing it back to the original. Explain the exact uncertainty.

FAIL

Protected content changed or disappeared. Identify the correct repair owner from source kind:

  • returned text -> voice-preserving-rewriter
  • named file -> file-edit-in-place

Pass only the blocking repair scope and existing envelope. Do not ask the repair owner to redo clean parts. If pass.index has reached pass.max, report the unresolved failure instead of requesting another mutation.

Repair-loop limit

At most one repair re-entry is allowed, and only while the requested editing budget has room. The repair consumes the next editing pass. Verification itself does not consume a pass. After repair, verify once more. If that check still fails, stop and report the unresolved errors. Never cycle indefinitely.

Output

Return PASS, FAIL, or REVIEW, verifier execution status, blocking preservation errors, warnings, any separate semantic-guard review, the suggested repair owner, and whether the bounded repair opportunity has already been used.

1---
2name: preservation-verifier
3description: Use when the user provides an original and rewritten version, asks whether a rewrite preserved protected content, or wants a deterministic check for code, frontmatter, quotes, tables, links, paths, numbers, headings, and residual AI-pattern regressions.
4---
5 
6# Preservation Verifier
7 
8Verify that a rewrite or file edit kept the content the original `../avoid-ai-writing/SKILL.md` says to protect.
9 
10For cross-Skill work, follow `../avoid-ai-writing-router/references/handoff-contract.md` and `../avoid-ai-writing-router/references/skill-graph.json`.
11 
12## Connection contract
13 
14### Incoming
15 
16Accept before/after verification from:
17 
18- `avoid-ai-writing-router` via `ROUTE` when the user directly supplies before and after material.
19- `voice-preserving-rewriter` via `VERIFY` after returned-text rewriting.
20- `file-edit-in-place` via `VERIFY` after an authorized named-file mutation.
21 
22Require both original and current versions. If either is unavailable, return control to the router rather than inventing a comparison.
23 
24### Produce
25 
26Update the handoff envelope with:
27 
28- `execution_evidence.verifier`: `executed` only if the bundled validator ran, otherwise `model_only`.
29- `verification_summary.status`: `PASS`, `REVIEW`, or `FAIL`.
30- blocking errors and warnings.
31- exact repair target when repair is possible.
32 
33A `FAIL` is a blocking workflow result. The rewrite/edit stage is not complete merely because text was produced or a file write succeeded.
34 
35### Outgoing
36 
37- `REPAIR` to `voice-preserving-rewriter` when returned text failed preservation and the shared editing budget has room.
38- `REPAIR` to `file-edit-in-place` when a named file failed preservation and the shared editing budget has room.
39- `RECHECK` to `ai-writing-detector` only when convergence or a residual audit was part of the user's request.
40- Stop on `PASS` unless another user-requested stage remains.
41- Stop and report on a second verification failure. Do not start another repair loop.
42 
43## Architecture and implementation lenses
44 
45Apply both encoded lenses from `../avoid-ai-writing-router/references/agency-role-lenses.md`:
46 
47- `agency-software-architect`: verification is a boundary gate with explicit ownership and bounded repair cycles.
48- `agency-senior-developer`: execution claims require actual command evidence, errors propagate, and before/after state remains attributable to the correct target.
49 
50The verifier does not rewrite content itself.
51 
52## Preferred deterministic path
53 
54The bundled `scripts/validate.js` is an exact copy of the source repository's preservation validator. When Node execution is available, run:
55 
56```bash
57node scripts/validate.js before.md after.md
58```
59 
60For programmatic use:
61 
62```js
63const { validate } = require("./scripts/validate.js");
64```
65 
66The validator checks protected structures and reports blocking errors separately from warnings. It does not decide whether a semantic change was grounded in an explicit user correction or whether the user specifically authorized editing a normally protected span. Never claim it ran unless the current host executed it.
67 
68If execution is unavailable, compare the original and rewrite manually using the same preservation contract and label the result as `model_only`.
69 
70## Additional protected constraints
71 
72In addition to the canonical validator's structural checks, apply the canonical editing contract in a separate semantic review. Check remaining meaning, attribution, quantities and units, negation, conditions, causality, uncertainty, and speaker experience. Treat an explicit user correction as the intended change rather than an invention. If the user specifically placed a normally protected span in scope, verify that requested change and continue protecting its data and attribution; do not infer permission from a general cleanup, style, or voice request. Report this review as model-only rather than claiming the deterministic validator performed it.
73 
74When `human_representation_sensitive: true`, review identity and representation details protected by the `agency-inclusive-visuals-specialist` lens. A structurally valid rewrite may still require `REVIEW` or `FAIL` if it erased or genericized material cultural, geographic, disability, attire, skin-tone/lighting, physical-reality, or anti-stereotype constraints.
75 
76Do not claim the deterministic validator checked semantic representation details that it does not implement. Report that portion separately as model-only semantic review.
77 
78## Result handling
79 
80### PASS
81 
82No blocking preservation error was found. Continue only if another requested stage remains.
83 
84### REVIEW
85 
86Warnings or semantic changes need judgment but are not automatically blocking. This includes a literal validator difference that corresponds to a specifically requested edit of normally protected content: review it against that scope and its remaining data and attribution constraints instead of automatically repairing it back to the original. Explain the exact uncertainty.
87 
88### FAIL
89 
90Protected content changed or disappeared. Identify the correct repair owner from source kind:
91 
92- returned text -> `voice-preserving-rewriter`
93- named file -> `file-edit-in-place`
94 
95Pass only the blocking repair scope and existing envelope. Do not ask the repair owner to redo clean parts. If `pass.index` has reached `pass.max`, report the unresolved failure instead of requesting another mutation.
96 
97## Repair-loop limit
98 
99At most one repair re-entry is allowed, and only while the requested editing budget has room. The repair consumes the next editing pass. Verification itself does not consume a pass. After repair, verify once more. If that check still fails, stop and report the unresolved errors. Never cycle indefinitely.
100 
101## Output
102 
103Return `PASS`, `FAIL`, or `REVIEW`, verifier execution status, blocking preservation errors, warnings, any separate semantic-guard review, the suggested repair owner, and whether the bounded repair opportunity has already been used.
104 
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 4,655
Checked
Source
conorbronsdon/avoid-ai-writing ↗
Creator
conorbronsdon · 6 listings
View creator

Similar skills

See all →
SkillRewrite AI-sounding text so it reads like the writerhumanizerblader/humanizer · by bladerRewrite AI-sounding text so it reads like the writer without changing what it says. Use when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line closers, staged openers, forced triads, dashes everywhere, inflated claims, sales language, stock AI words, bold labels, or filler. Based on Wikipedia's "Signs of AI writing.★ 53.6k GitHub starsSkillRemove AI writing patterns from proseStop slophardikpandya/stop-slop · by hardikpandyaRemove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.★ 17.8k GitHub starsSkillEdit drafts into sharperNo AI sloppetergyang/no-ai-slop · by petergyangEdit drafts into sharper, more human writing while preserving the writer's personal voice, or detect AI-slop patterns without rewriting. Use when the user wants a draft clearer, more direct, more opinionated, or less AI-sounding, or asks whether writing reads as AI.★ 12k GitHub starsSkillDetect, scan, audit, scoreAI writing detectorconorbronsdon/avoid-ai-writing · by conorbronsdonUse when the user asks to detect, scan, audit, score, or flag AI-writing patterns without rewriting the text, including requests for a deterministic local detector result when the host can execute Node.★ 4.7k GitHub starsSkillAudit and rewrite content to remove AI writing patternsAvoid AI Writing — Audit & Rewriteconorbronsdon/avoid-ai-writing · by conorbronsdonAudit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," or "make this sound less like AI." Supports a detect-only mode, an edit-in-place mode for files, an optional voice profile (casual / professional / technical / warm / blunt), and an iterate-to-convergence pass.★ 4.7k GitHub starsSkillMake AI-generated writing read as human-writtenSepia — de-AI writingNanako0129/sepia · by Nanako0129Make AI-generated writing read as human-written, in fiction and in professional prose. Repairs the narrative architecture of fiction and stories (based on StoryScope, arXiv:2604.03136); routes professional text through domain rules for release notes, announcements, PR and issue replies, code-review comments, incident postmortems, tickets, work orders, technical articles, blog posts, and long-form journalism. Four operations - write, review (diagnose AI tells without editing), refactor (minimal in-place edits), recreate (full rewrite). Use when asked to humanize, de-AI, unslop, or strip AI flavor from any text; when writing or revising any of these document types; or whenever output must not read as machine-written.★ 3.1k GitHub stars

More from conorbronsdon

SkillDetect, scan, audit, scoreAI writing detectorconorbronsdon/avoid-ai-writing · by conorbronsdonUse when the user asks to detect, scan, audit, score, or flag AI-writing patterns without rewriting the text, including requests for a deterministic local detector result when the host can execute Node.★ 4.7k GitHub starsSkillAudit and rewrite content to remove AI writing patternsAvoid AI Writing — Audit & Rewriteconorbronsdon/avoid-ai-writing · by conorbronsdonAudit and rewrite content to remove AI writing patterns ("AI-isms"). Use this skill when asked to "remove AI-isms," "clean up AI writing," "edit writing for AI patterns," "audit writing for AI tells," or "make this sound less like AI." Supports a detect-only mode, an edit-in-place mode for files, an optional voice profile (casual / professional / technical / warm / blunt), and an iterate-to-convergence pass.★ 4.7k GitHub starsSkillA request combines AI-writing audit, rewrite, file editingAvoid AI writing routerconorbronsdon/avoid-ai-writing · by conorbronsdonUse when a request combines AI-writing audit, rewrite, file editing, voice preservation, false-positive interpretation, verification, or when the user invokes Avoid AI Writing without naming a mode.★ 4.7k GitHub starsSkillNames a local file and explicitly asks to clean, rewriteFile edit in placeconorbronsdon/avoid-ai-writing · by conorbronsdonUse when the user names a local file and explicitly asks to clean, rewrite, humanize, or remove AI-writing patterns in that file itself, with minimal targeted edits and post-edit verification.★ 4.7k GitHub starsSkillRewrite, humanize, clean upVoice preserving rewriterconorbronsdon/avoid-ai-writing · by conorbronsdonUse when the user asks to rewrite, humanize, clean up, or remove AI-isms from text while preserving the writer's voice, facts, intent, structure, register, and protected material.★ 4.7k GitHub stars