📦 Aliyun Anytrans Translate — 技能工具

v1.0.0

[自动翻译] Use when managing Alibaba Cloud TongyiTranslate (AnyTrans) via OpenAPI/SDK, including the user needs translation service resource operations in Alibab...

0· 55·0 当前·0 累计
by @cinience·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/1
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's files and instructions are consistent with a tool for discovering and calling Alibaba Cloud AnyTrans (TongyiTranslate) OpenAPI metadata and APIs; it does request access to Alibaba credentials (via env vars or shared config) which is coherent for its purpose but the registry metadata omitted these declarations.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/1

Initial release of aliyun-anytrans-translate skill. - Provides guidance for managing Alibaba Cloud TongyiTranslate (AnyTrans) resources via OpenAPI and SDK. - Documents workflow for listing, creating, updating, and troubleshooting translation service resources. - Describes required access key setup, API discovery methods, and evidence handling. - Includes validation steps and prerequisites for secure and reproducible use. - Outputs all artifacts and response summaries to a dedicated directory for traceability.

无害

安装命令

点击复制
官方npx clawhub@latest install aliyun-anytrans-translate
🇨🇳 镜像加速npx clawhub@latest install aliyun-anytrans-translate --registry https://cn.longxiaskill.com

技能文档

Category: service

# TongyiTranslate

Use Alibaba Cloud OpenAPI (RPC) with official SDKs or OpenAPI Explorer to manage resources for TongyiTranslate.

Workflow

1) Confirm region, resource identifiers, and desired action. 2) Discover API list and required parameters (see references). 3) Call API with SDK or OpenAPI Explorer. 4) Verify results with describe/list APIs.

AccessKey priority (must follow)

1) Environment variables: ALICLOUD_ACCESS_KEY_ID / ALICLOUD_ACCESS_KEY_SECRET / ALICLOUD_REGION_ID Region policy: ALICLOUD_REGION_ID is an optional default. If unset, decide the most reasonable region for the task; if unclear, ask the user. 2) Shared config file: ~/.alibabacloud/credentials

API discovery

  • Product code: AnyTrans
  • Default API version: 2025-07-07
  • Use OpenAPI metadata endpoints to list APIs and get schemas (see references).

High-frequency operation patterns

1) Inventory/list: prefer List / Describe APIs to get current resources. 2) Change/configure: prefer Create / Update / Modify / Set APIs for mutations. 3) Status/troubleshoot: prefer Get / Query / DescribeStatus APIs for diagnosis.

Minimal executable quickstart

Use metadata-first discovery before calling business APIs:

python scripts/list_openapi_meta_apis.py

Optional overrides:

python scripts/list_openapi_meta_apis.py --product-code  --version 

The script writes API inventory artifacts under the skill output directory.

Output policy

If you need to save responses or generated artifacts, write them under: output/aliyun-anytrans-translate/

Validation

mkdir -p output/aliyun-anytrans-translate
for f in skills/ai/translation/aliyun-anytrans-translate/scripts/.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-anytrans-translate/validate.txt

Pass criteria: command exits 0 and output/aliyun-anytrans-translate/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/aliyun-anytrans-translate/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

Prerequisites

  • Configure least-privilege Alibaba Cloud credentials before execution.
  • Prefer environment variables: ALICLOUD_ACCESS_KEY_ID, ALICLOUD_ACCESS_KEY_SECRET, optional ALICLOUD_REGION_ID.
  • If region is unclear, ask the user before running mutating operations.

References

  • Sources: references/sources.md
数据来源:ClawHub ↗ · 中文优化:龙虾技能库