Translator

From jegly/Box · View interactive version

Translator is an AI agent skill from the GitHub repository jegly/Box. Translates text between languages. Use this when the user wants to translate a word, phrase, or passage into another language.

How to use this skill

Skill file

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:

2. View History

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

3. Clear History

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


Rules

Sample Commands

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.