Project Agent Loading Failure with @ Invocation
Resolved 💬 2 comments Opened Aug 14, 2025 by eLyiN Closed Aug 14, 2025
Bug Description
Project agents are not being loaded to call them with @ on the latest update
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.80
- Feedback ID:
Errors
[{"error":"Error: Agent file /Users/shelakh/.claude/agents/README.md is missing required 'name' in frontmatter\n at _W8 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:1724)\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:282\n at Array.map (<anonymous>)\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:212\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:131\n at async YM8 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3357:12922)\n at async Promise.all (index 1)\n at async KT0 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3357:13303)\n at async file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3357:14934","timestamp":"2025-08-14T08:45:28.867Z"},{"error":"ReferenceError: location is not defined\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:424\n at Array.map (<anonymous>)\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:212\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:131\n at async YM8 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3357:12922)\n at async Promise.all (index 1)\n at async KT0 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3357:13303)\n at async file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3357:14934","timestamp":"2025-08-14T08:45:28.870Z"},{"error":"Error: Agent file /Users/shelakh/.claude/agents/README.md is missing required 'name' in frontmatter\n at _W8 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:1724)\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:282\n at Array.map (<anonymous>)\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:212\n at async R (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3350:25528)","timestamp":"2025-08-14T08:48:57.864Z"},{"error":"ReferenceError: location is not defined\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:424\n at Array.map (<anonymous>)\n at file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:212\n at async R (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3350:25528)","timestamp":"2025-08-14T08:48:57.866Z"},{"error":"AxiosError: Request failed with status code 403\n at XN (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:692:1077)\n at Unzip.I0 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:693:9955)\n at Unzip.emit (node:events:519:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at uB1.request (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:695:2088)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async Vz8 (file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2393:470)\n at async Promise.all (index 0)\n at async file:///Users/shelakh/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2379:19497","timestamp":"2025-08-14T08:51:35.810Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗