Official agent skill

Azure AI Transcription Py

by microsoft in microsoft/skills

Azure AI Transcription SDK for Python. An agent skill from microsoft/skills.

OfficialMITAuto-check passedMedia & Creative

Install Azure AI Transcription Py

skills CLI
$ npx skills add microsoft/skills --skill azure-ai-transcription-py -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/skills azure-ai-transcription-py --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/plugins/azure-sdk-python/skills/azure-ai-transcription-py .claude/skills/azure-ai-transcription-py && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
azure-ai-transcription-py
GitHub stars
3.1k
Token cost
~1k tokens
SKILL.md length
243 words
Files
3 (incl. references)
Skills in repo
150
Repo updated
First seen
Licence
MIT

At a glance

Azure AI Transcription SDK for Python. An agent skill from microsoft/skills.

  • Works in 8 steps: Pick sync OR async and stay consistent.… → Always use context managers for clients… → Enable diarization when multiple… → …
  • Real-time and batch speech-to-text transcription with timestamps and diarization
  • SKILL.md covers Installation, Environment Variables, Authentication & Lifecycle and Transcription (Batch), plus 3 more sections
  • Calls pip; needs TRANSCRIPTION_KEY

What it does

Azure AI Transcription Py is an agent skill from microsoft/skills, published by the product's own GitHub organization. Azure AI Transcription SDK for Python. Use for real-time and batch speech-to-text transcription with timestamps and diarization. Triggers: "transcription", "speech to text", "Azure AI Transcription", "TranscriptionClient".

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/capabilities.md` and `references/non-hero-scenarios.md`).

It sits in Media & Creative, covering Transcription. It works with Microsoft Azure and Python. The repository describes itself as: Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents. The licence is MIT.

When your agent uses it

  • Real-time and batch speech-to-text transcription with timestamps and diarization
  • Tasks that involve Transcription

Example prompts

  • “transcription”
  • “speech to text”
  • “Azure AI Transcription”
  • “/azure-ai-transcription-py”

Requirements

  • Python 3
  • A credential in TRANSCRIPTION_KEY

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Pick sync OR async and stay consistent. Do not mix azure.xxx sync clients with azure.xxx.aio async clients in the same call path. Choose…
  2. Always use context managers for clients and async credentials. Wrap every client in with Client(...) as client: (sync) or async with…
  3. Enable diarization when multiple speakers are present
  4. Use batch transcription for long files stored in blob storage
  5. Capture timestamps for subtitle generation
  6. Specify language to improve recognition accuracy
  7. Handle streaming backpressure for real-time transcription
  8. Close transcription sessions when complete

What it can do on your machine

Read from SKILL.md and the folder at commit d5741a1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • TRANSCRIPTION_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Azure AI Transcription Py loads about 1k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 62 tokens; SKILL.md has 243 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/skills at commit d5741a1, republished under its MIT licence (© microsoft). 243 words, ~1,021 tokens.

Download SKILL.mdSave it as .claude/skills/azure-ai-transcription-py/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
azure-ai-transcription-py
description
Azure AI Transcription SDK for Python. Use for real-time and batch speech-to-text transcription with timestamps and diarization. Triggers: "transcription", "speech to text", "Azure AI Transcription", "TranscriptionClient".
license
MIT
metadata.author
Microsoft
metadata.version
1.0.0
metadata.package
azure-ai-transcription

Azure AI Transcription SDK for Python

Client library for Azure AI Transcription (speech-to-text) with real-time and batch transcription.

Installation

bash
pip install azure-ai-transcription

Environment Variables

bash
TRANSCRIPTION_ENDPOINT=https://<resource>.cognitiveservices.azure.com
TRANSCRIPTION_KEY=<your-key>  # For key auth; not needed when using DefaultAzureCredential/TokenCredential

Authentication & Lifecycle

🔑 Two rules apply to every code sample below:

  1. Two auth modes are supported: AzureKeyCredential(os.environ["TRANSCRIPTION_KEY"]) for key-based auth, or DefaultAzureCredential() / any TokenCredential for Entra ID. Prefer DefaultAzureCredential in production; never hardcode credentials in code.
  2. Wrap every client in a context manager so HTTP transports and sockets are released deterministically:
    • Sync: with <Client>(...) as client:
    • Async: async with <Client>(...) as client:

Snippets may abbreviate this setup, but production code should always follow both rules.

Use subscription key authentication:

python
import os
from azure.core.credentials import AzureKeyCredential
from azure.ai.transcription import TranscriptionClient

with TranscriptionClient(
    endpoint=os.environ["TRANSCRIPTION_ENDPOINT"],
    credential=AzureKeyCredential(os.environ["TRANSCRIPTION_KEY"]),
) as client:
    transcriptions = list(client.list_transcriptions())

Transcription (Batch)

python
import os
from azure.core.credentials import AzureKeyCredential
from azure.ai.transcription import TranscriptionClient

with TranscriptionClient(
    endpoint=os.environ["TRANSCRIPTION_ENDPOINT"],
    credential=AzureKeyCredential(os.environ["TRANSCRIPTION_KEY"]),
) as client:
    job = client.begin_transcription(
        name="meeting-transcription",
        locale="en-US",
        content_urls=["https://<storage>/audio.wav"],
        diarization_enabled=True,
    )
    result = job.result()
    print(result.status)

Transcription (Real-time)

python
import os
from azure.core.credentials import AzureKeyCredential
from azure.ai.transcription import TranscriptionClient

with TranscriptionClient(
    endpoint=os.environ["TRANSCRIPTION_ENDPOINT"],
    credential=AzureKeyCredential(os.environ["TRANSCRIPTION_KEY"]),
) as client:
    stream = client.begin_stream_transcription(locale="en-US")
    stream.send_audio_file("audio.wav")
    for event in stream:
        print(event.text)

Best Practices

  1. Pick sync OR async and stay consistent. Do not mix azure.xxx sync clients with azure.xxx.aio async clients in the same call path. Choose one mode per module.
  2. Always use context managers for clients and async credentials. Wrap every client in with Client(...) as client: (sync) or async with Client(...) as client: (async). For async DefaultAzureCredential from azure.identity.aio, also use async with credential: so tokens and transports are cleaned up.
  3. Enable diarization when multiple speakers are present
  4. Use batch transcription for long files stored in blob storage
  5. Capture timestamps for subtitle generation
  6. Specify language to improve recognition accuracy
  7. Handle streaming backpressure for real-time transcription
  8. Close transcription sessions when complete

Reference Files

FileContents
references/capabilities.mdAdditional non-hero capabilities, operation-group coverage, and production checklists.
references/non-hero-scenarios.mdDedicated non-hero examples for secondary/advanced scenarios.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .github/plugins/azure-sdk-python/skills/azure-ai-transcription-py of microsoft/skills.

  • SKILL.md
  • references/capabilities.md
  • references/non-hero-scenarios.md

Open the folder on GitHubat commit d5741a1

Compare with similar skills

Azure AI Transcription Py next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Azure AI Transcription Py compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Azure AI Transcription Py this skillmicrosoft/skills3.1k—~1kAutomated safety check: PassMIT
Azure AI Transcription Pyaiskillstore/marketplace4334 repos~535Automated safety check: PassNone
Srt Whiteboard Animationgeeklee/srt-whiteboard-animation4.2k—~1.8kAutomated safety check: PassMIT
VideoDB Video Search and Editingaffaan-m/ECC277k3 repos~3.5kAutomated safety check: NotesMIT
Ffmpeg Skillkajisho5/ffmpeg-skill1.9k—~7.4kAutomated safety check: PassMIT
Claude Real VideoHUANGCHIHHUNGLeo/claude-real-video2.2k—~639Automated safety check: PassMIT

Similar skills

  • Azure AI Transcription Py

    aiskillstore/marketplace

    Azure AI Transcription SDK for Python. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 4 repos~535 tokens
    Media & CreativeAuto-check passed
  • Srt Whiteboard Animation

    geeklee/srt-whiteboard-animation

    将 SRT 字幕做成暖米黄纸张底的白板手绘动画:读字幕→输出配图策略→确认后生成统一风格线稿→按叙事语义标注分区→预览台调整→渲染 MP4。编排沿用分区遮罩揭示(annotation.json / sequence / startMs / protectedRegions),但每个区域内的落墨换成 stream 的连续笔迹(骨架/网格 ink→color)。当用户提供 SRT…

    4.2k GitHub stars~1.8k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    277k GitHub starsUsed in 3 repos~3.5k tokens
    Media & CreativeAuto-check: notes
  • Ffmpeg Skill

    kajisho5/ffmpeg-skill

    Edit video and audio with local FFmpeg from natural-language requests: cut, trim, join, resize/reframe (9:16, 1:1), speed change, captions and subtitles (SRT/ASS, animated, karaoke), logos and text…

    1.9k GitHub stars~7.4k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Claude Real Video

    HUANGCHIHHUNGLeo/claude-real-video

    Watch a video for the user. An agent skill from HUANGCHIHHUNGLeo/claude-real-video.

    2.2k GitHub stars~639 tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • Claude Real Video For Agents

    HUANGCHIHHUNGLeo/claude-real-video

    Install and use crv (claude-real-video) — a tool that lets any AI agent watch videos by extracting scene-aware keyframes, deduplicating them, and transcribing audio.

    2.2k GitHub stars~2k tokensUpdated 3 days ago
    Media & CreativeAuto-check: notes

More from microsoft/skills

All 150 skills in this repo
  • Official

    Covers producer, consumer, and checkpoint-store setup for Azure Event Hubs streaming in Python, with Entra ID auth and partition targeting.

    3.1k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Official

    Builds podcast-style audio narration from text with Azure OpenAI's GPT Realtime Mini over WebSocket, from a Python FastAPI backend to a React player.

    3.1k GitHub starsUsed in 1 repo~947 tokens
    Auto-check passed
  • Frontend UI Dark TS

    microsoft/skills

    Official

    Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations.

    3.1k GitHub starsUsed in 5 repos~3.6k tokens
    Auto-check passed
  • Pydantic Models Py

    microsoft/skills

    Official

    Create Pydantic models following the multi-model pattern with Base, Create, Update, Response, and InDB variants.

    3.1k GitHub starsUsed in 5 repos~496 tokens
    Auto-check passed
  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub stars~2.8k tokensUpdated yesterday
    Auto-check passed
  • Skill Creator

    microsoft/skills

    Official

    Guide for creating effective skills for AI coding agents working with Azure SDKs and Microsoft Foundry services.

    3.1k GitHub starsUsed in 5 repos~17k tokens
    Auto-check passed

Questions about Azure AI Transcription Py

What does Azure AI Transcription Py do?

Azure AI Transcription SDK for Python. An agent skill from microsoft/skills. Azure AI Transcription Py is an agent skill from microsoft/skills, published by the product's own GitHub organization. Azure AI Transcription SDK for Python.

When should I use Azure AI Transcription Py?

Azure AI Transcription Py fits situations like: real-time and batch speech-to-text transcription with timestamps and diarization; tasks that involve Transcription.

How do I install Azure AI Transcription Py in Claude Code?

Run `npx skills add microsoft/skills --skill azure-ai-transcription-py -a claude-code`. Or copy the skill folder (.github/plugins/azure-sdk-python/skills/azure-ai-transcription-py in microsoft/skills) into .claude/skills/azure-ai-transcription-py in your project. Claude Code loads it when a task matches its description.

How do I install Azure AI Transcription Py in Codex?

Run `npx skills add microsoft/skills --skill azure-ai-transcription-py -a codex`. Or copy the skill folder (.github/plugins/azure-sdk-python/skills/azure-ai-transcription-py in microsoft/skills) into .agents/skills/azure-ai-transcription-py in your project. Codex loads it when a task matches its description.

Can I use Azure AI Transcription Py in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/skills --skill azure-ai-transcription-py -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/azure-ai-transcription-py, .gemini/skills/azure-ai-transcription-py, .github/skills/azure-ai-transcription-py and .opencode/skills/azure-ai-transcription-py in your project.

What does Azure AI Transcription Py need to run?

Going by SKILL.md and its folder, Azure AI Transcription Py needs the command-line tools its instructions call (pip) and credentials named TRANSCRIPTION_KEY. Our summary lists: Python 3; A credential in TRANSCRIPTION_KEY.

Does Azure AI Transcription Py access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Azure AI Transcription Py safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Azure AI Transcription Py use?

Azure AI Transcription Py is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Azure AI Transcription Py use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.2k tokens, read only when the agent opens those files.

What are the alternatives to Azure AI Transcription Py?

Skills that share tags, products or a category with Azure AI Transcription Py: Azure AI Transcription Py (aiskillstore/marketplace, 433 stars), Srt Whiteboard Animation (geeklee/srt-whiteboard-animation, 4.2k stars), VideoDB Video Search and Editing (affaan-m/ECC, 277k stars) and Ffmpeg Skill (kajisho5/ffmpeg-skill, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Azure AI Transcription Py?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/skills, which has 3,097 GitHub stars. The repository holds 150 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.