Skip to content
Back to skills

Clean

ASecurity

Clean up the skim temp directory. Use when you want to remove old cached outputs to free up space or start fresh.

  • 6 stars
  • 0 votes
  • 0 copies
  • 16 views
  • Added February 7, 2026
developmentbashdebugginggit

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned February 12, 2026

npx -y skills add tonyzdev/skim --skill clean --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clean?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clean
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tonyzdev-clean/badge)](https://www.skillsdirectory.com/skills/tonyzdev-clean)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: clean
description: Clean up the skim temp directory. Use when you want to remove old cached outputs to free up space or start fresh.
---

# Clean Temp Directory

Remove cached files from the skim temp directory.

## Usage

```bash
# Remove all temp files (keeps the directory and README)
rm -f .claude-temp/*.json .claude-temp/*.csv .claude-temp/*.txt .claude-temp/*.yaml .claude-temp/*.xml

# Remove files older than 1 day
find .claude-temp/ -type f \( -name "*.json" -o -name "*.csv" -o -name "*.txt" \) -mtime +1 -delete

# Remove files older than 1 hour
find .claude-temp/ -type f \( -name "*.json" -o -name "*.csv" -o -name "*.txt" \) -mmin +60 -delete

# Show what would be deleted (dry run for files older than 1 day)
find .claude-temp/ -type f \( -name "*.json" -o -name "*.csv" -o -name "*.txt" \) -mtime +1

# Remove entire directory (will be recreated on next save)
rm -rf .claude-temp/
```

## When to Use

- After finishing a debugging session
- When temp files are taking up too much space
- When you want to start fresh

## Note

The `.claude-temp/` directory is already in `.gitignore`, so these files won't be committed. This cleanup is optional and mainly for keeping your workspace tidy.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.