💡Best Practices & Tips
Friday, January 23, 2026
Task list scope
Users are discussing how to scope Claude's task lists to specific projects or repositories, utilizing the `CLAUDE_CODE_TASK_LIST_ID` environment variable.
2 tweets•0 engagements
@_andypeacockAndrew Peacock
One thing that keeps being said about this is why the task lists aren't project/repo-specific, but are held globally. The current solution is to set CLAUDE_CODE_TASK_LIST_ID=my-project , and I guess Claude manages different lists. Look into direnv and .envrc to set this
♥ 2
@leohxjleohxj
2/ In recent versions, todos are shared across sessions. Set CLAUDE_CODE_TASK_LIST_ID as an env var to reuse the same todo list everywhere. "env": { "CLAUDE_CODE_TASK_LIST_ID": "todo-xxx" }