translate-view

by Yrzhe · ★ 36 · updated 2 days ago

PanesReskinsCommandsPrompt

0

Translate outgoing prompts and stream reply translations into a side pane with configurable LLM and Jev detection.

install translate-view

Install

/plugin marketplace add Yrzhe/claude-skills
/plugin install translate-view@yrzhe-skills

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.runsession.endclassic.SessionStartprompt.submitsession.appendui.renderturn.startturn.stepturn.completeui.scroll
API calls
$.clock.every$.command.register$.process.run$.process.spawn$.prompt.fill$.prompt.read$.ui.invalidate$.ui.open$.ui.resolve$.ui.scroll

Origin

How it got here
Found through a post on X by @yrzhe_top, then checked on GitHub: the repo has a plugin manifest and function hooks. Listed .
Repository
github.com/Yrzhe/claude-skills
Path in repo
plugins/translate-view
Source commit
c797d7a the exact code the scan read
Author
@Yrzhe
License
MIT
First published
Last pushed
First listed here
On X
Mentioned in 1 post on X

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.

Posts about this repo

yrzhe.top@yrzhe_top

大概率跟语言没关系,但是提醒了我下,结合最近 Claude 上线 Mods 这个东西,我顺手做了个翻译小插件 解决一个困扰我挺久的小问题,我感觉国外的模型用英文工作会更顺一些(有没有实际提升,我没做过严谨对比),以前确实试过用英文提问、看英文回复。问题是我英语不够熟练,读起来慢,来回复制到翻译工具也挺打断思路。 现在搞了个插件,流程变成了: ① 我直接输入中文。 ② 插件在发送前,把中文翻译成英文交给 Agent。 ③ 当 Agent 回复英文时,右侧面板自动显示中文译文,左边保留原文,可以对照着看。 两个方向的目标语言都能自己选,翻译模型和 Prompt 也能改。 Claude Mods 可以在发送消息、生成回复等环节介入处理,还能直接在终端里加一个交互面板。正好把这个需求串起来了,不用再切出去翻译。 插件已开源:Translate View · https://github.com/Yrzhe/claude-skills/tree/main/plugins/translate-view 在支持 Mods 的 Claude Code 里依次输入: /plugin marketplace add Yrzhe/claude-skills /plugin install translate-view@yrzhe-skills /reload-plugins /translate settings

More from Yrzhe/claude-skills

reply-view

Yrzhe/claude-skills

Preview pasted images and media from the last Claude reply, open links and localhost, and copy the whole reply.

★ 361 postsBands