connectivity-triage

connectivity-triage is a skill for Claude Code, Codex from microsoft/sre-agent. It costs 91 tokens per session (990 once invoked), scanned A, original, MIT.

A troubleshooting guide for network and edge failures in the Zava Learning platform. It follows a request from the public entry point through gateway, network rules, internal routing, and backend services.

In plain words
What is it for?
Use it to investigate gateway health, probe settings, network security rules, Container Apps revisions and replicas, internal load balancing, and the course and assessment APIs.
Why use it?
It helps distinguish the real cause of failures such as timeouts, server errors, unavailable quizzes, or unhealthy backends instead of guessing from an alert.

Skill for Claude CodeCodex

About the project

microsoft/sre-agent is the community repository for Azure SRE Agent, an AI assistant for diagnosing and resolving production problems and reducing routine operations work. It is for teams working on service reliability and includes documentation, discussions, videos, and hands-on labs for using the product. The catalogue skills relate to the agent's official plugins and resources.

microsoft/sre-agent · 151 stars · on GitHub

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.

agentmods
npx agentmods add skills/microsoft/sre-agent/connectivity-triage
Any agent
npx skills add microsoft/sre-agent --skill connectivity-triage
Clone the repo
git clone --depth 1 https://github.com/microsoft/sre-agent

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 connectivity-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/sre-agent/connectivity-triage.svg)](https://agentmods.dev/skills/microsoft/sre-agent/connectivity-triage)
Your own site
<a href="https://agentmods.dev/skills/microsoft/sre-agent/connectivity-triage"><img src="https://agentmods.dev/badge/skills/microsoft/sre-agent/connectivity-triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00091 $0.00990
Opus 5 $0.00046 $0.00495
Sonnet 5 $0.00018 $0.00198
Haiku 4.5 $0.00009 $0.00099

Measured 4d ago against content hash 187c5818f9f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

connectivity-triage scanned grade A with 0 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

labs/zava-learning/sre-config/agent-config/skills/connectivity-triage/SKILL.md · 73 lines

How it starts

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

Zava Learning — Connectivity / Edge Incident Runbook

Resource Group: @@RG@@. Public entry: Application Gateway -> learner-portal (Container App, internal ingress) -> course-api / assessment-api (environment-internal). App Insights cloud_RoleName values: learner-portal, course-api, assessment-api.

Diagnose root cause from telemetry and configuration, then remediate within the boundary below. Do NOT guess the cause from the alert name — the alert is symptom-only by design.

Trace the path, hop by hop

  1. Application Gateway — backend health (az network application-gateway show-backend-health), probe path/host, HTTP settings. A probe pointed at a path the portal doesn't serve marks the backend unhealthy and yields 502s.
  2. NSG on the Container Apps subnet — list effective rules. A higher-priority DENY can beat a lower-priority ALLOW (priority inversion) and silently block App Gateway -> apps.
  3. Container Apps internal load balancer / ingress — revision health, replica counts.
  4. APIs — are course-api / assessment-api answering and healthy?

Use the built-in network troubleshooting skills (network_connectivity_troubleshoot, application_gateway_troubleshoot, load_balancer_troubleshoot, network_topology_mapper) to go deep on any hop. Filter App Insights/LAW queries by the relevant cloud_RoleName.

Permitted autonomous actions

  • Neutralize a blocking NSG rule with a non-destructive update, not a delete: run az network nsg rule update ... --access Allow (or raise the DENY rule's --priority above the ALLOW). The write tool restricts delete/remove, and an update achieves the same effect — so never reach for az network nsg rule delete.
  • Correct an Application Gateway probe path / HTTP settings back to a healthy configuration.
  • Restart a Container Apps revision.

Azure CLI usage (avoid avoidable command failures)

  • Do not pass -o/--output or --query to RunAzCliReadCommands. The read tool already returns JSON — adding -o json, -o table, or a --query projection makes the command fail with a generic "Unknown error occurred." Run the plain command (e.g. az network nsg rule list --nsg-name ... --include-default) and pick out the fields you need from the JSON in your reasoning.
  • If any read still returns "Unknown error occurred," just retry the plain command once — the first tool call in a session can fail transiently. Do not conclude the resource is broken.
  • Always pass --subscription and prefer resource IDs to avoid ambiguity. Consult GetAzCliHelp before an unfamiliar write flag rather than guessing syntax.

Read the full file on GitHub · 73 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. 4d ago First seen · 73 lines · 91 tokens per session scan A 187c5818f9f5

Subscribe to this mod's changes

connectivity-triage is a skill published in the GitHub repository microsoft/sre-agent (151 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 990 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. 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