Borrowing it
Nothing to install: this file belongs to Uncle-Gao/Live-Translator-Hub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Uncle-Gao/Live-Translator-Hub/master/.agent/skills/translate-dictionary/SKILL.mdgit clone --depth 1 https://github.com/Uncle-Gao/Live-Translator-HubWrote 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.
[](https://agentmods.dev/skills/uncle-gao/live-translator-hub/translate-dictionary)<a href="https://agentmods.dev/skills/uncle-gao/live-translator-hub/translate-dictionary"><img src="https://agentmods.dev/badge/skills/uncle-gao/live-translator-hub/translate-dictionary/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.
<a href="https://agentmods.dev/skills/uncle-gao/live-translator-hub/translate-dictionary"><img src="https://agentmods.dev/badge/skills/uncle-gao/live-translator-hub/translate-dictionary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.00877 |
| Opus 5 | $0.00021 | $0.00439 |
| Sonnet 5 | $0.00008 | $0.00175 |
| Haiku 4.5 | $0.00004 | $0.00088 |
Grade B, and why
translate-dictionary scanned grade B with 1 finding 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 11d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
3. **注入投递引擎**:在项目内打开终端,调用 `sudo node cursor_zh_pro.js` 并选择注入选项 `1`。工具会安全地重打包包含了全新指纹与词条内存的 `cursor-i18n.js`。 What it actually says
Cursor 汉化 Pro 维护技能 (translate-dictionary)
目的
本技能旨在指导维护 cursor_zh_pro.js 的核心汇编逻辑及 i18n/*.json 资源文件,重点配合 V2 架构的 DOM 拦截外挂脚本(cursor-i18n-runtime.js),指导 AI 确保安全地拓宽汉化覆盖面。
字典规则演进 (V2 架构革新)
在 V2 纯运行时 HTML 的外挂注入体系中,我们彻底抛弃了在几十兆源码里做危险正则替换的做法。所有翻译的映射都独立且安全地发生于浏览器渲染引擎中的前台文本节点 (node.textContent) 与悬浮提示 (title) 的变化瞬间!
-
- 定位:V2 工作流的主力库。适用各类单短词、高频系统级名词(如
"Settings")、组合词以及各种悬浮气泡文本。 - 匹配原理:运行时被编译为内存哈希表,依靠原生 DOM 抓取其内含
textContent.trim()和字典键极速进行 严格字符串等值命中。 - 🚨 封印解除 (安全重定义):在 V2 的运行时维度,现在完全允许把极短或普适的英文短词(例如
"All","Default","True","False")录入基础字典!因为运行时的MutationObserver只会针对网页前端暴露出来的 UI 文本节点做判断,绝对不会干扰隐匿在后面运作的 JavaScript 内部框架变量和对象键,从物理隔离上 100% 消灭了引发渲染进程崩溃黑屏的可能!
- 定位:V2 工作流的主力库。适用各类单短词、高频系统级名词(如
-
fragments.json (兼容式超长注释/片段包):
- 定位:遗留下来的巨型设置说明释义本。
- 加载原理:目前的安装程序会在执行时自动读取本文件,过滤掉无用的上下文特殊边界符,将其全量合并打平灌入到主字典环境。
- M4 计划:在未来,此文件(或拆分为
patterns.json)将进一步进化为存放具备正则表达式特性的匹配模板(如"(.*) files analyzed"),用于处理运行时含可变数字动态更新的复杂字符串。
维护作业流淌 (V2)
- 拾取英文节点:直观地阅读未汉化的设置页面 UI(或使用外部 DOM 分析剥离工具)。
- 扩充语料库:以纯文本键值对的形式补充进
i18n/dictionary.json适当的分层内。 - 注入投递引擎:在项目内打开终端,调用
sudo node cursor_zh_pro.js并选择注入选项1。工具会安全地重打包包含了全新指纹与词条内存的cursor-i18n.js。 - 重载视界:回到 Cursor 主界面按下
Cmd+R(Reload Window)。DOM 树被完全撕毁重构的瞬间,新的术语映射即可就绪显现。
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.
- 11d ago First seen · 29 lines · 42 tokens per session scan B 5c75af7b056b
translate-dictionary is a skill published in the GitHub repository Uncle-Gao/Live-Translator-Hub (32 stars, last pushed 4d ago), licensed MIT. It adds 42 tokens to every session and 877 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
vibetime
Work with local VibeTime agent-coding activity data. Use when Codex needs to inspect VibeTime time tracking, agent activity, project/session/turn history, token usage, cost attribution, hook health, local SQLite data, data quality, dirty data, or safe database cleanup. Default to VibeTime CLI summaries for ordinary…
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-commit-conventions
A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.
systematic-debugging
A step-by-step method for finding the underlying cause of technical problems before changing code. It covers reading errors, reproducing failures, checking recent changes, and tracing data across system components.
extract-source-sample
Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…