Translation (Azure AI Translator)
@microsoftMicrosoft's official skill that teaches coding agents to translate text with the Azure AI Translator Python SDK: translate, detect language, transliterate and look up dictionary entries.
Low risk: a Markdown-only SDK guide; any network traffic goes to your own Azure Translator resource from code you ask the agent to write.
Install Translation (Azure AI Translator) in Google Antigravity
Antigravity loads skills from .agents/skills/ in your project or ~/.gemini/config/skills/ for all projects (official docs). Full guide
Install the "Translation (Azure AI Translator)" skill for Google Antigravity. Follow the steps at https://www.antigravityskills.org/install/translation.md (source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-python/skills/azure-ai-translation-text-py). Before running anything, show me what you will download and whether it includes scripts, and wait for my OK. Install it into this project (.agents/skills/) unless I say global. When done, check that Antigravity lists it as an installed skill.
The agent reads the install file, shows you what it will download and waits for your OK.
Option 2: install it yourself
- 1. Clone the source repository
git clone --depth 1 https://github.com/microsoft/skills /tmp/ms-skills
Clone to a temporary folder so you can copy the skill out of it.
- 2. Copy into this project
mkdir -p .agents/skills && cp -r /tmp/ms-skills/.github/plugins/azure-sdk-python/skills/azure-ai-translation-text-py .agents/skills/
Run from your project root. Antigravity reads workspace skills from .agents/skills/<folder>/.
- 3. Or copy it for all projects
mkdir -p ~/.gemini/config/skills && cp -r /tmp/ms-skills/.github/plugins/azure-sdk-python/skills/azure-ai-translation-text-py ~/.gemini/config/skills/
Global skills live in ~/.gemini/config/skills/.
- 4. Check that Antigravity sees it
Start a new session and ask "What skills do you have?" (Antigravity CLI: /skills). azure-ai-translation-text-py should appear.
The microsoft/skills README does not mention Antigravity; this is a manual copy of the skill folder. The code it produces needs pip install azure-ai-translation-text (plus azure-identity for Entra ID) and an Azure Translator resource with its endpoint, or key and region, in environment variables.
Using Claude Code, Cursor or Codex? See other assistants below.
What is Translation (Azure AI Translator)?
How to use Translation (Azure AI Translator)?
Key features of Translation (Azure AI Translator)
- ✓Translate one or many texts into one or several target languages in one call
- ✓Language detection with a confidence score (shown through translate results)
- ✓Transliteration between scripts, for example Latin to Japanese
- ✓Dictionary lookup and dictionary usage examples
- ✓Options: HTML text type, profanity handling and markers, word alignment, sentence lengths
- ✓Sync and async clients, Entra ID (DefaultAzureCredential) and legacy key-plus-region auth
When to use Translation (Azure AI Translator)
- 1Prompt from the repository's own test scenarios (tests/scenarios/azure-ai-translation-text-py): "Create a basic example that translates English text to Spanish and French. Include proper authentication with Entra ID credentials, client initialization, and proper handling of the translation results." The expected code uses DefaultAzureCredential, TextTranslationClient and translate(..., to=["es", "fr"]).
- 2Test-scenario prompt: "Create an example that converts text from one script to another using transliteration. Show converting Japanese text written in Latin characters to Japanese script." Expect client.transliterate with from_script "Latn" and to_script "Jpan".
- 3Our example: "Write a script that reads strings.json and translates every value into es, fr, de and ja with Azure AI Translator, batching up to 100 strings per request." Expect a with-block client, batched translate calls and output files per language; your Azure resource is billed for the characters sent.
Installation & Setup Guide
Agent Rules / Prompt SetupFollow these steps (taken from the project's own docs) to configure Translation (Azure AI Translator) in your development environment.
npx skills add microsoft/skills
README, Quick Start: pick azure-ai-translation-text-py in the wizard and choose your agent; the skill is copied to that agent's folder (the README's example is .github/skills/ for GitHub Copilot). The README does not name Claude Code, Cursor or Codex individually.
git clone https://github.com/microsoft/skills.git && cp -r skills/.github/plugins/azure-sdk-python/skills/azure-ai-translation-text-py <your-agent-skills-folder>/
README, Quick Start, Manual installation: clone and copy the skill folders you need. .github/skills/azure-ai-translation-text-py in the repo is a symlink to this plugin folder.
ln -s ../.github/skills .claude/skills
README, Manual installation: share a project's .github/skills folder with Claude Code by symlinking it as .claude/skills. Cursor and Codex paths are not documented in the README.
Usage Example & Verification
Create a basic example that translates English text to Spanish and French. Include proper authentication with Entra ID credentials, client initialization, and proper handling of the translation results. (from the repository's test scenarios)
Ask "What skills do you have?" in Antigravity (Antigravity CLI: /skills) (or ask which skills are loaded): azure-ai-translation-text-py should be listed. Then ask "translate text to German with Azure"; the agent should mention TextTranslationClient and AZURE_TRANSLATOR_ENDPOINT rather than a generic HTTP call.
Security Review
Static reviewLow risk: a Markdown-only SDK guide; any network traffic goes to your own Azure Translator resource from code you ask the agent to write.
Full review: scope, findings, risks
Static review on 2026-10-13 of microsoft/skills at commit 18eb319b121b92ea19ca911fc3bd4cc53769bb1c, skill folder .github/plugins/azure-sdk-python/skills/azure-ai-translation-text-py (3 Markdown files, 17,798 bytes, MIT). SKILL.md instructs installing azure-ai-translation-text with pip and building TextTranslationClient inside context managers, with DefaultAzureCredential(require_envvar=True) and AZURE_TOKEN_CREDENTIALS=prod in production, or AzureKeyCredential with AZURE_TRANSLATOR_KEY and AZURE_TRANSLATOR_REGION for keyed deployments. There are no scripts, no hooks, no instructions to write files beyond the code you request and no endpoints other than Azure Translator. Static inspection only: we did not run the generated code.
Operational Notes & Known Limitations
Known Limitations
- •Needs an Azure Translator resource; usage is billed by Azure. Entra ID auth needs a custom-subdomain endpoint; the global endpoint needs a key and region.
- •Python only. Use the sibling azure-ai-translation-ts (TypeScript) or azure-ai-translation-document-py (whole documents) skills for those cases.
- •The two files disagree (we compared them): SKILL.md calls lookup_dictionary_entries with from_parameter= and to= and plain strings, while references/non-hero-scenarios.md uses from_language=, to_language= and InputTextItem objects. Check the parameter names against the SDK version you install.
- •The client-method table lists detect, but no snippet calls it; language detection is shown only through translate results.
- •Microsoft tests the skill (we counted 11 scenarios in tests/scenarios/azure-ai-translation-text-py, run with gpt-5.5 in the test config); passing those checks means the code matches expected patterns, not that it ran against Azure.
Frequently Asked Questions
Is the Azure AI Translation skill safe?
In our static review the folder holds only Markdown, no scripts. Code the agent writes from it sends your text to your Azure Translator resource and reads credentials from environment variables; the skill recommends Entra ID over API keys.
How do I install it in Antigravity?
Clone microsoft/skills and copy .github/plugins/azure-sdk-python/skills/azure-ai-translation-text-py into .agents/skills/ or ~/.gemini/config/skills/, then ask "What skills do you have?" (Antigravity CLI: /skills).
What do I need on Azure?
A Translator resource. For Entra ID auth, its custom-subdomain endpoint in AZURE_TRANSLATOR_ENDPOINT; for key auth on the global endpoint, AZURE_TRANSLATOR_KEY and AZURE_TRANSLATOR_REGION.
Can it translate whole documents?
No, this skill covers text. The same repository has azure-ai-translation-document-py for documents.
Supported Platforms
Keep exploring this topic
Browse the full Antigravity skills directory for more source-linked skills with install steps and static safety reviews.
Related Skills
Technical Writing
@anthropics
Anthropic's doc-coauthoring skill: a three-stage workflow in which the agent interviews you, drafts a spec or design doc section by section, then tests it on a fresh reader.
Image Generation (imagegen)
@openai
OpenAI's imagegen skill: generate or edit raster images (photos, mockups, sprites, cutouts) with GPT Image models via a bundled Python CLI.
Browser Use
@browser-use
Official Browser Use skill: lets AI agents control your local Chrome (or a Browser Use Cloud browser) over CDP through the browser-use CLI.
Popular Skills
View All →Agent Manager
@sickn33
Manage multiple local CLI agents via tmux sessions.
Systematic Debugging
@sickn33
Debug systematically, not randomly. Find and fix bugs methodically.
Browser Automation (Playwright)
@sickn33
Expert browser automation for cleaning scraping and reliable testing.