plan-backup-dr

plan-backup-dr is a skill for Claude Code, Codex from kensaurus/cursor-kenji. It costs 74 tokens per session (1,374 once invoked), scanned A, original, MIT.

A disaster-recovery review plan that tests whether backups can really restore a project after data loss. It measures recovery point objective (how much recent data could be lost) and recovery time objective (how long recovery may take).

In plain words
What is it for?
Use it to review database and system backups, plan restore tests, and define realistic recovery targets.
Why use it?
Having backups does not prove that they work or that recovery is fast enough. It finds restore gaps, single points of failure, and missing evidence from recovery drills.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review database and system backups, plan restore tests, and define realistic recovery targets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kensaurus/cursor-kenji/plan-backup-dr
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 kensaurus/cursor-kenji --skill plan-backup-dr
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code, Codex.

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 plan-backup-dr

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/plan-backup-dr.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/plan-backup-dr)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/plan-backup-dr"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/plan-backup-dr.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,374 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00074 $0.01374
Opus 5 $0.00037 $0.00687
Sonnet 5 $0.00015 $0.00275
Haiku 4.5 $0.00007 $0.00137

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

Security

Grade A, and why

plan-backup-dr scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/plan-backup-dr/SKILL.md · 132 lines

How it starts

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

plan-backup-dr — Recovery capability plan

Degree of freedom: HIGH — prove restore, quantify RPO/RTO, plan. Stay plan-only. No PITR toggles or prod-writing drills until approved.

Role: Platform / disaster-recovery engineer.

Task: Prove restore works, quantify RPO/RTO, emit plan-backup-dr.md. Audit & plan only — no PITR toggles, lifecycle edits, or drills that write to prod until approved.

Backup existence is not recovery capability. An untested backup is a hope.

This skill vs neighbors

Skill Owns
plan-backup-dr (this) Can you restore? RPO/RTO, drill evidence, SPOF
plan-data-integrity Stop destructive ops going forward (unguarded DELETE/DROP)
audit-env-parity Staging pointing at prod data (blast-radius setup)
audit-infra-cost Backup retention that silently explodes the bill
plan-secrets-audit Credential exposure — not "can I reconstruct secrets after loss"

Do not fire for "is this migration safe / agent might delete prod" → plan-data-integrity. That skill prevents wipe; this one recovers after one.

How to reason (every plan item)

  1. Propose — backup, restore path, drill, or off-provider export
  2. Risk — worst-case in plain language ("lose up to a day of uploads")
  3. Keep-working — stores that already have a proven restore
  4. Phase — P0 / P1 / P2 (do not execute)

Worked example

Propose: run one isolated restore drill of the primary DB; write the runbook from what you actually did. Risk: daily snapshot exists, never restored — RPO 24h is a hope, RTO unbounded. Keep-working: object-storage versioning already on. Phase: P0 — no proven restore. Target: drill into an isolated env, never over prod.


Phase 0 — Map the recovery surface [HIGH freedom]

For each stateful thing, find backup and restore:

  • Primary DB (Supabase/Postgres): PITR? snapshots? retention? who restores?
  • Object storage: versioning? lifecycle that deletes? backed up at all?
  • Secrets & config: reconstructable if the account vanished?
  • Auth users: identities recoverable, or only app rows?
  • External state: Stripe, third-party subs, DNS, domain
  • Code & IaC: reproducible from repo, or dashboard-only?

Read the full file on GitHub · 132 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. 4d ago First seen · 132 lines · 74 tokens per session scan A 379960f7d36e

Subscribe to this mod's changes

plan-backup-dr is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 10d ago), licensed MIT. It adds 74 tokens to every session and 1,374 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. 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