microsoft/skills is a collection of skills, custom agents, AGENTS.md templates, plugins, hooks, commands, and MCP configurations that give AI coding agents context for Azure SDK and Microsoft AI Foundry development. Developers use it to install selected domain-specific guidance into coding-agent environments. The catalogue entries are the repository’s own agent resources and supporting configurations.
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.
npx agentmods add skills/microsoft/skills/microsoft-foundrynpx skills add microsoft/skills --skill microsoft-foundrygit clone --depth 1 https://github.com/microsoft/skillsWrote 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/skills/microsoft-foundry)<a href="https://agentmods.dev/skills/microsoft/skills/microsoft-foundry"><img src="https://agentmods.dev/badge/skills/microsoft/skills/microsoft-foundry.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00214 | $0.05910 |
| Opus 5 | $0.00107 | $0.02955 |
| Sonnet 5 | $0.00043 | $0.01182 |
| Haiku 4.5 | $0.00021 | $0.00591 |
Grade A, and why
microsoft-foundry scanned grade A with 1 finding 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 yesterday.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Applies to **any** call against a Foundry project or its parent Foundry account — Foundry MCP tools, `azd`, `az` CLI, `curl`, REST, or SDK. Copies of this mod
1 near-identical copy found in the catalogue:
- microsoft-foundry — 94% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Microsoft Foundry Skill
This skill helps developers work with Microsoft Foundry resources, covering model discovery and deployment, complete dev lifecycle of AI agent, evaluation workflows, and troubleshooting.
Pre-Execution Requirements
Follow each applicable subsection below before starting its corresponding action or workflow.
Dependency Check and Setup
MANDATORY: As the first step after this skill loads, run the dependency check and setup script below from this skill's root and wait for it to finish before continuing. The script checks first and installs only missing dependencies; it does not reinstall dependencies that are already available.
You MUST complete this check before reading or entering any sub-skill, workflow, or workflow-specific reference.
./scripts/check-and-setup-dependencies.sh # macOS / Linux
./scripts/check-and-setup-dependencies.ps1 # Windows (pwsh)
Strictly follow the script output for subsequent actions.
Workflow Guidance
MANDATORY: Before executing ANY workflow-specific steps, you MUST read the corresponding sub-skill document. Do not call workflow-specific MCP tools for a workflow without reading its skill document. This applies even if you already know the MCP tool parameters — the skill document contains required workflow steps, pre-checks, and validation logic that must be followed. This rule applies on every new user message that triggers a different workflow, even if the skill is already loaded.
Foundry MCP
MANDATORY: Before using Foundry MCP operations, call the Azure MCP foundry tool and inspect the available Foundry MCP tools and related parameters. Treat this as the discovery/help step for MCP-based workflows.
azd
MANDATORY: Before executing ANY azd command, you MUST read azd-guidance and strictly follow the shared rules defined in it, especially the AZURE_DEV_USER_AGENT setting rules.
Sub-Skills
This skill includes specialized sub-skills for specific workflows. When a sub-skill matches the task, strictly follow its workflow:
What ships with it
60 files 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.
- .gitignore 0 B
- finetuning/references/agentic-rft.md 3.2 KB
- finetuning/references/dataset-formats.md 3.7 KB
- finetuning/references/deployment.md 3.4 KB
- finetuning/references/evaluation.md 5.8 KB
- finetuning/references/grader-design.md 3.4 KB
- finetuning/references/hyperparameters.md 3.2 KB
- finetuning/references/large-file-uploads.md 927 B
- finetuning/references/platform-gotchas.md 2.0 KB
- finetuning/references/reward-hacking.md 2.9 KB
- finetuning/references/training-curves.md 4.1 KB
- finetuning/references/training-types.md 3.1 KB
- finetuning/references/vision-fine-tuning.md 4.1 KB
- finetuning/scripts/calibrate_grader.py 9.3 KB runs code
- finetuning/scripts/check_training.py 7.8 KB runs code
- finetuning/scripts/cleanup.py 9.5 KB runs code
- finetuning/scripts/common.py 7.6 KB runs code
- finetuning/scripts/convert_dataset.py 11 KB runs code
- finetuning/scripts/deploy_model.py 9.4 KB runs code
- finetuning/scripts/evaluate_model.py 11 KB runs code
- finetuning/scripts/generate_distillation_data.py 10 KB runs code
- finetuning/scripts/monitor_training.py 5.7 KB runs code
- finetuning/scripts/score_dataset.py 7.7 KB runs code
- finetuning/scripts/submit_training.py 11 KB runs code
- finetuning/scripts/validate/__init__.py 305 B runs code
- finetuning/scripts/validate/data_stats.py 6.2 KB runs code
- finetuning/scripts/validate/validate_dpo.py 3.7 KB runs code
- finetuning/scripts/validate/validate_rft.py 8.6 KB runs code
- finetuning/scripts/validate/validate_sft.py 4.5 KB runs code
- finetuning/SKILL.md 5.4 KB
- finetuning/workflows/dataset-creation.md 3.1 KB
- finetuning/workflows/diagnose-poor-results.md 2.3 KB
- finetuning/workflows/full-pipeline.md 3.1 KB
- finetuning/workflows/iterative-training.md 3.1 KB
- finetuning/workflows/quickstart.md 4.5 KB
- foundry-agent/agent-optimizer/agent-optimizer.md 3.3 KB
- foundry-agent/agent-optimizer/references/azd-setup.md 1.2 KB
- foundry-agent/agent-optimizer/references/eval-yaml.md 3.2 KB
- foundry-agent/agent-optimizer/references/optimize-workflow.md 2.1 KB
- foundry-agent/agent-optimizer/references/python-patterns.md 4.0 KB
- foundry-agent/agent-optimizer/references/scaffold.md 3.3 KB
- foundry-agent/azd-guidance/azd-guidance.md 1.2 KB
- foundry-agent/azd-guidance/references/azd-ai-cli.md 8.7 KB
- foundry-agent/cicd/cicd.md 301 B
- foundry-agent/create/create-hosted.md 30 KB
- foundry-agent/create/create-prompt.md 4.2 KB
- foundry-agent/create/quick-start-hosted.md 22 KB
- foundry-agent/create/references/enable-incoming-a2a.md 3.7 KB
- foundry-agent/create/references/foundry-model.md 1.4 KB
- foundry-agent/create/references/foundry-tool-catalog.md 43 KB
- foundry-agent/create/references/guardrails/guardrail-api-create.md 3.8 KB
- foundry-agent/create/references/guardrails/guardrail-attach.md 3.8 KB
- foundry-agent/create/references/guardrails/guardrail-manage.md 2.1 KB
- foundry-agent/create/references/local-run.md 9.5 KB
- foundry-agent/create/references/re-host.md 2.6 KB
- foundry-agent/create/references/sdk-operations.md 2.2 KB
- foundry-agent/create/references/skills/skill-attach.md 7.0 KB
- foundry-agent/create/references/skills/skill-manage.md 5.4 KB
- foundry-agent/create/references/skills/skill-toolbox-attach.md 5.1 KB
- foundry-agent/create/references/tools/prompt-agent/agent-tools.md 4.5 KB
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.
- yesterday First seen · 292 lines · 214 tokens per session scan A 46718ed889e7
microsoft-foundry is a skill published in the GitHub repository microsoft/skills (2,992 stars, last pushed today), licensed MIT. It adds 214 tokens to every session and 5,910 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
agents-v2-py-v2
Azure AI Hosted Agents (Python) workflow skill. Use this skill when the user needs Build container-based Foundry Agents with Azure AI Projects SDK (ImageBasedHostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry and the operator should preserve the upstream workflow…
FOCUS Data Engineer
End-to-end ingest, transform, and conformance specialist for FOCUS-shaped cost datasets. Handles AWS CUR 2.0, Azure Cost Management exports, GCP billing export, OCI cost & usage, and SaaS billing. Operates the FOCUS Validator and Requirements Analyzer; orchestrates parallel-run migrations.
Workload Cost Optimizer
Compute-pattern specialist for ML training/inference, serverless (Lambda/Cloud Functions/Azure Functions), and spot/preemptible/low-priority strategies. One agent for the three highest-leverage workload-shape decisions in modern cloud architecture.
CUR & FOCUS Data Engineer
Builds reliable ingest and transformation pipelines for AWS CUR 2.0, Azure Cost Management exports, GCP billing export, and the FOCUS specification. Turns raw vendor exports into a trusted cost warehouse.
ML Workload Cost Optimizer
Specialist in ML training and inference cost -- GPU selection, spot strategies, multi-region training, inference optimization via quantization and batching, and managed-service tradeoffs (SageMaker / Vertex AI / Azure ML).
agents-v2-py
Azure AI Hosted Agents (Python) workflow skill. Use this skill when the user needs Build container-based Foundry Agents with Azure AI Projects SDK (ImageBasedHostedAgentDefinition). Use when creating hosted agents with custom container images in Azure AI Foundry and the operator should preserve the upstream workflow…