← 返回 Skills 市场
379
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install opencc
功能描述
Chinese character conversion between Simplified/Traditional and regional variants. Use when Pi needs to convert Chinese text with precision and awareness of...
安全使用建议
This skill appears coherent and purely focused on Chinese character conversion, but before installing you should: 1) Verify which opencc package you'll install (pip package name and maintainer) and pin a known-good version — malicious or typo-squatted PyPI packages are possible. 2) Confirm the opencc package you install provides the expected JSON mode files (s2t.json, s2tw.json, etc.) or supply them from a trusted OpenCC release. 3) If you require production or high-assurance use, audit the installed opencc package (check for native code, post-install hooks, and network behavior) and run the included tests (pytest test_convert.py). 4) No secrets or network endpoints are present in the skill itself, but keep general supply-chain caution for third-party dependencies.
功能分析
Type: OpenClaw Skill
Name: opencc
Version: 1.0.0
The `scripts/convert.py` file is vulnerable to path traversal. The `--input` and `--output` arguments are directly used in `open()` calls without sanitization, allowing an attacker to read or write to arbitrary file paths (e.g., `/etc/passwd`, `~/.ssh/id_rsa`) on the system if the agent is instructed to use this skill with malicious input. This constitutes a significant file system access vulnerability, though it does not show clear evidence of intentional malicious behavior by the skill itself.
能力评估
Purpose & Capability
Name/description, README, SKILL.md, pyproject.toml, scripts/convert.py, and tests all align: the skill wraps the OpenCC conversion library and exposes CLI and Python usage. There are no unrelated environment variables, binaries, or credentials requested.
Instruction Scope
Runtime instructions and the CLI script only read input text (positional argument, stdin, or an input file), perform conversion via opencc.OpenCC(...).convert(...), and write output to stdout or a file. They do not access external endpoints, secrets, or unrelated system files. Note: the skill expects OpenCC JSON mode files (e.g., s2t.json) to be available via the opencc package at runtime — the repo does not include those JSON files itself, so correct behavior depends on the installed opencc package providing them.
Install Mechanism
No registry install spec is provided in the skill metadata, but SKILL.md/README suggest installing via 'uv add opencc' or 'pip install opencc' and pyproject.toml declares dependency 'opencc>=1.2.0'. Installing a PyPI package is expected for this functionality. This is a normal install pattern, but the runtime depends on the authenticity and contents of the opencc package (which may include native components).
Credentials
The skill requests no environment variables, no credentials, and no config paths. All code operates on supplied text/files and uses the opencc library only — there is no disproportionate secret access or credential request.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or global agent settings, and is user-invocable. It does not persist credentials or enable itself automatically in a privileged way.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install opencc - 安装完成后,直接呼叫该 Skill 的名称或使用
/opencc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 14 conversion modes for Simplified/Traditional and regional variants (Taiwan, Hong Kong, Japan), phrase-level conversion with idiom support, CLI tool
元数据
常见问题
OpenCC 是什么?
Chinese character conversion between Simplified/Traditional and regional variants. Use when Pi needs to convert Chinese text with precision and awareness of... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 379 次。
如何安装 OpenCC?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install opencc」即可一键安装,无需额外配置。
OpenCC 是免费的吗?
是的,OpenCC 完全免费(开源免费),可自由下载、安装和使用。
OpenCC 支持哪些平台?
OpenCC 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenCC?
由 kai-tw(@kai-tw)开发并维护,当前版本 v1.0.0。
推荐 Skills