Index of every page on this site: llms.txt
All skills
microsoft avatar

/microsoft-foundry

@0d60658
by microsoftmicrosoft/skills3.2k stars
373
Run it yourself

Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent, managed harness agent, Copilot harness, voice agent, create/update/invoke/evaluate agent, add tool to agent, agent insights, batch/continuous eval, continuous monitoring, agent CI/CD, optimize/improve prompt, optimize agent instructions, Agent Optimizer, dataset curation from traces, deploy model, model fine-tuning (SFT/DPO/RFT), Foundry project, RBAC, role assignment, permissions, quota, capacity, region, deployment failure, AI Services, create Foundry resource, knowledge index, customize deployment, onboard, availability, training-data, grader, distillation, large file upload. DO NOT USE FOR: Azure Functions, App Service, general Azure deploy (use azure-deploy), general Azure prep (use azure-prepare).

Use this Skill: https://skilld.dev/gh/microsoft/skills/microsoft-foundry

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

foundry-agentcreatereferencestoolsmanaged-harness-agenttool-toolbox.md

≈532 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Toolbox

Attach an existing Foundry Toolbox to a Managed Harness Agent through an authenticated direct MCP tool. Manage the Toolbox and connection separately; the Agent consumes their published values.

Resolve the exact Toolbox version

Create or update the Toolbox only when explicitly requested, following Foundry Toolbox. Resolve the intended version's exact MCP endpoint:

azd ai toolbox show <toolbox-name> \
  --version <version> \
  --project-endpoint "<project-endpoint>" \
  --output json

Use the returned endpoint, including /versions/<version>/mcp?api-version=v1. Do not substitute a default or unversioned endpoint.

Create or reuse the authentication connection

The Toolbox endpoint requires a matching project connection:

  • category/kind: RemoteTool / remote-tool
  • auth type: UserEntraToken / user-entra-token
  • audience: https://ai.azure.com
  • target: exactly the versioned MCP endpoint
  • metadata: type=toolbox_MCP, Toolbox name, and Toolbox version

The released CLI supports this shape:

azd ai connection create <connection-name> \
  --kind remote-tool \
  --target "<versioned-toolbox-mcp-endpoint>" \
  --auth-type user-entra-token \
  --audience https://ai.azure.com \
  --metadata type=toolbox_MCP \
  --metadata toolboxName=<toolbox-name> \
  --metadata toolboxVersion=<version> \
  --project-endpoint "<project-endpoint>"

Reuse an existing connection only when all fields match. Do not overwrite or repoint a connection used by another Toolbox version; create a distinct connection instead.

Attach the Toolbox

Use the connection's short name as project_connection_id:

tools:
  - type: mcp
    server_label: <toolbox-name>
    server_url: <versioned-toolbox-mcp-endpoint>
    project_connection_id: <connection-name>
    require_approval: always

The connection target and server_url must match exactly. Keep require_approval: always unless the user explicitly chooses a different policy. Do not fall back to a connectionless Toolbox MCP entry.

This is separate from generic MCP authoring.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

3 warningstoday4 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    This skill provides a comprehensive suite of tools for managing AI agents and models on Microsoft Foundry. It includes security considerations such as the dynamic execution of user-provided Python scripts for model evaluation and the processing of production traces for dataset creation. These features are aligned with the skill's primary purpose and include appropriate user warnings and human-in-the-loop review steps to mitigate risk. See the detailed analysis for additional context.

  • Sockettoday

    2 alerts: gptSecurity, gptAnomaly

  • Snyktoday

    Risk: MEDIUM · 2 issues

  • Runlayer9mo

    36/36 files flagged

Signed by skilld at 0d60658. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 5 days ago
metadata
{
  "author": "Microsoft",
  "version": "1.2.36"
}

README badge

README badge for microsoft/skills/microsoft-foundry