chinese-markdown-style

chinese-markdown-style is a skill for Claude Code, Codex from chen3feng/agent-skills. It costs 31 tokens per session (893 once invoked), scanned A, original, Apache-2.0.

A writing guide and checker for Markdown documentation that contains Chinese text alongside English words, numbers, links, and code. It covers spacing, punctuation, capitalization, and formatting.

In plain words
What is it for?
Use it when writing, editing, or reviewing Chinese READMEs, tutorials, and design documents, especially in repositories that mix Chinese and English.
Why use it?
Mixed Chinese and English documents can develop inconsistent spacing and punctuation that makes them harder to read and creates noisy changes later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is export PYTHONPATH=../cn-doc-style-guide/src # for this shell, or.

Good fit Use it when writing, editing, or reviewing Chinese READMEs, tutorials, and design documents, especially in repositories that mix Chinese and English.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/chen3feng/agent-skills
agentmods
npx agentmods add skills/chen3feng/agent-skills/chinese-markdown-style

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 chinese-markdown-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/chen3feng/agent-skills/chinese-markdown-style/github.svg)](https://agentmods.dev/skills/chen3feng/agent-skills/chinese-markdown-style)
Your own site
<a href="https://agentmods.dev/skills/chen3feng/agent-skills/chinese-markdown-style"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/chinese-markdown-style/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 chinese-markdown-style

Your own site · 80×15
<a href="https://agentmods.dev/skills/chen3feng/agent-skills/chinese-markdown-style"><img src="https://agentmods.dev/badge/skills/chen3feng/agent-skills/chinese-markdown-style.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 893 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.00031 $0.00893
Opus 5.5 $0.00012 $0.00357
Sonnet 5.5 $0.00006 $0.00179
Haiku 4.5 $0.00003 $0.00089

Measured 3mo ago against content hash 6df65921d89e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chinese-markdown-style 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 3mo 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/chinese-markdown-style/SKILL.md · 96 lines

How it starts

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

Chinese Markdown style

When to use

Any time you edit, review, or generate Chinese documentation — READMEs, design docs, tutorials. Especially relevant when the repo has mixed Chinese + English + code.

Problem

Chinese Markdown drifts in predictable ways:

  • No space between CJK characters and adjacent ASCII letters / digits (使用Python3 instead of 使用 Python 3).
  • Half-width punctuation after a Han character (你好,世界 instead of 你好,世界).
  • English proper nouns lowercased or re-cased (github, Macos, scons).
  • Unnecessary full-width or double spaces around inline code and links.

These accumulate quietly and make diffs noisy later.

Solution

Follow chen3feng/cn-doc-style-guide and lean on its tooling. The checker / previewer / formatter now ship as a stdlib-only Python package cndocstyle (src-layout under src/), so invoke them with python3 -m cndocstyle.<module>:

# 1. Clone the guide as a sibling of your doc repo
git clone https://github.com/chen3feng/cn-doc-style-guide.git

# 2. Make the package importable (src-layout). Pick ONE:
export PYTHONPATH=../cn-doc-style-guide/src      # for this shell, or
cd ../cn-doc-style-guide && pip install -e .     # editable install

# 3. Check — reports every violation, exits non-zero if any
python3 -m cndocstyle.check path/to/docs

# 4. Preview what an auto-fix would change (dry-run diff)
python3 -m cndocstyle.preview path/to/docs

# 5. Dry-run the formatter (default) — lists files that would change
python3 -m cndocstyle.formatter path/to/docs

# 6. Apply the safe subset of fixes
python3 -m cndocstyle.formatter --apply path/to/docs

The old tools/check.py / tools/preview.py / tools/format.py scripts have been removed — use the module form above.

Core rules you should apply even without the tool:

  1. One half-width space between CJK and ASCII (letters, digits), except around Chinese punctuation.
  2. Use full-width punctuation in Chinese prose: ,。:;?!、""'' ()《》 and …… for ellipsis.
  3. Keep English proper nouns in their canonical casing: GitHub, macOS, Python, JSON, Scons.
  4. Units follow English convention with a space: 10 MB, 3.6+.
  5. Code, filenames, commands, paths go in backticks and are not translated.

Read the full file on GitHub · 96 lines

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. 3mo ago First seen · 96 lines · 31 tokens per session scan A 6df65921d89e

Subscribe to this mod's changes

chinese-markdown-style is a skill published in the GitHub repository chen3feng/agent-skills (5 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 893 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

chinese-markdown-style compared with skills from other repositories

chinese-markdown-style next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chinese-markdown-stylechen3feng/agent-skillsSkill56mo agoApache-2.0A31Claude Code, Codex
documentation-styleNVIDIA/nvcfSkill25327d agoApache-2.0A61Claude Code, Codex
mr-li-writerNocodeMrLi/mr-li-writer-skillSkill62mo agoMITA150Codex
astro-content-sitesfindscripter/everything-skillsSkill12yesterdaynoneA111Claude Code
audio-to-markdown-transcriberfindscripter/everything-skillsSkill12yesterdaynoneA115Claude Code
i18n-localization-patternsfindscripter/everything-skillsSkill12yesterdaynoneA115Claude Code
note-organizerRenakoni/note-organizerSkill195mo agoMITA228Claude Code, Codex