sbh
Inspect disk pressure with SBH and perform an authorized recovery action. Use when: storage diagnosis or SBH recovery is requested; inspection does …
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
SBH — storage pressure specialist
SBH exposes disk-pressure status, ballast, scanning, and recovery commands. This
skill gathers evidence and performs at most the explicit action authorized by the
caller. Its authorized actions can delete files and change host storage
configuration, so no mutation runs without explicit caller authority. The command
surface below is anchored to sbh 0.4.27; re-verify against sbh --version on
another host before relying on an exact flag.
Evidence-first recovery works because disk pressure has cheap reversible
remedies and expensive irreversible ones; a factual baseline is what tells them
apart before anything is deleted. Order remediation by irreversibility:
status and dry runs first, ballast release next, cleanup of unprotected files
after that, and emergency deletion last — never skip forward while a more
reversible step remains untried.
Named failure mode — wrong-mount relief: reclaiming gigabytes on a
filesystem that is not the constrained mount and declaring the pressure
resolved.
Anti-pattern: escalating straight to emergency --yes because pressure is
critical. Corrective: urgency raises the stakes of an irreversible mistake; it
never lowers the authorization bar or the ordering above.
Constraints
- Begin with
sbh --json status,sbh check, or a dry run on the exact mount
because recovery decisions need a factual baseline.
- Never run
clean --yes,emergency --yes, ballast release,tune --apply,
unprotect, or service/configuration changes without explicit authority
because those operations mutate host state.
- Preserve
.git/, open-file, young-file, non-writable-parent, and
.sbh-protect vetoes because they prevent unsafe or ineffective cleanup.
- Confirm that ballast or reclaimed bytes affect the constrained mount because
free space on another filesystem does not resolve the pressure.
- Run one action once, capture before/after evidence, and stop because the
caller owns any further mutation. A negative result
is returned to the caller; this skill does not retry or escalate it.
Output
Return mount, free bytes, pressure state, dry-run candidates, authorization used,
exact command and exit code, bytes reclaimed, protection vetoes, and checked/not
checked surfaces.
Full command documentation: <https://github.com/Dicklesworthstone/storage_ballast_helper>
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/boshu2/agentops/skills-codex/sbh/SKILL.md