freeing-disk-space
Finds what fills a developer machine's disk and frees space by clearing caches, build outputs, and other regenerable files, running each deletion only after…
Skill by bostonaholic
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bostonaholic-freeing-disk-space
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/freeing-disk-space
What's inside
- Skill name
freeing-disk-space- Description
- Finds what fills a developer machine's disk and frees space by clearing caches, build outputs, and other regenerable files, running each deletion only after approval and never emptying the Trash. Use when a disk is full or nearly full, the user is running out of disk space, builds or containers fail for lack of space, or the user asks for a disk cleanup plan, to free a target amount of space, or to clean up, reclaim space, or delete caches, build outputs, or the Trash to make room.
- License
- MIT
- Instructions
- 67 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- SKILL.md
- openai.yaml · agents/
- cache-locations.md · references/
- list-pinned-versions.sh · scripts/
- measure-caches.sh · scripts/
SKILL.md (first lines)
# Freeing disk space Find where the space went, then remove only what a tool can recreate. ## Rules - **Approval first.** Show the exact command and what it removes. Run nothing that deletes until the user approves that command. - **The owning tool cleans its own files.** Prefer `brew cleanup`, `docker builder prune`, or `xcrun simctl delete unavailable` over `rm`. - **Never propose user data.** Documents, photos, mail, device backups, source trees with uncommitted or unpushed work, container volumes, VM disks, and databases are reported with their size and left to the user. - **Never empty the Trash.** Report its size and tell the user to empty it. - **Keep pinned toolchain versions.** Before removing a toolchain version, run `scripts/list-pinned-versions.sh <workspace>` on each directory that holds the user's projects, and keep every version it prints. Exit 64 means the path is not a directory, and exit 69 means a required tool is missing: report its error. - **Stop at the target.** The user's number, otherwise the target `scripts/measure-caches.sh` prints. Stop once it is met and say which approved rows you skipped. ## Find where the space went - Run `scripts/measure-caches.sh` in the background; `du` can take minutes. - It prints the volume line, with its target, then one row per known location. - Take each row's class, recreated-by, command, and close-first as printed, filling any `<placeholder>`; report keep rows, never propose them. - On exit 1 or 69, report the error and measure with `df -h` and `du -x` by hand. Exit 64 means an argument was given; run it with none. Then descend with `du -x` from the home directory into trees the script did not list, and check [cache locations](references/cache-locations.md) for each toolchain present. Classify those yourself: a path does not say whether it holds user data. Compare what you found with the used space. When much is unexplained, size the volume root, `/private/var` (or `/var`), other users' homes, and local Time Machine snapshots (`tmutil listlocalsnapshots /`). Never present a plan covering a small share of used space without saying where the rest is. When less than 5 GB is free and work is blocked, skip the survey: propose the script's regenerates rows without a `<placeholder>` as one batch for a single approval, then survey if the target is still unmet. ## Plan and run Classify each candidate as **regenerates** (the tool refills it on demand), **rebuildable** (costs a rebuild or re-download), or **keep** (user data, state no tool recreates, or held open by a running process). Only regenerates and rebuildable candidates enter the plan. Present one table, largest first, and stop for approval: | Path | Size | Class | Recreated by | Command | | ---- | ---- | ----- | ------------ | ------- | Mark rows that need something closed first and show the sum against the target. Run approved commands one at a time, re-measuring with `df` after each. A command that freed far less than its row's size usually left the space in a VM disk or a snapshot; say which. Report free space before and after, and the largest remaining keep items.
From bostonaholic/skills, MIT.
More from bostonaholic/skills
- 0.603score
auditing-agent-token-usage
bostonaholic
Audits recent Claude Code and Codex session logs for token and context cost: model routing, inherited subagent models, long sessions, compactions, oversized…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
explaining-architecture
bostonaholic
Explains how a subsystem, feature flow, or runtime path works (architecture, data flow, file map, gotchas), with an optional critique by fresh-context critics.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
explaining-code
bostonaholic
Explains code or code changes in plain language, briefly by default or in full for a reviewer.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-complexity
bostonaholic
Ranks where code complexity concentrates in a git repository (cyclomatic complexity, nesting, fan-out, mutable state) and scores CRAP change risk from a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
grooming-backlogs
bostonaholic
Grooms a GitHub Projects backlog: verifies issues against the code, ranks and clusters them, and plans milestone, link, and closure changes, or promotes…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-rails-tech-debt
bostonaholic
Audits a Rails app for tech debt, citing each finding to PoEAA, SOLID, or the Rails guides with file:line evidence and before/after code.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-repo-security
bostonaholic
Audits a third-party or freshly cloned repo before install or run for install hooks, auto-run files, CVEs, typosquats, and malicious code, graded A-F with a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-tests
bostonaholic
Audits a test suite, or a named part, for low-value tests and marks each retain, fix, consolidate, or delete with verified removal evidence.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
capturing-screenshots
bostonaholic
Captures deterministic, visually verified screenshots of a running web or native app (named screens, states, viewports, dark mode) with a manifest.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
addressing-pr-comments
bostonaholic
Triages open PR feedback, verifying each review thread, review summary, and comment against the code, then carrying out each item's recommended option and…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
configuring-zsh
bostonaholic
Chooses the zsh startup file (.zshenv, .zprofile, .zshrc, .zlogin, or a custom plugin under ZSH_CUSTOM) for a configuration change and edits the dotfiles repo…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
attaching-pr-screenshots
bostonaholic
Uploads local images through GitHub's attachment pipeline and writes one verified Screenshots section into a PR body.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 2
- Last commit (this folder)
- Oct 24, 2026 (4 days ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bostonaholic/skills
- Website
- skills.bostonaholic.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bostonaholic
- 0.603score
addressing-pr-comments
bostonaholic
Triages open PR feedback, verifying each review thread, review summary, and comment against the code, then carrying out each item's recommended option and…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
attaching-pr-screenshots
bostonaholic
Uploads local images through GitHub's attachment pipeline and writes one verified Screenshots section into a PR body.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-agent-token-usage
bostonaholic
Audits recent Claude Code and Codex session logs for token and context cost: model routing, inherited subagent models, long sessions, compactions, oversized…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-complexity
bostonaholic
Ranks where code complexity concentrates in a git repository (cyclomatic complexity, nesting, fan-out, mutable state) and scores CRAP change risk from a…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-rails-tech-debt
bostonaholic
Audits a Rails app for tech debt, citing each finding to PoEAA, SOLID, or the Rails guides with file:line evidence and before/after code.
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
auditing-repo-security
bostonaholic
Audits a third-party or freshly cloned repo before install or run for install hooks, auto-run files, CVEs, typosquats, and malicious code, graded A-F with a…
SkillAFreshness: A★ 2Claude Code +9
Cite this page
freeing-disk-space skill. Agent Mart. https://agentmart.dev/skills/bostonaholic-freeing-disk-space (last updated 2026-10-24)