본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)74k · #3094

mole

하는 일

이 스킬은 Mac이나 Windows 컴퓨터에서 Mole 명령줄 도구를 실행해, 디스크 사용량을 읽고 정리를 미리 보며 앱을 제거합니다. 컴퓨터를 안전하게 정리하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓컴퓨터의 디스크 공간을 무엇이 차지하는지 묻는 요청이 있을 때.
  • ✓오래된 파일이나 캐시를 안전하게 정리하고 싶을 때.
  • ✓명령줄에서 앱을 제거하고 싶을 때.

스킬 링크

https://github.com/tw93/Mole/blob/main/plugins/mole/skills/mole/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/tw93/Mole/blob/main/plugins/mole/skills/mole/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“노트북 저장 공간이 거의 찼습니다. 가장 많은 공간을 차지하는 것이 무엇인지, 안전하게 정리할 수 있는 것이 무엇인지 보여 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 먼저 읽기 전용 Mole 명령으로 컴퓨터를 살펴봅니다. 무엇이 바뀔지 사용자에게 보여 주고, 사용자가 미리보기를 보고 승인한 후에만 파일을 삭제합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Mole

Mole (mo) is a maintenance CLI with two editions that share one command set: Mole CLI (macOS) and Mole CLI (Windows). It deletes real files on the user's own machine. Your job is to read the machine, show the user exactly what would change, and hand them the decision. Done means the user's question is answered from Mole's own output, and nothing was removed that the user had not seen and approved.

1. Identify the edition

Run mo --version. The second line names the system (macOS: … or Windows: …). Then read exactly one reference and use only its commands:

The two editions differ in flags, JSON fields and what goes to the Trash or Recycle Bin, so never carry a command across. If the installed version is older than the one the reference names, or a flag is rejected, run mo <command> --help and trust it over this skill.

If mo is not found, say so and offer the install command from the reference. Install only after the user agrees.

2. Rules

  1. Read before you change. Answer with the read-only commands first: analyze --json, status --json, history --json, uninstall --list, and every --dry-run. They are safe to run without asking.
  2. Preview before every removal. Run the command with --dry-run, read the result, and summarize it for the user: total size, the largest groups, and for each group whether it is gone for good, goes to the Trash or Recycle Bin, or needs a download to rebuild. A preview is a snapshot; the real run rescans, so do not promise an exact number.
  3. Get consent before you type a removing command. Without a terminal, mo clean and mo optimize do not ask for confirmation: they start as soon as they are invoked. The consent therefore has to come first, in this conversation, after the user has seen the preview. "Why is my disk full" is a question, not consent; "go ahead and clean those" after the preview is. Consent covers what the preview showed. If the user wants only part of it, protect the rest first or hand the interactive command to the user.
  4. Some steps belong to the user's terminal. App uninstall, interactive selection lists, whitelist editors, and anything that needs an administrator password or an elevated shell cannot be completed from an agent. Give the user the exact command to run in their own terminal and stop. Never run sudo, ask for a password, or try to elevate.
  5. Use only the surfaces in the reference. Never parse a full-screen TUI frame, never invent a flag such as --yes or --force where the reference does not list it, and never fall back to rm, find -delete or Remove-Item to remove what Mole skipped or protected. A skip is Mole's answer.
  6. Leave Mole itself alone. Do not run mo update, mo remove, a nightly install, or configuration commands unless the user asked for that command.

3. Which command answers which question

The user asks Read first Then
"What is using my disk?" mo analyze --json, then mo analyze --json <path> on the largest entries Map each large entry to the command below that handles it; say plainly when none does (documents, media, VMs)
"Free up space" mo clean --dry-run and its path list After consent, mo clean
"Remove this app" mo uninstall --list Per reference; the final uninstall runs in the user's terminal
"Clean old projects" mo purge --dry-run Per reference
"My computer is slow" mo status --json, plus a short --watch sample if one snapshot is not enough Name the process or resource; offer mo optimize --dry-run only when maintenance fits the finding
"Did Mole delete my file?" mo history --json --limit 200 Match the path and anything under it, then offer to protect it. If the oldest entry returned is newer than the date in question, read the log file named in logs. No match means Mole has no record of it, not that Mole did not touch it
"Keep this folder" The whitelist section of the reference Never a hand-made exclusion

When explaining a disk analysis, map what you found: cache directories (cleanable: true), logs and leftovers of deleted apps go to clean; build output and dependency folders inside projects go to purge; installed apps go to uninstall. Documents, photos, media libraries, virtual mac

자주 묻는 질문

사용자에게 묻지 않고 파일을 삭제하나요?

아닙니다. 스킬은 먼저 미리보기를 실행하며, 삭제는 사용자가 승인해야 합니다.

Mac과 Windows 모두에서 작동하나요?

네. 스킬은 macOS와 Windows를 다루며, 각각에 맞는 명령을 사용합니다.

mo 명령이 설치되어 있지 않으면 어떻게 하나요?

스킬은 이를 알리고 설치 명령을 제안하며, 사용자가 동의한 뒤에만 설치하라고 말합니다.

상세 정보

작성자의 원본 설명

Drive the Mole CLI (`mo`) on macOS or Windows: find what uses disk space, preview and run cleanup, uninstall apps, and read system health and cleanup history. Use before running any `mo` command. Not for editing Mole source code.

repo: tw93/Mole

인기도

GitHub 스타
74k
순위
#3094
라이선스
GPL-3.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

비슷한 스킬