cleanup-agent-worktree

Community

Remove agent worktrees safely and quickly.

Authorstevengonsalvez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Removes an agent's specific worktree and its associated branch to keep the workspace clean and prevent clutter.

Core Features & Use Cases

  • Remove a targeted agent worktree by its timestamp to reclaim resources.
  • Safely delete the corresponding branch, with an optional forced cleanup for stubborn worktrees.
  • Useful for routine maintenance when agents are created and later retired.

Quick Start

Run the command /cleanup-agent-worktree <timestamp> to remove the agent's worktree.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cleanup-agent-worktree
Download link: https://github.com/stevengonsalvez/nanoclaw-standalone/archive/main.zip#cleanup-agent-worktree

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.