jordanchoo/acfs-agent-skills/sbh
Claude Code and agent skill by jordanchoo/acfs-agent-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Disk-pressure defense for AI coding workloads. Use when: disk full, low space, ballast, cleanup, scan artifacts, emergency, sbh daemon, sbh status.
Install
npx vskill@latest install jordanchoo/acfs-agent-skills/sbhSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as jordanchoo/acfs-agent-skills/sbh.
SBH — Storage Ballast Helper
Prevents disk-full disasters via ballast files, artifact scanning, and predictive pressure monitoring. Three-pronged: ballast (instant space), scanner (stale artifacts), special locations (/tmp, /dev/shm, swap).
Quick Check
Exit codes: 0 = healthy, 1 = pressure, 2 = error.
Daemon
Signals: SIGHUP = reload config, SIGUSR1 = force scan now, SIGTERM = graceful stop.
Ballast
Pre-allocated sacrificial files — released in milliseconds, no scanning needed.
Defaults: 10 x 1 GiB = 10 GiB. Ensure ballast dir is on same mount as pressure source.
Scanning & Cleanup
Scoring: Location (.25) + Name (.25) + Age (.20) + Size (.15) + Structure (.15) = 1.0.
Protection
Config globs: scanner.protected_paths. Hard vetoes (always enforced): .git/ dirs, open files, age < 10 min, non-writable parents.
Emergency Recovery
Zero-write mode for near-100% full disks. No config file needed.
Observability
Configuration
Config: ~/.config/sbh/config.toml | Env: SBH_ prefix | Fallback: /etc/sbh/config.toml
Anti-Patterns
| Don't | Do Instead | |
|---|---|---|
Ballast on /tmp | paths.ballast_dir on same mount as pressure source | |
| User-scope daemon on Linux | System scope — without root the scanner cannot check other users' open files and deletes nothing | |
| Skip pre-build check | sbh check --need 10G in CI/hook | |
Delete .sbh-protect by hand | sbh unprotect /path | |
| Wait for Red to act | Act at Yellow — agent swarms escalate fast | |
min_file_age_minutes = 0 | Keep >= 5 to protect in-flight writes |
Docs
Full documentation: https://github.com/Dicklesworthstone/storage_ballast_helper
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 repositoryCheckingsbh/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/jordanchoo/acfs-agent-skills/sbh)