microsoft-foundry

microsoft-foundry is a skill for Claude Code, Codex from microsoft/skills. It costs 214 tokens per session (5,910 once invoked), scanned A, original, MIT.

A complete toolkit for building and managing Microsoft Foundry AI agents, models, and related cloud resources.

In plain words
What is it for?
It helps create and run agents, add tools, deploy resources, evaluate model behavior, fine-tune models, and diagnose problems.
Why use it?
It brings development, deployment, evaluation, optimization, and troubleshooting tasks into one workflow for Microsoft Foundry projects.

Skill for Claude CodeCodex

Part of the azure plugin — 38 skills shipped together

About the project

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.

microsoft/skills · 2,992 stars · on GitHub

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.

agentmods
npx agentmods add skills/microsoft/skills/microsoft-foundry
Any agent
npx skills add microsoft/skills --skill microsoft-foundry
Clone the repo
git clone --depth 1 https://github.com/microsoft/skills

Made for: Claude Code, Codex.

Or install azure, the plugin that ships this one along with the rest of its 38 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 microsoft-foundry

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/skills/microsoft-foundry.svg)](https://agentmods.dev/skills/microsoft/skills/microsoft-foundry)
Your own site
<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>
Per session 214 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found 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 $0.00214 $0.05910
Opus 5 $0.00107 $0.02955
Sonnet 5 $0.00043 $0.01182
Haiku 4.5 $0.00021 $0.00591

Measured yesterday against content hash 46718ed889e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 16 executable files (finetuning/scripts/calibrate_grader.py, finetuning/scripts/check_training.py, finetuning/scripts/cleanup.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/plugins/azure-skills/skills/microsoft-foundry/SKILL.md · 292 lines

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:

Read the full file on GitHub · 292 lines

Files

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.

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. yesterday First seen · 292 lines · 214 tokens per session scan A 46718ed889e7

Subscribe to this mod's changes

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.

Related

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…

diegosouzapw/awesome-omni-skills · 78 tokens

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.

Cletrics/finops-agents · 67 tokens

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.

Cletrics/finops-agents · 54 tokens

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.

Cletrics/finops-agents · 48 tokens

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).

Cletrics/finops-agents · 50 tokens

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…

diegosouzapw/awesome-omni-skills · 76 tokens