Skip to content
Skills Library
Personal productivity · Automation

deep-dig

/deep-dig

Deep search for junk data and guided cleanup on macOS, Linux and Windows, plus help with full disks, opaque "System Data", leftovers of old apps and stuck cloud sync. Use for "deep dig", "clean my mess", "junk", "cleanup", "deep clean", "hidden data", "old apps", "what can I delete", "disk full", "free up space", "system data", "what is eating my disk", "move to Drive", "Drive won't upload", or when a computer crashes from low disk space or memory. Searches and lists first, and never deletes anything without explicit approval.

Repository
deep-dig ↗
Licence
MIT
Last repository change
06.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
13
Scripts
4
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 06.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 4 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/linux-scan.sh, scripts/macos-deep-scan.sh, scripts/macos-scan.sh, scripts/windows-scan.ps1

What it does and when to use it

Deep search for junk data and guided cleanup on macOS, Linux and Windows, plus help with full disks, opaque "System Data", leftovers of old apps and stuck cloud sync. Use for "deep dig", "clean my mess", "junk", "cleanup", "deep clean", "hidden data", "old apps", "what can I delete", "disk full", "free up space", "system data", "what is eating my disk", "move to Drive", "Drive won't upload", or when a computer crashes from low disk space or memory. Searches and lists first, and never deletes anything without explicit approval.

Triggers from the description

System Datadeep digclean my messjunkcleanupdeep cleanhidden dataold apps
Original author description

Deep search for junk data and guided cleanup on macOS, Linux and Windows, plus help with full disks, opaque "System Data", leftovers of old apps and stuck cloud sync. Use for "deep dig", "clean my mess", "junk", "cleanup", "deep clean", "hidden data", "old apps", "what can I delete", "disk full", "free up space", "system data", "what is eating my disk", "move to Drive", "Drive won't upload", or when a computer crashes from low disk space or memory. Searches and lists first, and never deletes anything without explicit approval.

How it works

  1. 1. Detect the system, read the matching guide
  2. 2. Dig deep (read-only)
  3. 3. Show the list
  4. 4. Delete, only after approval
  5. 5. Moving things to the cloud
  6. Finish
Original SKILL.md headings · 74 lines, 816 words
SKILL.md preview
---
name: deep-dig
description: Deep search for junk data and guided cleanup on macOS, Linux and Windows, plus help with full disks, opaque "System Data", leftovers of old apps and stuck cloud sync. Use for "deep dig", "clean my mess", "junk", "cleanup", "deep clean", "hidden data", "old apps", "what can I delete", "disk full", "free up space", "system data", "what is eating my disk", "move to Drive", "Drive won't upload", or when a computer crashes from low disk space or memory. Searches and lists first, and never deletes anything without explicit approval.
---

# Deep Dig

> **TOP RULE: Never delete anything without the user's explicit approval.** This covers every file, cache and package, even when the disk is almost full. In an emergency, report it, name the options and wait for an answer. Approval covers only the things it names, and only this round. Until then, run read-only commands only.

Answer in the user's language. Prefer short tables to long prose. The order is always: **detect the system → dig deep → list → the user decides → delete exactly that → measure again → report honestly.**

## 1. Detect the system, read the matching guide

| System | Detect | Read | Scripts in `scripts/` (read-only) |
|---|---|---|---|
| macOS | `uname` is `Darwin` | `references/macos.md` | `macos-scan.sh`, then `macos-deep-scan.sh` |
| Linux | `uname` is `Linux` | `references/linux.md` | `linux-scan.sh` |
| Windows | PowerShell, `$env:OS` is `Windows_NT` | `references/windows.md` | `windows-scan.ps1` |

WSL counts as Linux. Check its Windows side separately.

Also read the user's own notes if they exist: project rules, memory, earlier cleanup documents. They say what is in active use. Ask which projects are active if you can't tell.

## 2. Dig deep (read-only)

The scripts take minutes, so run them in the background and wait for the result. On Windows: `powershell -ExecutionPolicy Bypass -File <path>\windows-scan.ps1`. That applies to this one run and changes no setting.

**Then keep digging yourself.** The scripts return candidates, not verdicts. For every large or unexplained item, look one level deeper until you know what it is. This regularly finds the most:
- Tools in unexpected places, such as SDKs inside package manager folders
- Copies and migration leftovers of nearly identical size
- Temp folders of old sessions and build output in scratch folders
- Leftovers of uninstalled apps
- Whatever has grown a lot since the last measurement

**Verify each candidate before calling it junk:**
- **A worktree is safe only if** it has no commits beyond the main branch, no uncommitted changes, at least 2 quiet days and no process inside it.
- **A local project folder may go only if** a verified copy exists. An old cloud copy can be incomplete, so compare them.
- **A missing app proves nothing.** The scripts match rough names and can be wrong. Check each one against installed apps and running processes.
- **Not everything called a cache is one.** Session histories, models, databases and browser profiles with bookmarks and passwords are real data.
- **Explain catch-all categories.** "System Data" is a bookkeeping label, not lost space. Compare used space against folders you can attribute.

## 3. Show the list

Tables, in this order:
1. 🟢 **Safe:** rebuilds itself and gets in no project's way
2. 🟠 **Has consequences:** name each one, such as "the next build takes longer"
3. 🔴 **Stays:** with the reason

Then ask. In Claude Code, use `AskUserQuestion` with multiple selection. If no answer comes, it is unclear, or a message doesn't arrive: delete nothing and ask again.

## 4. Delete, only after approval

- **Only what was approved.** "Leave the rest" means exactly that. Don't include anything similar. A deleted item coming back is not a new approval.
- **Show the size first, measure free space afterwards.** Don't report an estimate as the result. Clones and hard links often show more size than they free.
- **Write out target paths.** No variables in delete commands. Never work around safety checks.
- **The user empties trash folders**, local and in the cloud. Don't do the final deletion for them.
- **Prefer official routes:** `git worktree remove`, uninstallers and package managers instead of deleting folders by hand. Never disable system protection.
- **Never print secrets**, only names and counts. Never put them unencrypted in the cloud.
- Never stop other sessions or processes. Name them instead.

## 5. Moving things to the cloud

1. Compare with any existing cloud copy, using metadata only, without downloading.
2. Check for uncommitted changes, unpushed commits and running processes.
3. Find secret files and keep them in a private local place, not in the cloud.
4. Create one zip without `node_modules`, `.venv` and build folders. Save package versions first if there is no lockfile.
5. Unpack a test copy and compare checksums against the original.
6. Wait until the sync client confirms the upload. Only then delete locally.
7. Write down the new location where the user would look for it.

Warn before deleting or unpacking tens of thousands of files in a sync folder. That can block the queue for hours, and new uploads wait behind it.

## Finish

- Report honestly: what was deleted, what it really freed, what is still open. Correct your own mistakes and wrong assumptions out loud.
- Document changed storage locations. Cache deletions don't need it.
- Stop your own background processes. Don't start wait loops that will hit a timeout.
Files in this package (13)
  • .gitignore 1 KB
  • LICENSE 1 KB
  • README.md 4 KB
  • SKILL.md 5 KB
  • assets/hero.svg 3 KB
  • assets/layers.svg 3 KB
  • references/linux.md 2 KB
  • references/macos.md 3 KB
  • references/windows.md 2 KB
  • scripts/linux-scan.sh 6 KB
  • scripts/macos-deep-scan.sh 7 KB
  • scripts/macos-scan.sh 3 KB
  • scripts/windows-scan.ps1 8 KB

Versions

The database has no other skills named deep-dig.

Database snapshot: 13.11.2026 · package version 6e2a2798d017 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100genizah
    Safely free up disk space on a Mac, Windows PC or Linux machine, step by step, with the user's approval before anything is deleted and an extra warning before anything important goes. Use this whenever the user says their computer, laptop or disk is full, low on storage,…
  • 100macos-cleanup
    Deep-clean macOS - user/system junk (caches, logs, trash, iOS backups), leftovers from deleted apps, dev-tool junk (brew, docker, Xcode, npm/pnpm/uv/cargo caches, stale node_modules), disk-space breakdown + login-items audit. Use when the user says "clean my mac", "free up disk…
  • 100cleanup
    Free up disk space on this computer: list what takes space with its size, why it is safe to delete and what it costs, then delete only what the owner picks. Use when someone says "cleanup", "clean up disk", "free up space", "my disk is full", "out of space", "the Mac is full",…
  • 98disk-cleanup
    Reclaim space on the Windows C: drive by clearing regenerable caches (npm, pip, temp, Windows Update, puppeteer, driver leftovers). Use when the system drive is low on space, when an installer needs room to extract, or when the user asks to free up / clean up disk space. Scans…
  • 100mac-storage-cleaner
    Safely reclaim disk space on a Mac — the trustworthy, transparent, reversible alternative to CleanMyMac and similar tools. Use whenever the user says their Mac disk or storage is full or nearly full, gets a "startup disk almost full" / low-storage warning, asks to free up space,…
  • 93disk-cleanup
    Audit Windows disk usage and help reclaim space by safely deleting junk/regenerable data or moving user-selected folders to another drive and replacing them with directory junctions. Use when asked to clean a drive, free disk space, find what is using space, move folders to…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.