技能潮 SkillTide 提交收录
官方说明2 个来源开源项目3 天前
bmcreations/disk-jockey

bmcreations/disk-jockey

Agent-era disk hygiene: spins down your simulators, drops your stale tracks, keeps the dance floor clear
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
5 ★ · bmcreations/disk-jockey · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-14 · 最近见到 2026-10-16 · 共见到 3 次 · 被 2 个来源列出
评分构成
综合分 203 · 5 ★ · 2 个来源 · repo
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 bmcreations/disk-jockey;我们收录于 2026-10-14;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Disk hygiene for the agentic era.

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Finds what is really eating your drive, then removes only what is provably safe.
---
Why this exists
AI agents work in parallel. Each task gets its own git worktree with its own full Gradle or Xcode build. Test runs clone simulators. Daemons, emulators and simulators stay up until memory spills into swap, and swap lives on the same disk.
On one real 1TB machine, free space went from **79G to 2.5G in twenty minutes**. The cause wasn't ~/Library/Caches:
- **17G of swap** from booted simulators, emulators and idle daemons (kernel_task had written 643GB)
- **37 forgotten agent worktrees** nested in repo/.claude/worktrees/, about 1 to 6G each
- **A staged macOS update** whose snapshots pinned every block deleted since
A generic "clear your caches" script finds none of that. disk-jockey checks for it first.
Quick start
That installs the latest release once for every agent and adds a disk-jockey command:
- ~/.agents/skills/disk-jockey is the copy Codex and Cursor read.
- ~/.claude/skills/disk-jockey links to it for Claude Code (a junction on Windows, so no Developer Mode needed).
- ~/.local/bin/disk-jockey is the command (~/bin in Git Bash). If that folder isn't on your PATH, the installer prints the line to add.
An existing clone in ~/.claude/skills is moved to the shared location rather than duplicated. Update with disk-jockey update; remove with bash ~/.agents/skills/disk-jockey/install.sh --uninstall.
Then tell your agent *"my disk is full"*, or drive it yourself:
Arrow keys move, space toggles, Enter continues. Every command takes --help.
Other ways to install
**Follow main instead of releases:**
**Manually, without the installer:**
Then run ~/.agents/skills/disk-jockey/bin/disk-jockey, or the scripts in scripts/ directly.
**claude.ai:** download disk-jockey-vX.Y.Z.zip from Releases and upload it as a custom skill.
**Pin a version:** bash install.sh --ref v0.2.0
See it work
**Interactive mode.** Arrow keys and space, like an installer. Safe caches are preselected, rebuild-cost items are one more press (or right arrow), and report-only data can't be selected at all. The worktree step works the same way: REMOVABLE worktrees start selected, and REVIEW ones (uncommitted or unpushed work) can be opted in after typing yes. Their commits stay on their branches; only uncommitted changes are discarded.
**Step one is always: is it really files?**
**Then the usual biggest win: agent worktrees.** Merged and clean ones go. Anything dirty, unpushed, recently touched or in use by a running agent stays.
How it works
| Script | What it does |
|---|---|
| dj.sh | Interactive mode for humans: one-key preflight fixes, arrow-key pickers for categories and worktrees, before/after summary |
| preflight.sh | Free space, load, swap, booted simulators, emulators, idle Gradle/Kotlin daemons, active builds, agent count, APFS snapshots, uptime |
| scan.sh | Sizes 90+ known targets across Xcode, simulators, Android, Gradle, Node, Python, Go, Rust, Flutter, Docker, editors, Electron apps, game engines and version managers |
| worktrees.sh | Audits every linked worktree, nested ones included. Detects squash-merged PRs with gh. --merged cleans up right after a merge |
| clean.sh | Tiered cleanup with the tools' own commands where they exist (simctl, brew cleanup, pnpm store prune) |
| sweep.sh | build/, .gradle, node_modules, target/, .build in projects idle for N days |
| schedule.sh | Daily tier-1 cleanup, only when free space drops below a threshold (launchd or systemd) |
| quarantine.sh | Opt-in undo: cleanup moves items aside for N days instead of deleting them |
| hooks.sh | Agent session hooks: shut down simulators and emulators that agent sessions booted |
来源
github · https://github.com/bmcreations/disk-jockey
按领域浏览
开源项目
Traction
5 ★
收录于
昨天

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引