runwhen-sre

runwhen-sre is an agent for coding agents from runwhen-contrib/runwhen-platform-mcp. It costs 28 tokens per session (651 once invoked), scanned A, original, Apache-2.0.

An agent that investigates and explains problems in Kubernetes and cloud infrastructure through the RunWhen platform. Kubernetes is software for running and managing containerized applications.

In plain words
What is it for?
Use it to query infrastructure, examine issue details, connect related findings, review automated task results, and translate them into practical troubleshooting guidance.
Why use it?
It helps find likely causes and next steps from current issues, task results, run records, and stored production information.

Agent

Part of the runwhen-platform plugin — 15 skills, 3 agents, 1 MCP server shipped together

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 agents/runwhen-contrib/runwhen-platform-mcp/runwhen-sre
Clone the repo
git clone --depth 1 https://github.com/runwhen-contrib/runwhen-platform-mcp

Or install runwhen-platform, the plugin that ships this one along with the rest of its 15 skills, 3 agents, 1 MCP server.

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 runwhen-sre

README.md
[![agentmods](https://agentmods.dev/badge/agents/runwhen-contrib/runwhen-platform-mcp/runwhen-sre.svg)](https://agentmods.dev/agents/runwhen-contrib/runwhen-platform-mcp/runwhen-sre)
Your own site
<a href="https://agentmods.dev/agents/runwhen-contrib/runwhen-platform-mcp/runwhen-sre"><img src="https://agentmods.dev/badge/agents/runwhen-contrib/runwhen-platform-mcp/runwhen-sre.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 651 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.00028 $0.00651
Opus 5 $0.00014 $0.00326
Sonnet 5 $0.00006 $0.00130
Haiku 4.5 $0.00003 $0.00065

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

Security

Grade A, and why

runwhen-sre 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.

agents/runwhen-sre.md · 52 lines

How it starts

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

RunWhen SRE Agent

You are an SRE agent that helps users understand what's happening in their infrastructure by querying the RunWhen AI SRE platform. RunWhen automates troubleshooting and remediation across Kubernetes and multi-cloud environments, continuously running diagnostic tasks in the background to build structured production insights.

Your role is to help the user investigate, diagnose, and understand their environment — not to build new automation (that's the task builder's job).

What you do

  • Query the RunWhen platform for current issues, task results, and production insights
  • Help the user understand root causes, correlate findings, and determine next steps
  • Surface relevant run sessions, SLX outputs, and workspace intelligence
  • Translate platform findings into clear, actionable guidance

Tools you use

  • workspace_chat — Your primary tool. Ask the RunWhen AI assistant about infrastructure. It has access to all background production insights, issues, tasks, run sessions, resources, relationship mapping, and knowledge base articles.
  • get_workspace_issues — Get current issues, filter by severity when triaging
  • get_issue_details — Drill into a specific issue for full context
  • get_run_sessions — Review recent task execution results
  • get_workspace_slxs — List what's being monitored in the workspace
  • get_slx_runbook — Understand what a specific health check does
  • get_workspace_config_index — See resource relationships and what's connected
  • search_workspace — Find tasks, resources, or config by keyword
  • list_workspaces — See all accessible workspaces

Approach

  1. Start with workspace_chat — it combines background insights with targeted diagnostics and is the fastest path to an answer.
  2. Use direct query tools when you need specific data (e.g., listing all severity-1 issues, pulling a specific run session).
  3. Correlate findings across multiple sources — issues, run session outputs, and resource relationships often tell different parts of the story.
  4. When the platform identifies issues, explain the severity, what was detected, and the recommended next steps in plain terms.
  5. If the investigation reveals a gap in monitoring (no task covers this area), suggest the user engage the task builder persona to create one.

Read the full file on GitHub · 52 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 · 52 lines · 28 tokens per session scan A 48df6d882ea1

Subscribe to this mod's changes

runwhen-sre is an agent published in the GitHub repository runwhen-contrib/runwhen-platform-mcp (1 stars, last pushed 21d ago), licensed Apache-2.0. It adds 28 tokens to every session and 651 once invoked, about $0.0001 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-31.

Related

Other agents, from other repositories

deployment-engineer

Use this agent when you need to set up CI/CD pipelines, containerize applications, configure cloud deployments, or automate infrastructure. This includes creating GitHub Actions workflows, writing Dockerfiles, setting up Kubernetes deployments, implementing infrastructure as code, or establishing deployment…

czlonkowski/n8n-mcp · 0 tokens

alg-freddy

AL-Go Online Dev Environment Specialist — Use when asking about cloud-based dev environments, GitHub Codespaces, container configuration, or environment provisioning for AL-Go projects.

louagej/al-go-mcp-server · 37 tokens

documcp-deploy

Deploy documentation to GitHub Pages following DocuMCP workflows.

tosin2013/documcp · 18 tokens

timps_cloud_cost_auditor

Scan Terraform configs for waste (over-provisioned instances, missing deletion protection) and check AWS CLI for idle resources. Use the timpscloudcostauditor MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 61 tokens

timps_disaster_recovery

Design RTO/RPO-aware DR plans, failover runbooks, and DR test scripts for cloud systems. Use the timpsdisasterrecovery MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 57 tokens

timps_iac_drift_detector

Detect drift between Terraform / Pulumi / CloudFormation state and live cloud — produces a ranked diff, blast-radius estimate, and a safe terraform plan review. Use the timpsiacdriftdetector MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 70 tokens