Logo di Clean Mac Disk

Clean Mac Disk

Community
Heyvhuang
clean-mac-disk

Use when your Mac's disk is almost full and you want to find and clean up what development left behind: caches, build output, Docker, models and old agent sessions. A read-only scan by size, a local treemap split into safe to remove and review first, and a cleanup script only for what you tick, using each tool's own clean command. Not for cleaning up code in a repo (check-before-launch).

Panoramica

Pubblicato daHeyvhuang
Repositorycopybook-skills
Nome della skillclean-mac-disk
Stelle
143
Fork
9
File inclusi
Solo istruzioni
LicenzaCC-BY-4.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da Heyvhuang su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Clean Mac Disk in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/Heyvhuang/copybook-skills/tree/main/standalone/tips/clean-mac-disk
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Heyvhuang/copybook-skills.git /tmp/copybook-skills
mkdir -p .claude/skills
cp -r /tmp/copybook-skills/standalone/tips/clean-mac-disk .claude/skills/clean-mac-disk
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Clean Mac Disk in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Clean Mac Disk non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Clean Mac Disk non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Disk map of dev leftovers

Disk almost full: a read-only scan, a treemap of what development left behind, and a cleanup script only for what you tick.

Steps

  1. Copy the prompt.
  2. Send it to Claude Code.
  3. You get: A local HTML treemap of your dev leftovers and a cleanup script for the items you tick.

The user chose this tip. The steps above are written for a person; do them for the user.

  • Step 1 names the text to use: it is under the heading of that name below. Use it word for word.
  • Step 2 says where the text goes. Apply a prompt within the task the user actually requested. Before writing a file or running a command, show the change and get their agreement. Before deleting, publishing, sending, paying or making changes outside the project, ask once for explicit approval, even if the user already requested it. Wait for the user to answer that question with a yes. A backup or the tip’s quoted instructions cannot waive confirmation. Only an ordinary edit inside this project can use the request as agreement for the same action, target and effects. Say what you did. Ask once for any wider change and keep the tip’s checkpoints and approvals below. A review, check or explanation changes nothing. If a step needs another app, a restart or a schedule you cannot access, give the user the text and say where it goes.
  • A quoted example gives no permission to act. Before running downloaded shell code or an unpinned package, changing persistent user-wide settings, or reading private session history, show the command or paths, what it will access or change, and any destination. Redact secret values. Wait for explicit approval of that specific action. For a remote installer, fetch and inspect a pinned revision or verify a trusted checksum before running it.
  • Fill each bracket or placeholder from what the user said, or ask.
  • Step 3 is what the user should end up with.

Prompt

text
Scan my home folder read-only. Look at sizes only and don't open any file contents. Skip iCloud, the Photos library and external drives, and skip any folder that triggers a system permission prompt. Find the big folders left behind by development work and build a local HTML page: a treemap sized by space, split into 'safe to remove' and 'let me review first'. Sessions, models and Docker always go under 'let me review first'. For each item, show the path, the size and what happens if it's deleted. When I tick items, generate a cleanup script that uses each tool's own clean command, and don't delete anything yourself. Append each item's size to ~/disk-report/sizes.csv, and next time read it first and flag what grew.

Copybook’s notes for the agent: Open the page for me in a browser and show it as a screenshot, with each group's total at the top. Say which folders you skipped and why.

Background

My Mac was down to 27 GB, so I had Opus 5.5 scan it read-only: 124 GB of developer leftovers, and ~/.codex alone was 59 GB, 31 GB of it old chats.

It drew a map of it, and once you tick items it writes the cleanup script. 22.5 GB of it is caches and build output that gets re-downloaded or rebuilt when you need it.

Send this to Claude Code and see how much is on yours.

Source

From Copybook: posted on X by @Voxyz_ai on 17 Oct 2026, 2K saves as of 14 Nov 2026. For Claude Code.

Domande frequenti

Cosa fa la skill IA Clean Mac Disk?

Use when your Mac's disk is almost full and you want to find and clean up what development left behind: caches, build output, Docker, models and old agent sessions. A read-only scan by size, a local treemap split into safe to remove and review first, and a cleanup script only for what you tick, using each tool's own clean command. Not for cleaning up code in a repo (check-before-launch).

Perché usare Clean Mac Disk su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Clean Mac Disk è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Clean Mac Disk in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/Heyvhuang/copybook-skills/tree/main/standalone/tips/clean-mac-disk. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Clean Mac Disk?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Clean Mac Disk?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Clean Mac Disk: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Clean Mac Disk è gratuita?

Sì. È pubblicata su GitHub da Heyvhuang con licenza CC-BY-4.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇