running-demo

running-demo is a skill for Claude Code, Codex from microsoft/sre-agent. It costs 31 tokens per session (3,753 once invoked), scanned A, original, MIT.

A browser-based demo procedure for showing an SRE agent handle broken and working application scenarios. SRE means site reliability engineering: keeping software services available and diagnosing failures.

In plain words
What is it for?
Use it to run break-and-fix demonstrations, verify the application in a browser, inspect Kubernetes resources, and show how the SRE agent responds to incidents.
Why use it?
It provides concrete steps for demonstrating the agent instead of only describing it. The procedure includes checking the browser, cloud environment, Kubernetes cluster, and database outage scenario.

Skill for Claude CodeCodex

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/running-demo
Any agent
npx skills add microsoft/sre-agent --skill running-demo
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 running-demo

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/sre-agent/running-demo.svg)](https://agentmods.dev/skills/microsoft/sre-agent/running-demo)
Your own site
<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>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00031 $0.03753
Opus 5 $0.00015 $0.01877
Sonnet 5 $0.00006 $0.00751
Haiku 4.5 $0.00003 $0.00375

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

Security

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.

The scan reads SKILL.md. This mod also ships 10 executable files (scripts/break-bad-deploy.ps1, scripts/break-compound.ps1, scripts/break-db-perf.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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:
labs/zava-aks-postgres/.github/skills/running-demo/SKILL.md · 256 lines

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

  1. Use Playwright MCP to navigate to $storeUrl
  2. Take a screenshot — show products loading, status bar says "ALL SYSTEMS OPERATIONAL"
  3. 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

  1. Navigate to $storeUrl — should show "SERVICE DISRUPTION" overlay
  2. Take a screenshot — this is the degraded UI the audience should see
  3. Navigate to $storeUrl/api/health — show "status":"unhealthy","db_connected":false

Step 4: Watch the SRE Agent

  1. Navigate to $agentUrl — the agent portal
  2. Look for a new incident thread (postgres-unreachable scheduled-query alert, routed to the zava-database response plan)
  3. The agent should investigate and run az postgres flexible-server start
  4. 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
    
  5. Wait until state = "Ready" (typically 3-5 min)
  6. There's now one postgres-unreachable alert for both DB scenarios, with the zava-database response 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 still Fired/Acknowledged. To keep back-to-back runs clean, the database-incidents runbook has the agent close the postgres-unreachable alert 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: autoMitigate resolves it ~15-30 min after recovery, or close it yourself in the portal Alerts blade.) The agent diagnoses each from ARM state (Stopped → restart; Ready but unreachable → NetworkPolicy/NSG).

Read the full file on GitHub · 256 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 · 256 lines · 31 tokens per session scan A e08d3902638e

Subscribe to this mod's changes

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.

Related

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"…

chromium/chromium · 71 tokens

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).

chromium/chromium · 58 tokens

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…

BlockRunAI/ClawRouter · 130 tokens

db-browser

Install DB Browser for SQLite (if not already installed) and open a .sqlite file in it. macOS only.

sonichi/sutando · 27 tokens

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.

stagewise-io/stagewise · 35 tokens

diagnose

Диагностика ступени мастерства (Диагност R28, FORM.089 §6.1 v5.0) прямо в VS Code / claude.ai. До 6 вопросов, 3 мин. Сохраняет cp-профиль в канонический журнал learning.cpassessments — через MCP-инструмент (browser) или напрямую в Neon (VS Code). Запускай когда: пилот говорит «пройди диагностику», «какая моя ступень»…

TserenTserenov/FMT-exocortex-template · 130 tokens