Use this skill for file translation with trans-cli (Baidu LLM File Translation API). Covers the submit → poll → download async workflow, requestId lifecycle,...
Security Analysis
medium confidenceThis is a coherent Baidu file-translation helper, but it relies on an external CLI, a Baidu API key, and sending selected documents to Baidu.
The documented purpose and behavior align: submit a file to Baidu translation, poll for completion, and download the result. Users should notice that document contents are processed by an external provider.
The workflow is narrowly scoped to trans-cli file submit/query/download commands and includes bounded polling guidance such as an agent-level timeout.
The registry says there is no install spec, while SKILL.md metadata references installing an external npm package for the trans binary. The package code and version are not included in the artifacts.
TRANS_API_KEY is proportionate for Baidu API use, but it is a sensitive account credential and should be handled carefully.
The skill only describes saving request_id values for resuming jobs and notes that file_url expires after 30 days; there is no evidence of background persistence or self-propagation.
Guidance
This skill appears purpose-aligned and safe to use for its stated task. Before installing or using it, verify the trans-cli package source, protect your TRANS_API_KEY, and only submit documents that your privacy or workplace rules allow you to send to Baidu.
Latest Release
v1.0.0
baidu-file-translate 1.0.0 - Initial release for async Baidu file translation via trans-cli. - Implements submit → poll → download workflow for document translation. - Supports error handling for common scenarios (e.g., DOC_FAILED, AUTH_FAILED, WAIT_TIMEOUT). - Lists all accepted file formats: docx, pdf, xlsx, pptx, html, txt, xml, md. - Provides Agent-safe polling and guidance for managing requestId and job state. - Documentation covers command usage, options, JSON output, and troubleshooting.
Popular Skills
Published by @baidu-translate on ClawHub