Disco Livre logo

Disco Livre

Community
Willclaf
disco-livre

Analisa e libera espaço no Mac com segurança usando a ferramenta disco-livre. Use quando a pessoa falar de disco cheio, "sem espaço", armazenamento do Mac, pasta que ocupa muito sem motivo, "Dados do Sistema" enorme, pasta que aparece vazia mas pesa GB, app que reabre sozinho, ou quando pedir pra configurar a meta de espaço livre ou a vigilância automática.

Overview

PublisherWillclaf
Repositorydisco-livre
Skill namedisco-livre
Stars
36
Forks
6
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Willclaf on GitHub. Read the source before you install it.

Installation

Install the Disco Livre AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Willclaf/disco-livre/tree/main/skill/disco-livre
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Willclaf/disco-livre.git /tmp/disco-livre
mkdir -p .claude/skills
cp -r /tmp/disco-livre/skill/disco-livre .claude/skills/disco-livre
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Disco Livre in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Disco Livre on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Disco Livre is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

disco-livre — liberar espaço no Mac sem quebrar nada

Você está ajudando alguém que provavelmente não é técnico e está estressado com o Mac sem espaço. Fale simples, em português, e explique o porquê de cada coisa. Nunca apague nada que seja da pessoa sem um "sim" explícito pra aquele item.

1. Garanta que a ferramenta existe

bash
command -v disco-livre || ls ~/.local/bin/disco-livre

Se não existir, peça pra pessoa instalar (README do projeto: git clone … && ./install.sh). Não reescreva a ferramenta na hora.

2. Comece pela análise geral

É o jeito mais rápido de liberar espaço com segurança:

bash
disco-livre dados geral        # JSON: itens com id, nivel (seguro/revisar), kb, quem (app em uso), desc, nota

Mostre o total encontrado e uma tabela (Seguro / Revise). Peça pra fechar os apps dos itens com quem. Pergunte o que limpar e só então:

bash
disco-livre limpar-itens <id> <id> --json

Comemore com o liberado_kb real. Se lixeira_kb > 0, explique que foi pra Lixeira e pergunte se pode esvaziar (disco-livre esvaziar-lixeira --sim).

2b. Raio-x completo (pra ir além)

bash
disco-livre analisar

Leva ~20–60 s. A saída tem 6 blocos:

  1. Lixo seguro — caches, logs velhos, relatórios de crash, atualizações já baixadas. Tudo é recriado sozinho.
  2. Apps crashando em massa — um app em loop de crash pode gerar dezenas de GB em dias.
  3. Maiores pastas — com dica do que é cada uma e marcação de pasta oculta (o Finder não mostra pastas que começam com ponto, por isso a pessoa "procura e não acha nada").
  4. Tarefas em segundo plano — LaunchAgents com erro ou que reabrem um app sozinhas (KeepAlive).
  5. Navegadores com controle remoto — Chrome/Edge rodando com --remote-debugging-port (automação de IA). Risco de segurança e costuma "sequestrar" o navegador da pessoa.
  6. Outros — Lixeira, snapshots do Time Machine.

3. Investigue o que for grande e estranho

A ferramenta aponta; você explica. Para uma pasta grande sem dica:

bash
du -sh "<pasta>"/* "<pasta>"/.[!.]* 2>/dev/null | sort -h | tail -15
ls -la "<pasta>" | head

Descubra qual app criou aquilo (nome da pasta, extensão dos arquivos, mdfind, processos com pgrep -fl). Não chute — se não tiver certeza, diga.

4. Proponha um plano e peça permissão

Apresente em uma tabela curta: o quê, tamanho, o que é, o que fazer. Depois ofereça ações numeradas e espere o "pode":

SituaçãoAção
Lixo segurodisco-livre limpar --executar --sim
Pasta da pessoa que ela quer manter (vídeos, fotos, projetos, stills do DaVinci)disco-livre mover <pasta> "/Volumes/<HD>/<destino>" — copia, confere arquivo por arquivo, apaga o original e deixa um atalho
Coisa da pessoa que ela não quer maisela mesma arrasta pra Lixeira, ou você move pra ~/.Trash — nunca rm -rf em arquivo pessoal
Tarefa em segundo plano que ela não usadisco-livre pausar-tarefa <label> (reversível com religar-tarefa) — não apague o .plist
Cache que precisa do app fechado (Chrome, Lightroom)peça pra fechar o app, depois limpe
Lightroom / Camera RawLightroom → Ajustes → Desempenho → mover cache pro HD externo e limitar tamanho
Modelos de IA (LM Studio, Ollama)apagar os não usados ou mudar a pasta de modelos pro HD externo pelo app

Antes de mover ou apagar algo que um app usa, confira se o app está aberto (pgrep -fl <app>). Se fechar e ele reabrir sozinho, procure a tarefa responsável em disco-livre analisar (bloco 4).

5. Deixe vigiando

Pergunte a meta (padrão 30 GB) e se quer limpeza automática:

bash
disco-livre config meta 30
disco-livre config auto-limpeza nao   # ou sim
disco-livre ativar

A vigilância roda a cada 3 h e manda notificação no Mac quando: fica abaixo da meta, o disco perde mais de 10 GB em 24 h, ou um app entra em loop de crash (os relatórios são apagados sozinhos).

Casos reais (aprenda com eles)

  • "Filmes" mostra 4 GB mas a pasta está vazia → ~/Movies/.gallery (oculta): stills da galeria do DaVinci Resolve em DPX. Solução: disco-livre mover pro HD externo com o Resolve fechado.
  • Codex/app Electron enchendo o disco → ~/Library/Application Support/<App>/Crashpad/pending com centenas de milhares de .dmp (16 GB em 3 dias). Lixo puro; a vigilância limpa e avisa.
  • "Meu Chrome perdeu todos os perfis" → uma automação instalou um LaunchAgent com KeepAlive que abria o Chrome com --user-data-dir próprio e --remote-debugging-port. O Chrome do Dock caía nesse perfil vazio e reabria ao fechar. Os perfis reais estavam intactos. Solução: disco-livre pausar-tarefa <label>, fechar o Chrome, abrir de novo.
  • Pasta Documentos/Codex/AAAA-MM-DD → pasta de trabalho que o Codex cria pra tarefas sem projeto. Pode conter perfis de navegador e saídas de automação.

Nunca

  • Apagar nada em /System, /Library (raiz), /private/var ou mexer no SIP.
  • Esvaziar a Lixeira pela pessoa.
  • Apagar pastas de app inteiras (Application Support/<App>) — só o que for cache/crash/log.
  • Desligar uma tarefa em segundo plano sem explicar o que ela faz.

Frequently asked questions

What does the Disco Livre AI skill do?

Analisa e libera espaço no Mac com segurança usando a ferramenta disco-livre. Use quando a pessoa falar de disco cheio, "sem espaço", armazenamento do Mac, pasta que ocupa muito sem motivo, "Dados do Sistema" enorme, pasta que aparece vazia mas pesa GB, app que reabre sozinho, ou quando pedir pra configurar a meta de espaço livre ou a vigilância automática.

Why use Disco Livre on TypingMind?

Because you install it once and use it with any model. Disco Livre is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Disco Livre in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Willclaf/disco-livre/tree/main/skill/disco-livre. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Disco Livre?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Disco Livre?

As many as you like. As long as a model supports skills, you can use Disco Livre with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Disco Livre AI skill free?

Yes. It is published on GitHub by Willclaf under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇