avoid-ai-writing-router

avoid-ai-writing-router is a skill for Codex from PracticalSwan/agent-skills. It costs 41 tokens per session (1,807 once invoked), scanned A, original, MIT.

A routing skill for requests that involve checking or rewriting AI-generated writing, editing files, preserving a person's voice, or verifying changes. It sends each request to the narrowest relevant writing workflow.

In plain words
What is it for?
Use it to classify an AI-writing task, pass only the needed context between workflows, and stop when the requested work is complete.
Why use it?
It avoids running unnecessary review steps and keeps the project's established evidence, voice, and preservation rules consistent.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to classify an AI-writing task, pass only the needed context between workflows, and stop when the requested work is complete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/avoid-ai-writing-router
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 PracticalSwan/agent-skills --skill avoid-ai-writing-router
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

Made for: Codex.

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 avoid-ai-writing-router

README.md
[![agentmods](https://agentmods.dev/badge/skills/practicalswan/agent-skills/avoid-ai-writing-router/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/avoid-ai-writing-router)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/avoid-ai-writing-router"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/avoid-ai-writing-router/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 avoid-ai-writing-router

Your own site · 80×15
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/avoid-ai-writing-router"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/avoid-ai-writing-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,807 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.
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.00041 $0.01807
Opus 5 $0.00020 $0.00903
Sonnet 5 $0.00008 $0.00361
Haiku 4.5 $0.00004 $0.00181

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

Security

Grade A, and why

avoid-ai-writing-router 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/validate_connections.py, scripts/validate_connections.test.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

avoid-ai-writing-router/SKILL.md · 167 lines

How it starts

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

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

  1. ../avoid-ai-writing/SKILL.md is the canonical editorial authority.
  2. references/handoff-contract.md defines what context and evidence can cross Skill boundaries.
  3. references/skill-graph.json is the machine-readable source for nodes, typed edges, guards, and loop limits.
  4. references/routing-matrix.md is the human-readable routing table.
  5. 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

  1. Scan, detect, audit, score, or flag-only requests go to ai-writing-detector.
  2. Returned-text rewrite, humanize, clean-up, or remove-AI-isms requests go to voice-preserving-rewriter.
  3. A named file plus an explicit request to change that file goes to file-edit-in-place.
  4. Original plus rewrite, before/after comparison, or preservation validation goes to preservation-verifier.
  5. Claims about proving AI use, cheating, fraud, dishonesty, hiring suitability, or similar consequential conclusions go to false-positive-reviewer.
  6. Explicit invocation of the original Skill may remain in avoid-ai-writing unless the request clearly needs a specialized stage.

Read the full file on GitHub · 167 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed 01c0455bace1
  2. 6d ago First seen · 167 lines · 41 tokens per session scan A df51550c3c8b

Subscribe to this mod's changes

avoid-ai-writing-router is a skill published in the GitHub repository PracticalSwan/agent-skills (14 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 1,807 once invoked, about $0.0002 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-09-06.

Related

Other skills, from other repositories

auto

Intent-classified router, the front door to OrchestKit and the DEFAULT entry point for any goal-shaped request. Classifies a plain-English goal and routes it to the right specialist skill. Routing is never overhead, so use it even when the target skill seems obvious; skip only when already executing inside another…

yonatangross/orchestkit · 99 tokens

frontmcp-config

Use when configuring a FrontMCP server through frontmcp.config or the @FrontMcp options. Covers auth modes (public, transparent, local, remote), OAuth plus credential vault and secureStore, CORS, HTTP port / entry-path prefix / unix socket, security headers (CSP, HSTS, X-Frame-Options, X-Content-Type-Options), rate…

agentfront/frontmcp · 187 tokens

frontmcp-observability

Use when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server. Covers zero-config OpenTelemetry distributed tracing across all flows; the this.telemetry API for custom spans, events, and attributes in tools, plugins, agents, and skills; structured JSON logging with trace correlation and…

agentfront/frontmcp · 177 tokens

frontmcp-development

Use when building any FrontMCP server component other than a tool (for tools, use create-tool). Covers @Resource static resources and parameterized URI templates; @Prompt reusable prompts (RAG, multi-turn); @Provider singleton dependency-injection providers (database pools, API clients); @Agent autonomous LLM agents…

agentfront/frontmcp · 196 tokens

frontmcp-testing

Use for anything about testing FrontMCP servers: writing or running unit, integration, and E2E tests and reaching the 95%+ coverage bar. Covers Jest setup and coverage gating; unit-testing a ToolContext execute() with mock context, inputs, and Zod schema validation; testing resources and prompts; in-memory testing via…

agentfront/frontmcp · 175 tokens

frontmcp-deployment

Use when deploying, building for production, packaging, or shipping a FrontMCP server. Covers build targets (node, cli SEA binary, browser, embeddable SDK, mcpb archive for Claude Desktop, serverless) and deploying to Vercel (with Vercel KV), AWS Lambda (API Gateway, SAM, CDK), Cloudflare Workers (KV, D1, Durable…

agentfront/frontmcp · 210 tokens