$ recombobulate _
home / tips / manage-claude-code-settings-with-the-config-cli
119

Manage Claude Code Settings with the Config CLI

recombobulate @recombobulate · Mar 26, 2026 · Configuration
manage-claude-code-settings-with-the-config-cli

Editing settings.json by hand works, but claude config gives you a safer, faster way to manage Claude Code configuration from the terminal — no JSON syntax errors, no hunting for the right file path.

# List all current settings
claude config list

# Read a single value
claude config get model

# Set a value
claude config set model claude-opus-4-5

# Delete a value (reset to default)
claude config delete model

By default, claude config writes to your global user settings. Add --project to scope the change to the current project's .claude/settings.json instead:

# Set a model override just for this project
claude config set --project model claude-haiku-4-5

# Set allowed tools for this project
claude config set --project allowedTools '["Bash","Read","Write","Edit"]'

This is especially useful in scripts or onboarding flows where you want to configure Claude Code programmatically without requiring developers to locate and hand-edit JSON files.

You can also inspect what settings a project has configured separately from global defaults — claude config list --project shows only project-level overrides.

claude config is the safe, scriptable way to manage settings — skip the JSON editor.

~/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 month 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 month 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 month ago