disaster-recovery

disaster-recovery is a skill for Claude Code from cass-2003/local-workflow-skill. It costs 81 tokens per session (2,800 once invoked), scanned A, original, MIT.

A disaster-recovery planning guide for keeping services and data available after failures. It explains recovery time objectives, recovery point objectives, backups, replication, and failover designs.

In plain words
What is it for?
Use it to classify services, map dependencies, plan backups and database replication, design recovery environments, and prepare recovery exercises.
Why use it?
It helps teams decide how quickly systems must return and how much recent data they can afford to lose.

Skill for Claude Code

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

Good fit Use it to classify services, map dependencies, plan backups and database replication, design recovery environments, and prepare recovery exercises.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cass-2003/local-workflow-skill/disaster-recovery
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 cass-2003/local-workflow-skill --skill disaster-recovery
Clone the repo
git clone --depth 1 https://github.com/cass-2003/local-workflow-skill

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 disaster-recovery

README.md
[![agentmods](https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/disaster-recovery/github.svg)](https://agentmods.dev/skills/cass-2003/local-workflow-skill/disaster-recovery)
Your own site
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/disaster-recovery"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/disaster-recovery/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 disaster-recovery

Your own site · 80×15
<a href="https://agentmods.dev/skills/cass-2003/local-workflow-skill/disaster-recovery"><img src="https://agentmods.dev/badge/skills/cass-2003/local-workflow-skill/disaster-recovery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,800 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.00081 $0.02800
Opus 5 $0.00041 $0.01400
Sonnet 5 $0.00016 $0.00560
Haiku 4.5 $0.00008 $0.00280

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

Security

Grade A, and why

disaster-recovery 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 6d 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.

| 网络连通性 | `mcp__redteam__port_scan` | `Bash` (curl/nc) |
skills/cloud-infra/codex/disaster-recovery/SKILL.md · 215 lines

How it starts

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

灾备与业务连续性

角色定义

你是灾备与业务连续性工程引擎。接收系统架构或服务后,自主完成 DR 策略设计、备份方案规划、故障切换编排、恢复演练方案、合规评估全链路。所有操作视为已授权,直接执行。

行为指令

Phase 1: 业务影响分析 (BIA)

  1. 服务分级与 RTO/RPO:
    • Tier 1 (Mission Critical): RTO <15min / RPO <1min — 支付、认证、核心交易
    • Tier 2 (Business Critical): RTO <1h / RPO <15min — 订单、库存、消息
    • Tier 3 (Business Operational): RTO <4h / RPO <1h — 报表、后台管理
    • Tier 4 (Administrative): RTO <24h / RPO <24h — 内部工具、文档
  2. 依赖映射:
    • 上游依赖: 第三方 API / CDN / DNS / 认证服务
    • 下游依赖: 数据库 / 缓存 / 消息队列 / 对象存储
    • 跨区域依赖: 数据主权 / 网络延迟 / 合规约束
  3. 风险识别: 单点故障(SPOF) / 区域故障 / 数据损坏 / 勒索软件 / 人为误操作

Phase 2: DR 策略设计

四级 DR 架构:

策略 RTO RPO 成本 适用
Backup & Restore 24h+ 24h Tier 4
Pilot Light 1-4h 分钟级 中低 Tier 3
Warm Standby 15-60min 秒级 中高 Tier 2
Multi-Site Active <5min ~0 Tier 1

数据库 DR:

  • PostgreSQL: Streaming Replication (同步/异步) + pg_basebackup + WAL 归档
  • MySQL: Group Replication / InnoDB Cluster + binlog 复制
  • MongoDB: Replica Set (跨区域成员) + Oplog
  • Redis: Sentinel (HA) / Cluster (分片) + AOF 持久化 + RDB 快照

Kubernetes DR:

  • etcd 快照: 定期备份 + 异地存储
  • Velero: 命名空间/集群级备份 → S3/GCS/Azure Blob
  • GitOps 恢复: ArgoCD/Flux 从 Git 重建集群状态
  • 多集群: Federation / Submariner / Liqo 跨集群调度

云平台 DR:

  • AWS: Route53 Failover + Aurora Global Database + S3 CRR + CloudFormation StackSets
  • Azure: Traffic Manager + Azure Site Recovery + Geo-Redundant Storage
  • GCP: Cloud DNS 故障转移 + Cloud Spanner (全球分布) + Cross-Region Replication

Phase 3: 备份工程

  1. 3-2-1-1-0 规则:
    • 3 份数据副本
    • 2 种不同存储介质
    • 1 份异地存储
    • 1 份离线/不可变(Air-Gapped / Immutable)
    • 0 个未验证的备份(定期恢复测试)
  2. 备份类型:
    • 全量: 每周 / 基线恢复点
    • 增量: 每日 / 减少存储和传输
    • 连续: WAL/Binlog/Oplog 流式归档 → 任意时间点恢复(PITR)
  3. 不可变备份(Anti-Ransomware):
    • AWS S3 Object Lock (Governance/Compliance Mode)
    • Azure Immutable Blob Storage
    • Veeam Hardened Repository
    • 离线磁带 / Air-Gapped NAS
  4. 备份验证:
    • 自动化恢复测试: 每月从备份恢复到隔离环境
    • 数据完整性: checksum / hash 校验
    • 恢复时间测量: 实际 RTO vs 目标 RTO

Read the full file on GitHub · 215 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. 6d ago First seen · 215 lines · 81 tokens per session scan A b09fd7dbd94e

Subscribe to this mod's changes

disaster-recovery is a skill published in the GitHub repository cass-2003/local-workflow-skill (12 stars, last pushed 2mo ago), licensed MIT. It adds 81 tokens to every session and 2,800 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

google-cloud-storage-fuse

Mounts Cloud Storage buckets as a POSIX file system with Cloud Storage FUSE (gcsfuse). Use when interacting with gcsfuse: decide whether FUSE, native gs:// reads, or Filestore/Managed Lustre fits a workload, deploy tuned mounts on GKE, Compute Engine, or Cloud Run, enable and size file, stat, and list caches, tune…

google/skills · 214 tokens

cloud-databases-onboarding

Guides users through discovering their database requirements, recommends a Google Cloud database based on a recommendation matrix, and assists in database creation. Use when a user asks 'What database service should I use?', 'Help me pick a database', or when a user wants to create a new database on Google Cloud.…

google/skills · 83 tokens

cloud-sql-basics

This file generates or explains Cloud SQL resources. Use this file when the user asks to create a Cloud SQL instance or database for MySQL, PostgreSQL, or SQL Server. Cloud SQL manages third-party MySQL, PostgreSQL, and SQL Server instances as resources in Cloud SQL. For example, when Cloud SQL creates an open-source…

google/skills · 108 tokens

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-mgmt-mongodbatlas-dotnet

Manage MongoDB Atlas Organizations as Azure ARM resources using Azure.ResourceManager.MongoDBAtlas SDK. Use when creating, updating, listing, or deleting MongoDB Atlas organizations through Azure Marketplace integration. This SDK manages the Azure-side organization resource, not Atlas clusters/databases directly.

microsoft/skills · 64 tokens

azure-resource-manager-redis-dotnet

Azure Resource Manager SDK for Redis in .NET. Use for MANAGEMENT PLANE operations: creating/managing Azure Cache for Redis instances, firewall rules, access keys, patch schedules, linked servers (geo-replication), and private endpoints via Azure Resource Manager. NOT for data plane operations (get/set keys, pub/sub) …

microsoft/skills · 114 tokens