Api Translator
將 API 文檔翻譯成繁體中文。輸入 API 文檔網址,輸出翻譯後的 API 說明。
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 71 · 0 current installs · 0 all-time installs
byken@dolphins1123
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
Name/description match the behavior: the SKILL.md and scripts fetch a URL and prepare a translation prompt. However both scripts call the external command 'web_fetch' while the skill metadata lists no required binaries — a mismatch that could cause runtime failure or hide an undeclared dependency. Everything else (no unrelated creds or services) is consistent.
Instruction Scope
SKILL.md instructs the agent to fetch arbitrary API-doc URLs and send the content to the LLM for translation — this is within the stated purpose. Note: fetching arbitrary URLs means the skill will retrieve remote content and then send that content to an LLM; users should be aware this transmits document contents to whatever model/service the agent uses.
Install Mechanism
No install spec (instruction-only) which is low-risk. But two helper scripts are included that rely on 'web_fetch'; because there's no install or declared dependency, the runtime could fail or silently depend on a platform-provided 'web_fetch'. Confirm where 'web_fetch' comes from and that it is a trusted implementation.
Credentials
The skill requests no environment variables or credentials. That is proportionate for a translation-only tool. However the skill will send fetched document contents to the LLM — there is no credential leakage in the files, but sensitive documents will be transmitted to the model.
Persistence & Privilege
always:false and no install-time configuration changes are requested. The skill does not request elevated persistence or modify other skills/config—no privilege concerns found.
What to consider before installing
This skill appears to do what it says (fetch a URL and prepare content for an LLM to translate), but review the following before installing:
- Confirm 'web_fetch' availability and provenance: both included scripts call the external command 'web_fetch' but the skill metadata does not declare it as a required binary or install step. Ensure your environment provides a trusted 'web_fetch' implementation or add an explicit dependency.
- Understand data flow: the skill will retrieve the full contents of any URL you supply and send it to the agent's LLM for translation. Do not use it on private/confidential API docs unless you are comfortable sending those documents to your LLM provider.
- Test in a sandbox: run the provided scripts in a controlled environment to verify behavior and to see exactly what is transmitted to the model/tooling.
- If you need offline or private translation, consider modifying the workflow to run a local translation model or to sanitize/redact sensitive fields before sending.
If you confirm 'web_fetch' is a trusted platform tool and you are comfortable with sending documents to your LLM, the skill is reasonably coherent; otherwise treat it as untrusted until those concerns are addressed.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.1.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
📝 Clawdis
SKILL.md
API 文件翻譯助手
將 API 文檔翻譯成繁體中文(使用 LLM)。
使用方法
當用戶要求翻譯 API 文檔時:
- 使用
web_fetch工具抓取 API 文檔內容 - 將內容發送給 LLM 翻譯
- 輸出翻譯結果
翻譯 Prompt 模板
請將以下 API 文檔翻譯成繁體中文(台灣用語),保持 Markdown 格式和程式碼不變,只翻譯說明文字:
[API 文檔內容]
翻譯要求
- 保持 Markdown 格式
- 保持程式碼不變
- 只翻譯說明文字
- 使用台灣用語:
- 軟體 → 軟體
- 網路 → 網路
- 數據 → 資料
- 請求 → 請求
- 響應 → 回應
- 錯誤 → 錯誤
- 認證 → 驗證
- 授權 → 授權
- 終端 → 端點
增強功能 (v1.1.0)
支援格式
- HTML 網頁 (自動提取內容)
- JSON API 回應
- Markdown 文件
翻譯選項
| 參數 | 說明 |
|---|---|
| --format | 輸出格式 (markdown/json/txt) |
| --preserve-code | 是否保留程式碼 (預設 true) |
| --taiwan | 使用台灣用語 (預設 true) |
批次翻譯
支援多個 URL 批次翻譯:
翻譯以下 API 文檔:
- https://example.com/api/v1/docs
- https://example.com/api/v2/docs
範例
輸入: 用戶給你 https://platform.openai.com/docs/api-reference/introduction
輸出: 翻譯後的繁體中文 API 文檔
本技能由 OpenClaw 團隊開發
Files
4 totalSelect a file
Select a file to preview.
Comments
Loading comments…
