crabbuild/crab/crab-lfs
Claude Code and agent skill by crabbuild/crab
- community
Checking that the SKILL.md file is still in the repository.
Implement and operate Crab's Git LFS compatibility layer, including native and transfer-agent modes, LFS hooks, pointers, locks, fetch/push/pull, conversion, deduplication, pruning, and protocol diagnostics.
Install
npx vskill@latest install crabbuild/crab/crab-lfsSKILL.md
Crab Git LFS compatibility
Keep Git LFS compatibility separate from Crab-native pointers. They may share storage or conversion tools, but pointer syntax, hooks, transfer protocols, locks, and verification rules remain distinct.
Operating modes
- Determine whether the checkout uses Crab-native pointers, Crab's Git LFS
filter/storage implementation, the custom transfer agent, or a conversion path before changing behavior.
- Inspect
.gitattributes, Git filters, LFS configuration, pointer format,
object location, and the hook or protocol entry point.
- For fetch, push, pull, and checkout, prove both remote object identity and
local materialization. A valid pointer alone is not proof of content.
- For conversion between LFS and Crab formats, require a dry run, enumerate
affected paths and refs, and retain the documented rollback boundary.
- For deduplication or pruning, verify the destination object or Crab cache
before deleting an LFS object. Respect recent-object and remote-verification policies.
Command scope
crab lfs install/uninstall/updateowns LFS Git config and hooks. It is
separate from top-level crab install and from crab skills install.
track/untrack,pointer,clean,smudge,filter-process,
merge-driver, hooks, and ext own Git LFS compatibility surfaces.
fetch/pull/push/checkout,ls-files,status,fsck,prune, locks,
environment, version, and logs own transfer and local-object lifecycle.
crab lfs cloneis a deprecated compatibility wrapper; new automation
should use normal clone plus explicit fetch/pull behavior.
crab lfs-transfer-agentis a Git-invoked machine protocol, not a human
command.
crab lfs convertchanges the current representation with dry-run and
rollback boundaries. crab lfs migrate import/export/info is the explicit history-analysis and rewrite surface.
crab lfs dedupandcrab optimize lfs dedupremove only verified duplicate
storage. crab optimize lfs prune and crab lfs prune require explicit reachability, recent-object, remote-verification, and confirmation policy.
Protocol discipline
- Keep transfer-agent stdin/stdout strictly machine-readable; send diagnostics
to the correct log channel.
- A pre-push hook must upload required LFS objects before the Git ref becomes
visible. Clean/smudge/filter-process transform bytes locally and do not by themselves prove remote publication.
- Preserve lock ownership, force semantics, retry boundaries, and request IDs.
- Never place credentials, signed URLs, or raw authorization headers in logs.
- Distinguish an LFS pointer parse, an object download, and a verified checkout
in status and test assertions.
Verification
Create a deterministic LFS pointer, upload it, fetch into a clean checkout, and compare content hashes. Exercise a missing object, an expired lock, a conversion dry run, and a prune candidate that fails remote verification. Each failure must leave the pointer, object index, and lock state consistent.
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-lfs/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-lfs)