repo-docs-zh

repo-docs-zh is a skill for Claude Code, Codex from phanghonghao/THU-Awesome-Skills. It costs 62 tokens per session (1,215 once invoked), scanned A, original, MIT.

A tool for creating and maintaining repository documentation in Chinese while keeping code names, file paths, commands, and other identifiers unchanged. Repository documentation explains how a software project is structured and used.

In plain words
What is it for?
Use it to write or localise project documentation in Chinese, update existing repository docs, and preserve the original identifiers for lookup.
Why use it?
It helps Chinese-speaking readers understand a codebase without losing the exact names they need to search for in the source code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to write or localise project documentation in Chinese, update existing repository docs, and preserve the original identifiers for lookup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phanghonghao/thu-awesome-skills/repo-docs-zh
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 phanghonghao/THU-Awesome-Skills --skill repo-docs-zh
Clone the repo
git clone --depth 1 https://github.com/phanghonghao/THU-Awesome-Skills

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 repo-docs-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/repo-docs-zh/github.svg)](https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/repo-docs-zh)
Your own site
<a href="https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/repo-docs-zh"><img src="https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/repo-docs-zh/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 repo-docs-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/phanghonghao/thu-awesome-skills/repo-docs-zh"><img src="https://agentmods.dev/badge/skills/phanghonghao/thu-awesome-skills/repo-docs-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,215 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.00062 $0.01215
Opus 5.5 $0.00025 $0.00486
Sonnet 5.5 $0.00012 $0.00243
Haiku 4.5 $0.00006 $0.00121

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

Security

Grade A, and why

repo-docs-zh 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 2mo 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/repo-docs-zh/SKILL.md · 97 lines

How it starts

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

Repo-Docs ZH

Position

This is the Chinese-language overlay for repo-docs. Structure, page ownership, evidence rules, sync behavior, and validation come from ../repo-docs/SKILL.md. This overlay only changes language and Chinese reader experience.

Before acting, read:

  1. ../repo-docs/SKILL.md
  2. ../repo-docs/REFERENCE.md as the topic router only when detailed rules are needed
  3. The routed topic file only when needed
  4. ../repo-docs/EXAMPLES.md only for output shape or tone examples needed by the task

Core Principle

Chinese repo-docs are not English docs translated line by line. They should rebuild the reader's conceptual handles in Chinese.

Chinese carries understanding: what this thing is, why it exists, what happens, and how to check it. English identifiers carry lookup: paths, commands, fields, API names, class/function names, metric names, package names, and dataset names.

Language Rules

  • Use Chinese for titles, explanations, reading paths, examples, caveats, and change-log entries.
  • Keep source identifiers exact. Do not translate paths, commands, keys, API names, class/function names, metric names, error strings, package names, or dataset names.
  • First introduce repeated project terms as 中文名(English term) or 中文名(source identifier); later prefer the Chinese name.
  • README route sections use ## 阅读路径, not ## Reader Routes.
  • Glossary columns are exactly 术语 | 项目里的意思 | 延伸阅读.
  • Narrative page evidence note: 证据状态:除特别标注外,本页基于当前源码已确认。

Chinese Handles And Source Locators

Use a Chinese reader handle before a source locator.

Type Use in Chinese docs
读者句柄 The narrative subject, such as “导入流程”, “会话层”, “结果汇总”, “运行脚本”.
源码定位符 Paths, functions, classes, fields, commands, artifact paths. Link directly with a Chinese label when one locator supports one claim.
精确查表名 Metrics, schema keys, tool parameters, artifact file names. Usually belongs in references/.
外部术语 Terms like benchmark, agent, workspace, protocol, memory. First mention gets a Chinese handle; later prefer Chinese when the term appears in the inspected repo.

Read the full file on GitHub · 97 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. 2mo ago First seen · 97 lines · 62 tokens per session scan A d04b69e9d614

Subscribe to this mod's changes

repo-docs-zh is a skill published in the GitHub repository phanghonghao/THU-Awesome-Skills (8 stars, last pushed 3mo ago), licensed MIT. It adds 62 tokens to every session and 1,215 once invoked, about $0.0002 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

repo-docs-zh compared with skills from other repositories

repo-docs-zh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repo-docs-zhphanghonghao/THU-Awesome-SkillsSkill83mo agoMITA62Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code