China Travel Kit
tczyliu/china-travel-kit
Research and plan first-time independent trips in China with bilingual, source-aware city data and official live-check entry points.
iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages.
$ npx skills add iflytek/iFly-Skills --skill iflytek-translate -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install iflytek/iFly-Skills iflytek-translate --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/iflytek/iFly-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/iflytek-translate .claude/skills/iflytek-translate && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "iflytek-translate" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translate into .claude/skills/iflytek-translate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-translate", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add iflytek/iFly-Skills --skill iflytek-translate -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install iflytek/iFly-Skills iflytek-translate --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/iFly-Skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/iflytek-translate .agents/skills/iflytek-translate && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "iflytek-translate" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translate into .agents/skills/iflytek-translate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-translate", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add iflytek/iFly-Skills --skill iflytek-translate -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install iflytek/iFly-Skills iflytek-translate --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/iFly-Skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/iflytek-translate .cursor/skills/iflytek-translate && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "iflytek-translate" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translate into .cursor/skills/iflytek-translate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-translate", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/iflytek/iFly-Skills.git --path skills/iflytek-translate--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add iflytek/iFly-Skills --skill iflytek-translate -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install iflytek/iFly-Skills iflytek-translate --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/iFly-Skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/iflytek-translate .gemini/skills/iflytek-translate && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "iflytek-translate" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translate into .gemini/skills/iflytek-translate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-translate", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install iflytek/iFly-Skills iflytek-translateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add iflytek/iFly-Skills --skill iflytek-translate -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/iflytek/iFly-Skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/iflytek-translate .github/skills/iflytek-translate && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "iflytek-translate" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translate into .github/skills/iflytek-translate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-translate", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add iflytek/iFly-Skills --skill iflytek-translate -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install iflytek/iFly-Skills iflytek-translate --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/iflytek/iFly-Skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/iflytek-translate .opencode/skills/iflytek-translate && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "iflytek-translate" agent skill from https://github.com/iflytek/iFly-Skills/tree/main/skills/iflytek-translate into .opencode/skills/iflytek-translate/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iflytek-translate", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
iflytek-translateiFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages.
Iflytek Translate is an agent skill from iflytek/iFly-Skills. iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages. Use when the user wants to translate text. Pure Python stdlib, no pip dependencies.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `README.md`, `_meta.json` and `scripts/translate.py`).
It sits in Writing & Content, covering Translation. It works with Python. The repository describes itself as: Official collection of iFLYTEK skills for speech, OCR, translation, proofreading, and multimodal AI capabilities. The licence is Apache-2.0.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 58dc114. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
itrans.xfyun.cnAlso links to:
console.xfyun.cnxfyun.cnFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
IFLY_API_KEYIFLY_API_SECRETAPI_KEYAPI_SECRETFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Iflytek Translate loads about 1.5k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 370 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from iflytek/iFly-Skills at commit 58dc114, republished under its Apache-2.0 licence (© iflytek). 370 words, ~1,469 tokens.
.claude/skills/iflytek-translate/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Translate text using iFlytek's Machine Translation API (机器翻译). Supports 70+ language pairs.
export IFLY_APP_ID="your_app_id"
export IFLY_API_KEY="your_api_key"
export IFLY_API_SECRET="your_api_secret"兼容说明:设置任意
IFLY_*凭证变量(包括空值)后,仅使用该组,缺项报错;未设置标准组时,依次尝试XFYUN_*、XFEI_*,不跨组拼接。旧前缀会在 stderr 输出一次不含凭证值的迁移提示。
python3 scripts/translate.py "你好世界"python3 scripts/translate.py -s en -t cn "Hello world"echo "こんにちは" | python3 scripts/translate.py - -s ja -t cnpython3 scripts/translate.py -f document.txt -s cn -t en| Flag | Short | Description |
|---|---|---|
text | Text to translate (use - for stdin) | |
--file | -f | Read text from a file |
--from | -s | Source language code (default: cn) |
--to | -t | Target language code (default: en) |
--verbose | -v | Show source/target language labels |
--raw | Output raw JSON response |
| Code | Language | Code | Language |
|---|---|---|---|
cn | 中文 | en | English |
ja | 日语 | ko | 韩语 |
fr | 法语 | de | 德语 |
es | 西班牙语 | ru | 俄语 |
ar | 阿拉伯语 | th | 泰语 |
vi | 越南语 | pt | 葡萄牙语 |
it | 意大利语 | tr | 土耳其语 |
Aliases are supported: zh→cn, chinese→cn, english→en, japanese→ja, etc.
Full language list: https://www.xfyun.cn/doc/nlp/xftrans/API.html
# Chinese to English
python3 scripts/translate.py "人工智能改变世界"
# English to Chinese
python3 scripts/translate.py -s en -t cn "Artificial intelligence changes the world"
# Japanese to Chinese
python3 scripts/translate.py -s ja -t cn "おはようございます"
# Verbose output with language labels
python3 scripts/translate.py -v "你好"
# Raw JSON for debugging
python3 scripts/translate.py --raw "测试翻译"--verbose: shows source and target with language labels--raw: full API JSON responsePOST https://itrans.xfyun.cn/v2/itsIFLY_APP_ID, IFLY_API_KEY, IFLY_API_SECRETurllib, hmac, hashlib, json, etc.)答:支持文本到文本的机器翻译 ✨
答:目前支持包括英、日、法、西、俄等70多种语言,详细的语种可见 语种列表~
答:目前仅支持webapi接口哦 (,,•́ . •̀,,)
答:单次文本长度不得超过4096字节~
答:目前不支持,后续会开放,新消息请关注平台动态 (◕‿◕)
答:机器翻译产品页对应产品价格 → 点击申请购买,填好相关信息,商务工作人员会及时与您联系~
表现:返回 401 Unauthorized 或 authentication error
可能原因:
解决方法:
export IFLY_APP_ID="你的APP_ID"
export IFLY_API_KEY="你的API_KEY"
export IFLY_API_SECRET="你的API_SECRET"表现:返回 403 Forbidden 或提示服务未开通
可能原因:
解决方法:
表现:返回 402 Payment Required 或提示额度不足
可能原因:
解决方法:
表现:返回错误提示文本过长
可能原因:
解决方法:
表现:连接超时或网络错误
可能原因:
解决方法:
itrans.xfyun.cn 是否可访问ping itrans.xfyun.cn表现:返回语种错误或无法识别
可能原因:
解决方法:
cn、en、jaQ: 为什么翻译结果返回为空?
A: 检查一下输入的文本是否为空,或者是否包含特殊字符导致编码问题哦~ (。・`ω´・)
Q: 翻译速度很慢怎么办?
A: 可以检查一下网络状况,或者将长文本拆分处理~
Q: 如何查看我的使用量?
A: 登录 讯飞控制台 即可查看详细的使用统计和账单信息!
💡 小提示:
© iflytek, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in skills/iflytek-translate of iflytek/iFly-Skills.
Open the folder on GitHubat commit 58dc114
Iflytek Translate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Iflytek Translate this skilliflytek/iFly-Skills | 209 | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| China Travel Kittczyliu/china-travel-kit | 194 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Technology Searchfreestylefly/wesight | 943 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Translate Popython/python-docs-zh-tw | 284 | — | ~793 | Automated safety check: Pass | Custom licence | |
| Obs Build LogsNuitka/Nuitka | 15k | — | ~849 | Automated safety check: Pass | AGPL-3.0 | |
| Update Gui TranslationsArduPilot/MethodicConfigurator | 163 | — | ~1.5k | Automated safety check: Pass | GPL-3.0 |
tczyliu/china-travel-kit
Research and plan first-time independent trips in China with bilingual, source-aware city data and official live-check entry points.
freestylefly/wesight
Search tech blogs, developer forums, and IT media (TechCrunch, Hacker News, 36氪, etc.) for software and hardware industry updates with heat ranking and EN↔CN translation.
python/python-docs-zh-tw
Translates PO file entries from English to Traditional Chinese (zhTW) following project conventions.
Nuitka/Nuitka
Access and diagnose openSUSE Build Service (OBS) package build logs.
ArduPilot/MethodicConfigurator
Update existing GUI translations using AI assistance. An agent skill from ArduPilot/MethodicConfigurator.
python/python-docs-zh-tw
Checks terminology consistency against project glossary and identifies zhCN terms that need conversion to zhTW.
iflytek/iFly-Skills
生成"黑墨手绘涂鸦"风格的动画架构图/流程图:米色纸面、针管笔墨线、极淡水洗色块、简笔涂鸦图标、序号章、连线上的流动圆点动画、图标微动效。产出单文件自包含动画 HTML(SVG+CSS),可一键导出无缝循环 GIF。当用户想画架构图、流程图、信息图、技术示意图、对比图、pipeline/workflow 可视化,或提到"手绘风""涂鸦风""动图""animated diagram""GIF…
iflytek/iFly-Skills
A skill your agent uses when user asks to review contracts, detect contract risks, or perform compliance checks.
iflytek/iFly-Skills
A skill your agent uses when user asks to synthesize speech, convert text to audio, or read text aloud.
iflytek/iFly-Skills
A skill your agent uses when user asks to analyze an image, describe image contents, or answer questions about a picture.
iflytek/iFly-Skills
A skill your agent uses when user asks to recognize invoices, extract receipt data, or OCR bills and tickets.
iflytek/iFly-Skills
ifly-pdf-image-ocr skill supporting both image OCR (AI-powered LLM OCR) and PDF document recognition.
Works with
Categories
iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages. Iflytek Translate is an agent skill from iflytek/iFly-Skills. iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages.
Iflytek Translate fits situations like: the user wants to translate text; tasks that involve Translation.
Run `npx skills add iflytek/iFly-Skills --skill iflytek-translate -a claude-code`. Or copy the skill folder (skills/iflytek-translate in iflytek/iFly-Skills) into .claude/skills/iflytek-translate in your project. Claude Code loads it when a task matches its description.
Run `npx skills add iflytek/iFly-Skills --skill iflytek-translate -a codex`. Or copy the skill folder (skills/iflytek-translate in iflytek/iFly-Skills) into .agents/skills/iflytek-translate in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add iflytek/iFly-Skills --skill iflytek-translate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/iflytek-translate, .gemini/skills/iflytek-translate, .github/skills/iflytek-translate and .opencode/skills/iflytek-translate in your project.
Going by SKILL.md and its folder, Iflytek Translate needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named IFLY_API_KEY, IFLY_API_SECRET, API_KEY and API_SECRET. Our summary lists: Python 3; A credential in IFLY_API_KEY; A credential in IFLY_API_SECRET.
SKILL.md names 3 domains. In commands or code: itrans.xfyun.cn; the agent is likely to contact it when it follows the instructions. As links in the text: console.xfyun.cn and xfyun.cn. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Iflytek Translate is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Iflytek Translate: China Travel Kit (tczyliu/china-travel-kit, 194 stars), Technology Search (freestylefly/wesight, 943 stars), Translate Po (python/python-docs-zh-tw, 284 stars) and Obs Build Logs (Nuitka/Nuitka, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
iflytek (a GitHub organization) maintains it in iflytek/iFly-Skills, which has 209 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 7, 2026.
Source: iflytek/iFly-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.