crabbuild/crab/crab-large-files
Claude Code and agent skill by crabbuild/crab
- community
Checking that the SKILL.md file is still in the repository.
Manage Crab-native large files end to end, including tracking, parallel add, staging, pointers, lazy hydration, dehydration, prefetch, selective download, chunk diffs, cache maintenance, and migration.
Install
npx vskill@latest install crabbuild/crab/crab-large-filesSKILL.md
Crab large files
Use the native Crab path when Git should store small pointer blobs while the file bytes live in content-addressed object storage. Keep identity, staging, cache, and remote durability separate in every decision.
Lifecycle
- Inspect tracking patterns, Git state, pointer status, staged rows, and the
current file hash. Use --dry-run for broad globs.
crab addis the parallel path: read and hash each file, chunk it, write
staged chunks and the push plan, write the pointer, and optionally stage the Git path. Never hand-author pointer blobs or copy chunks into the cache.
- Before a push, flush staged xorbs and confirm the file-to-chunk index covers
every chunk for the file version.
crab hydrateresolves patterns, manifests, profiles, sparse checkout,
local recovery sources, and archived-object restore options before fetching. Verify size and Blake3 identity after reconstruction.
crab dehydratereplaces hydrated bytes only after checking that content is
unchanged and that an active prefetch profile is not being violated. Use --ignore-profiles only when that eviction is intentional.
- Use
fetchor cache warming when bytes should be available locally without
replacing pointers. Use selective download for files outside a checkout.
Do not confuse native file tracking with source provenance or artifact versioning. crab data import/update materializes external sources and records credential-free descriptors; crab artifacts version create/get/promote manages immutable workflow outputs and mutable stage labels. A file may later be Crab-tracked, but those commands do not replace crab add or pointer publication.
Command map
add,reset,adopt,unadopt, andundochange working-tree or index
state; inspect staged changes before and after each operation.
status,why,ls-files,diff, anddiff-driverexplain pointer,
hydration, tracking, and chunk differences. Script against JSON schemas, not human wording.
staging stats,staging verify, andstaging cleanoperate on the durable
add-time staging area. cache commands operate on reusable local objects.
stat push-plan --verifychecks prepared xorb metadata; it does not replace
authoritative staged bytes.
data list/statusis read-only source/worktree evidence. Data imports reject
existing or unsafe targets, and updates install verified content plus its descriptor transactionally; --dry-run must leave both unchanged.
migraterewrites history or converts representations. Require a dry run,
list affected refs, and preserve a recovery point before mutation.
dudistinguishes local staging/cache usage from remote object usage.
Invariants
- Reconstructed bytes are byte-identical or hydration fails.
- Staged xorbs flush before any bundle or ref push.
chunks_for_file(file_hash)returns every chunk for that file version.- Shard reconstruction terms cover all chunks; an incomplete result is an
error, never a partial success.
- Dehydration never discards uncommitted bytes or silently overwrites a file.
- GC and cache eviction never remove data still referenced by a live pointer or
protected by the configured grace period.
- Native pointers and Git LFS pointers remain different serialized contracts;
use the LFS skill for LFS filters, transfers, and history rewrites.
Verification
Create deterministic files, record their hashes, run add/commit/push, then clone or dehydrate/hydrate and compare hashes. Check pointer text, staged metadata, remote object presence, and cache/staging statistics. For a failure, capture the structured error and confirm no ref, pointer, or file was advanced partially.
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
- SKILL.md in the repositoryCheckingcrab/skills/crab-large-files/SKILL.md
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
[](https://verified-skill.com/skills/crabbuild/crab/crab-large-files)