Database Backups
sickn33/agentic-awesome-skills
Implement database backup strategies. An agent skill from sickn33/agentic-awesome-skills.
Backup a PostgreSQL database from a Railway environment. An agent skill from modelguide/modelguide.
$ npx skills add modelguide/modelguide --skill mg-railway-db-backup -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install modelguide/modelguide mg-railway-db-backup --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mg-railway-db-backup .claude/skills/mg-railway-db-backup && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mg-railway-db-backup" agent skill from https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backup into .claude/skills/mg-railway-db-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mg-railway-db-backup", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backupType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add modelguide/modelguide --skill mg-railway-db-backup -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install modelguide/modelguide mg-railway-db-backup --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/mg-railway-db-backup .agents/skills/mg-railway-db-backup && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mg-railway-db-backup" agent skill from https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backup into .agents/skills/mg-railway-db-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mg-railway-db-backup", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add modelguide/modelguide --skill mg-railway-db-backup -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install modelguide/modelguide mg-railway-db-backup --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/mg-railway-db-backup .cursor/skills/mg-railway-db-backup && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mg-railway-db-backup" agent skill from https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backup into .cursor/skills/mg-railway-db-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mg-railway-db-backup", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/modelguide/modelguide.git --path .claude/skills/mg-railway-db-backup--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add modelguide/modelguide --skill mg-railway-db-backup -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install modelguide/modelguide mg-railway-db-backup --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/mg-railway-db-backup .gemini/skills/mg-railway-db-backup && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mg-railway-db-backup" agent skill from https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backup into .gemini/skills/mg-railway-db-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mg-railway-db-backup", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install modelguide/modelguide mg-railway-db-backupInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add modelguide/modelguide --skill mg-railway-db-backup -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/mg-railway-db-backup .github/skills/mg-railway-db-backup && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mg-railway-db-backup" agent skill from https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backup into .github/skills/mg-railway-db-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mg-railway-db-backup", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add modelguide/modelguide --skill mg-railway-db-backup -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install modelguide/modelguide mg-railway-db-backup --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/modelguide/modelguide.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/mg-railway-db-backup .opencode/skills/mg-railway-db-backup && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mg-railway-db-backup" agent skill from https://github.com/modelguide/modelguide/tree/main/.claude/skills/mg-railway-db-backup into .opencode/skills/mg-railway-db-backup/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mg-railway-db-backup", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mg-railway-db-backupBackup a PostgreSQL database from a Railway environment. An agent skill from modelguide/modelguide.
Mg Railway DB Backup is an agent skill from modelguide/modelguide. Backup a PostgreSQL database from a Railway environment. Use when the user asks to "backup db", "dump database", "save db from railway", "backup railway database", or "export db".
Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Backup and disaster recovery. It works with PostgreSQL. The repository describes itself as: Open-source voice agent orchestration framework - build production voice AI pipelines without vendor lock-in. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 554caa0. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
railwaypg_dumpFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mg Railway DB Backup loads about 534 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 150 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from modelguide/modelguide at commit 554caa0, republished under its MIT licence (© modelguide). 150 words, ~534 tokens.
.claude/skills/mg-railway-db-backup/SKILL.md (or your agent's skills folder).Backup a PostgreSQL database from a Railway environment to a local file.
Ask the user if not provided:
demo, production)Link to the correct project and environment using Railway MCP link-environment tool:
<project-root><environment>Ensure output directory exists:
mkdir -p <project-root>/.claude/localRun pg_dump — credentials piped from Railway CLI (never write credential values in commands):
VARS=$(railway variables -s Postgres -e <environment> --kv 2>/dev/null) && \
export PGPASSWORD=$(echo "$VARS" | grep '^PGPASSWORD=' | cut -d= -f2-) && \
PGUSER=$(echo "$VARS" | grep '^PGUSER=' | cut -d= -f2-) && \
PGDATABASE=$(echo "$VARS" | grep '^PGDATABASE=' | cut -d= -f2-) && \
DB_URL=$(echo "$VARS" | grep '^DATABASE_PUBLIC_URL=' | cut -d= -f2-) && \
PGHOST=$(echo "$DB_URL" | sed 's|postgresql://[^@]*@||;s|:.*||') && \
PGPORT=$(echo "$DB_URL" | sed 's|.*:||;s|/.*||') && \
pg_dump -h "$PGHOST" -p "$PGPORT" -U "$PGUSER" -d "$PGDATABASE" \
--no-owner --no-acl -F c \
| gzip > <project-root>/.claude/local/<project>-<environment>-backup-$(date +%Y%m%d-%H%M%S).dump.gzThis reads credentials from railway variables into shell vars at runtime — no secrets ever appear in the command text.
Verify the backup file exists and report path + size to the user.
postgresql@17 homebrew package-F c) for efficient restore with pg_restore--no-owner --no-acl strips ownership/permissions for portable restores.claude/local/ which is git-ignored© modelguide, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/mg-railway-db-backup of modelguide/modelguide.
Open the folder on GitHubat commit 554caa0
Mg Railway DB Backup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mg Railway DB Backup this skillmodelguide/modelguide | 108 | — | ~534 | Automated safety check: Pass | MIT | |
| Database Backupssickn33/agentic-awesome-skills | 47k | 2 repos | ~3.1k | Automated safety check: Notes | MIT | |
| GCP Cloud SQLsickn33/agentic-awesome-skills | 47k | 2 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Postgresql Devsecsickn33/agentic-awesome-skills | 47k | 2 repos | ~2.5k | Automated safety check: Notes | MIT | |
| Alloydb Basicsgoogle/skills | 21k | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| Alloydb Basicsdavila7/claude-code-templates | 33k | — | ~611 | Automated safety check: Pass | MIT |
sickn33/agentic-awesome-skills
Implement database backup strategies. An agent skill from sickn33/agentic-awesome-skills.
sickn33/agentic-awesome-skills
Provision Cloud SQL and Spanner databases. An agent skill from sickn33/agentic-awesome-skills.
sickn33/agentic-awesome-skills
Administer PostgreSQL databases. An agent skill from sickn33/agentic-awesome-skills.
google/skills
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations.
davila7/claude-code-templates
Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB MCP tools for automated database operations including AI-powered search and vector capabilities.
giuseppe-trisciuoglio/developer-kit
Provides AWS CloudFormation patterns for Amazon RDS databases.
modelguide/modelguide
Generate YAML configuration files and run CLI commands to onboard organizations into ModelGuide.
modelguide/modelguide
A skill your agent uses when the user asks to add a connector, create a connector, implement a connector for a service, add a tool to a connector, update a connector tool, or asks about connector…
modelguide/modelguide
Use before committing significant code changes to verify project integrity.
modelguide/modelguide
Trigger phrases - "reset local db", "recreate local postgres", "restore dump to local", "reset local database", "load backup locally"
modelguide/modelguide
Restore a PostgreSQL database backup to a Railway environment.
modelguide/modelguide
Deploy all ModelGuide services (API, UI, LB) to a Railway environment.
Works with
Categories
Backup a PostgreSQL database from a Railway environment. An agent skill from modelguide/modelguide. Mg Railway DB Backup is an agent skill from modelguide/modelguide. Backup a PostgreSQL database from a Railway environment.
Mg Railway DB Backup fits situations like: the user asks to backup db; save db from railway; backup railway database.
Run `npx skills add modelguide/modelguide --skill mg-railway-db-backup -a claude-code`. Or copy the skill folder (.claude/skills/mg-railway-db-backup in modelguide/modelguide) into .claude/skills/mg-railway-db-backup in your project. Claude Code loads it when a task matches its description.
Run `npx skills add modelguide/modelguide --skill mg-railway-db-backup -a codex`. Or copy the skill folder (.claude/skills/mg-railway-db-backup in modelguide/modelguide) into .agents/skills/mg-railway-db-backup in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add modelguide/modelguide --skill mg-railway-db-backup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mg-railway-db-backup, .gemini/skills/mg-railway-db-backup, .github/skills/mg-railway-db-backup and .opencode/skills/mg-railway-db-backup in your project.
Going by SKILL.md and its folder, Mg Railway DB Backup needs the command-line tools its instructions call (railway and pg_dump).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mg Railway DB Backup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 534 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mg Railway DB Backup: Database Backups (sickn33/agentic-awesome-skills, 47k stars), GCP Cloud SQL (sickn33/agentic-awesome-skills, 47k stars), Postgresql Devsec (sickn33/agentic-awesome-skills, 47k stars) and Alloydb Basics (google/skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
modelguide (a GitHub organization) maintains it in modelguide/modelguide, which has 108 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on June 20, 2026.
Source: modelguide/modelguide on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.