Skip to content
Back to skills

Ss Cleanup

ASecurity

Safely remove only separately authorized exact owned workspace or external checkpoint paths while preserving user work and evidence.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 26, 2026
ai-agentsgitdatabase

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add lbk-open/super-spec --skill ss-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ss Cleanup?

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

Security grade badge for Ss Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lbk-open-ss-cleanup/badge)](https://www.skillsdirectory.com/skills/lbk-open-ss-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: ss-cleanup
description: Safely remove only separately authorized exact owned workspace or external checkpoint paths while preserving user work and evidence.
---

# Scoped Cleanup

Cleanup needs separate authorization; PR creation, workflow completion or skill
uninstall never grants deletion authority. Read [checkpoint](../ss-references/workflow-checkpoint.md).
A dry-run inventory is safe when requested; deletion is not an implied next step.

Inputs name exact paths, branches/artifacts, scope and owner. Confirm canonical
roots, task/repo identity, permissions and symlink boundaries. Reject glob cleanup,
root/ancestor deletion, symlink escapes, unknown owner/process or mismatched checkpoint.
No policy retention timer, lock database or automatic expired-run deletion.

Inspect tracked, untracked, ignored and recursive submodule dirty work and known
live writers before removing a worktree. Unmerged/unpushed branches and original
failure/review/test logs remain evidence, not rubbish. Preserve necessary nonsecret
recoverable user content externally with restricted permissions and obtain consent
before discard; secret-bearing raw files must not be copied to recovery/logs.
Unknown process state or preservation conflict blocks deletion.

Use supported Git worktree removal and branch deletion only for exact authorized
owned paths/refs after safety checks; never force removal/reset/clean or infer that
all worktrees are disposable. Remote branch deletion needs explicit authority.
External checkpoint cleanup likewise checks exact root/identity and preserves
required original results. Do not delete arbitrary host sessions or project files.

Report exact removed/retained paths, protected backup references, skipped unsafe
items and actual errors. Cancellation stops cleanup and preserves remaining state.
Uninstalling the skill bundle changes discovery files only, not task artifacts.

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.