backups

backups is a skill for Claude Code, Codex from ericrisco/rsc-harness. It costs 82 tokens per session (2,701 once invoked), scanned A, original, MIT.

A guide to backup and disaster-recovery planning: keeping copies of data and proving they can be restored after a failure. It covers recovery-point objectives, recovery-time objectives, protected copies, and scheduled restore tests.

In plain words
What is it for?
Use it to design or audit backup programs, choose acceptable data-loss and downtime limits, arrange protected copies, and test real restores.
Why use it?
It replaces confidence in an untested backup job with evidence that data can actually be recovered. It also helps protect copies from events such as ransomware.

Skill for Claude CodeCodex

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

Good fit Use it to design or audit backup programs, choose acceptable data-loss and downtime limits, arrange protected copies, and test real restores.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ericrisco/rsc-harness/backups
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 ericrisco/rsc-harness --skill backups
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

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 backups

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericrisco/rsc-harness/backups/github.svg)](https://agentmods.dev/skills/ericrisco/rsc-harness/backups)
Your own site
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/backups"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/backups/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 backups

Your own site · 80×15
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/backups"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/backups.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,701 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00082 $0.02701
Opus 5.5 $0.00033 $0.01080
Sonnet 5.5 $0.00016 $0.00540
Haiku 4.5 $0.00008 $0.00270

Measured 1mo ago against content hash 419e8313fe70, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backups 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/backups/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.

Backups & disaster recovery

Start here

One question decides whether you have backups or a hope: if you restored right now, would it work — and how do you know?

If the answer is "we have a nightly job and it hasn't errored," you do not have backups. You have a job. A backup you have never restored is an untested assertion about the future. This skill exists to turn that assertion into evidence: pick the numbers, lay out the copies so ransomware can't reach them, and run a real restore on a schedule so the answer becomes "yes, we restored it last Tuesday in 41 minutes."

This is the cross-engine strategy + verification skill. Engine-specific SQL knobs (the actual archive_command, VACUUM, schema migrations) belong to ../postgresdb/SKILL.md. Encryption-key management as a general security control belongs to ../secure-coding/SKILL.md.

1. Decide RPO and RTO first — numbers, not adjectives

Everything downstream derives from two numbers. Never start from "what does the tool do."

  • RPO = maximum acceptable data loss, the gap between the disaster and your last good copy. It sets backup frequency. "RPO 1 hour" means a copy at least hourly.
  • RTO = maximum acceptable downtime until you're serving again. It sets topology: a snapshot restore is hours; a warm standby you promote is minutes.

Get a real number from whoever owns the revenue, not "as little as possible." Then map it:

RPO target Required cadence + mechanism
24 h Nightly full/snapshot is enough
~5 min Continuous change-log shipping: WAL / binlog / transaction-log → PITR
~0 Synchronous replica plus PITR (the replica covers hardware loss, PITR covers the bad DELETE)
RTO target Required topology
Hours Restore from snapshot / object-storage backup is fine
Minutes Warm standby or read-replica you promote; pre-provisioned restore target
Seconds Multi-AZ / failover cluster (and you still need backups for logical corruption)

Read the full file on GitHub · 132 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 132 lines · 82 tokens per session scan A 419e8313fe70

Subscribe to this mod's changes

backups is a skill published in the GitHub repository ericrisco/rsc-harness (374 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 2,701 once invoked, about $0.0003 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

merge-aliases

Folds two surface names for the same backend system into one canonical entity, keeping every original mention individually retrievable, and refuses to merge pairs that only share spelling.

ayeshakhalid192007-dev/graph-engineering-crash-course · 37 tokens

anchor-and-lock

Consults a check that sits outside the loop system before finalizing any decision the frozen facts bear on, and refuses every attempt by a loop to rewrite a node marked frozen, regardless of how convergent the loop's own reasoning looks.

ayeshakhalid192007-dev/graph-engineering-crash-course · 50 tokens

query-graph

Loads schema.sql into a local SQLite file, then answers availability and provenance questions against the nodes/edges tables with real SQL instead of re-reading source material.

ayeshakhalid192007-dev/graph-engineering-crash-course · 34 tokens

build-subgraph

Traverses a full graph and returns a bounded subgraph around one target node -- its depth-bounded dependencies plus any disputed claims attached to it -- while proving everything else was left out.

ayeshakhalid192007-dev/graph-engineering-crash-course · 40 tokens

arbitrate-collision

Detects when two loops have proposed conflicting writes to the same node and field at close to the same time, applies a stated priority rule to accept exactly one, and records the rejected write with the reason it lost.

ayeshakhalid192007-dev/graph-engineering-crash-course · 48 tokens

audit-sweep

Reviews a full set of the main loop's outputs together, from a wider vantage than any single one of them, looking specifically for cross-item patterns that a one-item-at-a-time loop is structurally unable to notice.

ayeshakhalid192007-dev/graph-engineering-crash-course · 47 tokens