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.
npx agentmods add skills/microsoft/sre-agent/running-demonpx skills add microsoft/sre-agent --skill running-demogit clone --depth 1 https://github.com/microsoft/sre-agentWrote 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.
[](https://agentmods.dev/skills/microsoft/sre-agent/running-demo)<a href="https://agentmods.dev/skills/microsoft/sre-agent/running-demo"><img src="https://agentmods.dev/badge/skills/microsoft/sre-agent/running-demo.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00031 | $0.03753 |
| Opus 5 | $0.00015 | $0.01877 |
| Sonnet 5 | $0.00006 | $0.00751 |
| Haiku 4.5 | $0.00003 | $0.00375 |
Grade A, and why
running-demo 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
If Playwright MCP is not available, fall back to port-forward via `az aks command invoke` + curl: How it starts
The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Running the Demo
This skill drives the full demo using Playwright MCP for browser control. Execute each step — don't just describe them.
Setup
# AKS is a private cluster — kubectl from your local workstation won't work without VPN/jumpbox.
# Use `Invoke-AksCommand` (wraps `az aks command invoke` for human-operator polling/diagnostics).
# The SRE Agent uses the built-in RunKubectl* system tools; this helper is for human operators.
. .\scripts\_aks-helpers.ps1
$rg = (azd env get-value RESOURCE_GROUP)
$aks = (azd env get-value AKS_CLUSTER_NAME)
$pg = (az postgres flexible-server list -g $rg --query '[0].name' -o tsv)
$r = Invoke-AksCommand -ResourceGroup $rg -ClusterName $aks `
-Command "kubectl get svc -n ingress-nginx ingress-nginx-controller -o jsonpath='{.status.loadBalancer.ingress[0].ip}'" -Quiet
$ip = ($r.logs -replace '[^\d\.]','').Trim()
$storeUrl = "http://$ip"
$agentUrl = (azd env get-value AGENT_PORTAL_URL) # deep-links to this agent's blade — sign in if prompted
When observing or prompting the SRE Agent, use its built-in
RunKubectlReadCommand and RunKubectlWriteCommand tools for Kubernetes.
Scenario 1: Database Outage
Step 1: Show healthy state
- Use Playwright MCP to navigate to
$storeUrl - Take a screenshot — show products loading, status bar says "ALL SYSTEMS OPERATIONAL"
- Navigate to
$storeUrl/api/health— show"status":"healthy","db_connected":true
Step 2: Break it
.\.github\skills\running-demo\scripts\break-sql.ps1
Wait 30 seconds for the app to notice.
Step 3: Show the break in the browser
- Navigate to
$storeUrl— should show "SERVICE DISRUPTION" overlay - Take a screenshot — this is the degraded UI the audience should see
- Navigate to
$storeUrl/api/health— show"status":"unhealthy","db_connected":false
Step 4: Watch the SRE Agent
- Navigate to
$agentUrl— the agent portal - Look for a new incident thread (
postgres-unreachablescheduled-query alert, routed to thezava-databaseresponse plan) - The agent should investigate and run
az postgres flexible-server start - Poll PostgreSQL state every 60s — let the agent do its thing, do NOT run the fix script:
az postgres flexible-server show -g $rg -n $pg --query state -o tsv - Wait until state = "Ready" (typically 3-5 min)
- There's now one
postgres-unreachablealert for both DB scenarios, with thezava-databaseresponse plan merge disabled (the agent won't fold a second incident into the first thread). Both scenarios share that single rule, so Azure Monitor won't emit a fresh alert instance while the previous one is stillFired/Acknowledged. To keep back-to-back runs clean, thedatabase-incidentsrunbook has the agent close thepostgres-unreachablealert as its final step once recovery is verified — so by the time you start Scenario 2 it should already be resolved and the new break dispatches fresh. (Fallback if the agent didn't close it:autoMitigateresolves it ~15-30 min after recovery, or close it yourself in the portal Alerts blade.) The agent diagnoses each from ARM state (Stopped→ restart;Readybut unreachable → NetworkPolicy/NSG).
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- scripts/break-bad-deploy.ps1 4.5 KB runs code
- scripts/break-compound.ps1 4.8 KB runs code
- scripts/break-db-perf.ps1 9.7 KB runs code
- scripts/break-network.ps1 6.7 KB runs code
- scripts/break-sql.ps1 1.0 KB runs code
- scripts/fix-bad-deploy.ps1 2.3 KB runs code
- scripts/fix-compound.ps1 2.7 KB runs code
- scripts/fix-db-perf.ps1 2.3 KB runs code
- scripts/fix-network.ps1 1.8 KB runs code
- scripts/fix-sql.ps1 1.4 KB runs code
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.
- 4d ago First seen · 256 lines · 31 tokens per session scan A e08d3902638e
running-demo is a skill published in the GitHub repository microsoft/sre-agent (151 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 3,753 once invoked, about $0.0002 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-30.
Other skills, from other repositories
iterative-latency-investigation
Iteratively investigate the source of latency in a Chrome build or in an experiment. Coordinates the multi-agent swarm (Capture, SQL Analysis, Trace Injection) to run automated browser scenarios, capture traces, analyze them using Perfetto SQL, and surgically inject trace macros to recursively break down "black box"…
automated-tracing
Automated Tracing & Performance Telemetry in Chromium using Perfetto and Telemetry benchmarks. Use when you need to launch the browser binary, execute a specific scenario/story, and collect Perfetto traces. Don't use for trace analysis (use analyzing-sql-traces).
surf
Use this skill — NOT browser or webfetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/ covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT…
db-browser
Install DB Browser for SQLite (if not already installed) and open a .sqlite file in it. macOS only.
supabase
Complete guide for the Supabase plugin — Management API access for running SQL queries, listing projects, managing edge functions, secrets, migrations, and inspecting project health.
diagnose
Диагностика ступени мастерства (Диагност R28, FORM.089 §6.1 v5.0) прямо в VS Code / claude.ai. До 6 вопросов, 3 мин. Сохраняет cp-профиль в канонический журнал learning.cpassessments — через MCP-инструмент (browser) или напрямую в Neon (VS Code). Запускай когда: пилот говорит «пройди диагностику», «какая моя ступень»…