← Back to Skills Marketplace
zhouchang1988

skill-to-cn

by Zhou Chang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
124
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install skill-to-cn
Description
将任意技能汉化为中文版本。当用户要求"汉化技能"、"翻译技能"、"把XX技能翻译成中文"、"创建技能的中文版"时触发。输入原始技能路径(如 ~/.claude/skills/X/),输出汉化后的技能目录(~/.claude/skills/X-cn/)。
Usage Guidance
This skill is coherent with its goal (translating a skill tree into Chinese), but exercise caution before using it on real or sensitive skills. Key points to consider: - Backup first: create a copy of the source skill directory before running the script or let the script write to a custom output path. Test on a non-critical skill first. - Review the script: the provided Python script modifies comments and docstrings (it converts triple-quoted docstrings into commented lines), which can remove runtime docstrings (__doc__) and may change program behavior or affect tools that rely on docstrings. - Avoid secrets: do not point the tool at directories that may contain credentials, tokens, or other sensitive files — the process will read and copy all files under the given path. - Use --no-translate for an initial dry run: the script supports copying the structure without performing translation; use that to verify the produced skeleton before automatic text substitution. - Inspect translations before use: the SKILL.md requires the model to write back translated files. Review the translated files manually (especially scripts) before enabling or distributing the translated skill. - Symlink/path caution: the script resolves paths and may follow symlinks; ensure the supplied path is correct to avoid operating on unexpected locations. If you need stronger guarantees (no code mutation, only translate docs), request a version that restricts translations to documentation files (README, SKILL.md, references) and does not alter code files or docstrings.
Capability Analysis
Type: OpenClaw Skill Name: skill-to-cn Version: 1.0.0 The 'skill-to-cn' bundle is a utility designed to localize Claude Code skills into Chinese. It uses a Python script (scripts/translate_skill.py) to copy a source skill's directory structure and mark text content (Markdown, code comments, and YAML metadata) for translation, followed by instructions in SKILL.md for the AI agent to perform the actual translation. The code uses standard filesystem operations and lacks any indicators of data exfiltration, malicious execution, or persistence.
Capability Assessment
Purpose & Capability
Name, description, and included script align: the skill's goal is to produce a Chinese copy of another skill and the bundle contains a script that walks a skill directory, marks translatable items, and copies files into a <name>-cn target. No extra credentials, binaries, or unrelated dependencies are requested.
Instruction Scope
SKILL.md explicitly instructs Claude to read every generated target file, find all '[待翻译]' markers and replace them with translated text, and write back files. That requires full read/write access to arbitrary files in the specified skill directory. The script also transforms Python docstrings into comment lines (losing runtime docstrings), and the agent is given wide discretion about how to translate text (including translating program output and prompts). There are no safety checks, sandboxing, or explicit instructions to avoid altering executable logic. This broad file mutation scope could unintentionally break code or alter behavior; if source files contain sensitive data, they will be read and written.
Install Mechanism
Instruction-only skill with no install spec and a local Python script. No network downloads or external install steps are present. This is a low-risk install mechanism from the package-delivery perspective.
Credentials
The skill asks for no environment variables, credentials, or config paths. It operates on filesystem paths supplied by the user (defaulting to ~/.claude/skills/<skill>/), which is appropriate for its stated purpose. However, because it reads arbitrary files under the provided path, users should avoid targeting directories that contain secrets or unrelated sensitive data.
Persistence & Privilege
always:false and no system-wide configuration changes are requested. The skill creates a sibling -cn directory for the translated skill and preserves file permissions. It does not request permanent/global privileges or modify other skills' configurations in its code.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-to-cn
  3. After installation, invoke the skill by name or use /skill-to-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Release v1.0.0 from GitHub
Metadata
Slug skill-to-cn
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is skill-to-cn?

将任意技能汉化为中文版本。当用户要求"汉化技能"、"翻译技能"、"把XX技能翻译成中文"、"创建技能的中文版"时触发。输入原始技能路径(如 ~/.claude/skills/X/),输出汉化后的技能目录(~/.claude/skills/X-cn/)。 It is an AI Agent Skill for Claude Code / OpenClaw, with 124 downloads so far.

How do I install skill-to-cn?

Run "/install skill-to-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is skill-to-cn free?

Yes, skill-to-cn is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does skill-to-cn support?

skill-to-cn is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created skill-to-cn?

It is built and maintained by Zhou Chang (@zhouchang1988); the current version is v1.0.0.

💬 Comments