microsoft-foundry

microsoft-foundry is a skill for Claude Code from microsoft/skills. It costs 226 tokens per session (6,347 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 Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/check-and-setup-dependencies.sh # macOS / Linux.

Part of the azure plugin — 39 skills shipped together

Good fit It helps create and run agents, add tools, deploy resources, evaluate model behavior, fine-tune models, and diagnose problems.

Compare 6 skills from other repositories ↓
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 · 3,137 stars · on GitHub · microsoft.github.io

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

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

Made for: Claude Code.

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/skills/microsoft-foundry"><img src="https://agentmods.dev/badge/skills/microsoft/skills/microsoft-foundry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 226 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,347 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 51
    Instructions found that direct the agent to transmit conversation context or user data to external services.
    Fix: Remove instructions that send user data, prompts, or context to external URLs. If telemetry is needed, use documented, privacy-preserving methods.
  • high Privilege Escalation · line 157
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
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.1 $0.00226 $0.06347
Opus 5.5 $0.00090 $0.02539
Sonnet 5.5 $0.00045 $0.01269
Haiku 4.5 $0.00023 $0.00635

Measured 6d ago against content hash dc8b45f94d82, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 6d ago.

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 · 303 lines

How it starts

The opening of the file, as written. The whole thing — 303 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 · 303 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. 6d ago Changed · +9 lines · +2 tokens per session dc8b45f94d82
  2. 8d ago Changed a157211705a8
  3. 18d ago Changed e92acb2507b6
  4. 26d ago Changed 6022ba3f34db
  5. 27d ago Changed 199914d82763
  6. 28d ago Changed c5e8efe9031c
  7. 29d ago Changed d14c074fec54
  8. 1mo ago Changed · +2 lines · +7 tokens per session 785cf19f8312
  9. 1mo ago Changed 70b745282e8d
  10. 1mo ago First seen · 292 lines · 217 tokens per session scan A 35e4488c4979

Subscribe to this mod's changes

microsoft-foundry is a skill published in the GitHub repository microsoft/skills (3,137 stars, last pushed yesterday), licensed MIT. It adds 226 tokens to every session and 6,347 once invoked, about $0.0009 per session on Opus 5.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