Skip to content
Back to skills

Swiz Cleanup

ASecurity

Run swiz doctor clean to remove old session data, archives, and backups. Use when the user requests session cleanup or wants to preview disk cleanup.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
ai-agentsgoshell

Works with

  • cli

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add mherod/swiz --skill swiz-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swiz Cleanup?

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

Security grade badge for Swiz Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mherod-swiz-cleanup/badge)](https://www.skillsdirectory.com/skills/mherod-swiz-cleanup)

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: swiz-cleanup
description: "Run swiz doctor clean to remove old session data, archives, and backups. Use when the user requests session cleanup or wants to preview disk cleanup."
category: maintenance
metadata:
  argument-hint: "[arguments]"
---

Use the current host's available shell tool. Arguments are the options requested by the user; substitute them for `<arguments>` in examples, never pass the placeholder literally. Respect explicit user instructions over this workflow. If `swiz` is missing, explain the Bun and linked CLI prerequisites in the plugin README.

Run `swiz doctor clean` to clean old session data. It does not repair hook registrations.

## Usage

- `/swiz-cleanup` — run default cleanup
- `/swiz-cleanup --dry-run` — preview what would be removed without making changes

## Step 1: Run the Command

**If no arguments were requested:** Run `swiz doctor clean`.

**If arguments were requested:** Run `swiz doctor clean <arguments>`.

## Step 2: Report Results

Summarize key output: what was cleaned up, how many items removed, and report any errors clearly.

## Failure Handling

**If cleanup reports errors:** Display the full error output and suggest running `swiz status` to diagnose the issue.

**If nothing to clean:** Report that the environment is already clean.

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 ai-agents →

Comments

Loading comments…

Newsletter

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