worker-cleanup

Remove completed or abandoned worker worktrees and their branches.

Updated Dec 31, 2025
One-click install
npx skills add https://github.com/schmug/karkinos --skill worker-cleanup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: worker-cleanup
Source: https://github.com/schmug/karkinos/tree/main/karkinos-plugin/skills/worker-cleanup
Command: npx skills add https://github.com/schmug/karkinos --skill worker-cleanup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you remove completed or abandoned worker worktrees and their branches, keeping your repository tidy and focused on active tasks.

Core Features & Use Cases

  • Single Cleanup: Remove a specific worktree and its associated branch if merged.
  • Bulk Cleanup: Remove all merged, or all non-main worktrees with safeguards.
  • Safety Checks: Warn about uncommitted changes or unmerged branches before removal.

Quick Start

Run /worker-cleanup <worktree-path-or-branch> to remove a specific worker, or use --all-merged / --all for bulk cleanup.