Use Case
Stop doing repetitive developer & devops tasks manually. Unfuck My Git State lets your AI agent handle them automatically through natural conversation. Diagnose and recover broken Git state and worktree metadata with a staged, low-risk recovery flow. Use when Git reports detached or contradictory HEAD state, phantom worktree locks, orphaned worktree entries, missing refs, 0000000000000000000000000000000000000000 hashes, or branch operations fail with errors like already checked out, unknown revision, not a valid object name, or cannot lock ref. This guide shows practical examples of using Unfuck My Git State to automate common developer & devops workflows and save hours every week.
Install Unfuck My Git State: npx clawhub@latest --dir ~/.claude/skills install unfuck-my-git-state
Identify the repetitive developer & devops tasks you want to automate
Describe the task to your AI in plain English
Unfuck My Git State will execute the task and return results directly in the chat
Chain multiple tasks: ask your AI to run a sequence of operations
Copy these prompts and use them with your AI agent after installing Unfuck My Git State
Automate my developer & devops tasks using Unfuck My Git State
What repetitive tasks can Unfuck My Git State handle for me?
Set up a workflow that runs Unfuck My Git State every morning
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install unfuck-my-git-stateOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install unfuck-my-git-stateβ οΈ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js β
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/unfuck-my-git-state/π‘Extract and place the folder at the path above, then restart your agent.