backblaze-labs/claude-skill-b2-cloud-storage/b2-cloud-storage
Claude Code and agent skill by backblaze-labs/claude-skill-b2-cloud-storage
- community
Checking that the SKILL.md file is still in the repository.
Manage Backblaze B2 cloud storage. List files, audit usage, estimate cost, clean up stale data, review security posture, and manage lifecycle rules. Use when the user mentions B2, Backblaze, object storage buckets, or storage cleanup.
Install
npx vskill@latest install backblaze-labs/claude-skill-b2-cloud-storage/b2-cloud-storageSKILL.md
B2 Cloud Storage Management
Manage Backblaze B2 cloud storage: list files, audit usage, estimate cost, clean up stale data, and review security posture.
Security Rules (MANDATORY)
- Never run
b2 account get,b2 account clear, or anyb2 key *subcommand — these expose or mutate credentials. - Never read
~/.b2_account_infoor any file matching*b2_account_info*— this is the B2 credential database (SQLite). - Always run
b2 rm --dry-runbefore any real deletion; show the user what would be deleted and require an explicit "yes" before executing. - Never change a bucket to
allPublicwithout first warning the user about the security implications and getting explicit confirmation. - Default to read-only — only perform writes or deletes when the user explicitly requests them.
- Never store or write API keys, application keys, or account IDs to any file.
- If the user pastes key values into the chat instead of the terminal, warn them immediately and recommend rotating the key. Never echo, store, or reference key values that appear in conversation.
First-Use Flow
- Check the B2 CLI is installed:
b2 version. If missing, ask the user to install the CLI outside the agent, then rerunb2 version- seereferences/setup.mdfor detail. - Verify the CLI is authorized:
b2 ls. If it fails with an auth error, walk the user throughreferences/setup.md. - Check for a per-project config at
.claude/b2-config.jsonin the project root. If missing, ask the user for bucket + prefix and create one.
Interactive auth note
b2 account authorize (no args) reads keys from an interactive prompt, which agents cannot drive. The user has two options:
- Run it themselves in the terminal — in Claude Code they can type
!b2 account authorizeto execute directly in the session. - Pass the keyID and applicationKey as positional args:
b2 account authorize <keyID> <appKey>(keys will appear in shell history — less safe). - Or set
B2_APPLICATION_KEY_IDandB2_APPLICATION_KEYenv vars before running B2 commands (recommended for scripts and CI).
Project-Level Config
Per-project config at .claude/b2-config.json:
| Field | Purpose | |
|---|---|---|
bucket | Default bucket name for this project | |
prefix | Optional prefix to scope all operations (e.g. data/models/) | |
accountInfoPath | Path to B2 credential file — allows different keys per project |
If accountInfoPath differs from the default, prepend B2_ACCOUNT_INFO=<path> when running b2 commands. This file stores bucket names and paths only — never API keys.
Common Actions
List & search
Inspect file
Storage audit (usage, stale, large, duplicates, cost)
Reports live vs. billable storage, unfinished large files, old versions, hide markers, SHA1-based duplicates, and an estimated monthly cost.
Cleanup (destructive)
See references/cleanup-playbook.md. Never skip the dry-run step.
Lifecycle rules
Lifecycle rule JSON format is in references/b2-cli-reference.md.
Security review
See references/security-review.md for the full checklist (bucket type, SSE, CORS, object lock, replication, lifecycle coverage).
References
references/setup.md— first-use setup walk-through (install, app-key creation, authorization)references/cleanup-playbook.md— safe deletion procedure with dry-runreferences/security-review.md— per-bucket security audit checklistreferences/b2-cli-reference.md— CLI v4 command reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/b2-cloud-storage/SKILL.md
Popularity
- Repository stars
- 39
- Repository forks
- 3
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. 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/backblaze-labs/claude-skill-b2-cloud-storage/b2-cloud-storage)