LeeGyeongPil

Plughooks — Development skill for Claude Code

Development community

CLI that shows where Claude Code hooks are declared (settings files, plugins, orphaned caches), builds hook-free local plugin copies with dry-run, backups and atomic writes, and re-syncs them by conte.

How to install Plughooks

This entry records only its repository, not the path inside it, so there is no exact command to give. Open LeeGyeongPil/plughooks and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Plughooks does

CLI that shows where Claude Code hooks are declared (settings files, plugins, orphaned caches), builds hook-free local plugin copies with dry-run, backups and atomic writes, and re-syncs them by content hash.

Alternatives in Development

  • System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
  • Memory Gc — Inspect or rotate the autopilot ledger JSONL files (findings.jsonl, negatives.jsonl) 3.8k ★
  • MCP Linker — mcp store manager, add & syncs MCP server configurations across clients like Claude code, Cursor💡mcphub 308 ★

README

plughooks

**English** | [한국어](README.ko.md)

Find out which settings file or plugin declares each Claude Code hook (including switched-off plugins and orphaned cache folders), then keep a hook-free local copy of a plugin while leaving its skills and commands in place.

![plughooks list on the practice tree: every declared hook with its source, state and reason](docs/images/01-hero.png) *`plughooks list` on the built-in practice tree: each declared hook, the file and JSON path it comes from, and why it is on or off.*

plughooks only reads files. It reports what is declared on disk and in settings; it does not claim what a running Claude Code session actually loaded.

Who it is for

  • You use several Claude Code plugins and want to know which file a hook that keeps firing comes from.
  • You switched a plugin off, but its hooks seem to still run, and you want to rule out settings hooks and leftover cache folders.
  • You like a plugin's skills and commands but not its hooks, and want a local copy without hooks that follows upstream updates.

Install

Requires Node.js 22 or newer ([nodejs.org](https://nodejs.org/en/download)) and git. No extra system packages are needed.

git clone https://github.com/LeeGyeongPil/plughooks.git
cd plughooks
npm install
npm run build
npm install -g .      # puts `plughooks` on your PATH
plughooks --version
0.1.4

Or skip the global install and run `node dist/cli.js ` from the clone.

Quick start

Try it on a mock tree first. The practice demo copies a fake `~/.claude` into a temporary folder and never touches your real one.

npm run demo -- --lang en

It walks through `list`, `doctor`, `trim --apply`, an upstream edit, `sync --check` and `sync --apply`. The first step looks like the picture at the top. Against your real setup, run:

plughooks list

Read it like this: the **Plugins** table shows each plugin's state (`on`, `off`, `orphan`) and hook count; **Declared hooks** show