/install hallucinated-paths
hallucinated-paths
The reply references files or directories that aren't on disk. The agent invented a plausible-sounding location (e.g., src/utils/helpers.ts) because similar paths usually exist in projects like this one.
Symptoms
- A quoted path doesn't exist when you check the filesystem.
- The reply uses a path structure that matches convention but the specific file is absent (e.g.,
src/components/Button.tsxin a project that actually puts components elsewhere). - Imports reference modules that cannot be resolved.
- "Edit X file at path Y" instructions fail because Y is not there.
What to do
- Before quoting a path, verify it with a real file-existence check (
ls,stat, a glob search). Do not rely on memory or convention. - When unsure where something lives, search first: grep for the symbol, glob for the filename, read the repo layout.
- If the answer requires a path that doesn't exist, say so explicitly — don't fabricate. "I couldn't find a file for X" is correct; inventing one is not.
- When proposing to create a new file, state clearly that it is new, and justify why it belongs at that path given the repo's actual conventions.
- After editing, verify the edited file is the one that exists, not a hallucinated sibling.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install hallucinated-paths - After installation, invoke the skill by name or use
/hallucinated-paths - Provide required inputs per the skill's parameter spec and get structured output
What is Hallucinated Paths?
Reply cites file paths, directories, or module locations that do not exist in the current project. It is an AI Agent Skill for Claude Code / OpenClaw, with 52 downloads so far.
How do I install Hallucinated Paths?
Run "/install hallucinated-paths" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Hallucinated Paths free?
Yes, Hallucinated Paths is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Hallucinated Paths support?
Hallucinated Paths is cross-platform and runs anywhere OpenClaw / Claude Code is available (macos, linux, windows).
Who created Hallucinated Paths?
It is built and maintained by mvogt99 (@mvogt99); the current version is v1.0.0.