Skip to content

eherrerosj/claude-code-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Toolkit

Custom hooks and skills for Claude Code.

Hooks

worktree-ghostty

A Claude Code hook that supercharges git worktree workflows with Ghostty.

When you run /worktree in Claude Code, this hook:

  1. Creates a git worktree in a sibling directory (not inside the repo)
  2. Prompts for a custom branch name via macOS dialog
  3. Opens a Ghostty 2x2 split layout:
+---------------+---------------+
| Claude Code   |   lazygit     |
| (top-left)    |  (top-right)  |
+---------------+---------------+
| Terminal      |     yazi      |
| (bottom-left) | (bottom-right)|
+---------------+---------------+

On /worktree removal, it cleans up the worktree, branch, and empty directories.

Requirements: jq, Ghostty, lazygit, yazi

Ghostty keybindings needed:

super+d            = new_split:right
super+shift+d      = new_split:down
super+alt+left     = goto_split:left

Installation:

# Copy the hook
mkdir -p ~/.claude/hooks
cp hooks/worktree-ghostty.sh ~/.claude/hooks/

# Add to ~/.claude/settings.json

Add this to your ~/.claude/settings.json:

{
  "hooks": {
    "WorktreeCreate": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/worktree-ghostty.sh",
            "timeout": 30
          }
        ]
      }
    ],
    "WorktreeRemove": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/hooks/worktree-ghostty.sh",
            "timeout": 15
          }
        ]
      }
    ]
  }
}

Skills

humanize

A /humanize skill that strips AI fingerprints from text. Based on Wikipedia's "Signs of AI writing" guide.

Detects and rewrites 13 pattern categories:

  1. Inflated symbolism & significance
  2. Promotional language
  3. Superficial -ing analysis
  4. Vague attribution (weasel words)
  5. Em dash overuse
  6. Rule of three
  7. AI vocabulary words
  8. Negative parallelism
  9. Excessive conjunctive phrases
  10. Editorializing & sycophantic tone
  11. Formatting tells
  12. Copula avoidance & synonym cycling
  13. False ranges & compulsive summaries

Installation:

# Symlink to your Claude skills directory
mkdir -p ~/.claude/skills
ln -s "$(pwd)/skills/humanize" ~/.claude/skills/humanize

Then use /humanize in any Claude Code session, or just say "humanize this text".

License

MIT

About

Custom hooks and skills for Claude Code

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages