Microsoft’s Generative AI for Beginners is a 21-lesson course that teaches the concepts and coding practices needed to build generative AI applications. It is intended for people starting with generative AI, with lessons covering both explanations and code examples.
Borrowing it
Nothing to install: this file belongs to microsoft/generative-ai-for-beginners. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/microsoft/generative-ai-for-beginners/main/.github/skills/azure-openai-to-responses/SKILL.mdgit clone --depth 1 https://github.com/microsoft/generative-ai-for-beginnersWrote 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.
[](https://agentmods.dev/skills/microsoft/generative-ai-for-beginners/azure-openai-to-responses)<a href="https://agentmods.dev/skills/microsoft/generative-ai-for-beginners/azure-openai-to-responses"><img src="https://agentmods.dev/badge/skills/microsoft/generative-ai-for-beginners/azure-openai-to-responses/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.
<a href="https://agentmods.dev/skills/microsoft/generative-ai-for-beginners/azure-openai-to-responses"><img src="https://agentmods.dev/badge/skills/microsoft/generative-ai-for-beginners/azure-openai-to-responses.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00185 | $0.02035 |
| Opus 5 | $0.00093 | $0.01018 |
| Sonnet 5 | $0.00037 | $0.00407 |
| Haiku 4.5 | $0.00018 | $0.00203 |
Grade A, and why
azure-openai-to-responses 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate Python Apps from Azure OpenAI Chat Completions to Responses API
AUTHORITATIVE GUIDANCE — FOLLOW EXACTLY
This skill migrates Python codebases using Azure OpenAI Chat Completions to the unified Responses API. Follow these instructions precisely. Do not improvise parameter mappings or invent API shapes.
Installed from Azure-Samples/azure-openai-to-responses (MIT).
Triggers
Activate this skill when the user wants to:
- Migrate a Python app from Azure OpenAI Chat Completions to Responses API
- Upgrade Python OpenAI SDK usage to the latest API shape against Azure OpenAI
- Prepare Python code for GPT-5 or newer models that require Responses on Azure
- Switch from
AzureOpenAI/AsyncAzureOpenAIto standardOpenAI/AsyncOpenAIclient with the v1 endpoint - Fix deprecation warnings related to
AzureOpenAIconstructors orapi_version
Why migrate
GPT-5 and newer models require the Responses API. The new /openai/v1/ endpoint
uses the standard OpenAI() client instead of AzureOpenAI(), requires no
api_version parameter, and works identically across OpenAI and Azure OpenAI.
What changes
| Chat Completions (before) | Responses API (after) |
|---|---|
AzureOpenAI() / AsyncAzureOpenAI() |
OpenAI(base_url=...) / AsyncOpenAI(base_url=...) |
azure_endpoint=... |
base_url=f"{endpoint.rstrip('/')}/openai/v1/" |
api_version="2024-..." |
Remove entirely — /openai/v1/ is stable |
azure_ad_token_provider=... |
api_key=token_provider |
client.chat.completions.create(messages=...) |
client.responses.create(input=...) |
resp.choices[0].message.content |
resp.output_text |
max_tokens |
max_output_tokens (min 16 on Azure) |
response_format |
text={"format": {...}} |
seed |
Remove (not supported) |
tools nested {"type":"function","function":{...}} |
flat {"type":"function","name":...} |
tool result {"role":"tool","tool_call_id":...} |
{"type":"function_call_output","call_id":...,"output":...} |
content[].type: "text" |
content[].type: "input_text" |
content[].type: "image_url" + {"url": "..."} |
content[].type: "input_image" + flat "image_url": "..." |
streaming chunk.choices[0].delta.content |
event.type == "response.output_text.delta" → event.delta |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 162 lines · 185 tokens per session scan A 9332f894fa57
azure-openai-to-responses is a skill published in the GitHub repository microsoft/generative-ai-for-beginners (119,497 stars, last pushed yesterday), licensed MIT. It adds 185 tokens to every session and 2,035 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
agent-framework-azure-ai-py
Build persistent agents on Azure AI Foundry using the Microsoft Agent Framework Python SDK.
serving-llms-vllm
Use when deploying production LLM APIs, optimizing inference latency/throughput, or serving models with limited GPU memory. Supports OpenAI-compatible endpoints, quantization (GPTQ/AWQ/FP8), and tensor parallelism.
azure-search-documents-dotnet
Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…
azure-search-documents-ts
Build search applications using Azure AI Search SDK for JavaScript (@azure/search-documents). Use when creating/managing indexes, implementing vector/hybrid search, semantic ranking, or building agentic retrieval with knowledge bases.
openai-whisper-api
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
gemini
Gemini CLI for one-shot Q&A, summaries, and generation.