Avoid AI Writing Router
Coordinate the public Skills as a bounded workflow. Route to the narrowest owner, preserve context between stages, and stop when the requested job is complete. This Skill does not replace the original avoid-ai-writing rulebook.
Authority chain
../avoid-ai-writing/SKILL.md is the canonical editorial authority.
references/handoff-contract.md defines what context and evidence can cross Skill boundaries.
references/skill-graph.json is the machine-readable source for nodes, typed edges, guards, and loop limits.
references/routing-matrix.md is the human-readable routing table.
references/agency-role-lenses.md defines the architecture, AI-evidence, implementation, and representation review lenses used to inspect the network.
Do not weaken, duplicate, or contradict the canonical Skill's preservation rules, evidence caveats, voice rules, pattern tiers, or pass behavior.
Orchestration model
Classify the request once, create the smallest useful handoff envelope, then pass that envelope forward rather than asking every downstream Skill to infer the same context again.
The envelope should carry only observed or user-provided facts such as:
- intent and source kind
- general vs technical context
- requested voice or supplied style sample
- protected semantic constraints
- whether detector, mutation, or verifier execution actually ran
- detector summary when available
- preservation status when available
- risk flags
- current pass index and stop limit
Never mark an execution field as executed without host evidence.
Primary routing
- Scan, detect, audit, score, or flag-only requests go to
ai-writing-detector.
- Returned-text rewrite, humanize, clean-up, or remove-AI-isms requests go to
voice-preserving-rewriter.
- A named file plus an explicit request to change that file goes to
file-edit-in-place.
- Original plus rewrite, before/after comparison, or preservation validation goes to
preservation-verifier.
- Claims about proving AI use, cheating, fraud, dishonesty, hiring suitability, or similar consequential conclusions go to
false-positive-reviewer.
- Explicit invocation of the original Skill may remain in
avoid-ai-writing unless the request clearly needs a specialized stage.
Multi-stage sequencing
For requests such as "scan this, rewrite it, and make sure nothing important changed":
ai-writing-detector collects signals when deterministic execution is available, otherwise it performs a model-only audit under the canonical rulebook.
voice-preserving-rewriter rewrites returned text, or file-edit-in-place mutates an explicitly named file.
preservation-verifier checks before/after material.
- A verifier
FAIL returns to the correct repair owner once.
- Verification runs once more after repair when possible.
- Residual detection runs only when the user requested convergence or a residual audit.
- Stop after the canonical pass cap. Do not cycle indefinitely.
Typed edges
Use the edge semantics in references/handoff-contract.md:
ROUTE: choose the owner.
FEED: pass evidence without turning it into a command.
VERIFY: require a before/after preservation check.
REPAIR: return a failed preservation result to the correct mutation owner.
RECHECK: run one bounded residual check when requested.
ESCALATE: move uncertain or consequential authorship interpretation to false-positive-reviewer.
GUARD: add conditional protected constraints without changing the primary owner.
Conditional human-representation guard
If the source itself is an image prompt, video prompt, storyboard, shot description, or creative brief that describes people, set human_representation_sensitive: true and preserve identity-sensitive details as protected constraints.
Use the agency-inclusive-visuals-specialist lens from references/agency-role-lenses.md to protect cultural, geographic, age, disability, attire, skin-tone/lighting, and physical-reality details. Do not route ordinary prose to a visual workflow just because it mentions a person.
Review lenses
Apply these design checks when the network changes or when a complex request exposes a boundary problem:
agency-software-architect: ownership, dependency direction, bounded loops, fallback, reversibility.
agency-ai-engineer: detector semantics, uncertainty, false-positive handling, context propagation, evaluation.
agency-senior-developer: executable paths, error propagation, file mutation evidence, CI and drift checks.
agency-inclusive-visuals-specialist: representation preservation only for visual prompts and briefs involving people.
These are review lenses, not hidden public dependencies. If an external agency Skill is not available in the current host, apply the encoded lens without claiming it ran.
Boundary changes
Return control to the router instead of continuing locally when:
- the job changes from read-only to mutation,
- the target changes from returned text to a named file or the reverse,
- required before/after evidence is missing,
- deterministic execution requested by the workflow is unavailable,
- the user moves from pattern analysis to a consequential authorship claim,
- a verifier fails and identifies a different repair owner.
Preserve the existing handoff envelope and change only fields affected by the new decision.
Stop conditions
Stop when the user's requested stage is complete and any required verification gate has passed or been explicitly reported as unavailable.
Do not:
- infer authorship from detector output,
- mutate a file without user authorization,
- hide a verifier failure,
- re-run stages simply because another Skill exists,
- exceed the canonical rewrite pass cap,
- route unrelated writing or coding requests into this Plugin merely because they mention AI.
Output
Return the selected workflow result. For multi-stage work, state which stages actually ran, which were model-only, which deterministic checks executed, whether any repair loop occurred, and the final preservation status when available.
1---2name: avoid-ai-writing-router3description: Use 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---5
6# Avoid AI Writing Router
7
8Coordinate the public Skills as a bounded workflow. Route to the narrowest owner, preserve context between stages, and stop when the requested job is complete. This Skill does not replace the original `avoid-ai-writing` rulebook.
9
10## Authority chain
11
121. `../avoid-ai-writing/SKILL.md` is the canonical editorial authority.
132. `references/handoff-contract.md` defines what context and evidence can cross Skill boundaries.
143. `references/skill-graph.json` is the machine-readable source for nodes, typed edges, guards, and loop limits.
154. `references/routing-matrix.md` is the human-readable routing table.
165. `references/agency-role-lenses.md` defines the architecture, AI-evidence, implementation, and representation review lenses used to inspect the network.
17
18Do not weaken, duplicate, or contradict the canonical Skill's preservation rules, evidence caveats, voice rules, pattern tiers, or pass behavior.
19
20## Orchestration model
21
22Classify the request once, create the smallest useful handoff envelope, then pass that envelope forward rather than asking every downstream Skill to infer the same context again.
23
24The envelope should carry only observed or user-provided facts such as:
25
26- intent and source kind
27- general vs technical context
28- requested voice or supplied style sample
29- protected semantic constraints
30- whether detector, mutation, or verifier execution actually ran
31- detector summary when available
32- preservation status when available
33- risk flags
34- current pass index and stop limit
35
36Never mark an execution field as `executed` without host evidence.
37
38## Primary routing
39
401. Scan, detect, audit, score, or flag-only requests go to `ai-writing-detector`.
412. Returned-text rewrite, humanize, clean-up, or remove-AI-isms requests go to `voice-preserving-rewriter`.
423. A named file plus an explicit request to change that file goes to `file-edit-in-place`.
434. Original plus rewrite, before/after comparison, or preservation validation goes to `preservation-verifier`.
445. Claims about proving AI use, cheating, fraud, dishonesty, hiring suitability, or similar consequential conclusions go to `false-positive-reviewer`.
456. Explicit invocation of the original Skill may remain in `avoid-ai-writing` unless the request clearly needs a specialized stage.
46
47## Multi-stage sequencing
48
49For requests such as "scan this, rewrite it, and make sure nothing important changed":
50
511. `ai-writing-detector` collects signals when deterministic execution is available, otherwise it performs a model-only audit under the canonical rulebook.
522. `voice-preserving-rewriter` rewrites returned text, or `file-edit-in-place` mutates an explicitly named file.
533. `preservation-verifier` checks before/after material.
544. A verifier `FAIL` returns to the correct repair owner once.
555. Verification runs once more after repair when possible.
566. Residual detection runs only when the user requested convergence or a residual audit.
577. Stop after the canonical pass cap. Do not cycle indefinitely.
58
59## Typed edges
60
61Use the edge semantics in `references/handoff-contract.md`:
62
63- `ROUTE`: choose the owner.
64- `FEED`: pass evidence without turning it into a command.
65- `VERIFY`: require a before/after preservation check.
66- `REPAIR`: return a failed preservation result to the correct mutation owner.
67- `RECHECK`: run one bounded residual check when requested.
68- `ESCALATE`: move uncertain or consequential authorship interpretation to `false-positive-reviewer`.
69- `GUARD`: add conditional protected constraints without changing the primary owner.
70
71## Conditional human-representation guard
72
73If the source itself is an image prompt, video prompt, storyboard, shot description, or creative brief that describes people, set `human_representation_sensitive: true` and preserve identity-sensitive details as protected constraints.
74
75Use the `agency-inclusive-visuals-specialist` lens from `references/agency-role-lenses.md` to protect cultural, geographic, age, disability, attire, skin-tone/lighting, and physical-reality details. Do not route ordinary prose to a visual workflow just because it mentions a person.
76
77## Review lenses
78
79Apply these design checks when the network changes or when a complex request exposes a boundary problem:
80
81- `agency-software-architect`: ownership, dependency direction, bounded loops, fallback, reversibility.
82- `agency-ai-engineer`: detector semantics, uncertainty, false-positive handling, context propagation, evaluation.
83- `agency-senior-developer`: executable paths, error propagation, file mutation evidence, CI and drift checks.
84- `agency-inclusive-visuals-specialist`: representation preservation only for visual prompts and briefs involving people.
85
86These are review lenses, not hidden public dependencies. If an external agency Skill is not available in the current host, apply the encoded lens without claiming it ran.
87
88## Boundary changes
89
90Return control to the router instead of continuing locally when:
91
92- the job changes from read-only to mutation,
93- the target changes from returned text to a named file or the reverse,
94- required before/after evidence is missing,
95- deterministic execution requested by the workflow is unavailable,
96- the user moves from pattern analysis to a consequential authorship claim,
97- a verifier fails and identifies a different repair owner.
98
99Preserve the existing handoff envelope and change only fields affected by the new decision.
100
101## Stop conditions
102
103Stop when the user's requested stage is complete and any required verification gate has passed or been explicitly reported as unavailable.
104
105Do not:
106
107- infer authorship from detector output,
108- mutate a file without user authorization,
109- hide a verifier failure,
110- re-run stages simply because another Skill exists,
111- exceed the canonical rewrite pass cap,
112- route unrelated writing or coding requests into this Plugin merely because they mention AI.
113
114## Output
115
116Return the selected workflow result. For multi-stage work, state which stages actually ran, which were model-only, which deterministic checks executed, whether any repair loop occurred, and the final preservation status when available.