zh

by Zehui Lin · ★ 0 · updated 16 days ago

PanesCommandsvalidates

0

/zh translates the last assistant reply (or the n-th back) into Simplified Chinese with Haiku or Sonnet and shows it in a pane, code, paths, commands and names kept exactly; prev, next, latest and close buttons, the last three translations kept.

install zh

Install

/plugin marketplace add ZH-L1N/agent-window-mods
/plugin install zh@zehui-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.render
API calls
$.clock.after$.clock.now$.command.register$.model.complete$.session.messages$.state.get$.state.set$.ui.close$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
Pane
Reach
level 2 of 3 drives Claudereads the transcriptreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/ZH-L1N/agent-window-mods
Path in repo
zh
Source commit
5122d45 the exact code the scan read
Author
Zehui Lin @ZH-L1N
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from ZH-L1N/agent-window-mods

agents

ZH-L1N/agent-window-mods

Live subagents, background shells, Monitor watches and cron timers: an AGENTS band above the prompt (main model, each run with its model or command, task and status, watches with time left, crons with their next fire, skills fired, ☕ while idle sleep is held), an /agents-info pane with a Who view (cost, tokens, time and a pixel mascot per run, picked from a pool for its state), a Code view...

★ 0PanesBandsGuards

blast-radius

ZH-L1N/agent-window-mods

Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would change, with Proceed and Cancel buttons.

★ 0PanesGuards

breathe

ZH-L1N/agent-window-mods

Guided breathing exercises above the prompt while Claude works: coherent, box, 4-7-8 and the physiological sigh, seventeen animation styles, and the spinner can read the breath (/breathe spinner on). Appears when Claude starts, disappears when Claude answers.

★ 0BandsReskinsCommands

cache-clock

ZH-L1N/agent-window-mods

A CACHE band above the prompt: how long the prompt cache stays warm, how much of the last request it served, and what rewriting it would cost (estimate); a Compact button and /cache-clock.

★ 0BandsCommands

filetree

ZH-L1N/agent-window-mods

A small tree of the working folder in a Files pane: folders open and close, git marks changed files, and the files read or written this turn are listed on top. /tree opens it.

★ 0PanesGuardsCommands

goal-meter

ZH-L1N/agent-window-mods

A GOAL band above the prompt that reads Claude's own task list: the goal's name, a 6-cell bar of tasks done, percent, time, ETA and the task running now; a /goals pane with every task and the last five goals.

★ 0PanesBandsGuards

handoff

ZH-L1N/agent-window-mods

A HANDOFF band above the prompt: the context bar stacked by /context category, fill against the compaction point, and at the threshold a save-now button that writes HANDOFF.md, then clear & continue and a resume offer in the next session.

★ 0BandsCommands

here

ZH-L1N/agent-window-mods

A HERE band above the prompt that says where the session is, with no model call by default (option rewrite=haiku makes one per answer): the goal (goal-meter's goal name, else the first line of the prompt that started the open task list), what Claude is doing now (the last tool call's verb and path, or the spinner word while it thinks) and the questions the last reply asked you; /here prints...

★ 0BandsReskinsGuards

images

ZH-L1N/agent-window-mods

Each pasted [Image #n] shown as a thumbnail in an IMAGES band above the prompt: before you send, as soon as the tag appears in the prompt box (macOS osascript writes the clipboard's picture to a PNG; caption 'not sent yet'), and after you send, from the engine's own PNG; also in a small labelled row placed in the transcript under the sent prompt. Drawn as true pictures (the terminal reads a...

★ 0BandsCommandsPrompt

motion-hold

ZH-L1N/agent-window-mods

Holds any Bash call, and any Monitor watch that runs a command, that would move, energise or restart lab hardware until you approve that one call (a card in a pane, or the question dialog on a narrow terminal; refused when nobody answers), and shows a STOP row while an approved call runs. Reads, logs and status pass; a stop command always passes. Generic rules are built in; the site's hosts...

★ 0PanesBandsGuards

next

ZH-L1N/agent-window-mods

A NEXT band above the prompt with 2 or 3 short prompts you would likely send next, from one Haiku (or Sonnet) call over the last reply and the task list: after each long answer, or on /next; 1 to 3 put one in the prompt box (nothing is sent), 0 dismisses; hidden while a turn runs, cleared when you send a prompt.

★ 0BandsCommandsPrompt

peers

ZH-L1N/agent-window-mods

A herdr peer alarm and board: every 30 seconds it reads the agents of this herdr workspace and toasts when one is blocked, when one finishes, and ALL DONE once every peer is idle after work (silent unless sound is on); a peers board pane lists every peer, blocked first in amber, with its HERDR-ORCH request, round, deadline countdown and result file for the spokes this session briefed...

★ 0PanesCommandsPrompt

Other mods in Panes, close to this one by stars.