worktree-cleanup

Installation
SKILL.md

Worktree Cleanup

Use this skill to clean the current session repo by default. Only broaden to common local roots or SSH workspaces when the user or automation explicitly asks for local-machine or remote cleanup.

The goal is to reduce disk usage without losing unique work.

This skill is not an auth/setup workflow. If cleanup reveals missing GitHub, Vercel, Cloudflare, SSH, or device-login authorization, report the blocker and hand off to a setup/auth workflow instead of broadening the cleanup task. Do not turn scheduled cleanup into multi-provider login or account setup unless the user explicitly changes the task.

Default Scope

  • Manual trigger: clean the repo for the current session cwd.
  • Automation trigger: clean common local roots and the shared VPS workspace.
  • Remote cleanup: use SSH aliases such as heztner-main, targeting /home/workspace unless the user gives another path.

Safety Rules

Installs
1
Repository
onmax/skills
First Seen
Jul 25, 2026
worktree-cleanup — onmax/skills