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.
git clone --depth 1 https://github.com/davekilleen/Dexnpx agentmods add skills/davekilleen/dex/backup-nowWrote 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.
[](https://agentmods.dev/skills/davekilleen/dex/backup-now)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 2mo ago First seen · 34 lines · 67 tokens per session scan A a371a82ebacd
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.
backup-now compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| backup-nowdavekilleen/Dex | Skill | 522 | 6d ago | MIT | A | 67 | Claude Code, Codex |
| meeting-notesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 55 | Claude Code, Codex |
| gmailvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 20 | Claude Code, Codex |
| schedulevellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 27 | Claude Code, Codex |
| inbox-cleanupvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 49 | Claude Code, Codex |
| inbox-managementvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 50 | Claude Code, Codex |
| notificationsvellum-ai/vellum-assistant | Skill | 1.5k | 5d ago | MIT | A | 9 | Claude Code, Codex |