Rescue logo

Rescue

Community
Houseofmvps
rescue

Production Incident Commander — diagnose and recover from production incidents. Use when something is broken in production, site is down, errors spiking, or user reports a critical bug.

Overview

PublisherHouseofmvps
Repositoryultraship
Skill namerescue
Stars
122
Forks
14
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Houseofmvps on GitHub. Read the source before you install it.

Installation

Install the Rescue AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Houseofmvps/ultraship.git /tmp/ultraship
mkdir -p .claude/skills
cp -r /tmp/ultraship/skills/rescue .claude/skills/rescue
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rescue in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Rescue on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Rescue is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Production Incident Commander

When production is down, every minute costs trust. This skill runs an incident like a principal SRE — fast triage, clear decision-making, structured recovery, and prevention so it never happens again.

Severity Classification

Before doing anything, classify the incident:

SeverityDefinitionResponse TimeExample
SEV-1Service completely down, all users affectedImmediatelySite returns 500, database unreachable
SEV-2Major feature broken, many users affectedWithin 15 minAuth broken, payments failing, data loss
SEV-3Minor feature broken, some users affectedWithin 1 hourOne API endpoint slow, email not sending
SEV-4Cosmetic or edge caseNext business dayUI glitch on one browser, non-critical error log

Severity determines urgency. SEV-1/2: restore first, investigate later. SEV-3/4: investigate first, then fix.

Process

Phase 1: Gather Context

Ask for:

  1. Production URL (if not already known)
  2. What's happening? (down, slow, errors, specific feature broken)
  3. When did it start? (narrows the commit search window)
  4. What changed recently? (deploy, config change, dependency update, traffic spike)

If the user is panicking, skip questions and use whatever info is available. Speed > completeness for SEV-1.

Phase 2: Run Diagnostics

bash
node ${CLAUDE_PLUGIN_ROOT}/tools/incident-commander.mjs <project-directory> --url=<production-url>

Parse the JSON output.

If a Sentry MCP server is connected (check your available tools — search for sentry tools), pull live production errors before guessing at code: list the most recent / most frequent issues since the incident window, read the top stack traces, and map each frame back to a file and line in this repo. A real stack trace from production beats inferring the culprit from recent commits. Use the actual error signature to narrow the suspect commit. If no Sentry server is connected, continue with the static diagnostics above (and mention that connecting Sentry would sharpen this step).

Phase 3: Triage

Present findings in order of urgency:

Site Status:

  • UP / DOWN / DEGRADED
  • Response time and status code
  • Health endpoint status
  • SSL certificate validity

Likely Culprit:

  • Most recent commit with significant changes
  • Files changed in that commit
  • When it was deployed
  • Correlation: did the issue start after this deploy?

Error Patterns Found:

  • Unhandled promises, missing error handlers
  • Environment variable issues (missing, placeholder values)
  • Database connection problems
  • Third-party service failures

Resource Issues:

  • Memory pressure signals (process.memoryUsage patterns in code)
  • Unbounded data growth (arrays that grow without cleanup)
  • Connection pool exhaustion (too many DB connections)

Phase 4: Recovery Options

Present in order of speed — for SEV-1/2, always recommend Option 1 first:

Option 1: Rollback (fastest — 2-5 min)

bash
git revert <culprit-hash> --no-edit && git push

This is almost always the right first move. Restore service, then investigate.

When NOT to rollback:

  • The rollback would cause data loss (destructive migration already ran)
  • The issue isn't in the latest deploy (pre-existing problem that suddenly surfaced)
  • The rollback is bigger than the fix (e.g., reverting 50 files when the fix is 1 line)

Option 2: Hot Fix (5-15 min) If the error pattern is clear and the fix is small:

  • Apply the fix using Edit tool
  • Run tests locally
  • Push the fix with a clear commit message: fix: [what was broken] — incident [date]
  • Verify with health check

Option 3: Traffic Management (immediate) If the issue is load-related:

  • Enable maintenance mode if available
  • Scale up infrastructure if possible (Railway: increase instance count)
  • Add rate limiting to affected endpoints
  • Redirect traffic away from broken feature

Option 4: Investigate Further If the cause isn't clear:

  • Check application logs (Railway: railway logs, Vercel: function logs)
  • Check database connectivity and query performance
  • Check third-party service status pages (Stripe, Resend, Supabase, etc.)
  • Check recent environment variable changes
  • Check if DNS/SSL certificate expired

Phase 5: Verify Recovery

After applying a fix:

bash
node ${CLAUDE_PLUGIN_ROOT}/tools/health-check.mjs <production-url>

Confirm the site is back to healthy status. Check:

  • Status code 200
  • Response time within normal range
  • SSL still valid
  • Key functionality working (not just the homepage)

Phase 6: Communication

For SEV-1/2, the user needs to communicate with their users:

Status page update template:

[Investigating] We're aware of [issue description] and are actively working on a fix.
[Identified] We've identified the cause and are deploying a fix.
[Resolved] The issue has been resolved. [Brief explanation]. We apologize for the disruption.

If the user has a status page: help them post the update. If they don't: suggest setting up a simple one (Instatus, Betteruptime, or a static page).

Phase 7: Post-Mortem

Generate a post-mortem document from the incident-commander output:

markdown
# Incident Post-Mortem — [Date]

## Summary
- **What happened:** [One sentence]
- **Severity:** SEV-[N]
- **Duration:** [start time] to [end time] ([N] minutes)
- **Impact:** [Who was affected, what they experienced]
- **Root cause:** [One sentence]

## Timeline
| Time | Event |
|---|---|
| HH:MM | Issue detected (how: monitoring/user report/deploy) |
| HH:MM | Investigation started |
| HH:MM | Root cause identified |
| HH:MM | Fix deployed |
| HH:MM | Service restored |

## Root Cause Analysis
[Detailed explanation of what went wrong and why]

## What Went Well
- [Fast detection, quick recovery, etc.]

## What Went Wrong
- [Missed in review, no test coverage, no monitoring, etc.]

## Action Items
| Action | Priority | Owner | Deadline |
|---|---|---|---|
| Add test for this failure case | High | [user] | This week |
| Add monitoring for [pattern] | High | [user] | This week |
| Add pre-deploy check that would have caught this | Medium | [user] | This sprint |
| [Update runbook/docs] | Low | [user] | This month |

Save to docs/incidents/YYYY-MM-DD-incident.md.

Phase 8: Prevention

Based on the incident, suggest concrete preventive measures:

Immediate (today):

  • Add a test that reproduces the exact failure
  • Add the specific check to the /ship pre-deploy audit

This week:

  • Set up uptime monitoring (Betteruptime, UptimeRobot — free tiers available)
  • Add health check endpoint if one doesn't exist (/health or /api/health)
  • Set up error alerting (Sentry free tier, or a simple error webhook)

This month:

  • Add the failure pattern to code review checklist
  • Document the runbook for this type of incident
  • If this was a database issue: add connection pool monitoring
  • If this was a deployment issue: add canary deployments or staged rollouts

Key Principles

  • Speed over perfection. Restore service FIRST, investigate AFTER. Rollback is almost always the right first move.
  • No blame. Post-mortems are about systems, not people. "The deploy process didn't catch this" not "Developer X broke production."
  • Every incident is a gift. It reveals a gap in your system. The post-mortem action items are how you prevent the next incident.
  • Communicate early and often. Silence during an outage erodes trust faster than the outage itself.

Frequently asked questions

What does the Rescue AI skill do?

Production Incident Commander — diagnose and recover from production incidents. Use when something is broken in production, site is down, errors spiking, or user reports a critical bug.

Why use Rescue on TypingMind?

Because you install it once and use it with any model. Rescue is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Rescue in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Houseofmvps/ultraship/tree/main/skills/rescue. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Rescue?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Rescue?

As many as you like. As long as a model supports skills, you can use Rescue with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Rescue AI skill free?

Yes. It is published on GitHub by Houseofmvps under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇