Install
openclaw skills install @j3ffyang/translate-to-chnTranslate a specific article from ai-thoughts/docs/ into Simplified Chinese, writing the output to an exactly-same-filename "-chn.md" file. Use when the user names a specific article and asks to translate it (e.g. "translate 260803-ollama-to-llamacpp", "翻译 xxx", "make a -chn.md version"). Never runs automatically; only acts on an explicitly chosen article.
openclaw skills install @j3ffyang/translate-to-chnTranslate one article from ai-thoughts/docs/ into Simplified Chinese and write it to a new file with the same filename plus a -chn.md suffix.
-chn.md should be overwritten.source — Path to the source article, e.g. ai-thoughts/docs/260803-ollama-to-llamacpp.md. Required. If the user only names an article by slug or date, locate it in ai-thoughts/docs/.outputPath — Path to the translated article: docs/<exact-same-filename>-chn.md (replace the .md suffix with -chn.md, keeping the YYMMDD-slug prefix and all characters exactly). Example: 260803-ollama-to-llamacpp.md → 260803-ollama-to-llamacpp-chn.md.-chn.md. If docs/<same>-chn.md already exists, stop and ask whether to overwrite it, diff against it, or skip. Never overwrite silently.source. Understand the full content before translating.-chn.md pairs).j3ffyang repo), not a relative link:
**原文:** [<source-filename>](https://github.com/j3ffyang/ai-thoughts/blob/main/docs/<source-filename>)AGENTS.md,
SOUL.md, .cursorrules, hermes -c), environment variables, URLs.Ctrl+C, Alt+Enter).../imgs/<file> image references (keep the path verbatim — Chinese files mirror English per AGENTS.md), links, HTML, tables, frontmatter (if any), and Markdown structure.docs/<same-filename>-chn.md with the source link line followed by the translated body.btw, i use arch, append the identical line at the bottom of the -chn.md. Keep it verbatim English — do not translate.outputPath to the user. Do not modify the source file, and do not touch articles.yaml or the READMEs (out of scope for this skill).Every -chn.md uses this style: Simplified Chinese is the primary text, and English is added as glosses so a Chinese-only reader still gets the technical vocabulary. The source article stays as-is; the glosses and explanations live only in the -chn.md.
技能 (skill), 无头 (headless), 密钥链 (keychain), 接口额度 (API quota). Don't gloss every repetition or everyday words — only technical or specialized vocabulary.## 技能 (skill) 是什么, ## 无头 (headless) 环境下的认证.| 我——思维流 (thought-flow) | OpenCode + git——工作流 (workflow) |.The verbatim exceptions from Procedure step 6 still apply: code, commands, product names, and URLs stay untouched, and glosses never go inside code blocks.
docs/<exact-source-filename>-chn.md; the prefix and slug match the source filename exactly (only the .md → -chn.md suffix changed).**原文:** [<source-filename>](https://github.com/j3ffyang/ai-thoughts/blob/main/docs/<source-filename>).../imgs/<file> reference in the output matches one in the source (verify with a glob/ls against ai-thoughts/imgs/).btw, i use arch), the -chn.md carries the identical verbatim line.ai-thoughts/docs/ and ask which to use.