Agent skill · DevOps & Cloud

microsoft-foundry

Deploy, evaluate, fine-tune, and manage Foundry agents end-to-end with azd: hosted agent scaffold/run/deploy, prompt agent create, batch eval, continuous eval, prompt optimizer, Agent Optimizer scaffold, agent.yaml, dataset curation from traces, model fine-tuning (SFT/DPO/RFT). USE FOR: azd ai agent, azd provision/deploy, deploy agent, hosted agent, create agent, add tool to agent, invoke agent, evaluate agent, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, agent optimizer, deploy model, Foundry project, RBAC, role assignment,

Microsoft293,217★ · +1,988/wk · 14 repos on radarProfile →
claude-codeships scriptsMIT
Install
npx skills add microsoft/azure-skills --skill microsoft-foundry --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 187
SKILL.md size: 25 KB
Bundled scripts: yes
Version: 1.2.2
Declared author: Microsoft
Path: skills/microsoft-foundry/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,353
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Helps developers work with Microsoft Foundry resources, covering model discovery and deployment, complete dev lifecycle of AI agent, evaluation workflows, and troubleshooting.

How it works

  • The skill prescribes a mandatory dependency check and setup step to run scripts from the skill root: ./scripts/check-and-setup-dependencies.sh (macOS/Linux) or ./scripts/check-and-setup-dependencies.ps1 (Windows).
  • It enforces reading the corresponding sub-skill document before workflow actions and requires using the Azure MCP foundry tool for MCP-based workflows.
  • For azd workflows, it requires reading azd-guidance before any azd command.
  • It includes multiple sub-skills (e.g., deploy, cicd, invoke, routine, observe, trace, troubleshoot, create, agent-optimizer, eval-datasets, project/resource creation, private-network, finetuning, azd-guidance) and specifies exact workflow sequences per task.
  • It outlines an infrastructure and agent development lifecycle, with explicit step sequences for creating and deploying hosted Foundry agents, optimizing prompts, evaluating agents, and setting up CI/CD.
  • It defines an Agent: .foundry Workspace Standard structure and guidance on agent setup, context resolution, and local cache layout.

When to use it

Use when the user intention aligns with Foundry agent lifecycle tasks: creating projects/resources, provisioning networks, deploying hosted agents, creating or updating agents, running evaluations, optimizing prompts and agent instructions, deploying models, and setting up CI/CD or monitoring.

What it can touch

The skill requires using azd commands and Foundry MCP tools through the foundry tool, reads azd-guidance, and relies on the explicit sub-skill workflows for actions like deploy, observe, agent-optimizer, eval-datasets, and more as described in the corresponding sub-skill documents.

Caveats

  • It mandates mandatory steps (dependency check and azd-azd-guidance read) before proceeding with workflows.
  • It discourages use for Azure Functions, App Service, or general Azure deploy/prep; those should use alternative paths (azure-deploy/azure-prepare).
  • It mentions local workspace structure requirements such as .foundry/ folders and agent-metadata files for certain workflows.
From the SKILL.md

# 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.** ```bash ./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. T

What's inside
Steps it walks through
  1. Pre-Execution Requirements
  2. Dependency Check and Setup
  3. Workflow Guidance
  4. Foundry MCP
  5. azd
  6. Sub-Skills
  7. Infrastructure Lifecycle
  8. Agent Development Lifecycle
  9. Agent: .foundry Workspace Standard
  10. Agent: Setup References
  11. Agent: Common Project Context Resolution
  12. Step 1: Discover Agent Roots and azd Context
  13. Step 2: Resolve Environment and Deployment Context
  14. Step 3: Select Metadata Overlay and Resolve Environment
Ships with 24 files
  • .gitignore
  • finetuning/SKILL.md
  • finetuning/references/agentic-rft.md
  • finetuning/references/dataset-formats.md
  • finetuning/references/deployment.md
  • finetuning/references/evaluation.md
  • finetuning/references/grader-design.md
  • finetuning/references/hyperparameters.md
  • finetuning/references/large-file-uploads.md
  • finetuning/references/platform-gotchas.md
  • finetuning/references/reward-hacking.md
  • finetuning/references/training-curves.md
  • finetuning/references/training-types.md
  • finetuning/references/vision-fine-tuning.md
  • finetuning/scripts/calibrate_grader.py
  • finetuning/scripts/check_training.py
  • finetuning/scripts/cleanup.py
  • finetuning/scripts/common.py
  • finetuning/scripts/convert_dataset.py
  • finetuning/scripts/deploy_model.py
  • finetuning/scripts/evaluate_model.py
  • finetuning/scripts/generate_distillation_data.py
  • finetuning/scripts/monitor_training.py
  • finetuning/scripts/score_dataset.py
first 24 of 187
Commands it runs
az cognitiveservices account show \
More from azure-skills
All skills →
About this skill
What does the microsoft-foundry skill do?

Deploy, evaluate, fine-tune, and manage Foundry agents end-to-end with azd: hosted agent scaffold/run/deploy, prompt agent create, batch eval, continuous eval, prompt optimizer, Agent Optimizer scaffold, agent.yaml, dataset curation from traces, model fine-tuning (SFT/DPO/RFT). USE FOR: azd ai agent, azd provision/deploy, deploy agent, hosted agent, create agent, add tool to agent, invoke agent, evaluate agent, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, optimize agent instructions, agent optimizer, deploy model, Foundry project, RBAC, role assignment,

How do I install it?

Run `npx skills add microsoft/azure-skills --skill microsoft-foundry --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From microsoft/azure-skills, a repository with 1,353 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going