[Feature Request] Project-level plan file storage path configuration
Resolved 💬 3 comments Opened Dec 12, 2025 by neal-zhu Closed Dec 15, 2025
Bug Description
Feature Request: Project-level plan file storage path configuration
Currently, plan mode files are always stored in the global ~/.claude/plans/ directory.
This makes it difficult to:
- Version control plans with the project
- Share plans with team members
- Keep project-specific plans organized
Request: Add a configuration option in .claude/settings.json (or settings.local.json)
to specify a project-local plan directory, e.g.:
{
"planDir": "./.claude/plans"
}
This would allow plans to be stored within the project repository,
following the same pattern as other project-level configurations.
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 2.0.56
- Feedback ID: e9f795c2-582d-4dde-a010-4d86a2ccc3d8
Errors
[{"error":"Error: 1: 1 \n at K55 (file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1559:3959)\n at async X55 (file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1559:1579)","timestamp":"2025-12-12T02:00:41.099Z"},{"error":"g01: Failed to install new version of claude: npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code' -> '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX'\nnpm error A complete log of this run can be found in: /Users/zhumaohua/.npm/_logs/2025-12-12T02_00_41_828Z-debug-0.log\n at GLA (file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1549:456)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2733:9748","timestamp":"2025-12-12T02:00:43.761Z"},{"error":"g01: Failed to install new version of claude: npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code' -> '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX'\nnpm error A complete log of this run can be found in: /Users/zhumaohua/.npm/_logs/2025-12-12T02_01_34_228Z-debug-0.log\n at GLA (file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1549:456)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2733:9748","timestamp":"2025-12-12T02:01:34.421Z"},{"error":"g01: Failed to install new version of claude: npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code' -> '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX'\nnpm error A complete log of this run can be found in: /Users/zhumaohua/.npm/_logs/2025-12-12T02_01_36_202Z-debug-0.log\n at GLA (file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1549:456)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2733:9748","timestamp":"2025-12-12T02:01:36.391Z"},{"error":"g01: Failed to install new version of claude: npm error code ENOTEMPTY\nnpm error syscall rename\nnpm error path /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code\nnpm error dest /Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX\nnpm error errno -66\nnpm error ENOTEMPTY: directory not empty, rename '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claude-code' -> '/Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/.claude-code-XwC2ZqcX'\nnpm error A complete log of this run can be found in: /Users/zhumaohua/.npm/_logs/2025-12-12T02_03_01_120Z-debug-0.log\n at GLA (file:///Users/zhumaohua/.nvm/versions/node/v22.17.1/lib/node_modules/@anthropic-ai/claud
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗