incident

incident is a skill for Claude Code from justnau1020/claude-os. It costs 30 tokens per session (333 once invoked), scanned A, original, Apache-2.0.

An emergency procedure for responding to a production outage, security breach, or corrupted data. It organizes the work into assessment, containment, diagnosis, recovery, and documentation.

In plain words
What is it for?
Use it to check service health and recent CI, rotate secrets after a breach, back up affected databases, inspect recent commits, verify recovery, and write an incident report.
Why use it?
It gives you a sequence to limit damage, find the cause, restore service, and record what happened during a high-pressure incident.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to check service health and recent CI, rotate secrets after a breach, back up affected databases, inspect recent commits, verify recovery, and write an incident report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/justnau1020/claude-os/incident
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.

Any agent
npx skills add justnau1020/claude-os --skill incident
Clone the repo
git clone --depth 1 https://github.com/justnau1020/claude-os

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/justnau1020/claude-os/incident/github.svg)](https://agentmods.dev/skills/justnau1020/claude-os/incident)
Your own site
<a href="https://agentmods.dev/skills/justnau1020/claude-os/incident"><img src="https://agentmods.dev/badge/skills/justnau1020/claude-os/incident/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/justnau1020/claude-os/incident"><img src="https://agentmods.dev/badge/skills/justnau1020/claude-os/incident.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 333 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00030 $0.00333
Opus 5 $0.00015 $0.00167
Sonnet 5 $0.00006 $0.00067
Haiku 4.5 $0.00003 $0.00033

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

Security

Grade A, and why

incident 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 12d 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.

curl -sf https://{PRODUCTION_URL}/health
skills/operations/incident/SKILL.md · 64 lines

What it actually says

Incident Response

This is an emergency procedure. Follow steps carefully.

Steps

1. Assess

  • What is the nature of the incident? (outage, security breach, data corruption)
  • When did it start?
  • What is the blast radius? (single user, all users, data integrity)

2. Contain

  • If security breach: rotate all API keys and secrets immediately
  • If outage: check health endpoint and CI status
  • If data corruption: stop the service, take a backup immediately
# Take immediate backup (adjust for your database)
# SQLite
cp database.db database.db.incident-backup

# PostgreSQL
pg_dump dbname > incident-backup.sql

3. Diagnose

# Check service status
curl -sf https://{PRODUCTION_URL}/health

# Check recent CI
gh run list --limit 5

# Check recent commits for the cause
git log --oneline -10

4. Remediate

Follow the relevant procedure from the project's runbook or operational docs.

5. Recover

  • Verify service is healthy
  • Verify data integrity
  • Notify affected users if applicable

6. Document

Create an incident report with:

  • Timeline of events
  • Root cause
  • Resolution steps taken
  • Prevention measures for the future
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. 12d ago First seen · 64 lines · 30 tokens per session scan A df27671fe8c7

Subscribe to this mod's changes

incident is a skill published in the GitHub repository justnau1020/claude-os (3 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 30 tokens to every session and 333 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-31.

Related

Other skills, from other repositories

skill-curator

A Chinese-language evaluator for deciding whether developer tools and agent resources are suitable for a curated collection. It checks real repositories, installation paths, activity, duplicates, and security boundaries using evidence.

laolaoshiren/claude-code-skills-zh · 75 tokens

env-manager

An environment-variable manager for project settings stored outside the code, often in .env files. It checks variable definitions and usage while keeping secret values out of reports and terminal output.

laolaoshiren/claude-code-skills-zh · 22 tokens

git-workflow

A guide for handling Git repository work safely, including status checks, branches, commits, pushes, pull requests, and rebasing. Git is a version-control system that records code changes and coordinates work between developers.

laolaoshiren/claude-code-skills-zh · 73 tokens

perf-profiler

A performance investigation guide that uses repeatable measurements and profiling evidence to find where software spends time or resources. Profiling records runtime activity such as CPU use, memory use, database work, or network delays.

laolaoshiren/claude-code-skills-zh · 78 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens

log-analyzer

A log-analysis helper that reads application and system logs to find unusual patterns and likely causes. Logs are records of events such as errors, requests, warnings, and service activity.

laolaoshiren/claude-code-skills-zh · 24 tokens