claude-code-cn-plus CLAUDE.md

claude-code-cn-plus CLAUDE.md is an instructions file for coding agents from Gdenian/claude-code-cn-plus. It costs 298 tokens per session, scanned A, original, MIT.

Repository instructions for developing and localizing claude-code-cn-plus, a command-line tool whose interface and documentation can be translated into Chinese.

In plain words
What is it for?
Use them when changing the installer, patchers, translation memory, hooks, settings, automatic localization, or project tests.
Why use it?
They explain the project structure, patching fallbacks, rollback requirements, settings-error handling, tests, and language conventions.

Instructions file

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 instructions/gdenian/claude-code-cn-plus/claude-md
Clone the repo
git clone --depth 1 https://github.com/Gdenian/claude-code-cn-plus

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 claude-code-cn-plus CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gdenian/claude-code-cn-plus/claude-md.svg)](https://agentmods.dev/instructions/gdenian/claude-code-cn-plus/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/gdenian/claude-code-cn-plus/claude-md"><img src="https://agentmods.dev/badge/instructions/gdenian/claude-code-cn-plus/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 298 This file is loaded in full into every session.
When invoked 298 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00298 $0.00298
Opus 5 $0.00149 $0.00149
Sonnet 5 $0.00060 $0.00060
Haiku 4.5 $0.00030 $0.00030

Measured 5d ago against content hash 63ac0fc44802, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-code-cn-plus CLAUDE.md 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 5d 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.

CLAUDE.md · 23 lines

What it actually says

claude-code-cn-plus 开发指南

架构

  • bin/cccn.js 是主 CLI 入口。
  • src/installer.js 负责 install / uninstall / restore 的调度。
  • src/native-patcher.js 适配 [email protected],native 优先,API 不可用时回退到 adhoc-patch
  • src/legacy-patcher.js 负责旧版 cli.js 备份、替换和恢复。
  • src/plugin-localizer.js 负责 Translation Memory 和 frontmatter description 汉化。
  • src/hooks-manager.jssrc/settings.jssrc/auto-localize.js 负责 hooks、语言配置和自动维护。

开发注意事项

  • 新增翻译优先改 localize/translation-memory.json,不要把正文翻译进 SKILL.md。
  • native patch 失败必须回滚,install 仍要尽量完成 hooks、插件和语言配置。
  • settings.json 解析失败要直接报错,不要静默跳过。
  • npm test 使用 node:testnpm run check 负责语法检查。

语言

  • 所有对话和文档使用中文
  • 代码注释尽量简短,保持和现有风格一致
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. 5d ago First seen · 23 lines · 298 tokens per session scan A 63ac0fc44802

Subscribe to this mod's changes

claude-code-cn-plus CLAUDE.md is an instructions file published in the GitHub repository Gdenian/claude-code-cn-plus (24 stars, last pushed 3mo ago), licensed MIT. It adds 298 tokens to every session, about $0.0015 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 instructions, from other repositories

xcstrings-crud CLAUDE.md

Claude Code instructions for Ryu0118/xcstrings-crud, covering xcstrings-crud, build & test, architecture, code style and key files.

Ryu0118/xcstrings-crud · 400 tokens

bob-plugin-ollama-translator AGENTS.md

Instructions for CaicoLeung/bob-plugin-ollama-translator, covering repository guidelines, project overview, architecture & data flow, key directories and development commands.

CaicoLeung/bob-plugin-ollama-translator · 2,627 tokens

DialectOS CLAUDE.md

Instructions for KyaniteLabs/DialectOS, covering kyanitelabs engineering rules, project-specific context, kyanitelabs engineering rules, organization principles and issue-driven development.

KyaniteLabs/DialectOS · 2,297 tokens

KKTerm CLAUDE.md

Claude Code instructions for ryantsai/KKTerm: Constitution, Repository workflow, domain language, source-area boundaries, i18n rules, and engineering defaults live in AGENTS.md. Product terminology lives in CONTEXT.md. Read both before changing behavior or terminology.

ryantsai/KKTerm · 49 tokens

kiwiki AGENTS.md

AGENTS.md instructions for natorus87/kiwiki, covering projekt-anweisungen, projekt-kontext, verbindliche lokalisierungsregel, regeln (automatisch geladen via .codex/rules/) and verfügbare sub-agenten.

natorus87/kiwiki · 1,060 tokens

kiwi-paper GEMINI.md

Instructions for hletrd/kiwi-paper, covering kiwi-paper — gemini cli instructions, 사용법, 4단계 파이프라인, 지원 문서 유형 (12종) and 핵심 규칙.

hletrd/kiwi-paper · 421 tokens