azure-ai-translation-text-py

azure-ai-translation-text-py is a skill for Claude Code from lucaspmarie-a11y/claude-skills-vault. It costs 37 tokens per session (1,646 once invoked), scanned A, a copy of azure-ai-translation-text-py, MIT.

A Python client library for translating text between languages and performing related language tasks. It can also detect languages, convert writing between scripts, and look up dictionary entries.

In plain words
What is it for?
Use it to translate text in applications, identify the language of incoming text, convert transliterations, or retrieve dictionary information.
Why use it?
It avoids implementing language detection, translation workflows, and script conversion yourself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the antigravity-awesome-skills plugin — 199 skills shipped together

Good fit Use it to translate text in applications, identify the language of incoming text, convert transliterations, or retrieve dictionary information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lucaspmarie-a11y/claude-skills-vault --skill azure-ai-translation-text-py
Clone the repo
git clone --depth 1 https://github.com/lucaspmarie-a11y/claude-skills-vault

Made for: Claude Code.

Or install antigravity-awesome-skills, the plugin that ships this one along with the rest of its 199 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-ai-translation-text-py

README.md
[![agentmods](https://agentmods.dev/badge/skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py/github.svg)](https://agentmods.dev/skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py)
Your own site
<a href="https://agentmods.dev/skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py"><img src="https://agentmods.dev/badge/skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-ai-translation-text-py

Your own site · 80×15
<a href="https://agentmods.dev/skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py"><img src="https://agentmods.dev/badge/skills/lucaspmarie-a11y/claude-skills-vault/azure-ai-translation-text-py.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01646
Opus 5 $0.00018 $0.00823
Sonnet 5 $0.00007 $0.00329
Haiku 4.5 $0.00004 $0.00165

Measured 8d ago against content hash e339242c343a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

azure-ai-translation-text-py scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to azure-ai-translation-text-py — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/antigravity-awesome-skills-claude/skills/azure-ai-translation-text-py/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure AI Text Translation SDK for Python

Client library for Azure AI Translator text translation service for real-time text translation, transliteration, and language operations.

Installation

pip install azure-ai-translation-text

Environment Variables

AZURE_TRANSLATOR_KEY=<your-api-key>
AZURE_TRANSLATOR_REGION=<your-region>  # e.g., eastus, westus2
# Or use custom endpoint
AZURE_TRANSLATOR_ENDPOINT=https://<resource>.cognitiveservices.azure.com

Authentication

API Key with Region

import os
from azure.ai.translation.text import TextTranslationClient
from azure.core.credentials import AzureKeyCredential

key = os.environ["AZURE_TRANSLATOR_KEY"]
region = os.environ["AZURE_TRANSLATOR_REGION"]

# Create credential with region
credential = AzureKeyCredential(key)
client = TextTranslationClient(credential=credential, region=region)

API Key with Custom Endpoint

endpoint = os.environ["AZURE_TRANSLATOR_ENDPOINT"]

client = TextTranslationClient(
    credential=AzureKeyCredential(key),
    endpoint=endpoint
)

Entra ID (Recommended)

from azure.ai.translation.text import TextTranslationClient
from azure.identity import DefaultAzureCredential

client = TextTranslationClient(
    credential=DefaultAzureCredential(),
    endpoint=os.environ["AZURE_TRANSLATOR_ENDPOINT"]
)

Basic Translation

# Translate to a single language
result = client.translate(
    body=["Hello, how are you?", "Welcome to Azure!"],
    to=["es"]  # Spanish
)

for item in result:
    for translation in item.translations:
        print(f"Translated: {translation.text}")
        print(f"Target language: {translation.to}")

Translate to Multiple Languages

result = client.translate(
    body=["Hello, world!"],
    to=["es", "fr", "de", "ja"]  # Spanish, French, German, Japanese
)

for item in result:
    print(f"Source: {item.detected_language.language if item.detected_language else 'unknown'}")
    for translation in item.translations:
        print(f"  {translation.to}: {translation.text}")

Read the full file on GitHub · 278 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 278 lines · 37 tokens per session scan A e339242c343a

Subscribe to this mod's changes

azure-ai-translation-text-py is a skill published in the GitHub repository lucaspmarie-a11y/claude-skills-vault (5 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 1,646 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to azure-ai-translation-text-py, differing in 6 lines, and is treated as a copy.

Related

Other skills, from other repositories

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens