crabbuild/crab/crab-storage-ops

Claude Code and agent skill by crabbuild/crab

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Inspect, compact, verify, repair, and optimize Crab storage, ref-journal and metadata indexes, artifact reachability, staging, caches, shards, packs, xorbs, and garbage collection.

Install

npx vskill@latest install crabbuild/crab/crab-storage-ops

SKILL.md

Crab storage operations

Operate on durable storage only after identifying references, grace periods, metadata ownership, and the exact scope of the command. Read-only inventory and mutation must be visibly different.

Command scope

  • gc enumerates reachable refs, active ref-journal transactions, workflow

artifact versions, manifests, packs, xorbs, shards, indexes, and grace-period candidates; it deletes only the reviewed scope.

  • fsck verifies Git objects, pointers, file indexes, chunk coverage, shard

terms, packs, checksums, and metadata consistency. Repair is opt-in.

  • compact merges small metadata shards while preserving every live row.
  • repack consolidates Git packs without changing reachable history.
  • optimize plan/apply coordinates xorb, pack, shard, tier, cache, index, LFS,

workflow-cache, replica, or whole-repository actions. Plan is read-only; apply consumes the reviewed plan.

  • metadb diagnose/rebuild/compact/cache-* operates on metadata databases and

their local chunk-index cache.

  • staging stats/verify/clean, cache stats/verify/clean/prune, du, and

stat report or maintain local storage. Do not conflate staging with cache.

Safety invariants

  1. Never delete a referenced xorb, shard, pack, file index entry, or object in

the configured grace period.

  1. Never use bucket-wide deletion when a repository prefix is sufficient.
  2. Close every metadata database on success, error, and cancellation.
  3. Rebuild indexes from durable authoritative objects; do not make a cache the

source of truth.

  1. Compaction and repacking preserve content identity and ref reachability.
  2. A repair report must identify what was changed, what was skipped, and what

remains corrupt or unavailable.

  1. The ref-journal active marker is current ref authority until the generation

owner folds it into a manifest frontier. Maintenance must include committed journal reachability and must not treat a lagging derived catalog as proof that an object is dead.

Operating loop

  1. Capture the repository or prefix, backend, manifest plus ref-journal roots,

generation owner, storage classes, retention policy, locks, and current usage.

  1. Run a dry run or read-only diagnose and save the structured report.
  2. Review candidates against live references and recent activity.
  3. Apply one bounded operation, with cancellation and lock release intact.
  4. Re-run fsck or verification, compare object counts and byte totals, and

prove a fresh read or hydration for content affected by the operation.

Bucket-wide GC crosses repository ownership. Never select it as an automation fallback; require an explicit bucket target, authorization, retained inventory, and proof that every repository sharing the bucket is included safely.

Verification

Use a disposable prefix containing shared chunks, unreachable objects, small and large shards, multiple refs, and a recent object. Prove that compaction, repack, repair, cache eviction, and scoped GC preserve live content while only the intended candidates change. Include a failed write and interrupted run in tests for any new mutation path.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/crabbuild/crab/crab-storage-ops/badge)](https://verified-skill.com/skills/crabbuild/crab/crab-storage-ops)

Something wrong with this skill or its page? Tell us.