backup-now

backup-now is a skill for Claude Code, Codex from davekilleen/Dex. It costs 67 tokens per session (417 once invoked), scanned A, original, MIT.

A tool for running a vault backup immediately and reporting whether the result was verified.

In plain words
What is it for?
Use it to back up a vault before a major change or whenever an immediate verified backup is needed.
Why use it?
It creates a current recovery point before risky changes or when the user needs an up-to-date backup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 core/backup/backup_vault.py.

Good fit Use it to back up a vault before a major change or whenever an immediate verified backup is needed.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/davekilleen/Dex
agentmods
npx agentmods add skills/davekilleen/dex/backup-now

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 backup-now

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/davekilleen/dex/backup-now"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/backup-now.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 417 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.00067 $0.00417
Opus 5.5 $0.00027 $0.00167
Sonnet 5.5 $0.00013 $0.00083
Haiku 4.5 $0.00007 $0.00042

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

Security

Grade A, and why

backup-now 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 2mo 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.

.agents/skills/backup-now/SKILL.md · 34 lines

What it actually says

Backup Now

Take an immediate backup of the vault, on top of whatever the schedule is doing. Worth suggesting before anything sweeping: a bulk edit, a big reorganisation, a system update, or a migration.

Run it

python3 core/backup/backup_vault.py

It takes well under a minute for a typical vault. The command handles archiving, verifying, storing, and pruning old copies in one pass.

If backups have never been configured, the run will fail with a clear message; offer /backup-setup rather than improvising a destination.

Report honestly

Read System/.dex/backup-last-run.json and report what actually happened, not what was attempted:

  • On success: the set name, total size, where it went, and how many older sets were pruned. Say plainly that the version history in the set was verified as complete.
  • On failure: the recorded error, verbatim. Do not soften it and do not claim a backup exists. Common causes worth naming: the destination folder is missing or not mounted, a cloud remote is not reachable, or the disk is full.

Never infer success from the command finishing. The run record is the evidence.

If it has not run in a while

If the previous successful run was more than two days before this one, mention it once, quietly and without alarm, and offer /backup-setup to check the schedule. A silent scheduling failure is the most common way backups die.

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. 2mo ago First seen · 34 lines · 67 tokens per session scan A a371a82ebacd

Subscribe to this mod's changes

backup-now is a skill published in the GitHub repository davekilleen/Dex (522 stars, last pushed 6d ago), licensed MIT. It adds 67 tokens to every session and 417 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-09-02.

Related

backup-now compared with skills from other repositories

backup-now next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backup-nowdavekilleen/DexSkill5226d agoMITA67Claude Code, Codex
meeting-notesshiwenwen/hope-agentSkill1.9kyesterdayMITA55Claude Code, Codex
gmailvellum-ai/vellum-assistantSkill1.5k5d agoMITA20Claude Code, Codex
schedulevellum-ai/vellum-assistantSkill1.5k5d agoMITA27Claude Code, Codex
inbox-cleanupvellum-ai/vellum-assistantSkill1.5k5d agoMITA49Claude Code, Codex
inbox-managementvellum-ai/vellum-assistantSkill1.5k5d agoMITA50Claude Code, Codex
notificationsvellum-ai/vellum-assistantSkill1.5k5d agoMITA9Claude Code, Codex