agentsclimarketplace

Mac file patterns

Skill okturan/claude-plugins/plugins/files-organizer/skills/mac-file-patterns

This skill should be used when a task involves analyzing macOS file structures, recommending folder hierarchies, classifying files by type or purpose, identifying cleanup targets, or suggesting reorganization strategies for personal Mac file systems. Covers standard Mac directories, file extension categories, bilingual (English/Spanish) filename patterns, and safe-to-delete file types.From its SKILL.md

Install
npx -y skills add okturan/claude-plugins --skill mac-file-patterns

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

6.9 KB, ~1.9k tokens by cl100k_base, as published. Nobody here has run it

Mac File Organization Patterns

Standard Mac Directory Purposes

DirectoryPurposeCommon clutter
~/DocumentsLong-term personal & work filesBecomes a dumping ground for everything
~/DownloadsTemporary landing zoneNever cleaned up, accumulates for years
~/DesktopQuick access, active workScreenshots, temp files pile up
~/PicturesPhotos Library (managed by Apple)Rarely needs manual organization
~/MoviesiMovie projects, mediaUsually small unless active video editing
~/MusicMusic app, GarageBandManaged by apps
~/DropboxCloud syncOften abandoned with large orphan files

Recommended Personal Folder Structure

~/Documents/
  Work/
    [Company]/
      Projects/
      Admin/           (contracts, invoices, HR)
  Personal/
    Finance/           (budgets, tax, bank statements)
    Medical/
    Legal/             (IDs, visas, permits, contracts)
    Travel/
  Creative/
    Design-Projects/   (client or personal design work)
    Assets/            (fonts, templates, stock images)
    3D-Printing/       (STL, GCODE organized by project)
  Education/
    [Course or Topic]/
  Archive/             (old projects, reference material)

File Category Classification

By extension

  • Documents: .docx, .doc, .pdf, .pages, .txt, .rtf, .md
  • Spreadsheets: .xlsx, .xls, .numbers, .csv
  • Presentations: .pptx, .ppt, .key
  • Images: .png, .jpg, .jpeg, .gif, .webp, .heic, .svg
  • Video: .mp4, .mov, .avi, .mkv
  • Audio: .mp3, .wav, .m4a, .aac
  • Design: .ai, .psd, .afdesign, .sketch, .fig, .eps
  • 3D printing: .stl, .3mf, .gcode, .obj
  • Fonts: .ttf, .otf, .woff, .woff2
  • Archives: .zip, .rar, .7z, .tar.gz, .dmg
  • Code: .html, .css, .js, .py, .swift

By purpose

Classify by searching filenames for keywords. Account for both English and Spanish terms:

  • CVs/Resumes: "cv", "resume", "curriculum"
  • Invoices: "invoice" / "factura", "receipt" / "recibo"
  • Budgets: "budget" / "presupuesto", "financial"
  • Contracts: "contract" / "contrato", "agreement"
  • Recipes: "recipe" / "receta"
  • Letters: "letter" / "carta"

Bilingual filename equivalents

Files may use Spanish or English naming. Common pairs:

  • Documents/Documentos, Recipes/Recetas, Invoice/Factura
  • Budget/Presupuesto, Contract/Contrato, Letter/Carta

Hidden Dotfiles & Developer Caches

Dotfiles (directories starting with . in the home folder) are invisible in Finder and often overlooked by file scanners. They routinely consume 20-80+ GB on developer machines. Always scan these — they are often the single largest category of reclaimable space.

Common large dotdirs

DirectoryWhat it isTypical sizeCleanup command
~/.cache/huggingfaceDownloaded ML models5-50 GBrm -rf ~/.cache/huggingface/
~/.npmnpm package cache2-10 GBnpm cache clean --force
~/.cache/uvPython uv cache1-5 GBuv cache clean
~/.cache/pippip download cache0.5-3 GBpip cache purge
~/.bunBun runtime cache1-3 GBrm -rf ~/.bun/install/cache
~/.gradleGradle build cache1-5 GBrm -rf ~/.gradle/caches/
~/.m2Maven repository cache0.5-3 GBrm -rf ~/.m2/repository/
~/.cargo/registryRust crate cache0.5-3 GBcargo cache --autoclean
~/.colima / ~/.limaContainer VM images5-20 GBcolima delete
~/.codex/worktreesCodex stale worktrees1-10 GBrm -rf ~/.codex/worktrees/
~/.cache/puppeteerPuppeteer browsers0.5-2 GBrm -rf ~/.cache/puppeteer/
~/.cache/torchPyTorch model cache0.5-5 GBrm -rf ~/.cache/torch/
~/.rustupRust toolchains1-3 GBKeep if using Rust
~/.platformioPlatformIO (IoT)0.5-2 GBKeep if using PlatformIO
~/.rbenvRuby versions0.5-2 GBKeep if using Ruby
~/.vscodeVS Code extensions1-3 GBManage in VS Code

All cache directories regenerate on demand — cleaning them is always safe, just costs a re-download next time they're needed.

~/Library hidden costs

~/Library is excluded from many scans but often holds 20-50+ GB:

SubdirectoryWhat it isTypical offenders
Application Support/Google/ChromeChrome profiles, data, extensions5-15 GB
Application Support/CodeVS Code extensions, cache, WebStorage2-5 GB
Caches/App caches (Chrome, Homebrew, Playwright, pip)3-10 GB
Containers/Sandboxed app data (iMessage, Slack)2-5 GB
Developer/Xcode/DerivedDataXcode build cache1-5 GB
Developer/CoreSimulatoriOS simulator runtime data1-5 GB

Clean Caches: rm -rf ~/Library/Caches/* (regenerates automatically) Clean DerivedData: rm -rf ~/Library/Developer/Xcode/DerivedData/

System-level space consumers

LocationWhat it isTypical size
/Library/Developer/CoreSimulatoriOS Simulator runtimes (separate APFS volumes!)10-30 GB
/Library/Frameworks/Python.frameworkSystem Python installs2-5 GB
/opt/homebrewHomebrew packages3-10 GB
/Applications/Xcode.appXcode IDE5-15 GB

Clean old simulators: xcrun simctl delete unavailable Clean Homebrew: brew cleanup --prune=all

Common Cleanup Targets

Always safe to delete

  • ~$*.docx / ~$*.xlsx - Office temp lock files
  • .DS_Store - macOS folder metadata
  • $RECYCLE.BIN/ - Windows recycle bin (from external drives)
  • Thumbs.db - Windows thumbnail cache
  • .Spotlight-V100/ - Spotlight index data
  • .Trashes/ - macOS trash on external drives

Usually safe to delete (verify first)

  • .dmg files in Downloads (installers, delete after install)
  • *.partial / *.crdownload - Incomplete downloads
  • Duplicate downloads: file (1).pdf, file (2).pdf
  • wetransfer folders with hash names (after extracting content)
  • Empty directories

Build artifacts in code projects

These regenerate automatically when you build/install again:

  • node_modules/rm -rf per project, npm install to restore
  • build/, dist/, .next/, .expo/ — build outputs
  • DerivedData/, .build/ — Xcode/Swift build caches
  • Pods/ — CocoaPods dependencies
  • .gradle/ — Gradle build cache (project-level)

Additional Resources

Reference Files

  • references/cleanup-checklist.md - Detailed cleanup procedures with bash commands by priority

What ships with it: 1 file

2.6 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.