Macliner
БесплатноЗапускает вложенные скриптыНе проверенCleans, updates and checks a Mac in one run: measures, shows a plan with sizes, deletes caches and leftovers for real, asks before anything a person might…
от geragarazagh204 установки в других каталогахОб этом скилле
Macliner
Cleans, updates and checks a Mac in one run, the way paid cleaner apps do, with
the Mac's own commands and nothing that stays running afterwards. The helper
script scripts/macliner.py does the measuring and the deleting; it needs only
Python 3 (standard library) and macOS's own commands.
Answer in the language of the person's message, briefly. A request such as «clean my Mac» is clear: start at once. Ask only the real choices the plan names (step 4), never about language, format or where to save.
Rules for the whole run:
- Delete only what a plan line lists, and only through the script. While the
script is in use, never run
rmby hand on the person's files (the section «Without the script» is the one exception), never empty or «tidy» a folder the plan does not name, never use another cleaner app. - Deleting is for real (no Trash). Lines that need a choice are done only after the person says yes to that line.
- Never type or ask for a password and never run
sudoyourself (the script itself only probessudo -n true, which never asks and changes nothing). Lines that need an administrator are printed by the script as commands; show them to the person to paste into Terminal. - Never change a setting unless the person asks for that setting. Never install macOS updates and never restart the Mac.
- Never install a tool without the person's yes.
Every run
The script lives in this skill's folder (next to this file), not in the person's folder: call it by its full path. If that path is not known, find it:
find -L ~/.[a-z]* -maxdepth 9 -path '*macliner/scripts/macliner.py' 2>/dev/null | head -1
Below, SCRIPT means that full path. Run it with /usr/bin/python3 (Apple's
Python), not another one.
Check that this is a Mac and Python is there:
uname -smust printDarwin, andxcode-select -pmust print a folder. Ifxcode-select -pfails, tell the person to runxcode-select --install(Apple's installer window opens; they click Install), and stop until they say it is done. Do not run/usr/bin/python3before this check: on a Mac without the command line tools it opens that installer window by itself.Make the plan (read-only, 30 seconds to 3 minutes; it changes nothing):
/usr/bin/python3 SCRIPT planRead all of it. Every line ends with its id in square brackets, for example
[dev-caches]. The groups:- «Done without asking»: caches, logs, the Trash (items trashed more than a day ago), Homebrew's old downloads, unfinished downloads, start-up items of removed apps, Xcode build leftovers. All of it comes back by itself or was already thrown away.
- «Needs the person's choice»: the lines step 4 asks about.
- «Updates»: what is out of date.
- «Problems found», «Facts», «Already right»: checks of security and hardware. Nothing to do; tell the person the problems.
- «Settings, left as they are unless the person asks».
- «Never touched»: big folders shown only so the person sees where the space is.
Which steps follow depends on the request. «How much can be freed» or «how is my Mac doing»: stop here and report free space, what would go without asking (its total), the choices with sizes, problems found. Only «update»: skip step 3, ask nothing but the updates (step 4) and go on to step 5 with their ids. Otherwise (clean up, speed up, «make it perfect»): all steps.
A group the plan does not print is empty: say «nothing found» for it, not that it was not checked. Facts such as «App Store updates were not checked: the mas tool is not installed» are reported as they stand; install
masonly with the person's yes (section «Install what is missing»).The plan ends with a note on Full Disk Access, on or off. If it is off, tell the person in one sentence what was skipped and how to turn it on (the note says both), then go on with the plan as it is unless they want to do that first.
Do the lines that need no choice:
/usr/bin/python3 SCRIPT applyIt does every «Done without asking» line and prints what it freed. Apps that are open are skipped and named; that is normal.
If the plan had choices or updates, ask about them in one message: one numbered line each, with its size and what it means, grouped (all duplicates as one line, all unused apps as one line with their names). Take the meaning from the line and its text in brackets. For example: «3. Delete the app VideoTool (850 MB), not opened since March, with its data?» If the person's request already said to update, do not ask about updates: their ids (
upd-brew,upd-mas) go into step 5 as if answered yes. For the Safari line, say Safari must be closed and ask the person to quit it before they answer; with Safari open the line is skipped. Do not ask about settings here. With nothing to ask, go on to step 5 with the update ids, or to s
Установить Macliner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Macliner?
Cleans, updates and checks a Mac in one run: measures, shows a plan with sizes, deletes caches and leftovers for real, asks before anything a person might want, then verifies. Use when someone asks to clean up, free space on, speed up, update or check the security of their Mac.
Как установить скилл Macliner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Macliner запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic