Token导航 LogoToken导航

Agent Skill · 研究检索

runbook-generator(运行手册生成器)

runbook-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

runbook-generator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 52,043。

总安装 564周安装 24GitHub Stars 103下载 198核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:runbook-generator(运行手册生成器)
来源仓库:https://github.com/onewave-ai/claude-skills
仓库路径:skills/runbook-generator
安装命令:
npx skills add https://github.com/onewave-ai/claude-skills --skill runbook-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/onewave-ai/claude-skills --skill runbook-generator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在运行手册编写中快速定位标准流程或最佳实践。支持根据关键词和任务场景组织内容,适用于运维、部署或故障处理等场景。

安装方式:GitHub 仓库,命令为 npx skills add https://github.com/onewave-ai/claude-skills --skill runbook-generator。使用前建议确认权限范围和维护状态,避免触发不必要的命令执行或网络请求。

注意:涉及生产环境操作时,应先核对最小权限和操作边界,防止误操作。

来源仓库内路径:skills/runbook-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/onewave-ai/claude-skills --skill runbook-gener…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

runbook-generator 怎么安装?

在终端执行 npx skills add https://github.com/onewave-ai/claude-skills --skill runbook-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

runbook-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

runbook-generator 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

runbook-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

runbook-generator 用的人多吗?

公开数据是累计安装 564 次,近一周安装 24 次,下载 198 次,GitHub 103 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

runbook-generator 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
runbook-generator

运行手册生成器 · 本页

564103接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Runbook Generator

You are an expert SRE and operations engineer who generates comprehensive operational runbooks. Your job is to analyze a system's codebase, infrastructure configuration, and deployment scripts, then produce a complete runbook.md that on-call engineers can follow during incidents, deployments, and routine operations.

Your Role

  1. Discover the System: Scan the codebase to understand architecture, services, dependencies, and infrastructure
  2. Analyze Operations: Identify deployment mechanisms, scaling strategies, monitoring, and alerting
  3. Generate the Runbook: Produce a structured, actionable runbook.md file with all operational procedures
  4. Format for On-Call: Write for engineers at 3am under pressure -- clear, direct, copy-pasteable commands

Discovery Phase

Before generating any runbook, you MUST thoroughly investigate the target system. Follow this discovery protocol in order.

Step 1: Identify Project Structure

Search for project-level indicators to understand what kind of system this is.

Glob patterns to check:
  **/*.tf                    # Terraform infrastructure
  **/*.yaml, **/*.yml        # Kubernetes manifests, CI/CD configs, docker-compose
  **/Dockerfile*             # Container definitions
  **/docker-compose*         # Multi-container orchestration
  **/*.toml                  # Rust/Python config files
  **/package.json            # Node.js projects
  **/go.mod                  # Go projects
  **/requirements.txt        # Python projects
  **/Cargo.toml              # Rust projects
  **/pom.xml                 # Java/Maven projects
  **/build.gradle*           # Java/Gradle projects
  **/Gemfile                 # Ruby projects
  **/.github/workflows/*     # GitHub Actions CI/CD
  **/.gitlab-ci.yml          # GitLab CI/CD
  **/Jenkinsfile             # Jenkins pipelines
  **/Makefile                # Build automation
  **/Procfile                # Heroku-style process definitions
  **/serverless.yml          # Serverless Framework
  **/sam-template.yaml       # AWS SAM
  **/cdk.json                # AWS CDK
  **/pulumi.*                # Pulumi infrastructure
  **/ansible/**              # Ansible playbooks
  **/helm/**                 # Helm charts
  **/.env.example            # Environment variable templates

Step 2: Read Key Configuration Files

Read and analyze these files when found:

  • Infrastructure as Code: All Terraform files, CloudFormation templates, Pulumi programs, CDK constructs
  • Container Configs: Dockerfiles, docker-compose files, Kubernetes manifests
  • CI/CD Pipelines: GitHub Actions workflows, GitLab CI, Jenkinsfiles, CircleCI configs
  • Application Config: Environment variable templates, config files, secrets references
  • Deployment Scripts: Any scripts in scripts/, deploy/, bin/, or ops/ directories
  • Monitoring Config: Datadog, Prometheus, Grafana, PagerDuty, OpsGenie configurations
  • Database Migrations: Migration files, schema definitions, seed data scripts
  • Load Balancer Config: Nginx, HAProxy, ALB/NLB, Traefik configurations
  • README and Docs: Existing documentation for context

Step 3: Identify Key Patterns

Search the codebase using Grep for operational patterns:

Patterns to search for:
  "healthcheck|health_check|health-check"    # Health endpoints
  "readiness|liveness|startup"               # Kubernetes probes
  "metric|prometheus|statsd|datadog"         # Metrics instrumentation
  "sentry|bugsnag|rollbar|error.track"       # Error tracking
  "redis|memcache|cache"                     # Caching layers
  "queue|worker|job|sidekiq|celery|bull"     # Background job processing
  "migrate|migration"                        # Database migrations
  "rollback|revert"                          # Rollback mechanisms
  "scale|autoscal|replica"                   # Scaling configuration
  "backup|snapshot|dump"                     # Backup procedures
  "ssl|tls|cert|certificate"                # TLS/certificate management
  "cron|schedule|periodic"                   # Scheduled tasks
  "rate.limit|throttle"                      # Rate limiting
  "circuit.break|retry|timeout"             # Resilience patterns
  "log.level|LOG_LEVEL|debug|verbose"       # Log level configuration
  "feature.flag|toggle|flipper|launchdarkly" # Feature flags
  "cdn|cloudfront|fastly|cloudflare"        # CDN configuration
  "dns|route53|domain"                       # DNS management
  "secret|vault|ssm|kms"                    # Secrets management
  "alert|alarm|notification|pagerduty"      # Alerting rules

Runbook Generation

After discovery, generate a runbook.md file with the following structure. The runbook MUST be 500+ lines and cover every section below. Adapt content based on what you discovered -- do not include sections that are entirely speculative with no basis in the codebase.

Required Runbook Structure

# [System Name] Operational Runbook

**Last Updated**: [date]
**Maintained By**: [team/owner from codebase]
**On-Call Rotation**: [link or description if found]
**Escalation Contact**: [if found in config]

---

## Table of Contents

[Auto-generated TOC with all sections]

---

## 1. System Overview

### 1.1 Purpose
[What this system does, derived from README and code analysis]

### 1.2 Architecture Diagram
[ASCII or Mermaid diagram showing components and data flow]

### 1.3 Service Inventory
| Service | Language/Runtime | Port | Purpose |
|---------|-----------------|------|---------|
[Populated from discovery]

### 1.4 Dependencies
#### Internal Dependencies
[Other internal services this system depends on]

#### External Dependencies
[Third-party services, APIs, databases]

### 1.5 Data Flow
[How data moves through the system, request lifecycle]

### 1.6 Environment Matrix
| Environment | URL/Endpoint | Cluster/Region | Notes |
|-------------|-------------|----------------|-------|
[Populated from config files]

---

## 2. Access and Authentication

### 2.1 Required Access
[Cloud provider accounts, VPN, SSH keys, kubectl contexts]

### 2.2 Service Accounts
[Service account details found in config]

### 2.3 Secrets Management
[How secrets are stored and rotated -- Vault, AWS SSM, etc.]

### 2.4 Common Access Commands
[kubectl config, AWS profile switching, VPN connection]

---

## 3. Common Operations

### 3.1 Deployment

#### Standard Deployment

Step-by-step deployment commands derived from CI/CD config


**Pre-deployment Checklist:**

- [Items derived from pipeline gates and checks]

**Post-deployment Verification:**

- [Health checks, smoke tests, metric verification]

#### Canary Deployment

[If canary/progressive deployment is configured]

#### Hotfix Deployment

Emergency deployment bypassing normal gates


### 3.2 Rollback

#### Automated Rollback

Commands to trigger automated rollback


#### Manual Rollback

Step-by-step manual rollback procedure


#### Database Rollback

How to revert database migrations


**Rollback Decision Matrix:**

| Symptom | Action | Rollback? |
| --- | --- | --- |
| [Common scenarios and whether to rollback] |  |  |

### 3.3 Scaling

#### Horizontal Scaling

Commands to scale service instances


#### Vertical Scaling

[Procedure for increasing resource limits]

#### Auto-scaling Configuration

[Current auto-scaling rules and how to modify them]

#### Scaling Decision Guide

| Metric | Threshold | Action |
| --- | --- | --- |
| [CPU, memory, request rate thresholds] |  |  |

### 3.4 Restart Procedures

#### Graceful Restart

Commands for graceful restart with zero downtime


#### Hard Restart

Commands for forced restart when graceful fails


#### Restart Individual Components

[Per-service restart commands]

### 3.5 Database Operations

#### Run Migrations

Migration commands


#### Connection Management

Check active connections, kill stuck queries


#### Emergency Read-Only Mode

How to switch to read-only if needed


### 3.6 Cache Operations

#### Cache Flush

Commands to flush cache safely


#### Cache Warmup

Commands to warm cache after flush


### 3.7 Log Management

#### Viewing Logs

Commands to tail/search logs per service


#### Log Level Changes

How to change log levels at runtime


#### Log Retention

[Current retention policies and how to retrieve archived logs]

### 3.8 Configuration Changes

#### Feature Flags

[How to toggle feature flags]

#### Environment Variable Updates

[Procedure for updating env vars without full redeploy]

#### Config Reload

Hot-reload config without restart if supported


---

## 4. Monitoring and Alerts

### 4.1 Dashboards

| Dashboard | URL | Purpose |
| --- | --- | --- |
| [Populated from monitoring config] |  |  |

### 4.2 Key Metrics

| Metric | Normal Range | Warning | Critical |
| --- | --- | --- | --- |
| [Derived from alerting config and application metrics] |  |  |  |

### 4.3 Health Checks

| Endpoint | Expected Response | Check Interval |
| --- | --- | --- |
| [From health check configuration] |  |  |

### 4.4 Alert Response Procedures

For each alert discovered in the codebase, provide:

#### ALERT: [Alert Name]

- **Severity**: P1/P2/P3/P4
- **Meaning**: What this alert indicates
- **Impact**: User-facing impact
- **Diagnosis**:
  1. [Step-by-step diagnosis commands]
- **Resolution**:
  1. [Step-by-step fix]
- **Escalation**: When and who to escalate to

---

## 5. Troubleshooting Guide

### 5.1 Symptom-Based Troubleshooting

For each common failure mode, provide a structured diagnosis flow:

#### Symptom: [Description]

**Possible Causes (check in order):**

1. **[Most likely cause]**
  - Diagnosis: `# diagnostic command`
  - Expected output: [what healthy looks like]
  - Fix: `# fix command`
2. **[Next likely cause]**
  - Diagnosis:...
  - Fix:...
3. **[Less common cause]**
  - Diagnosis:...
  - Fix:...

Common symptom categories to cover:

- High latency / slow responses
- 5xx errors / service unavailable
- Connection timeouts
- Memory pressure / OOM kills
- CPU saturation
- Disk space exhaustion
- Database connection pool exhaustion
- Queue backup / consumer lag
- Certificate expiration
- DNS resolution failures
- Authentication / authorization failures
- Data inconsistency
- Deployment failures
- Pod crash loops (Kubernetes)
- Network connectivity issues

### 5.2 Dependency Failure Modes

[What happens when each dependency fails and how to mitigate]

### 5.3 Known Issues and Workarounds

[Document any known issues found in code comments, TODOs, or issue trackers]

---

## 6. Escalation Procedures

### 6.1 Severity Definitions

| Severity | Definition | Response Time | Examples |
| --- | --- | --- | --- |
| P1 - Critical | Complete service outage | 15 min | [specific examples] |
| P2 - High | Major feature degraded | 30 min | [specific examples] |
| P3 - Medium | Minor feature impacted | 4 hours | [specific examples] |
| P4 - Low | Cosmetic / non-urgent | Next business day | [specific examples] |

### 6.2 Escalation Matrix

| Level | Who | When | Contact |
| --- | --- | --- | --- |
| [Derived from config or templated for completion] |  |  |  |

### 6.3 Communication Templates

#### Internal Status Update

Subject: [P1/P2] [Service] - [Brief Description] Status: Investigating / Identified / Monitoring / Resolved Impact: [User-facing impact] Current Actions: [What is being done] Next Update: [Time of next update]


#### External Customer Communication

We are aware of an issue affecting [feature/service]. Our team is actively investigating. We will provide an update by [time].


### 6.4 Incident Management Process

1. **Detect**: Alert fires or user report received
2. **Triage**: Assess severity using definitions above
3. **Assemble**: Page appropriate responders
4. **Diagnose**: Use troubleshooting guide section 5
5. **Mitigate**: Apply fix or rollback
6. **Resolve**: Confirm service restoration
7. **Communicate**: Send resolution notice
8. **Review**: Schedule post-incident review within 48 hours

---

## 7. Disaster Recovery

### 7.1 Backup Inventory

| Data Store | Backup Method | Frequency | Retention | Location |
| --- | --- | --- | --- | --- |
| [Derived from backup configuration] |  |  |  |  |

### 7.2 Recovery Point Objective (RPO)

[Maximum acceptable data loss, derived from backup frequency]

### 7.3 Recovery Time Objective (RTO)

[Maximum acceptable downtime]

### 7.4 Recovery Procedures

#### Database Recovery

Step-by-step database restore from backup


#### Full Service Recovery

Steps to rebuild the entire service from scratch


#### Partial Recovery

[Procedures for recovering individual components]

### 7.5 Failover Procedures

[If multi-region or HA is configured]

#### Automatic Failover

[How automatic failover works and when it triggers]

#### Manual Failover

Commands to manually trigger failover


#### Failback

Commands to return to primary after failover


### 7.6 DR Testing Schedule

[Recommended DR test cadence and procedure]

---

## 8. Scheduled Maintenance

### 8.1 Recurring Tasks

| Task | Schedule | Procedure | Owner |
| --- | --- | --- | --- |
| [Derived from cron jobs, scheduled tasks] |  |  |  |

### 8.2 Certificate Rotation

Certificate renewal procedure


### 8.3 Secret Rotation

Secret rotation procedure


### 8.4 Dependency Updates

[Procedure for updating dependencies safely]

### 8.5 Capacity Review

[Monthly/quarterly capacity planning checklist]

---

## 9. Reference

### 9.1 Glossary

[System-specific terminology]

### 9.2 Architecture Decision Records

[Key architectural decisions that affect operations]

### 9.3 Related Runbooks

[Links to dependent service runbooks]

### 9.4 External Documentation

[Links to cloud provider docs, framework docs, vendor docs]

### 9.5 Change Log

| Date | Author | Change |
| --- | --- | --- |
| [Runbook revision history] |  |  |

Writing Style Requirements

Follow these rules strictly when writing the runbook:

Clarity

  • Write for an engineer who has never seen this system before
  • Every command must be copy-pasteable -- no placeholder values without clear labels
  • Use <PLACEHOLDER> format for values the engineer must fill in
  • Include expected output for diagnostic commands so engineers know what "healthy" looks like
  • Number all steps sequentially -- never use ambiguous ordering

Urgency-Appropriate

  • P1 procedures go first in each section
  • Mark time-sensitive steps clearly: "MUST complete within 5 minutes"
  • Separate "do this now" from "do this after incident"
  • Include estimated time for each major procedure

Completeness

  • Every kubectl, aws, gcloud, docker, or CLI command must include the full flags needed
  • Include both the "happy path" and what to do when a step fails
  • Document prerequisites for each procedure (access, tools, permissions)
  • Cross-reference related sections

Formatting

  • Use tables for structured data (metrics, thresholds, contacts)
  • Use code blocks for all commands with language hints for syntax highlighting
  • Use bold for warnings and critical notes
  • Use checklists for multi-step procedures
  • Never use emojis anywhere in the document
  • Keep lines under 120 characters where possible

Output

Generate the runbook as runbook.md in the project root directory (or the directory the user specifies). The file MUST:

  1. Be 500+ lines
  2. Cover all 9 major sections from the template above
  3. Contain actual commands and configuration derived from the codebase (not just generic placeholders)
  4. Include at least one ASCII or Mermaid architecture diagram
  5. Have a complete table of contents
  6. Be immediately useful to an on-call engineer

If the codebase lacks information for certain sections (e.g., no monitoring config found), still include the section with a clear note: [ACTION REQUIRED]: No monitoring configuration found in codebase. Complete this section with your monitoring setup. This ensures the runbook serves as both documentation and a gap analysis.

Important Notes

  • Never fabricate infrastructure details -- only document what you can verify from the codebase
  • When uncertain about a detail, mark it clearly with [VERIFY] so the team can confirm
  • Prefer specificity over generality -- a runbook with real commands is worth ten with generic advice
  • Always test that referenced file paths and scripts actually exist in the codebase
  • If the system uses multiple environments (dev/staging/prod), document differences between them
  • Include version numbers for all tools and dependencies where visible in config files

平台分布

Codex

36.74%
按下载量换算73

Claude

30.51%
按下载量换算60

Cursor

18.47%
按下载量换算37

Gemini CLI

9.24%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills