← Back to Skills Marketplace
mvogt99

Hallucinated Paths

by mvogt99 · GitHub ↗ · v1.0.0 · MIT-0
macoslinuxwindows ✓ Security Clean
52
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install hallucinated-paths
Description
Reply cites file paths, directories, or module locations that do not exist in the current project.
README (SKILL.md)

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.tsx in 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.
Usage Guidance
This skill is instruction-only and appears safe: it asks the agent to verify paths before using them and requests no secrets or installs. Before installing, confirm you trust the agent framework to follow the guidance (the skill contains no executable code), and be aware that autonomous invocation is the platform default — if you want tighter control, only enable the skill for manual invocation. If you need absolute assurance, review agent logs to confirm it performs the recommended filesystem checks rather than fabricating paths.
Capability Analysis
Type: OpenClaw Skill Name: hallucinated-paths Version: 1.0.0 The skill bundle 'hallucinated-paths' is a purely instructional set of guidelines designed to improve the accuracy of the AI agent by preventing it from fabricating non-existent file paths. It encourages the use of standard filesystem verification tools like 'ls', 'stat', and 'grep' to ensure paths are valid before referencing them, and contains no malicious code or suspicious behaviors.
Capability Assessment
Purpose & Capability
The name and description describe detecting/avoiding hallucinated paths; the SKILL.md contains only guidance on checking filesystem layout and how to behave when paths are missing. There are no unrelated requirements (no env vars, binaries, or config paths).
Instruction Scope
Runtime instructions are narrowly scoped: they advise verifying file existence, searching the repo, and explicitly declaring when a file is new. They do not instruct reading unrelated secrets, making external network calls, or modifying other skills.
Install Mechanism
No install spec and no code files — instruction-only. Nothing will be written to disk or downloaded during install, which is lowest-risk.
Credentials
The skill requires no environment variables, credentials, or config paths. The guidance references only local filesystem checks that are appropriate for the purpose.
Persistence & Privilege
always is false and model invocation is allowed (the platform default). The skill does not request permanent presence or any elevated privileges and does not modify other skills or global settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hallucinated-paths
  3. After installation, invoke the skill by name or use /hallucinated-paths
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the "hallucinated-paths" skill. - Detects and describes cases where replies reference non-existent file paths, directories, or module locations. - Lists common symptoms of hallucinated paths, such as instructions referencing missing files or unresolvable imports. - Provides guidance for verifying file existence and proper path usage. - Recommends strategies to avoid inventing plausible-sounding but incorrect paths.
Metadata
Slug hallucinated-paths
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

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.

💬 Comments