backup-restore

backup-restore is a skill for Claude Code, Codex from cyberreinxy/pgautopilot. It costs 113 tokens per session (891 once invoked), scanned A, original, no licence file.

A skill for creating, managing, and restoring PostgreSQL backups through PGAutoPilot. A backup is a saved copy of database data that can be used for recovery.

In plain words
What is it for?
Use it to back up, export, restore, or import PostgreSQL data, including making a backup before risky changes.
Why use it?
It helps protect data before changes and provides a recovery path when data is lost or damaged.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to back up, export, restore, or import PostgreSQL data, including making a backup before risky changes.

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

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-restore

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cyberreinxy/pgautopilot/backup-restore"><img src="https://agentmods.dev/badge/skills/cyberreinxy/pgautopilot/backup-restore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 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 unknown 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.00113 $0.00891
Opus 5 $0.00056 $0.00445
Sonnet 5 $0.00023 $0.00178
Haiku 4.5 $0.00011 $0.00089

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

Security

Grade A, and why

backup-restore 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 5d 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.

server/skills/backup-restore/SKILL.md · 122 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 5d ago First seen · 122 lines · 113 tokens per session scan A 40eac4ac1830

Subscribe to this mod's changes

backup-restore is a skill published in the GitHub repository cyberreinxy/pgautopilot (2 stars, last pushed yesterday), with no licence file. It adds 113 tokens to every session and 891 once invoked, about $0.0006 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-05.

Related

Other skills, from other repositories

database-patterns

Database design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schemas, normalizing data, managing database versions, or handling schema drift.

yonatangross/orchestkit · 49 tokens

postgresql-expert

Expert-level PostgreSQL database administration, advanced queries, performance tuning, and production operations. Use when the user mentions database, SQL, or performance, or when the task involves Advanced Data Types, Full-Text Search, Advanced Indexes, or Advanced Queries.

personamanagmentlayer/pcl · 56 tokens

postgis

Use when extending PostgreSQL with spatial data types, spatial indexes (GiST/SP-GiST), geometry functions (STIntersects, STBuffer, STTransform), and spatial queries. PostGIS: the most widely used open-source spatial database extension.

znlgis/opengis-skills · 55 tokens

PostgreSQL

PostgreSQL 17.x — data types, DDL, DML, queries, indexes, full text search, concurrency, performance, functions.

pledgeandgrow/pledge-skills · 34 tokens

postgres-sql-fundamentals

Postgres fundamentals for when you outgrow SQLite — psql, schema design, constraints, indexes, transactions, EXPLAIN, and connection pooling.

vikasudasi/skill-vault · 38 tokens

postgresql

A guide for administering PostgreSQL, a database system that stores application data and supports SQL queries. It covers connections, users and permissions, database objects, backups, extensions, and query optimisation.

chaterm/terminal-skills · 9 tokens