An anti-hallucination layer for Claude Code
说明与用途
Check 工具在 Windows 上验证 Claude Code 生成的命令,降低因“幻觉”导致的错误。
问题
AI models hallucinate commands that may not exist on the target machine, leading to errors and unsafe behavior.
结果
In two tests, Check improved Claude Code’s command accuracy by 41% in one case and was neutral in another, demonstrating measurable impact on reducing hallucinations.
工作流
- 1. Install the Check tool via npm:
npx @golproductions/check@latest --install - 2. Run Claude Code as usual; the Check tool intercepts generated commands.
- 3. Check verifies the command path and existence on the machine.
- 4. If valid, the command executes; if invalid, the tool blocks execution and reports the issue.
证据
Check is the first. It handles the verification side because that's the side we can actually solve.
We tested it twice. Once it scored 41% higher. Once the AI reviewing itself said it made no difference.
- 记录日期: 2026-09-18T05:00:26.369Z