Agents List Command Fails to Display Configured Agents
Resolved 💬 3 comments Opened Aug 14, 2025 by Pricepro2006 Closed Aug 14, 2025
Bug Description
❌ The /agents command doesn't display them (appears to be a Claude Code UI issue)
The agents are functional and properly configured. The /agents command not showing them seems to be a limitation of the current Claude Code interface,
not a configuration problem on your end.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.80
- Feedback ID:
Errors
[{"error":"Error: Agent file /home/pricepro2006/.claude/agents/README.md is missing required 'name' in frontmatter\n at _W8 (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:1724)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:282\n at Array.map (<anonymous>)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:212\n at async Object.call (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3354:3325)","timestamp":"2025-08-14T10:55:02.265Z"},{"error":"ReferenceError: location is not defined\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:424\n at Array.map (<anonymous>)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2344:212\n at async Object.call (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3354:3325)","timestamp":"2025-08-14T10:55:02.270Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:741:18)\n at Object.readSync (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:696:9311)\n at jY (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:744:270)\n at bY (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:746:456)\n at gJ8 (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2353:6412)\n at V (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2353:5626)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2353:5940\n at oF (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:332:21530)\n at aX (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:332:41141)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:332:39313","timestamp":"2025-08-14T10:56:30.295Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:696:9138)\n at bY (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:746:471)\n at gJ8 (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2353:6412)\n at V (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2353:5626)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2353:5940\n at oF (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:332:21530)\n at aX (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:332:41141)\n at file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:332:39313\n at dG0 (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:326:8828)","timestamp":"2025-08-14T10:56:30.297Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readFileSync (node:fs:442:20)\n at Object.readFileSync (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:696:9138)\n at PeA (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:741:8450)\n at Object.call (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1904:918)\n at call.next (<anonymous>)\n at NN8 (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3139:11539)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async muB (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3139:7800)\n at async njB (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2180:822)\n at async qN8 (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:3139:6911)","timestamp":"2025-08-14T10:56:38.282Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at Module.readSync (node:fs:741:18)\n at Object.readSync (file:///home/pricepro2006/.claude/local/node_modules/@anthropic-
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗