Token saver
Make multilingual Codex and Claude Code tasks clearer with a safe translation layer.
npx -y skills add lyymuwu/TokTrans --skill token-saverAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use TokTrans when a user wants Codex CLI prompts translated through a translation adapter, or wants to install, configure, diagnose, or uninstall the codex-ts wrapper.
SKILL.md
1.3 KB, as published. Nobody here has run it
TokTrans
TokTrans provides a local wrapper command, codex-ts, that keeps the official codex installation untouched.
Use it when:
- The user wants prompts in any natural language translated to English before Codex CLI receives them.
- The user wants final Codex answers translated back to their original language.
- The user asks to diagnose or safely uninstall the wrapper.
Important behavior:
codex-ts execis the reliable path. It captures the final assistant message with--output-last-message, translates only that final message, and preserves the original exit code.- Interactive TUI mode translates only the initial prompt and injects final-answer language guidance. Live streamed output filtering is best-effort until Codex exposes stable final-output hooks.
- If translation fails, the wrapper falls back to raw
codex. - The installer never overwrites official Codex binaries or unmanaged user files.
Typical commands:
./scripts/install.sh
codex-ts doctor
codex-ts exec "请帮我检查这个仓库的测试失败原因"
codex-ts exec "Por favor revisa por que fallan las pruebas"
./scripts/uninstall.sh --dry-run