foundry-hosted-agent-validation

foundry-hosted-agent-validation is a skill for Claude Code, Codex from microsoft/agent-framework. It costs 82 tokens per session (3,483 once invoked), scanned A, original, MIT.

A procedure for rebuilding a search index from MPEP PDFs. The MPEP is the U.S. Patent and Trademark Office manual that explains patent examination procedures.

In plain words
What is it for?
Use it after updating MPEP files, detecting index corruption, getting poor search results, changing the embedding model, or adding a GPU.
Why use it?
It fixes missing or damaged search data and refreshes results after the source documents or embedding model change.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it after updating MPEP files, detecting index corruption, getting poor search results, changing the embedding model, or adding a GPU.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/agent-framework/foundry-hosted-agent-validation
About the project

Microsoft Agent Framework is a multi-language framework for building, coordinating, and running AI agents and workflows in Python and .NET. Teams use it for agent systems that need orchestration, collaboration, durability, observability, governance, or human involvement beyond a single prompt or chat loop. Catalogue add-ons provide skills and instructions for working with the framework.

microsoft/agent-framework · 14,171 stars · on GitHub · aka.ms

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.

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

Made for: Claude Code, Codex.

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 foundry-hosted-agent-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/agent-framework/foundry-hosted-agent-validation/github.svg)](https://agentmods.dev/skills/microsoft/agent-framework/foundry-hosted-agent-validation)
Your own site
<a href="https://agentmods.dev/skills/microsoft/agent-framework/foundry-hosted-agent-validation"><img src="https://agentmods.dev/badge/skills/microsoft/agent-framework/foundry-hosted-agent-validation/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 foundry-hosted-agent-validation

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

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 →

  • medium Data Exfiltration · line 108
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00082 $0.03483
Opus 5.5 $0.00033 $0.01393
Sonnet 5.5 $0.00016 $0.00697
Haiku 4.5 $0.00008 $0.00348

Measured 10d ago against content hash 3798b6b40370, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

foundry-hosted-agent-validation scanned grade A with 2 findings 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 10d ago.

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.

curl -X POST http://localhost:8088/responses -H "Content-Type: application/json" \

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

`subprocess.Popen([sys.executable, "<sample>/main.py"])` (path relative to
python/scripts/sample_validation/skills/foundry-hosted-agent-validation/SKILL.md · 319 lines

How it starts

The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Validating a Foundry Hosted Agent Sample

A hosted agent sample is "validated" when it passes three independent checks, plus cleanup:

  1. Local, native runtime — run the sample's own entry point (python main.py) and invoke it over HTTP.
  2. Local, via azd ai agent run — the azd local dev loop.
  3. Deployed — azd deploy to Foundry, then invoke the hosted agent.

Each check must succeed for single-turn and multi-turn (session / previous_response_id) conversation. Always end with cleanup (delete the deployed agent, remove the temp azd project, restore the sample dir).

Read the sample's own README.md and the parent .../foundry-hosted-agents/README.md first — they define the run/deploy commands and any sample-specific payload. This skill captures the process and the non-obvious gotchas the READMEs don't.


Inputs you need before starting

Gather these:

  • Foundry project endpoint, e.g. https://<account>.services.ai.azure.com/api/projects/<project>.
  • Foundry project resource id (for non-interactive azd ai agent init): /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.CognitiveServices/accounts/<account>/projects/<project>. Find it with az cognitiveservices account list + the project name.
  • A real, deployed model name in that project (e.g. gpt-4.1-mini). This is often different from the model id in agent.manifest.yaml — the actual deployment name wins.
  • An existing ACR to reuse for deployment (login server, e.g. myacr.azurecr.io). Reusing one avoids azd provision creating resources.
  • Whether a like-named agent already exists in the project (remove it first for a clean validation — see below).

Tooling / auth

  • az (logged in: az login) and azd (logged in: azd auth login).
  • azd agents extension: azd extension list should show azure.ai.agents; install with azd extension install azure.ai.agents.
  • uv for the native-Python local run. python need not be on PATH — uv and azd ai agent run provision their own interpreter.
  • Docker is not required when you reuse an ACR (remoteBuild: true builds in ACR Tasks).

Read the full file on GitHub · 319 lines

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. 10d ago Changed · +2 lines 3798b6b40370
  2. 1mo ago First seen · 317 lines · 82 tokens per session scan A 9ef486e8b046

Subscribe to this mod's changes

foundry-hosted-agent-validation is a skill published in the GitHub repository microsoft/agent-framework (14,171 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 3,483 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories