claude-task-master icon indicating copy to clipboard operation
claude-task-master copied to clipboard

feat: Global config

Open nikhilmaddirala opened this issue 7 months ago • 4 comments

Can we add support for global config so that we don't have to copy common configs to every new project directory?

E.g. I want to set the model providers globally: https://github.com/eyaltoledano/claude-task-master/blob/main/docs/examples/claude-code-usage.md

nikhilmaddirala avatar Jul 22 '25 14:07 nikhilmaddirala

tough one, would that be global config for model providers, or global config for rules (ide rules)

Crunchyman-ralph avatar Jul 22 '25 15:07 Crunchyman-ralph

I just want to add this model config block (below) to a global config somewhere like ~/.config/taskmaster/config.json. But I can imagine this being useful for some other settings for other folks.

{
  "models": {
    "main": {
      "provider": "claude-code",
      "modelId": "sonnet",
      "maxTokens": 64000,
      "temperature": 0.2
    },
    "research": {
      "provider": "claude-code",
      "modelId": "opus",
      "maxTokens": 32000,
      "temperature": 0.1
    },
    "fallback": {
      "provider": "claude-code",
      "modelId": "sonnet",
      "maxTokens": 64000,
      "temperature": 0.2
    }
  }
}

nikhilmaddirala avatar Jul 22 '25 15:07 nikhilmaddirala

This is an important feature that is missing

I intuitively put the .taskmaster/config.json in my root directory on my machine, expecting Taskmaster to read the config from there. The vast majority of AI tools support global configs.

PaulRBerg avatar Sep 03 '25 17:09 PaulRBerg

I'm in the middle of a small refactor and this is what I'm going to tackle next!

Crunchyman-ralph avatar Sep 03 '25 17:09 Crunchyman-ralph