Skip to content
Productivity
Skill

/translator

Translates text between languages. Use this when the user wants to translate a word, phrase, or passage into another language.

From plugin
box
1k14 skills

Claude Code

$ npx -y skills add jegly/Box --skill translator --agent claude-code

SKILL.md

translator.SKILL.md
name: translator
description: Translates text between languages. Use this when the user wants to translate a word, phrase, or passage into another language.

Translator

Instructions

The `translator` skill translates text between any pair of languages. **You** perform the translation using your own knowledge, then call `run_js` to display the result and save it to the local history.

Workflow for every translation request

1. Identify the source language (detect it automatically if not specified — note it as "Auto-detected"). 2. Identify the target language from the user's request. 3. **Translate the text yourself.** 4. Call `run_js` with `index.html` to display the result and persist it.

---

Actions

1. Translate

When a user wants to translate text, call `run_js` with:

  • **script name**: `index.html`
  • **data**: JSON string with:
  • `action`: `"translate"`
  • `original`: String — the original text exactly as the user provided it
  • `translated`: String — your translation
  • `source_lang`: String — detected or specified source language (e.g. `"English"`, `"Auto-detected"`)
  • `target_lang`: String — target language (e.g. `"French"`, `"Japanese"`)

2. View History

When a user asks to see their translation history, call `run_js` with:

  • **script name**: `index.html`
  • **data**: JSON string with:
  • `action`: `"history"`

3. Clear History

When a user wants to clear their translation history, call `run_js` with:

  • **script name**: `index.html`
  • **data**: JSON string with:
  • `action`: `"clear"`

---

Rules

  • Always translate **before** calling `run_js` — never call `run_js` with an empty `translated` field.
  • If the user asks to translate into multiple languages, make one `run_js` call per language.
  • If the source and target language appear to be the same, ask the user to clarify.
  • All history is stored locally on the device.

Sample Commands

  • "Translate 'Good morning' to Spanish"
  • "How do you say 'thank you' in Japanese?"
  • "Translate this paragraph to French: ..."
  • "What is 'Bonjour' in English?"
  • "Show my translation history"
  • "Clear my translation history"
Read more
@jegly
Ships withbox

What makes Box unique? You can sit at your desk, tap two buttons, and have a real flowing voice conversation with an AI — no wake word, no account, no server, no subscription.

Stars on GitHub

Momentum

stars in total
1.0k
Star history of jegly/Box on GitHub, a chart by star-history.com

Other skills on box.

budget-tracker

budget-tracker

Track daily expenses and income. Use when the user wants to log spending, record a purchase, add income, or see a budget summary.

@jegly@jeglyInstall Skill
calculate-hash

calculate-hash

Calculate the cryptographic hash of a given text. Supports SHA-1, SHA-256, SHA-384, and SHA-512.

@jegly@jeglyInstall Skill
mood-tracker

mood-tracker

A simple mood tracking skill that stores your daily mood and comments. Use this when the user wants to log their mood, track how…

@jegly@jeglyInstall Skill
password-generator

password-generator

Generate a secure random password. Use when the user asks to generate, create, or make a password.

@jegly@jeglyInstall Skill

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

pm-skills12d28k
@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about translator.

Which coding agents can use translator?
translator installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.