[BUG] Hookify import error: No module named 'hookify' on initial download of the plugin
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I downloaded the hookify plugin in two different laptops and its always broken out of the box.
In my previous laptop, claude code says the reason is because
The fix was creating a symlink:
Why this works:
The Hookify plugin code does from hookify.core.config_loader import ... but the plugin files are stored in a
directory named ab2b6d0cad88 (a hash), not hookify. Python couldn't find the module because there was no hookify
directory.
The symlink creates a hookify folder that points to ab2b6d0cad88, so Python can now resolve the import.
Before:
.../hookify/
└── ab2b6d0cad88/ ← Python can't find "hookify" package
└── core/
After:
.../hookify/
├── ab2b6d0cad88/
│ └── core/
└── hookify → ab2b6d0cad88 ← symlink lets Python find it
What Should Happen?
No errors and works out of the box
Error Messages/Logs
Steps to Reproduce
Download hookify plugin and use it
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.0.70
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗