plan-zht

plan-zht is a command for Claude Code from OthmanAdi/planning-with-files. It costs 34 tokens per session (919 once invoked), scanned A, a copy of plan-ar, MIT.

A command for planning complex work in Traditional Chinese using files such as taskplan.md, findings.md, and progress.md.

In plain words
What is it for?
It helps break down a project, track decisions and findings, and guide the user through a file-based planning process.
Why use it?
It keeps plans, discoveries, and progress recorded on disk while work is underway.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the planning-with-files plugin — 6 skills, 15 commands, 9 hooks shipped together

Good fit It helps break down a project, track decisions and findings, and guide the user through a file-based planning process.

Compare 6 commands from other repositories ↓
About the project

OthmanAdi/planning-with-files is a planning system that stores an AI coding agent's task plan, findings, and progress in project files so the work can be recovered after context resets, crashes, or compaction. It is for long-running coding tasks across many agent tools, including Claude Code, Codex CLI, and Cursor. The catalogue entries are the project's commands, hooks, skills, plugin, and instruction for maintaining those planning files.

OthmanAdi/planning-with-files · 28,354 stars · on GitHub · planningwithfiles.tech

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add OthmanAdi/planning-with-files
Claude Code
/plugin install planning-with-files

Made for: Claude Code.

Or install planning-with-files, the plugin that ships this one along with the rest of its 6 skills, 15 commands, 9 hooks.

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 plan-zht

README.md
[![agentmods](https://agentmods.dev/badge/commands/othmanadi/planning-with-files/plan-zht/github.svg)](https://agentmods.dev/commands/othmanadi/planning-with-files/plan-zht)
Your own site
<a href="https://agentmods.dev/commands/othmanadi/planning-with-files/plan-zht"><img src="https://agentmods.dev/badge/commands/othmanadi/planning-with-files/plan-zht/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 plan-zht

Your own site · 80×15
<a href="https://agentmods.dev/commands/othmanadi/planning-with-files/plan-zht"><img src="https://agentmods.dev/badge/commands/othmanadi/planning-with-files/plan-zht.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 919 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 88% copy Near-identical to another mod 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.00034 $0.00919
Opus 5.5 $0.00014 $0.00368
Sonnet 5.5 $0.00007 $0.00184
Haiku 4.5 $0.00003 $0.00092

Measured 29d ago against content hash 20170f4e8506, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-zht 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 29d 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

This is a copy

88% identical to plan-ar — 34 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commands/plan-zht.md · 28 lines

What it actually says

從以下路徑中第一個存在的檔案讀取繁體中文技能正文,並嚴格按照其指示執行:

  • $HOME/.claude/skills/planning-with-files-zht/SKILL.md
  • ${CLAUDE_PLUGIN_ROOT}/skills/i18n/planning-with-files-zht/SKILL.md

如果兩個路徑都不存在,請調用 planning-with-files:planning-with-files 技能,並繼續以繁體中文工作。

先還原,再建立。如果設定了 PWF_PLAN_ROOT,先驗證它是一個存在的絕對專案根目錄;在讀取或建立任何檔案之前,拒絕無效的根目錄釘選值。否則,專案根目錄就是目前的目錄。以 sh ${CLAUDE_PLUGIN_ROOT}/scripts/resolve-plan-dir.sh(PowerShell:& "$env:CLAUDE_PLUGIN_ROOT\scripts\resolve-plan-dir.ps1")解析選定的任務:

  • 輸出一個目錄,表示這就是選定的任務。接續該任務:讀取並保留它的 task_plan.md、findings.md 和 progress.md;絕不覆寫既有的規劃檔案。
  • 輸出為空且 PLAN_ID 非空,表示計畫選擇器被拒絕。停下來,請使用者更正釘選值。不要退回到根目錄或其他計畫。
  • 輸出為空,且 resolve-plan-dir.sh --check-ambiguity(PowerShell:-CheckAmbiguity)輸出 PWF_PLAN_AMBIGUOUS_V1,表示存在多個計畫但沒有選擇器。停下來,請使用者設定 PLAN_ID=<slug>。
  • 其他情況下,空輸出對應舊版(legacy)的專案根目錄慣例:如果已驗證的專案根目錄(設定了 PWF_PLAN_ROOT 時即為它)中存在 task_plan.md,就從那裡接續。僅有一個有效的根目錄釘選值,並不會拒絕根目錄中的舊版計畫。

只有在開始新任務時,才從已驗證的專案根目錄執行初始化腳本,即使 PWF_PLAN_ROOT 指向主機 cwd 以外的位置也是如此:sh ${CLAUDE_PLUGIN_ROOT}/scripts/init-session.sh(PowerShell:init-session.ps1)。傳入任務名稱以在 .planning/<id>/ 下建立獨立計畫,並以輸出的 PLAN_ID 釘選主機。.planning/.active_plan 只是共用的預設值,不會綁定並行的工作階段。

  • task_plan.md — 用於階段、進度和決策
  • findings.md — 用於研究和發現
  • progress.md — 用於工作階段日誌

每個 ### Phase N: Name 標題下保留且僅保留一行 **Status:**,然後以 sh ${CLAUDE_PLUGIN_ROOT}/scripts/check-complete.sh --validate path/to/task_plan.md(PowerShell:check-complete.ps1 -Validate -PlanFile path/to/task_plan.md)驗證選定計畫的明確路徑。如果既有計畫未通過驗證,請回報問題,不要改寫它。

然後引導使用者完成規劃工作流程。所有規劃檔案內容使用繁體中文。

狀態標記保持英文原樣(**Status:** in_progress、**Status:** complete),因為 check-complete.sh 使用 grep -F 比對,翻譯這些標記會使完成檢查失效。

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. 29d ago Changed · +8 lines 20170f4e8506
  2. 3mo ago First seen · 20 lines · 34 tokens per session scan A b6a8f83f1859

Subscribe to this mod's changes

plan-zht is a command published in the GitHub repository OthmanAdi/planning-with-files (28,354 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 919 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to plan-ar, differing in 34 lines, and is treated as a copy.

Related

plan-zht compared with commands from other repositories

plan-zht next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-zhtOthmanAdi/planning-with-filesCommand28ktodayMITA34Claude Code
genshijin-compressInterfaceX-co-jp/genshijinCommand3365d agoMITA17Claude Code
pick-first-segmentstefanoskarakasis/Product-Marketing-SkillsCommand22yesterdayMITA11Claude Code
design-formAmey-Thakur/AI-SKILLSCommand142mo agoMITA19Claude Code
reviewnunoamorim99/agile-ledgerCommand11mo agoMITA16Claude Code
standupnunoamorim99/agile-ledgerCommand11mo agoMITA9Claude Code
enum-udppashki975/thm-claude-kitCommand23mo agoMITA16Claude Code