doc-type-routing

doc-type-routing is a skill for Claude Code, Codex from zhaohui-yang/official-document-drafting. It costs 112 tokens per session (1,079 once invoked), scanned A, original, no licence file.

A decision guide for choosing the right type of Chinese government document before writing it. It considers who the document is sent to, its purpose, and whether a reply is needed.

In plain words
What is it for?
Use it to decide the document form and whether it should go upward, downward, to an equal-level organisation, or to the public. It does not write the document itself.
Why use it?
It helps avoid choosing the wrong document type or direction, such as an instruction, report, request, notice, or letter.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

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.

agentmods
npx agentmods add skills/zhaohui-yang/official-document-drafting/doc-type-routing
Any agent
npx skills add zhaohui-yang/official-document-drafting --skill doc-type-routing
Clone the repo
git clone --depth 1 https://github.com/zhaohui-yang/official-document-drafting

Made for: Claude Code, 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 doc-type-routing

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhaohui-yang/official-document-drafting/doc-type-routing.svg)](https://agentmods.dev/skills/zhaohui-yang/official-document-drafting/doc-type-routing)
Your own site
<a href="https://agentmods.dev/skills/zhaohui-yang/official-document-drafting/doc-type-routing"><img src="https://agentmods.dev/badge/skills/zhaohui-yang/official-document-drafting/doc-type-routing.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,079 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00112 $0.01079
Opus 5 $0.00056 $0.00540
Sonnet 5 $0.00022 $0.00216
Haiku 4.5 $0.00011 $0.00108

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

Security

Grade A, and why

doc-type-routing 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 6d 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.

skills/doc-type-routing/SKILL.md · 56 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 6d ago First seen · 56 lines · 112 tokens per session scan A eff8136d848e

Subscribe to this mod's changes

doc-type-routing is a skill published in the GitHub repository zhaohui-yang/official-document-drafting (117 stars, last pushed 18d ago), with no licence file. It adds 112 tokens to every session and 1,079 once invoked, about $0.0006 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

novel-studio

Plan, draft, continue, revise, review, migrate, package, and create covers for short-, medium-, or long-form Chinese fiction. Use when Codex needs to start or maintain a novel project, design characters or worldbuilding, create full/volume/chapter outlines, write or repair chapters, run automated publication-readiness…

xwcai999/opencreator-novel · 122 tokens

wawa-submission

Prepare Wawa Writer (蛙蛙写作) novel projects, emit execution-ready submission packages, and connect them to the local page-prefill engine without duplicating the novel creation workflow. Use when Codex needs to start a “蛙蛙” novel, prepare or audit completed submission materials, map a novel-studio project to the Wawa…

xwcai999/opencreator-novel · 99 tokens

wawa-source

Import, validate, expire-check, aggregate, and redact local versioned Wawa statistics snapshots for offline dashboards. Never collect platform data, access an account, or submit content.

xwcai999/opencreator-novel · 39 tokens

remove-chinese-ai-tics

全面识别、审计和清除简体中文文本中的模型化口癖、套话、句法模板、篇章惯性、客服腔与格式反射,同时保留事实、语体、作者或人物声口。适用于“去 AI 味”“去机器味”“别像 GPT”“删模型口癖”“改自然”“检查套话”、中文成稿润色、创意写作、小说与故事修改、角色对话、创作约束和批量审稿;不用于判断作者身份或承诺绕过 AI 检测。.

AAzzAAzzAAzzAA/remove-chinese-ai-tics · 134 tokens

gongwen-draft

Draft, revise, polish, review, lint, and export Chinese党政机关公文 and政务材料 with authority-first guardrails, policy-research/citation checking, material dossier/fact-ledger intake, language polishing, controlled Markdown/JSON specs, offline prompt-pack generation, strict official-document font checks, and optional Word…

Rimagination/gongwen-draft · 296 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens