Cleanup logo

Cleanup

Community
Melvynx
cleanup

Tidy the user's brain. Finds finished, forgotten or empty projects, duplicates, misplaced folders, loose files and old scratch, proposes what to archive, merge or move, and does only what the user approves. Use when the user types /cleanup, says "fais le ménage", "range mon brain", "archive les vieux projets" or the brain feels messy.

Overview

PublisherMelvynx
Repositoryai-maxxing-skills
Skill namecleanup
Stars
38
Forks
9
Bundled files
1
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.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Cleanup 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/Melvynx/ai-maxxing-skills/tree/main/skills/brain/cleanup
  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/Melvynx/ai-maxxing-skills.git /tmp/ai-maxxing-skills
mkdir -p .claude/skills
cp -r /tmp/ai-maxxing-skills/skills/brain/cleanup .claude/skills/cleanup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Cleanup 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 Cleanup 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 Cleanup 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.

Keep the brain small, so every session finds the right project fast. The brain is the folder named in the ## Brain section of ~/.claude/CLAUDE.md (default ~/brain): read its AGENTS.md first (layout, hubs, hygiene). Talk to the user in their language, without jargon. Never move, merge or trash anything before the user says yes, and never delete permanently: archive what has value, trash only scratch.

  1. Scan. Run python3 <brain>/.agents/skills/cleanup/scripts/review.py <brain>. It reads every projects/**/About.md (status, updated:, open Roadmap.md boxes), takes the last modification date from git (git log -1 --format=%cs -- <folder>) and from the newest file on disk (whichever is later wins), writes <brain>/.tmp/cleanup-review.html and opens it. The page lists all projects, oldest first, each with a recommendation (Keep, Archive, Trash, Merge into..., Move to...) the user can change, plus a "Copy prompt" button that builds the instruction to paste back here. When python3 is missing, collect the same facts yourself and skip the page. Then look for the candidates below that the page does not cover (merge, move, fix, tidy).
    • Archive: status done still in projects/; nothing changed for 60 days or more; paused for 30 days or more with no open task; a project whose About.md is still mostly "To fill" and never moved.
    • Merge: two projects about the same thing, or a sub-project that duplicates its hub.
    • Move: a project that belongs to a hub but sits at the projects/ root, or in the wrong hub.
    • Fix: a project folder with no About.md, an About.md with no status.
    • Tidy: loose files or folders at the brain root that AGENTS.md does not list, empty folders anywhere, .tmp/ files older than 7 days, *-final*, *-v2* and report files that duplicate an About.md, notes in notes/ideas/ and notes/todos/ older than 90 days.
  2. Propose. Tell the user the page is open: they choose per project, click "Copy prompt" and paste it here. A pasted prompt that starts with "/cleanup : applique mes choix" is their yes (read the "Note générale" and the comment after each -> as instructions, for example a merge target): skip the question below and go to step 3 with exactly their choices. Without a pasted prompt, also show one short numbered list grouped by Archive, Merge, Move, Fix and Tidy, each line with the project and the reason in a few words ("lumail/old-landing: nothing since 14 May"). Recommend a choice and ask in one message: "all", the numbers, or "none". When nothing needs doing, say the brain is clean and stop.
  3. Do only what they picked.
    • Archive: fold the final outcome into About.md (what was done, where the deliverables are), set status: done and updated: to today, trash scratch files, keep deliverables, and move the folder to archives/<folder-name>/ intact.
    • Merge: fold the facts of one About.md and Roadmap.md into the other (one fact, one place), move its files over, and archive the empty one.
    • Move: move the folder into the right hub.
    • Fix: write the missing About.md from what the folder holds, with "To fill" where you would have to guess.
    • Tidy: file each loose file into the project it belongs to, trash empty folders and old scratch, turn an old idea the user still wants into a project with the create-project skill, and trash the rest.
    • When the user says a flagged project is still alive, set its updated: to today and leave it.
  4. Fix the links. Search the brain (and the global rules) for each old path you moved and update it.
  5. Save. Commit with git add -A and cleanup: <what was archived, merged or moved>, and push when the brain has a GitHub copy.
  6. Report. Tell the user in 3 to 5 lines what moved where, how many projects are active now, and that /cleanup once a month keeps it this way.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Cleanup AI skill do?

Tidy the user's brain. Finds finished, forgotten or empty projects, duplicates, misplaced folders, loose files and old scratch, proposes what to archive, merge or move, and does only what the user approves. Use when the user types /cleanup, says "fais le ménage", "range mon brain", "archive les vieux projets" or the brain feels messy.

Why use Cleanup on TypingMind?

Because you install it once and use it with any model. Cleanup 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 Cleanup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Melvynx/ai-maxxing-skills/tree/main/skills/brain/cleanup. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Cleanup?

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 Cleanup?

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

Is the Cleanup AI skill free?

Yes. It is published on GitHub by Melvynx 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 👇