hosted_agent_deploy_expert

hosted_agent_deploy_expert is a skill for Claude Code, Codex from aiappsgbb/awesome-gbb. It costs 51 tokens per session (746 once invoked), scanned A, original, MIT.

A troubleshooting guide for Microsoft Foundry hosted-agent deployments, which run coding or AI agents on Microsoft's managed cloud service.

In plain words
What is it for?
It is for investigating Azure Container Registry pushes, Microsoft Agent Framework SDK changes, Azure Container Apps rollouts, bring-your-own-key setup, permissions, and hosted-agent request failures.
Why use it?
It helps identify why deployment commands fail, why a deployed agent cannot start, or why its first request returns an error, using deployment details and application logs.

Skill for Claude CodeCodex

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

Good fit It is for investigating Azure Container Registry pushes, Microsoft Agent Framework SDK changes, Azure Container Apps rollouts, bring-your-own-key setup, permissions, and hosted-agent request failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aiappsgbb/awesome-gbb/hosted_agent_deploy_expert
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 aiappsgbb/awesome-gbb --skill hosted_agent_deploy_expert
Clone the repo
git clone --depth 1 https://github.com/aiappsgbb/awesome-gbb

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 hosted_agent_deploy_expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/hosted_agent_deploy_expert.svg)](https://agentmods.dev/skills/aiappsgbb/awesome-gbb/hosted_agent_deploy_expert)
Your own site
<a href="https://agentmods.dev/skills/aiappsgbb/awesome-gbb/hosted_agent_deploy_expert"><img src="https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/hosted_agent_deploy_expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 746 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.
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.00051 $0.00746
Opus 5 $0.00026 $0.00373
Sonnet 5 $0.00010 $0.00149
Haiku 4.5 $0.00005 $0.00075

Measured 7d ago against content hash 2ecce2152269, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

hosted_agent_deploy_expert 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 7d 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.

| `Request body must be a JSON object with a non-empty input string` | `azd ai agent invoke` envelope bug | ghcp-hosted-agents KI-001 (use `curl` with `{"input":"..."}`) |
skills/azure-sre-agent/references/plugins/gbb-foundry/skills/hosted_agent_deploy_expert/SKILL.md · 62 lines

How it starts

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

hosted_agent_deploy_expert

When to use

  • A user reports a failed azd up, azd ai agent deploy, or azd deploy for a Foundry hosted agent
  • A scheduled task flags failed deployments in the monitored Foundry project
  • A hosted agent starts but the first /invoke returns errors

Investigation flow

  1. Identify the failed deploy — agent name, approximate time, which command the user ran.

  2. Check the Foundry project's deployments:

    az ml online-deployment list \
      --workspace-name <project> --resource-group <rg> \
      --output table
    

    Capture instanceName, provisioningState, failureReason for each failed deployment.

  3. Pull container logs from App Insights for the failure window:

    traces
    | where timestamp > ago(1h)
    | where cloud_RoleName == "<agent-name>"
    | where severityLevel >= 2
    | project timestamp, message, severityLevel, customDimensions
    | top 50 by timestamp desc
    
  4. Classify by pattern:

    Pattern in logs Root cause KI
    Authentication failed with provider ... (HTTP 401) Foundry User missing at account scope foundry-hosted-agents KI-001
    cannot import name 'AzureOpenAIChatClient' from 'agent_framework.azure' MAF SDK 1.4.0 breaking change foundry-hosted-agents KI-002 (replace with OpenAIChatClient from agent_framework.openai)
    SkillsProvider object has no attribute 'skill_paths' MAF API change foundry-hosted-agents KI-003 (use SkillsProvider.from_paths(...))
    Quota exceeded / OperationLimitExceeded AOAI TPM cap hit Hand off to quota_throttle_expert
    ImagePullBackOff / pull access denied ACR pull failed Grant AcrPull on the project's ACR to agent's UAMI
    403 Forbidden /openai/deployments/... Foundry MI lacks Cognitive Services User on BYOK AOAI Grant role
    Request body must be a JSON object with a non-empty input string azd ai agent invoke envelope bug ghcp-hosted-agents KI-001 (use curl with {"input":"..."})
    agent.yaml: services: block missing azd ai agent init doesn't generate it ghcp-hosted-agents KI-002 (add manually)

Read the full file on GitHub · 62 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. 7d ago First seen · 62 lines · 51 tokens per session scan A 2ecce2152269

Subscribe to this mod's changes

hosted_agent_deploy_expert is a skill published in the GitHub repository aiappsgbb/awesome-gbb (5 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 746 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

gke-ai-troubleshooting-jobset-interruption

Diagnoses GKE JobSet interruptions, restarts, and preemptions for AI/ML training workloads autonomously. Use when troubleshooting JobSet restart loops, spot VM preemptions, node readiness failures, host VM issues, or coordinator worker crashes. Don't use for general GKE cluster creation, basic workload deployment, or…

google/skills · 83 tokens

gke-workload-troubleshooting

Diagnoses GKE workload failures (CrashLoopBackOff, OOMKilled, ImagePullBackOff, Pending, etc.) via logs and events. Use when pods fail to start or crash repeatedly. Don't use for GKE cluster infrastructure provisioning, node pool creation, or non-Kubernetes Google Cloud services.

google/skills · 69 tokens

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

gke-ai-troubleshooting-handle-disruption-gpu-tpu

Diagnoses, predicts, and mitigates node disruptions during Compute Engine host maintenance and hardware or software maintenance events for GPU and TPU workloads on GKE. Use when diagnosing node disruptions, predicting host maintenance events on GPU/TPU nodepools, inspecting node interruption PromQL metrics, auditing…

google/skills · 117 tokens

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

troubleshoot-sandbox

Troubleshoot OpenSandbox issues by running diagnostics (logs, inspect, events, summary) via CLI or HTTP API to diagnose sandbox failures like OOM, crash, image pull errors, network problems, etc.

opensandbox-group/OpenSandbox · 48 tokens