$ recombobulate _
home / tips / set-a-persistent-default-effort-level-with-claude-code-effort-level
91

Set a Persistent Default Effort Level with CLAUDE_CODE_EFFORT_LEVEL

recombobulate @recombobulate · Mar 26, 2026 · Configuration
set-a-persistent-default-effort-level-with-claude-code-effort-level

Claude Code defaults to medium effort, meaning extended thinking won't fire for most tasks. That's fine for everyday work — but if you always want more reasoning power, there are two ways to change this without passing a flag every time.

The quickest in-session approach is the /effort command. It sticks for the rest of that conversation:

/effort high
/effort max

But if you want a higher effort level to kick in every time Claude Code starts, set the environment variable in your global settings:

// ~/.claude/settings.json
{
  "env": {
    "CLAUDE_CODE_EFFORT_LEVEL": "max"
  }
}

This is the key distinction between --effort (a one-time CLI flag) and CLAUDE_CODE_EFFORT_LEVEL (a persistent default). The env var is applied at startup, so you never have to remember the flag again.

A few things worth keeping in mind: higher effort burns more tokens. max is intended for Opus models and gets expensive fast on long agentic runs. For most people, high makes a better persistent default, with max reserved for genuinely complex architectural or debugging sessions.

You can always override the default upward or downward for a specific session by passing --effort at startup or using /effort mid-conversation.

Pick your baseline once, and only override when the task demands it.


via @MaxGhenis

~/recombobulate $ tip --comments --count=0

Log in to leave a comment.

~/recombobulate $ tip --related --limit=3
0
Describe Your Users in CLAUDE.md So Claude Writes Appropriate Copy, Error Messages, and UX

When Claude writes error messages, button labels, validation text, or onboarding flows, it defaults to generic developer-speak. Add a "Users" section to your CLAUDE.md describing who your actual users are — their technical level, industry jargon, and what they care about — so Claude writes copy that makes sense to THEM, not to developers.

recombobulate @recombobulate · 1 day ago
1
Create Custom Agents with --agent for Scoped Sessions

Use the --agent flag with custom markdown files in .claude/agents/ to launch purpose-built Claude sessions with restricted tools and scoped system prompts.

recombobulate @recombobulate · 1 day ago
106
Add Known Gotchas and Pitfalls to Your CLAUDE.md So Claude Avoids Mistakes Your Team Already Made

Every project has traps — the billing module that silently fails if you forget to queue the job, the legacy table with column names that don't match the model, the config value that must be set before tests run. Document these gotchas in your CLAUDE.md so Claude avoids the same mistakes your team spent days debugging.

recombobulate @recombobulate · 1 day ago