Логотип Charles Storage Cleanup

Charles Storage Cleanup

Сообщество
LemonFace0309
charles-storage-cleanup

Проверьте, чем занято дисковое пространство на Mac, найдите редко используемые приложения и неочевидные хранилища данных. Очистите разрешённые к удалению кэши, среды выполнения, данные устройств, исследовательские артефакты и файлы разработки, сохранив текущую работу.

Обзор

ИздательLemonFace0309
Репозиторийcharles-skills
Название навыкаcharles-storage-cleanup
Звёзды
34
Форки
1
Файлы в комплекте
4
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 4

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — LemonFace0309. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Charles Storage Cleanup в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/LemonFace0309/charles-skills/tree/main/skills/charles-storage-cleanup
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LemonFace0309/charles-skills.git /tmp/charles-skills
mkdir -p .claude/skills
cp -r /tmp/charles-skills/skills/charles-storage-cleanup .claude/skills/charles-storage-cleanup
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Charles Storage Cleanup в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Charles Storage Cleanup, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Charles Storage Cleanup не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Storage Cleanup

Recover space from confirmed disposable artifacts, explain recent growth, and preserve active work. Measure success with free bytes on the actual data volume.

Scope and authorization

When the request authorizes removing unused files, delete confirmed disposable candidates without repeated confirmation. An inventory-only request stays read-only. Skill discovery alone grants no deletion permission. Carry forward the user's selected items, exclusions, age limits, and recent-use conditions across passes; a request to inspect more locations does not revoke a previous keep instruction.

Keep active apps, builds, Git writers, and emulators running. Do not cancel a job to turn its files into deletion candidates. Preserve source, uncommitted work, credentials, unique research/media, current releases, and persistent VM/container data unless their removal is explicitly authorized. A generic request to clear unused files does not supply that authorization. An old modification time, ignored Git status, or absent open handle alone does not establish disposability. Skip uncertain candidates and continue useful cleanup elsewhere.

Choose the depth

  • For a named deletion, inspect that selection and its dependencies, then complete the authorized cleanup. A whole-app uninstall includes its own helpers and startup registrations; cache-only cleanup does not.
  • For general cleanup, unused-app reviews, "what else," or "search more extensively," use the discovery checklist. Cover installed software, both Library trees, hidden package stores, runtimes, developer/research output, devices, media/downloads, and OS-managed storage. Do not stop at the largest project or ~/Library/Caches.
  • When explaining a large folder, break it into source, generated output, installed environments, Git history, and unique assets. Describe what the largest payloads actually contain and why they exist before recommending removal.

Workflow

  1. Baseline and map the machine. Record local time, data-volume free bytes, recent cleanup receipts, mounts, and active work. Store audits privately outside repositories, under ~/Library/Logs/storage-cleanup/. Start with filesystem-bounded directory sizes, including hidden directories and shared/system application data; deepen large branches with bounded probes.
  2. Cover overlooked families. In a broad audit, work through the discovery checklist and record each family as measured, absent, excluded, or not fully inspected. Follow configured cache/SDK locations and sibling or agent workspaces. Revisit newly exposed smaller contributors after large removals. Previously deleted paths and old measurements are not new opportunities.
  3. Establish disposability and inactivity. Identify reconstruction inputs, an obsolete duplicate, or a documented cache purpose. Distinguish the eligible subset from an entire installation or cache pool. Independently inspect relevant processes, arguments/cwd, open files, and running devices. Refresh checks before deletion. A failed or truncated usage probe leaves use unknown. Missing app-use metadata means unknown use.
  4. Remove in measured batches. Log exact paths, sizes, reasons, reconstruction metadata, and methods. Prefer supported SDK/device/package-manager commands. For direct removal, validate the specific path, avoid symlink targets, and preserve nonstandard data or local patches. Do not use blanket repository cleaning. Finish all eligible user-level work and prepare one reviewable exact batch before requesting necessary administrator authentication; verify the child job's result rather than only the authorization helper's exit status.
  5. Investigate recurrence. If free space falls again, compare observations and trace writers. Repeated abandoned Git packs warrant checking background git add and generated payloads. Use a backed-up, scoped machine-local exclusion only for confirmed generated material; verify tracked files and useful new reports/scripts remain visible. Do not blindly copy another project's ignore patterns.
  6. Verify and report. Check removed paths, retained active resources, unchanged dependency lockfiles, and readable Git commits where relevant. After runtime removal, verify retained dependent environments and the default executable. After an uninstall, check the app, its selected remnants, and its own services. Report current free space, measured recovery, concurrent growth, reinstall requirements, unresolved items, and coverage gaps. Folder allocations and deletion totals are not physical recovery estimates.

For an opportunity list, give stable numbers, exact paths or selectors, measured eligible sizes, contents/purpose, use evidence, and the condition for safe removal. Separate regenerable caches, optional installed software, and data needing a user decision. Do not inflate savings with overlapping parents/children, all versions when one must remain, empty device registrations, sparse-disk maximum capacity, or personal artifacts labeled as cache. If fewer than the requested number of useful verified candidates remain, report that and the uninspected areas instead of padding the list.

CandidateEvidence needed in addition to inactivity
Dependencies/buildsKnown generated installation/output; retained lockfiles, build inputs, or environment metadata; no tracked/custom content lost
APK/IPA/installersObsolete or redundant artifact; retain current release/reviewer builds and any unique analysis evidence
Emulators/simulatorsKnown disposable QA device with no current task/data dependency; shutdown alone is insufficient
Git temporary packsGit garbage classification, stable separate observations, no live writer/handle, valid history preserved
Model/package cachesRe-downloadable contents; preserve authentication, installed environments, active models, and persistent data
Rarely used apps/extensionsBundle or extension identity, measured payload, current activity, and recorded last use or an explicit unknown; retained user data and shared components
Old/duplicate runtimesArchitecture, version, default selection, executable links, dependent environments, and embedded app runtimes; pool size is not all removable
Downloads/history/logsThe user's exact age and recent-use criteria, supported record timestamps where applicable, and no unique required content or live writer

Tools and conditional details

Use the discovery checklist for broad audits. Read the relevant sections of macOS cleanup notes before app/runtime uninstalls, privileged cleanup, Git objects, devices/SDKs, or compression. They also cover activity probes, APFS sharing, and virtual DeviceFS accounting.

The bundled helper inventories metadata only; it never decides what to delete or removes files. It skips symlinks and child filesystems, deduplicates hardlinks per root, and compares earlier snapshots. Paths below assume the default personal skill location; resolve relative to this skill if installed elsewhere.

bash
cleanup_audit="$HOME/Library/Logs/storage-cleanup/$(date +%Y%m%d-%H%M%S)"
umask 077
mkdir -p "$cleanup_audit"
python3 "<this skill's folder>/scripts/inventory.py" \
  --root "$HOME/Developer" --output "$cleanup_audit/inventory.json"

Use --help for additional roots, output limits, and --compare. --max-depth limits directory summaries, not traversal: scan selected roots progressively and bound expensive probes. Broad scans can take time; keep the user updated and inspect compact summaries rather than dumping inventories. A partial scan must remain labeled partial.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Charles Storage Cleanup?

Проверьте, чем занято дисковое пространство на Mac, найдите редко используемые приложения и неочевидные хранилища данных. Очистите разрешённые к удалению кэши, среды выполнения, данные устройств, исследовательские артефакты и файлы разработки, сохранив текущую работу.

Зачем использовать Charles Storage Cleanup в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Charles Storage Cleanup — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Charles Storage Cleanup в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/LemonFace0309/charles-skills/tree/main/skills/charles-storage-cleanup. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Charles Storage Cleanup?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Charles Storage Cleanup?

С любым количеством. В TypingMind вы можете использовать Charles Storage Cleanup с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Charles Storage Cleanup?

Навык опубликован на GitHub. Издатель — LemonFace0309. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇