azure-ai-translation-ts

azure-ai-translation-ts is a skill for Claude Code from Ghosteken/agent-harness. It costs 15 tokens per session (1,704 once invoked), scanned A, a copy of azure-ai-translation-ts, MIT.

TypeScript clients for Azure's text and document translation services, including translation of text and formatted files.

In plain words
What is it for?
Use it to translate user-facing text, detect languages, convert writing between scripts, or translate documents.
Why use it?
It avoids building separate HTTP request code for translating application text and documents.

Skill for Claude Code

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

Part of the agent-harness plugin — 173 skills, 17 commands, 12 agents shipped together

Good fit Use it to translate user-facing text, detect languages, convert writing between scripts, or translate documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ghosteken/agent-harness/azure-ai-translation-ts
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 Ghosteken/agent-harness --skill azure-ai-translation-ts
Clone the repo
git clone --depth 1 https://github.com/Ghosteken/agent-harness

Made for: Claude Code.

Or install agent-harness, the plugin that ships this one along with the rest of its 173 skills, 17 commands, 12 agents.

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-ts

README.md
[![agentmods](https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-ai-translation-ts/github.svg)](https://agentmods.dev/skills/ghosteken/agent-harness/azure-ai-translation-ts)
Your own site
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/azure-ai-translation-ts"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-ai-translation-ts/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-ts

Your own site · 80×15
<a href="https://agentmods.dev/skills/ghosteken/agent-harness/azure-ai-translation-ts"><img src="https://agentmods.dev/badge/skills/ghosteken/agent-harness/azure-ai-translation-ts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,704 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 88% 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.00015 $0.01704
Opus 5.5 $0.00006 $0.00682
Sonnet 5.5 $0.00003 $0.00341
Haiku 4.5 $0.00002 $0.00170

Measured 1mo ago against content hash 92602da4654e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

azure-ai-translation-ts 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 1mo 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

88% identical to azure-ai-translation-ts — 5 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.

archive/skills-community/azure-ai-translation-ts/SKILL.md · 297 lines

How it starts

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

Azure Translation SDKs for TypeScript

Text and document translation with REST-style clients.

Installation

# Text translation
npm install @azure-rest/ai-translation-text @azure/identity

# Document translation
npm install @azure-rest/ai-translation-document @azure/identity

Environment Variables

TRANSLATOR_ENDPOINT=https://api.cognitive.microsofttranslator.com
TRANSLATOR_SUBSCRIPTION_KEY=<your-api-key>
TRANSLATOR_REGION=<your-region>  # e.g., westus, eastus

Text Translation Client

Authentication

import TextTranslationClient, { TranslatorCredential } from "@azure-rest/ai-translation-text";

// API Key + Region
const credential: TranslatorCredential = {
  key: process.env.TRANSLATOR_SUBSCRIPTION_KEY!,
  region: process.env.TRANSLATOR_REGION!,
};
const client = TextTranslationClient(process.env.TRANSLATOR_ENDPOINT!, credential);

// Or just credential (uses global endpoint)
const client2 = TextTranslationClient(credential);

Translate Text

import TextTranslationClient, { isUnexpected } from "@azure-rest/ai-translation-text";

const response = await client.path("/translate").post({
  body: {
    inputs: [
      {
        text: "Hello, how are you?",
        language: "en",  // source (optional, auto-detect)
        targets: [
          { language: "es" },
          { language: "fr" },
        ],
      },
    ],
  },
});

if (isUnexpected(response)) {
  throw response.body.error;
}

for (const result of response.body.value) {
  for (const translation of result.translations) {
    console.log(`${translation.language}: ${translation.text}`);
  }
}

Translate with Options

const response = await client.path("/translate").post({
  body: {
    inputs: [
      {
        text: "Hello world",
        language: "en",
        textType: "Plain",  // or "Html"
        targets: [
          {
            language: "de",
            profanityAction: "NoAction",  // "Marked" | "Deleted"
            tone: "formal",  // LLM-specific
          },
        ],
      },
    ],
  },
});

Read the full file on GitHub · 297 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. 1mo ago First seen · 297 lines · 15 tokens per session scan A 92602da4654e

Subscribe to this mod's changes

azure-ai-translation-ts is a skill published in the GitHub repository Ghosteken/agent-harness (4 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 1,704 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to azure-ai-translation-ts, differing in 5 lines, and is treated as a copy.

Related

Other skills, from other repositories

content-rewriter

Cross-platform content repurposer. Takes one piece of content and rewrites it for multiple Chinese social media platforms, adapting tone, format, length, and style.

aAAaqwq/AGI-Super-Team · 37 tokens

alibaba-cloud-translation-manager

Manage Alibaba Cloud TongyiTranslate (AnyTrans) via OpenAPI/SDK. Use whenever the user needs translation service resource operations in Alibaba Cloud, including list/create/update actions, task status checks, and troubleshooting AnyTrans API workflows.

rondoflow/rondoflow · 53 tokens

locale-adaptation

Use when content must be rewritten for a specific region or language while preserving intent and tone—adapt idiom, dialect, register, cultural references, and protected glossary terms; flag meanings that cannot transfer cleanly. Not for literal word-for-word translation.

mtarcure/claude-vibe-squad · 54 tokens

accurate-format-preserving-translation

Translate text accurately — preserve formatting, handle plurals, and adapt tone per locale.

rondoflow/rondoflow · 25 tokens

gemini-omni-video

Plan and generate or edit video effectively with Google Gemini Omni Flash through current fal.ai endpoints. Use when a production selects or considers Gemini Omni, Google Omni, or Gemini Omni Flash for text-to-video, image-to-video, reference-to-video, conversational video editing, localized revisions, multimodal…

manishiitg/coding-agent-loop · 88 tokens

localisation

Use when the product ships in more than one locale, or when a string, date, number, currency or layout could differ by region — by ux-architect when the locale set changes navigation, by privacy-reviewer when region determines obligation, and by any IC writing a user-visible string. Triggers on the first string, not…

vmobifystudio/app-dev-team · 74 tokens