Skip to content
Back to skills

Clean

ASecurity

Clean up Kurtosis enclaves and artifacts. Remove stopped enclaves, running enclaves with -a flag, and stopped engine containers. Use when you need to free up resources or start fresh.

  • 554 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 26, 2026
devopsbashnodedockerkubernetes

Works with

  • cli

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add kurtosis-tech/kurtosis --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/kurtosis-tech-clean/badge)](https://www.skillsdirectory.com/skills/kurtosis-tech-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 Kurtosis enclaves and artifacts. Remove stopped enclaves, running enclaves with -a flag, and stopped engine containers. Use when you need to free up resources or start fresh.
compatibility: Requires kurtosis CLI with a running engine.
metadata:
  author: ethpandaops
  version: "1.0"
---

# Clean

Remove Kurtosis enclaves and leftover artifacts.

## Basic clean

Removes only **stopped** enclaves and stopped engine containers:

```bash
kurtosis clean
```

## Clean everything

Removes **all** enclaves (including running ones):

```bash
kurtosis clean -a
```

## Selective removal

To remove a specific enclave without touching others:

```bash
# Stop an enclave
kurtosis enclave stop <enclave-name>

# Remove a specific enclave
kurtosis enclave rm <enclave-name>
```

## When clean hangs

On Kubernetes, `kurtosis clean -a` can hang if the logs collector cleanup tries to create pods on tainted/unhealthy nodes. See the `k8s-clean-cluster` skill for manual cleanup steps.

On Docker, if clean hangs:

```bash
# Kill the hanging process
pkill -f "kurtosis clean"

# Manually remove containers
docker ps -a | grep kurtosis | awk '{print $1}' | xargs -r docker rm -f

# Remove networks
docker network ls | grep kurtosis | awk '{print $1}' | xargs -r docker network rm

# Restart engine
kurtosis engine start
```

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.

Comments

Loading comments…

Newsletter

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