Flywheel Cleanup banner
burningportra burningportra

Flywheel Cleanup

Git community

Description

--- description: Clean up orphaned git worktrees from crashed or stopped sessions. argument-hint: "" --- **First action:** Run `git worktree list --porcelain` via Bash and diff the result against `.pi-flywheel/checkpoint.json` to identify orphaned worktrees before prompting the user. Clean up orphaned git worktrees. 1. Run `git worktree list --porcelain` via Bash to list all active worktrees. 2. Compare against tracked worktrees in `.pi-flywheel/checkpoint.json` (if any). 3. Identify orphaned

Installation

Installs to ~/.claude/skills/burningportra-agent-flywheel-plugin-flywheel-cleanup/SKILL.md

Terminal
mkdir -p ~/.claude/skills/burningportra-agent-flywheel-plugin-flywheel-cleanup && curl -fsSL https://raw.githubusercontent.com/burningportra/agent-flywheel-plugin/HEAD/commands/flywheel-cleanup.md -o ~/.claude/skills/burningportra-agent-flywheel-plugin-flywheel-cleanup/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository