k8s-backup

k8s-backup is a skill for Claude Code, Codex from rohitg00/kubectl-mcp-server. It costs 33 tokens per session (1,022 once invoked), scanned A, original, MIT.

A guide for Velero, a Kubernetes tool that saves application data and settings so they can be restored later. It covers backups, recovery, and moving workloads between clusters.

In plain words
What is it for?
Checking Velero, reviewing backup storage, creating backups, restoring namespaces, and testing recovery in a non-production cluster.
Why use it?
It provides a process for protecting applications from data loss and recovering them after failures or during migrations.

Skill for Claude CodeCodex

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

Good fit Checking Velero, reviewing backup storage, creating backups, restoring namespaces, and testing recovery in a non-production cluster.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohitg00/kubectl-mcp-server/k8s-backup"><img src="https://agentmods.dev/badge/skills/rohitg00/kubectl-mcp-server/k8s-backup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 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.00033 $0.01022
Opus 5 $0.00016 $0.00511
Sonnet 5 $0.00007 $0.00204
Haiku 4.5 $0.00003 $0.00102

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

Security

Grade A, and why

k8s-backup 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 10d 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.

kubernetes-skills/claude/k8s-backup/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kubernetes Backup with Velero

Manage backups and restores using kubectl-mcp-server's Velero tools.

When to Apply

Use this skill when:

  • User mentions: "backup", "restore", "Velero", "disaster recovery", "DR"
  • Operations: creating backups, restoring namespaces, migration
  • Keywords: "protect", "recover", "migrate", "snapshot"

Priority Rules

Priority Rule Impact Tools
1 Verify Velero installation first CRITICAL velero_detect_tool
2 Check backup location before create HIGH velero_backup_locations_list_tool
3 Wait for backup completion HIGH velero_backup_get_tool
4 Test restores to non-prod first MEDIUM velero_restore_create_tool

Quick Reference

Task Tool Example
Detect Velero velero_detect_tool velero_detect_tool()
List backups velero_backups_list_tool velero_backups_list_tool()
Create backup velero_backup_create_tool velero_backup_create_tool(name, namespaces)
Restore velero_restore_create_tool velero_restore_create_tool(name, backup_name)

Check Velero Installation

velero_detect_tool()

velero_backup_locations_list_tool()

Create Backups

velero_backup_create_tool(
    name="my-backup",
    namespaces=["default", "app-namespace"]
)

velero_backup_create_tool(
    name="app-backup",
    namespaces=["default"],
    label_selector="app=my-app"
)

velero_backup_create_tool(
    name="config-backup",
    namespaces=["default"],
    exclude_resources=["pods", "replicasets"]
)

velero_backup_create_tool(
    name="daily-backup",
    namespaces=["production"],
    ttl="720h"
)

List and Describe Backups

velero_backups_list_tool()

velero_backup_get_tool(name="my-backup")

Restore from Backup

velero_restore_create_tool(
    name="my-restore",
    backup_name="my-backup"
)

velero_restore_create_tool(
    name="my-restore",
    backup_name="my-backup",
    namespace_mappings={"old-ns": "new-ns"}
)

velero_restore_create_tool(
    name="config-restore",
    backup_name="my-backup",
    include_resources=["configmaps", "secrets"]
)

velero_restore_create_tool(
    name="partial-restore",
    backup_name="my-backup",
    exclude_resources=["persistentvolumeclaims"]
)

Read the full file on GitHub · 178 lines

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. 10d ago First seen · 178 lines · 33 tokens per session scan A 750479a8722e

Subscribe to this mod's changes

k8s-backup is a skill published in the GitHub repository rohitg00/kubectl-mcp-server (956 stars, last pushed 5mo ago), licensed MIT. It adds 33 tokens to every session and 1,022 once invoked, about $0.0002 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-08-30.