
Ghost Import Hunter
Catch AI hallucinations before they break your build.
7 followers
Catch AI hallucinations before they break your build.
7 followers
AI coding tools are fast — but they hallucinate imports. Ghost Import Hunter v4.0 is a zero-config CLI that detects phantom imports, wrong exports, and ghost dependencies before they crash your build.




Free
Launch Team

Build your Framer site from Claude, Codex or CursorYour AI agent builds it. You review before it goes live.
Promoted
👋 Hey Hunters! I built Ghost Import Hunter because I was burning hours debugging import errors that AI coding tools confidently hallucinated into my codebase.
Here is the complete journey of how it evolved:
🐣 v1.0 — Basic Regex scanner. Simple, lightweight, effective.
🧠 v2.0 — Switched to the TypeScript Compiler API for deep, accurate analysis. No more false positives and deep export analysis.
🚀 v3.0 — Added fully automated fixes (`--prune`, `--fix`, `--interactive`, `--uninstall-self`).
🛠️ v4.0 — Total Control: Added `.ghostrc` configuration support for custom exclude paths and rule tuning.
I wanted to make a tool that requires absolutely ZERO config out of the box, but gives you power when you need it. You can run it right now on any project:
`npx ghost-import-hunter`
It's completely open-source, free, and takes about 10 seconds to try. I'd love to hear your feedback and what features you'd like to see next! 🙏