# mole

This Claude Code skill operates Mole CLI on macOS and Windows. It checks disk usage, previews cleanup actions, and reads system status and cleanup history.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1600 installs · ★ 75794 repo stars
- Author: tw93
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/tw93/Mole/tree/HEAD/skills/mole/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/mole

## What it does

The skill runs Mole (`mo`) commands to inspect disk usage, check system health, review cleanup history, and list apps for removal. It reads command output first and presents a preview with sizes and the affected groups before any cleanup.

Removal requires approval after the preview. Cleanup commands do not offer item-by-item selection, while app removal and administrator-level actions must be completed in the user’s terminal. Mole CLI (`mo`) and a local shell on macOS or Windows are required. The skill is for operating Mole, not changing its source code.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add tw93/Mole --skill mole -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/mole/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/mole/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add tw93/Mole --skill mole -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/mole/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add tw93/Mole --skill mole -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/mole/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install tw93/Mole skills/mole
```

2. **Manually: put the files in place**
- File: `.github/skills/mole/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add tw93/Mole --skill mole -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/tw93/Mole --path skills/mole
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/mole/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add tw93/Mole --skill mole -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/tw93/Mole/tree/HEAD/skills/mole/SKILL.md

## When to use it
- identify what is taking up disk space
- preview the items and sizes targeted by cleanup
- check Mole’s cleanup history
- find an app in Mole’s uninstall list

## Example prompts
- Show what is using disk space and preview the cleanup plan.
- Check what Mole removed earlier.
- Find an app in the uninstall list and tell me what to run in my terminal.

## Similar
- [find-skills](https://affpapa.org/en/nevibecode/skills/find-skills.md) — skill · 4400000 installs
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [agent-browser](https://affpapa.org/en/nevibecode/skills/vercel-labs-agent-browser.md) — skill · 1600000 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 802600 installs
- [grill-me](https://affpapa.org/en/nevibecode/skills/grill-me.md) — skill · 1424476 installs
- [grill-with-docs](https://affpapa.org/en/nevibecode/skills/grill-with-docs.md) — skill · 1219756 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
