explain-zh

explain-zh is a command for coding agents from Caseous-kerrcell366/claude. It costs 3 tokens per session (44 once invoked), scanned A, original, MIT.

A Chinese-language code-explanation command. It first summarizes what a piece of code does, then explains its main logic section by section and identifies important design decisions.

In plain words
What is it for?
Use it to understand a code snippet or project logic, learn how its main sections work, and review the reasoning behind key implementation choices.
Why use it?
It makes unfamiliar code easier to understand without requiring the reader to reconstruct the whole flow alone. Calling out design decisions also explains why the code may have been structured that way.

Command

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 commands/caseous-kerrcell366/claude/explain-zh
Clone the repo
git clone --depth 1 https://github.com/Caseous-kerrcell366/claude

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 explain-zh

README.md
[![agentmods](https://agentmods.dev/badge/commands/caseous-kerrcell366/claude/explain-zh.svg)](https://agentmods.dev/commands/caseous-kerrcell366/claude/explain-zh)
Your own site
<a href="https://agentmods.dev/commands/caseous-kerrcell366/claude/explain-zh"><img src="https://agentmods.dev/badge/commands/caseous-kerrcell366/claude/explain-zh.svg" alt="Measured on agentmods" height="20"></a>
Per session 3 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 44 The whole file, excluding the scripts and references it only reads on demand.
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.00003 $0.00044
Opus 5 $0.00002 $0.00022
Sonnet 5 $0.00001 $0.00009
Haiku 4.5 $0.00000 $0.00004

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

Security

Grade A, and why

explain-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 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.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

  • natural-english — 100% identical, 15 lines differ
  • zht — 100% identical, 4 lines differ
  • zh — 100% identical, 4 lines differ
plugin/commands/explain-zh.md · 7 lines

What it actually says

用中文解释这段代码的功能和逻辑。先概述,再逐段解释核心逻辑,标注关键设计决策。

$ARGUMENTS

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 · 7 lines · 3 tokens per session scan A 03affe8c25e7

Subscribe to this mod's changes

explain-zh is a command published in the GitHub repository Caseous-kerrcell366/claude (2 stars, last pushed 2d ago), licensed MIT. It adds 3 tokens to every session and 44 once invoked, about $0.0000 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-31.