Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Anthropic

runbook — Claude Code skill: what it does, how to install

This skill turns a recurring operation into a step-by-step runbook with verification, failure handling, rollback, and escalation guidance.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/knowledge-work-plugins --skill runbook -a claude-code
Open on GitHub

What runbook does

The skill creates or updates an operational runbook for a recurring task. It breaks the procedure into exact actions, records the expected result and response to failure for each step, and covers purpose, prerequisites, verification, troubleshooting, rollback, escalation, and history.

The output is a Markdown document with sections for ownership, run frequency, commands, checks, and operational notes. When a knowledge base connector is available, the skill can search for an existing runbook and publish the completed version to an ops wiki. An ITSM connector can link the document to incident types and change requests, then populate escalation contacts from on-call schedules.

The source asks someone unfamiliar with the process to test the runbook. That matters because the procedure depends on concrete access, tools, and input data listed under prerequisites.

What it helps with

  • turn a recurring procedure into exact operational steps
  • record what to do when an individual step fails
  • define checks that confirm successful completion
  • document a rollback path for a failed change
  • map escalation situations to contacts and methods

Example prompts for the agent

  • `/runbook certificate renewal`
  • `/runbook restore a production backup`
  • `/runbook add troubleshooting and rollback to the existing deployment procedure`

How to install runbook

1Skills CLI (Vercel)

npx skills add anthropics/knowledge-work-plugins --skill runbook -a claude-code

2Manually: put the files in place

~/.claude/skills/runbook/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/runbook/

From the same set89

The whole set →
data-visualization official anthropics Selects chart types based on data structure and produces Python visualization code in matplotlib, seaborn, and plotly. Useful for reports and research figures. Claude Code CX Codex Cursor +1 13,700installs documentation official anthropics A skill for technical writing that drafts READMEs, API references, runbooks, architecture docs and onboarding guides. Useful when the code exists but the description does not. Claude Code CX Codex Cursor +1 10,300installs build-dashboard official anthropics Builds a self-contained HTML dashboard with Chart.js charts, KPI cards, and filterable tables. Useful for turning raw data or queries into a standalone browser report. Claude Code CX Codex Cursor +1 9,100installs memory-management official anthropics This skill organizes workplace shorthand, names, and project details into files an agent can consult. It fits projects where requests rely on an internal vocabulary and shared context. Claude Code CX Codex Cursor +1 7,400installs task-management official anthropics Tracks commitments, active work, and follow-ups in a local TASKS.md file. Useful when managing project to-dos directly from the AI coding chat. Claude Code CX Codex Cursor +1 7,200installs architecture official anthropics Writes an Architecture Decision Record or reviews a system design: options, trade-offs, consequences. Useful when you have to pick between technologies. Claude Code CX Codex Cursor +1 6,700installs knowledge-synthesis official anthropics Merges search results across chats, emails, and documents into deduplicated answers with source attribution. Flags conflicting facts and scores source reliability. Claude Code CX Codex Cursor +1 6,400installs testing-strategy official anthropics This skill designs testing strategies and test plans for a project. Use it when you need test types, coverage goals, or gaps in existing checks. Claude Code CX Codex Cursor +1 6,400installs

Similar

gke-manifest-generation official google Creates and updates Kubernetes manifests for GKE Autopilot and Standard. Use it when defining app resources, health checks, or network routes. Claude Code Gemini CLI CX Codex 4,600installs monorepo-management Seth Hobson This skill guides monorepo setup with Turborepo, Nx, and pnpm workspaces. Use it for builds, shared dependencies, CI/CD, and package releases. Claude Code CX Codex Cursor 14,548installs golang-project-layout samber Skill organizes a Go project by convention: cmd/, internal/, pkg/ directories, module naming, go.work for monorepos. Asks about architecture and dependency injection approach, then scaffolds files and config. Claude Code CX Codex Cursor +1 40,300installs gke-ai-troubleshooting-jobset-interruption official google Diagnoses GKE JobSet restarts and interruptions in AI/ML training workloads. Use it to trace worker crashes, node failures, and spot VM preemptions. Claude Code Gemini CLI CX Codex 4,500installs developer-device-platform-basics official google This skill guides agents through managing remote Android devices on Developer Device Platform, from checking availability to connecting over ADB. Claude Code Gemini CLI CX Codex 4,500installs firebase-remote-config-basics Google LLC Manages Firebase Remote Config templates, loading strategies, and feature flags for Android and iOS. Helps tweak app behavior without pushing a release to app stores. Claude Code CX Codex Cursor +1 120,800installs wizard Matt Pocock This skill creates an interactive bash wizard for manual setup steps, CI secrets, third-party dashboards, and one-off migrations. Claude Code 553,369installs hyperframes-cli heygen-com Controls HyperFrames video workflows from the CLI: audits layouts and contrast, edits timeline clips, captures snapshots, and renders locally or in cloud runtimes. Claude Code CX Codex Cursor +1 1,200,000installs

Questions about runbook

How do I install runbook in Claude Code?

Run npx skills add anthropics/knowledge-work-plugins --skill runbook -a claude-code, then run npx skills add anthropics/knowledge-work-plugins --skill runbook -a claude-code again. The skill file is at ~/.claude/skills/runbook/SKILL.md.

What does the runbook skill do?

It creates or updates a step-by-step operational document for a recurring task. The structure includes prerequisites, verification, troubleshooting, rollback, escalation, and run history.

What do the knowledge base and ITSM connectors add?

The knowledge base connector can find an existing runbook and publish the finished document to an ops wiki. The ITSM connector links it to incident types and change requests and can fill escalation contacts from on-call schedules.

Source text

SKILL.md · Apache-2.0
---
name: runbook
description: Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
argument-hint: "<process or task name>"
---

# /runbook

> If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md).

Create a step-by-step operational runbook for a recurring task or procedure.

## Usage

```
/runbook $ARGUMENTS
```

## Output

```markdown
## Runbook: [Task Name]
**Owner:** [Team/Person] | **Frequency:** [Daily/Weekly/Monthly/As Needed]
**Last Updated:** [Date] | **Last Run:** [Date]

### Purpose
[What this runbook accomplishes and when to use it]

### Prerequisites
- [ ] [Access or permission needed]
- [ ] [Tool or system required]
- [ ] [Data or input needed]

### Procedure

#### Step 1: [Name]
```
[Exact command, action, or instruction]
```
**Expected result:** [What should happen]
**If it fails:** [What to do]

#### Step 2: [Name]
```
[Exact command, action, or instruction]
```
**Expected result:** [What should happen]
**If it fails:** [What to do]

### Verification
- [ ] [How to confirm the task completed successfully]
- [ ] [What to check]

### Troubleshooting
| Symptom | Likely Cause | Fix |
|---------|-------------|-----|
| [What you see] | [Why] | [What to do] |

### Rollback
[How to undo this if something goes wrong]

### Escalation
| Situation | Contact | Method |
|-----------|---------|--------|
| [When to escalate] | [Who] | [How to reach them] |

### History
| Date | Run By | Notes |
|------|--------|-------|
| [Date] | [Person] | [Any issues or observations] |
```

## If Connectors Available

If **~~knowledge base** is connected:
- Search for existing runbooks to update rather than create from scratch
- Publish the completed runbook to your ops wiki

If **~~ITSM** is connected:
- Link the runbook to related incident types and change requests
- Auto-populate escalation contacts from on-call schedules

## Tips

1. **Be painfully specific** — "Run the script" is not a step. "Run `python sync.py --prod --dry-run` from the ops server" is.
2. **Include failure modes** — What can go wrong at each step and what to do about it.
3. **Test the runbook** — Have someone unfamiliar with the process follow it. Fix where they get stuck.

© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor