recover

recover is a skill for Claude Code from cozystack/ccp. It costs 75 tokens per session (4,697 once invoked), scanned A, original, Apache-2.0.

A troubleshooting and recovery guide for DRBD and LINSTOR storage in Kubernetes. DRBD replicates storage between servers, while LINSTOR manages those replicated resources.

In plain words
What is it for?
Use it when LINSTOR reports faulty resources, DRBD resources are unhealthy, deletion or disk operations are stuck, ports conflict, or Kubernetes nodes have lost-quorum taints.
Why use it?
It helps identify why replicated storage is disconnected, inconsistent, stuck, diskless, or affected by lost quorum, and guides recovery for common failure states. The actions depend on the observed resource and node condition.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the linstor plugin — 1 skill shipped together

Good fit Use it when LINSTOR reports faulty resources, DRBD resources are unhealthy, deletion or disk operations are stuck, ports conflict, or Kubernetes nodes have lost-quorum taints.

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

Made for: Claude Code.

Or install linstor, the plugin that ships this one along with the rest of its 1 skill.

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 recover

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cozystack/ccp/recover"><img src="https://agentmods.dev/badge/skills/cozystack/ccp/recover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,697 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.00075 $0.04697
Opus 5.5 $0.00030 $0.01879
Sonnet 5.5 $0.00015 $0.00939
Haiku 4.5 $0.00007 $0.00470

Measured 11d ago against content hash 4022ff094004, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

recover 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 11d 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.

plugins/linstor/skills/recover/SKILL.md · 395 lines

How it starts

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

linstor:recover

Specialized skill for diagnosing and recovering DRBD/LINSTOR storage issues in Kubernetes clusters.

When to use

  • linstor r l --faulty shows broken resources
  • DRBD resources in StandAlone, Connecting, Inconsistent, Outdated, or Unknown state
  • Stuck DELETING resources that won't complete
  • TCP port collisions between DRBD devices
  • Stuck toggle-disk operations
  • Nodes with drbd.linbit.com/lost-quorum taints
  • drbdadm adjust failing with bitmap or connection errors

Core Principles

  1. Match the operator's natural language. Detect from prior conversation messages. Use that language in every prompt, AskUserQuestion option, summary, and gate. Never ask "what language?" separately. Code identifiers, linstor / drbdadm commands, file paths, and GitHub-public text stay in their canonical form (usually English). 0a. One valid path → just do it. When the diagnostic graph picks one resource to fix and one operation that's not destructive (re-attach, re-promote, refresh), the skill runs it without "ok to do this?" friction. The dangerous-operations gate at principle 8 still applies — linstor node lost, deleting the last replica, drbdadm down on InUse/Primary, --discard-my-data with one diskful copy, drbdadm create-md --force — those always ask. Safe single-path operations don't. 0b. Front-load the interview. Read the full diagnostic graph first (linstor r l --faulty, linstor n l, drbdadm status on each affected node, linstor error-reports list), then present a single recovery plan with the ordered operations, classifications (safe / dangerous), and the dangerous-operation approvals batched into one approval screen. Operator either approves the lot or names what to skip. Phases of the recovery run uninterrupted against the collected approvals. 0c. Layer-pure operator output. The skill never says "returning control to wizard" or makes any orchestration commentary in the operator-facing summary. linstor:recover is a standalone skill that nobody auto-dispatches today, but even if it ever gets called from a chain, whoever invoked it figures out what's next on their own.
  2. Work one resource at a time. On mass incidents, resist the urge to fix everything at once. Serial, monotonic recovery is safer.
  3. Always verify on the node itself. LINSTOR's view can be stale or wrong. drbdadm status on the satellite is the source of truth.
  4. Preserve UpToDate replicas. Never touch the source-of-truth replica first. Fix broken copies by working outward from the healthy one.
  5. ALWAYS verify at least one UpToDate diskful replica exists before ANY destructive action. Run linstor r l -r <resource> and confirm there is at least one replica with State=UpToDate and a real storage pool (not DfltDisklessStorPool). If there are zero UpToDate diskful replicas — STOP and ask the user before proceeding. This is the single most important safety check.
  6. If SyncTarget is progressing, stop. A resource that entered sync is already recovering. Don't interfere.
  7. Every action should simplify the graph. Remove peers from conflict, reduce topology complexity. If an action creates new noise, don't do it.
  8. Check error-reports for the real cause. What looks like StandAlone may actually be an adjust failure underneath.
  9. ASK the user before dangerous operations. Always ask for explicit confirmation before: linstor node lost, deleting the last replica, drbdadm down on InUse/Primary resource, --discard-my-data when only one diskful copy remains, drbdadm create-md --force (wipes DRBD metadata and triggers a full resync).

Read the full file on GitHub · 395 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. 11d ago Changed · +28 lines 4022ff094004
  2. 1mo ago First seen · 367 lines · 75 tokens per session scan A fd793b167c53

Subscribe to this mod's changes

recover is a skill published in the GitHub repository cozystack/ccp (3 stars, last pushed 11d ago), licensed Apache-2.0. It adds 75 tokens to every session and 4,697 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-08-31.

Related

Other skills, from other repositories

hermes-s6-container-supervision

Modify or debug s6 services in the Hermes Docker image.

NousResearch/hermes-agent · 20 tokens

smoke-test

Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…

garrytan/gbrain · 79 tokens

competition-container-runtime

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for live container runtime analysis, mounted secrets, sidecars, namespaces, init containers, entrypoint drift, and route-to-container resolution. Use when the user asks why a live container differs from manifests, where a mounted secret is…

zhaoxuya520/reverse-skill · 109 tokens

aks-troubleshooting

Debug live Azure Kubernetes Service (AKS) incidents with a read-only, evidence-first investigation. WHEN: pod crashes or Pending, CrashLoopBackOff, OOMKilled, ImagePullBackOff, node NotReady, DNS or ingress failure, connectivity timeout, network policy, SNAT exhaustion, node-pool scaling blocked by QuotaExceeded or…

microsoft/skills · 221 tokens

meta-home-it-rescue

Use this meta-skill instead of answering directly when the user needs help with home, small-team, laptop, browser, printer, Docker, Git, network, UI, or deployment troubleshooting that benefits from multi-skill orchestration across symptom intake, environment capture, web lookup, and repair planning.

opensquilla/opensquilla · 65 tokens

aks-gpu-inference

Diagnose Day-2 AKS GPU and KAITO incidents using profile-aware, read-only evidence. WHEN: 'Insufficient nvidia.com/gpu', GPU pod Pending, model-load OOM, DCGM/VRAM, KAITO Workspace not ready, or GPU autoscaling. DO NOT USE FOR: setup (airunway-aks-setup), non-GPU incidents (aks-troubleshooting), standalone VM quota…

microsoft/skills · 114 tokens