accelerator / hooks
CLAUDE.md34 starsChanged 51 days agoMITView on GitHub
- Hooks keep the pathed launcher form on purpose — do not convert them to bare accelerator. hooks.json dispatches through ${CLAUDE_PLUGIN_ROOT}/bin/accelerator …, and launcher-link-refresh.sh self-locates its own launcher by absolute path. Skills converged onto bare accelerator … under work item 0245, but hooks are deliberately out of that scope. - Why the two surfaces differ. A hook receives ${CLAUDE_PLUGIN_ROOT} as a real exported environment variable, so the pathed form always resolves. Skills rely instead on Claude Code placing the plugin…
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- tasks/CLAUDE.mdCLAUDE.md
- clean-commentsSkill
- raise-prSkill
- configureSkill
- initSkill
- migrateSkill
- pathsSkill
- create-adrSkill
- extract-adrsSkill
- review-adrSkill
- analyse-design-gapsSkill
- inventory-designSkill
- describe-prSkill
- respond-to-prSkill
- review-prSkill
- create-noteSkill
- create-planSkill
- implement-planSkill
- review-planSkill
- stress-test-planSkill
- validate-planSkill
- conduct-spikeSkill
- research-codebaseSkill
- research-issueSkill
- research-topicSkill
- commitSkill
- visualiseSkill
- create-work-itemSkill
- extract-work-itemsSkill
- list-work-itemsSkill
- refine-work-itemSkill
- rekey-work-itemsSkill
- review-work-itemSkill
- stress-test-work-itemSkill
- sync-work-items-recoverySkill
- sync-work-itemsSkill
- update-work-itemSkill
The file
Files
Hooks
- Hooks keep the pathed launcher form on purpose — do not convert them to
bare
accelerator.hooks.jsondispatches through${CLAUDE_PLUGIN_ROOT}/bin/accelerator …, andlauncher-link-refresh.shself-locates its own launcher by absolute path. Skills converged onto bareaccelerator …under work item 0245, but hooks are deliberately out of that scope. - Why the two surfaces differ. A hook receives
${CLAUDE_PLUGIN_ROOT}as a real exported environment variable, so the pathed form always resolves. Skills rely instead on Claude Code placing the pluginbin/on the!-preprocessor / Bash-toolPATH, where bareacceleratorresolves to the same${CLAUDE_PLUGIN_ROOT}/bin/accelerator. A hook has no equivalent guarantee that the pluginbin/is on itsPATH, so bareacceleratorcan fail to resolve in a hook. (launcher-link-refresh.shmaintains a stable${CLAUDE_PLUGIN_DATA}/bin/acceleratorpointer for the separate terminal- invocation convenience — a developer symlinks their ownPATHat it; that is not a hook's resolution path.) - Nothing else guards this. The bare-invocation lint
(
tasks/lint/bare_invocation.py) scans onlyskills/**/SKILL.md, so it will not stop a contributor from "unifying" hooks onto the bare form and breaking dispatch. This file is the standing rationale, becausehooks.jsonis strict JSON and cannot carry a comment.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

