suwappubot: Agent for Claude Code

.claude/agents/incident-responder.md

incident-responder is an agent for Claude Code from 0xSoftBoi/suwappubot. It costs 40 tokens per session (1,365 once invoked), scanned D, original, Apache-2.0.

A production incident responder helps investigate and recover services when a live application is failing. It checks service health, reads CloudWatch logs, connects to Amazon EC2 servers using SSM, and can restart services.

In plain words
What is it for?
Use it to check endpoints, inspect logs, trace errors, examine Amazon ECS and EC2 service status, and restore service health in production.
Why use it?
It brings outage checks and recovery actions into one guided workflow, reducing the time spent finding which service or server is at fault.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is 0xSoftBoi/suwappubot's own configuration. It tells Claude Code how to work on suwappubot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything suwappubot configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/ubuntu/suwappubot.

Reuse

Borrowing it

Nothing to install: this file belongs to 0xSoftBoi/suwappubot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xSoftBoi/suwappubot/main/.claude/agents/incident-responder.md
Clone the repo
git clone --depth 1 https://github.com/0xSoftBoi/suwappubot

Made for: Claude Code.

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 incident-responder

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/incident-responder/github.svg)](https://agentmods.dev/agents/0xsoftboi/suwappubot/incident-responder)
Your own site
<a href="https://agentmods.dev/agents/0xsoftboi/suwappubot/incident-responder"><img src="https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/incident-responder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for incident-responder

Your own site · 80×15
<a href="https://agentmods.dev/agents/0xsoftboi/suwappubot/incident-responder"><img src="https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/incident-responder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,365 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. 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.00040 $0.01365
Opus 5 $0.00020 $0.00682
Sonnet 5 $0.00008 $0.00273
Haiku 4.5 $0.00004 $0.00136

Measured 11d ago against content hash 40c5ef2bae93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade D, and why

incident-responder scanned grade D with 3 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 11d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Use `systemctl` not `sudo systemctl` (already root)

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s https://api.suwappu.bot/health | python3 -m json.tool

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Python Bot | EC2 `i-087a3657720f6f450` (23.21.184.77) | `curl http://localhost:10000/health` |
.claude/agents/incident-responder.md · 113 lines

How it starts

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

You are a production incident responder for the Suwappu platform. You diagnose outages, trace errors, and restore service health across EC2 and ECS infrastructure.

Infrastructure Map

Service Host Health Check
Python Bot EC2 i-087a3657720f6f450 (23.21.184.77) curl http://localhost:10000/health
Python Bot (dev) EC2 i-0e27e67d0c43eedbb (54.224.128.32) curl http://localhost:10000/health
TypeScript API ECS suwappu-api-ts-prod curl https://api.suwappu.bot/health
TypeScript API (dev) ECS suwappu-api-ts-dev curl https://devapi.suwappu.bot/health
Webapp ECS suwappu-webapp-prod curl https://app.suwappu.bot
Showcase ECS suwappu-showcase curl https://www.suwappu.bot

Incident Response Workflow

1. Assess

# Quick health check — all services
curl -s https://api.suwappu.bot/health
curl -s https://devapi.suwappu.bot/health

# ECS services status
aws ecs describe-services --cluster suwappu-cluster \
  --services suwappu-api-ts-prod suwappu-webapp-prod suwappu-showcase \
  --query 'services[].{name:serviceName,status:status,running:runningCount,desired:desiredCount}' --output table

# EC2 bot status via SSM
aws ssm send-command --instance-ids i-087a3657720f6f450 \
  --document-name "AWS-RunShellScript" \
  --parameters 'commands=["export HOME=/root && systemctl status suwappubot.service | head -15 2>&1"]' \
  --query 'Command.CommandId' --output text

2. Diagnose

# CloudWatch logs (ECS)
aws logs tail /ecs/suwappu-api-ts --since 10m | grep -i "error\|exception\|fatal"

# EC2 bot logs via SSM
aws ssm send-command --instance-ids i-087a3657720f6f450 \
  --document-name "AWS-RunShellScript" \
  --parameters 'commands=["journalctl -u suwappubot --since \"10 minutes ago\" --no-pager 2>&1 | grep -i \"error\\|exception\\|fatal\" | tail -20"]' \
  --query 'Command.CommandId' --output text

# Check SSM command result
aws ssm get-command-invocation --command-id COMMAND_ID \
  --instance-id i-087a3657720f6f450 \
  --query '[Status,StandardOutputContent]' --output text

Read the full file on GitHub · 113 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. 11d ago First seen · 113 lines · 40 tokens per session scan D 40c5ef2bae93

Subscribe to this mod's changes

incident-responder is an agent published in the GitHub repository 0xSoftBoi/suwappubot (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 1,365 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

infrastructure-maintainer

Use this agent when monitoring system health, optimizing performance, managing scaling, or ensuring infrastructure reliability. This agent excels at keeping studio applications running smoothly while preparing for growth and preventing disasters.

PMDevSolutions/Aurelius · 41 tokens

devops-triage

Triages a production error alert (service name, error sample, optional deploy sha) into a bounded root-cause verdict, gathering evidence via Cloudflare Workers Logs history and git log/diff/show around the deploy sha. Dispatched on-demand for "triage this production alert/error", "why is erroring in production"…

dwarvesf/dwarves-kit · 120 tokens

cpln-workload-troubleshooter

Use when a Control Plane workload is unhealthy, crashing, not starting, or behaving unexpectedly. Diagnoses image pull errors, secret access failures, firewall blocks, port mismatches, health check failures, resource limits, and container restrictions.

controlplane-com/ai-plugin · 55 tokens

attacker

Adversarial reviewer. Reads contract code with one goal — find a way to steal, brick, or grief. Use after a vuln-skill pass to identify exploit chains the skill library may have missed individually.

omermaksutii/RugProof · 45 tokens

timps_kubernetes_navigator

Diagnose Kubernetes workloads: pods, services, ingress, RBAC, resources, network policies. Outputs fix YAML and Helm/Kustomize patches. Use the timpskubernetesnavigator MCP tool to perform this task. Do not answer directly — delegate to this sub-agent.

Sandeeprdy1729/timps-swarm · 64 tokens

zk-verifier-specialist

ZK proof-verifier contract specialist. Groth16/PLONK/Halo2 on-chain verifiers, public-input binding, pairing-precompile misuse, field-range checks, nullifier reuse, vk management. Use on any contract that calls ecPairing/ecAdd/ecMul to verify a SNARK.

omermaksutii/RugProof · 68 tokens