mole
यह क्या करती है
यह स्किल Mac या Windows कंप्यूटर पर Mole कमांड-लाइन टूल चलाती है, ताकि डिस्क उपयोग पढ़ा जा सके, सफ़ाई का पूर्वावलोकन हो और ऐप अनइंस्टॉल किए जा सकें। यह उन लोगों के लिए है जो अपना कंप्यूटर सुरक्षित रूप से साफ़ करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब कोई पूछे कि उसके कंप्यूटर पर डिस्क की जगह कौन ले रहा है।
- ✓जब कोई पुरानी फ़ाइलें या कैश सुरक्षित रूप से साफ़ करना चाहे।
- ✓जब कोई कमांड लाइन से ऐप अनइंस्टॉल करना चाहे।
Skill का लिंक
https://github.com/tw93/Mole/blob/main/plugins/mole/skills/mole/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा लैपटॉप लगभग भर चुका है। क्या आप दिखा सकते हैं कि सबसे ज़्यादा जगह कौन घेर रहा है और क्या सुरक्षित रूप से साफ़ किया जा सकता है?”
हर हफ़्ते 5 नई skills, 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:
- macOS: references/macos.md
- Windows: references/windows.md
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
- 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. - 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. - Get consent before you type a removing command. Without a terminal,
mo cleanandmo optimizedo 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. - 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. - Use only the surfaces in the reference. Never parse a full-screen TUI
frame, never invent a flag such as
--yesor--forcewhere the reference does not list it, and never fall back torm,find -deleteorRemove-Itemto remove what Mole skipped or protected. A skip is Mole's answer. - 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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।