Notes on building software.

A personal blog of technical articles about software development.

Understanding the settings.json Hierarchy

September 7, 2026· 2 min read·claude-codeconfigurationsettings

Learn how Claude Code layers its settings files and which one wins when two of them set the same key.

Project vs Local vs User Settings

September 7, 2026· 2 min read·claude-codeconfigurationsettings

Three settings files, three jobs: pick the right one for team rules, personal tweaks, and global defaults.

Allow and Deny Rules Explained

September 7, 2026· 2 min read·claude-codepermissionssettings

Use allow and deny lists in permissions to skip prompts on safe actions and block risky ones.

Pinning a Model in Settings

September 7, 2026· 2 min read·claude-codeconfigurationsettings

Set the model key in settings.json so a project or your whole setup always starts on the model you want.

Cleaning Up Old Sessions with cleanupPeriodDays

September 7, 2026· 2 min read·claude-codeconfigurationsettings

Use cleanupPeriodDays to control how long Claude Code keeps old session data before clearing it out.

Loading an API Key with apiKeyHelper

September 7, 2026· 2 min read·claude-codeconfigurationsettings

Point apiKeyHelper at a script so Claude Code fetches your API key at runtime instead of storing it in a file.