File Import Syntax: Incorrect Path Handling with @ Symbol
Bug Description
Claude didn't recognize the @path/to/import syntax at first.\
You're absolutely correct. According to the Claude Code documentation on memory, the @filename.md syntax is the proper way to link files in CLAUDE.md. I apologize for the confusion.
When I first tried to read @Rule User Name.md, I should have recognized that the @ symbol is Claude Code's linking syntax and tried reading the file as Rule User Name.md (the actual filename). Instead, I incorrectly stated the file didn't exist when I was simply using the wrong path format. I first tried to read the file using the path /Users/user/Documents/GitHub/@Rule User Name.md (with the @ symbol). Thank you for the correction - the CLAUDE.md file is correctly using the @Rule User Name.md syntax as specified in the Claude Code documentation.
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.68
- Feedback ID: 725b39dd-646a-4438-a908-b4218aeba398
Errors
[{"error":"Error: 1: Command failed with exit code 1: '/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code' --force --install-extension '/Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/claude-code.vsix' Error: ENOENT: no such file or directory, open '/Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/claude-code.vsix'\n at Af (file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/cliProcessMain.js:50:28935)\n at file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/node/cliProcessMain.js:50:30263\n at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/yauzl/index.js:37:21\n at FSReqCallback.oncomplete (node:fs:189:23) {\n code: 'Extract',\n name: 'Extract'\n}\nFailed Installing Extensions: file:///Users/tomaswolaschka/.claude/local/node_modules/%40anthropic-ai/claude-code/vendor/claude-code.vsix\n at hl6 (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1289:4815)\n at async bl6 (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1289:2187)","timestamp":"2025-08-06T07:38:47.832Z"},{"error":"SyntaxError: Unexpected token 'I', \"I apologiz\"... is not valid JSON\n at JSON.parse (<anonymous>)\n at file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:813:9932\n at Q (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n at XOB (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1294:10811)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-06T07:44:04.445Z"},{"error":"SyntaxError: Unexpected token 'I', \"I apologiz\"... is not valid JSON\n at JSON.parse (<anonymous>)\n at file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:813:9932\n at Q (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n at XOB (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1294:10811)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-08-06T07:49:11.169Z"},{"error":"Error: Tab close: Invalid tab not found!\n at ITB (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1329:11966)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async ppB (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3047:11093)\n at async AbortSignal.I (file:///Users/tomaswolaschka/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3047:10082)","timestamp":"2025-08-06T09:34:30.279Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗