Agent Configuration: Configurable Agent Definition File Path

Resolved 💬 2 comments Opened Aug 13, 2025 by brylie Closed Aug 14, 2025

Bug Description
Rather than using a specific CLAUDE.md, I would like to use the more widely adopted AGENTS.md so I can use various agents when developing the project. To support this goal, it would be helpful if Claude Code could be configured where to find the agent text file, defaulting to CLAUDE.md for backward compatibility but allowing me to specify AGENTS.md. This way, projects don't need to keep multiple duplicate text files for generative AI agents.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.72
  • Feedback ID:

Errors

[{"error":"AxiosError: Request failed with status code 403\n    at XN (file:///Users/brylie/.nvm/versions/node/v20.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:682:1077)\n    at Unzip.K0 (file:///Users/brylie/.nvm/versions/node/v20.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:683:9955)\n    at Unzip.emit (node:events:531:35)\n    at Unzip.emit (node:domain:488:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at EB1.request (file:///Users/brylie/.nvm/versions/node/v20.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:685:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async QH8 (file:///Users/brylie/.nvm/versions/node/v20.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2298:470)\n    at async Promise.all (index 0)\n    at async file:///Users/brylie/.nvm/versions/node/v20.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:19497","timestamp":"2025-08-13T05:31:33.055Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗