Other v1.0.0

hallucinated-paths

Reply cites file paths, directories, or module locations that do not exist in the current project.

mvogt99 更新于 2026-04-27 1 浏览
下载 SKILL

技能说明

Reply cites file paths, directories, or module locations that do not exist in the current project.

使用场景

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.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/hallucinated-paths
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 10 kB
SKILL.md text/markdown
---
name: hallucinated-paths
description: Reply cites file paths, directories, or module locations that do not exist in the current project.
emoji: 🗺️
metadata:
  clawdis:
    os: [macos, linux, windows]
---

# 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.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。