Skip to content
Back to skills

Token Saver

ASecurity

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.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
data-aibash

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add lyymuwu/TokTrans --skill token-saver --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Token Saver?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Token Saver
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lyymuwu-token-saver/badge)](https://www.skillsdirectory.com/skills/lyymuwu-token-saver)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: token-saver
description: 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.
---

# 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 exec` is 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:

```bash
./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
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.