[KongchangAI]
· 5 min read· 2,858 words

The Complete Claude Code Configuration Guide: Breaking Down 24 Core Features

The Complete Claude Code Configuration Guide: Breaking Down 24 Core Features

Default Claude Code config falls far short—tune models, permissions, and context in the right order.

The article breaks Claude Code configuration into an actionable order: install the desktop app and switch to Code mode, open a separate folder per project; pick Opus, Sonnet, or Haiku by budget and keep effort at Medium; prefer auto permissions and start new projects in plan mode. Then generate CLAUDE.md via /init, use memory and settings.json, and leverage Skills, sub agents, MCP, hooks, and plugins. It also covers compact, clear, rewind, and worktree to avoid overwrites.

Why the Default Claude Code Install Falls Far Short

Most people install Claude Code, type in a prompt, and then never touch the settings again. But in daily use, the gap between the default configuration and a carefully tuned workspace is enormous. This isn't an exaggeration—model selection, thinking effort, permission mode, and project context files each directly affect output quality and quota consumption.

A creator who uses Claude every day broke the entire configuration process into about 24 sections, covering everything from install location all the way to hooks, plugins, and mods. Here it's reorganized according to the logic of "what order you should configure things in," so you can follow along and take action as you read.

Step One: Choose the Right Entry Point, Start with the Desktop App

Claude Code is available in four places: the web, the desktop app, the terminal, and mobile. It's worth installing at least the desktop app—it has nearly all the features of the other entry points, and it's more stable than working directly in a browser. It's also worth enabling the web version and installing the mobile app, so you can track your agent's progress and ask a few questions on the go.

Advanced users can install Claude Code in the terminal or use it as an IDE extension. The first run requires logging in; after that, type claude in the terminal and confirm trust for the current folder.

As for accounts, the free tier has a relatively generous quota, but if you want to do serious work you need at least a Pro plan—only Pro and above can see the code tab and use Claude Code in the terminal. The author himself uses the Max 20x plan and admits that most of the time he doesn't even come close to using up the quota.

Step Two: Switch to Code Mode First, Then Open a Project

After opening the desktop app, the first thing to do is switch the chat in the top-right corner to code. Code mode offers better performance, stronger capabilities, and more integrated features. On the left you'll see artifacts, routines, customize, and new; clicking new creates a new session.

Next comes the step most easily overlooked: opening a project folder. This folder determines where Claude puts generated files and where it stores project memory and history. Opening a different folder for each project is a basic practice for keeping your workspace clean. Projects appear in the left sidebar, where they can be archived, expanded, or used to start a new session under the same project—a session is essentially a single conversation, so start a new one whenever you want to clear the context and begin fresh.

The row of buttons in the top-right corner of the interface is worth getting to know: terminal, Git changes view (requires Git to be enabled), integrated browser, and file menu. The integrated browser is interesting—Claude spins up a dev server on its own, previews the app in the browser, and personally operates and tests it.

How project folders and project memory are stored: A Claude Code "project" isn't the same thing as a Git repository—it's a root directory that has been explicitly opened. After you open a project folder, Claude creates a separate memory and history space for that path under .claude in your user directory, and all generated files are based on that directory by default. So if you open the same codebase from a different path, it's treated as a different project with different memory; conversely, opening unrelated code under the same folder causes context and memory to contaminate each other. This is why the original emphasizes "opening a different folder for each project"—it's not just a file-organization habit, but the basic mechanism for context isolation.

Step Three: Models and Thinking Effort—The Key to Saving Money

For model selection there are usually four tiers: Opus, Fable, Sonnet, and Haiku. If you're on Max 20x or Max 5x, just keep the default Opus—you'll rarely need to switch. The author's exact words: 99% of the time you should prefer Opus over Fable, even though Fable is technically stronger.

Lower-tier or free users need to budget carefully: switch to Haiku for simple, repetitive, time-consuming tasks; switch to Sonnet for tasks that need a bit of logical reasoning but run for a long time, so you don't burn through your quota in one go.

The effort level determines how long the model thinks and how carefully it checks its own work.

  • Low: almost no checking, no deep thinking, just gets to work. Good for quick prototypes and proofs of concept—fast and cheap.
  • Medium: the everyday default. It does a few checks, thinks a bit more deeply, and the cost is acceptable.
  • High: going up from medium, quota and time roughly double.
  • Extra / Max: even simple tasks can run for one to three hours, so it's unnecessary unless correctness is mandatory.
  • Ultra Code: the highest tier; the author once let it run for six or seven hours, and Max or High could have accomplished the same. Good for security audits and scenarios requiring 100% correctness, such as overnight runs.

Thinking effort settings interface

In the vast majority of cases, Medium is enough; if you want to compare results, you can turn it up yourself.

The relationship between effort level and token consumption: Effort level doesn't change the model itself—it controls how much internal reasoning and self-checking the model is allowed to do before giving an answer. The higher the tier, the more "thinking tokens" the model generates, and these tokens also count toward usage and cost, which is why the original says quota and time roughly double from medium upward. This also explains two phenomena: simple tasks can run for one to three hours at Extra/Max because the model is allowed to deliberate repeatedly; and the vast majority of everyday tasks already get enough checking depth at Medium. If you understand effort as "a knob for paying extra for correctness," you can set it based on task risk rather than habit.

Step Four: Permission Modes—Don't Open Everything Up Right Away

The mode menu at the bottom of the interface offers five options: auto, manual, accept edits, plan, and bypass permissions.

auto is the default mode and where you should stay 90% of the time: Claude executes automatically and only stops to wait for your approval on potentially dangerous operations like deletions, bulk modifications, or first-time tool calls. manual asks about every tool call, which is very slow. accept edits automatically accepts file changes. plan mode doesn't touch any code—it only produces a plan for you to confirm, which is very useful when you want it to think things through before acting. bypass permissions asks nothing at all, and the author explicitly advises against turning it on unless you know exactly what you're doing.

Step Five: Start with Plan Mode and Let Claude Interview You

After creating a new project, the author's fixed routine is to switch to plan mode first, then give a long prompt describing what he wants to do, ending with a request that Claude ask clarifying questions first. This way Claude acts like an interviewer, going back and forth to fill in details you hadn't thought of yourself.

In the demo he built a 3D rendering project: Claude proactively asked about style, interaction methods, whether to add landmarks and dynamic traffic, and the time of day—golden hour was chosen. These detailed questions themselves demonstrate the value of plan mode. Once the plan is generated it appears on the right, including the tech stack, number of dependencies, and project file layout; after confirming each item, accept it, switch back to auto mode, and start building. This demo project took about 30 minutes to fully generate.

Step Six: CLAUDE.md—The Memo That Lets the Agent Never Forget

Once the project is running, it's time to handle project conventions. Type /init, and Claude generates a CLAUDE.md file in the root directory. It documents what the project is, common commands, and architecture notes, and Claude reads this file at the start of every new session.

The effect is immediate: start a new session in the same project, and Claude can immediately describe the project because it read CLAUDE.md instead of rescanning the entire directory.

The CLAUDE.md file generated by Claude

CLAUDE.md can be layered: put another CLAUDE.md in a subdirectory, and when you open that subdirectory as a project, that's the one it reads. Using multiple CLAUDE.md files in the same project is possible, but not particularly common.

Memory, settings.json, and the .claude Directory

Just tell Claude "remember this," and it writes it to memory. The actual storage location is under .claude in your user directory, with folders per project holding files like memory and user identity—meaning this content isn't in the Git repository and exists only on your machine. If you want memory to go into the project directory, just tell it explicitly.

The .claude directory may also auto-generate a launch.json describing how the app starts. The other is settings.json, which is project-level configuration: you can set command allowlists, operations that require confirmation, files that must not be read (like environment variable files), and even customize the spinner text on load. The author admits he doesn't use this file much, but it's worth knowing it exists.

Use the @ symbol to reference files—you can pull files, folders, and even other sessions into the conversation; clicking the plus sign in the code to leave a comment and then having Claude address it is also a common way to make precise edits. In the browser view you can also draw annotations by hand to circle the areas you want changed.

Skills: Crystallizing Repeated Instructions

Type /skills to open the skills panel, divided into three categories: your own, Anthropic built-ins, and marketplace installs. A skill is essentially a Markdown file carrying a reusable set of instructions. The author has made his own skills for YouTube outline generation, flight search, and expense tracking—any scenario where you repeatedly explain the same five-step process should become a skill.

Skills management interface

You invoke them with a slash plus the skill name. To create a skill, just have Claude write it, then choose whether to save it globally (usable in any project) or within the project (only the current one). Move a skill into the project's .claude/skills subdirectory and it becomes visible only in that project—good for skill sets that only make sense for that project, and convenient for sharing with collaborators.

Sub agents: Parallel Workers That Don't Pollute the Main Context

You can view the context window by clicking a button; long conversations plus lots of tool calls make it balloon quickly, and as it approaches full, the probability of Claude making mistakes rises and token costs go up. Sub agents exist for this: dispatch a task to run independently in the background without occupying the current context, then bring the results back when done.

Create them with /agents (the wizard has been removed; instead you just have Claude create the file), which generates an agent definition under .claude including name, description, available tools, model, and thinking effort. Once triggered, it runs independently in the background tasks window, and you can run multiple parallel sub agents at once. Note: newly created sub agents sometimes need a new session before they're loaded.

MCP, Hooks, Plugins, and Mods

/mcp opens the Model Context Protocol panel, used to connect external tools. Most mainstream tools already provide MCP servers; you can configure the URL and name manually, or just have Claude add them for you.

Hooks, on the other hand, are shell commands attached to Claude Code's own events—when an event fires, they're enforced by the harness rather than decided by the model itself. There are over thirty event types (pre tool use, post tool use, user prompt submit, stop, etc.), and each hook consists of three parts: the event, an optional matcher, and the command to execute, configured in settings.json. In the demo the author made a hook that pops up a Windows desktop notification when a session ends.

Plugins are packaged collections of skills, MCP, sub agents, and configuration, opened with /plugins. The official front end design plugin actually contains just a single skill.

Mods are a newer capability that customize the harness one level deeper than plugins: you can add status lines, toasts, hooks, and panels, and distribute them as plugins. The author didn't install one live, only explained it.

Why hooks are enforced by the harness: Claude Code's harness refers to the runtime layer wrapped around the model that dispatches tool calls, manages sessions, and executes external commands. The model can only "request" a tool call; the harness is what actually executes it. Hooks attach to the harness's events, so regardless of whether the model "wants" to trigger them, they execute whenever the event occurs—which makes them suitable for actions that must reliably happen, like formatting, notifications, and auditing, and unsuitable for logic that requires model judgment. This also explains why hooks are configured in settings.json rather than in the prompt—they're runtime configuration, not conversation content.

Context Management: compact, clear, and rewind

Click the button at the bottom to see usage and context occupancy, and click through for a detailed breakdown: how much the model, cached tokens, sub agents, and skills each take up. /context shows the percentage directly in the chat, /clear clears the current session but keeps you in the same tab, and /compact summarizes the history and deletes the original text. In the demo, after compact the context dropped from about 154,000 to 92,000, and the author also expressed confusion about the prompt's "saved 137,000 tokens" figure. Usually you don't need to compact manually—Claude handles it automatically as you approach the limit.

Context and extension capabilities panel

Two useful tricks: the up arrow lets you scroll back to previously sent messages; /rewind rolls back to any point in time, with the option to roll back only the conversation, only the code, or both—and the rollback itself can be undone.

Parallel Sessions, worktree, and Code Review

You can run multiple sessions in the same project at once, with each one's progress shown on the left. But parallel sessions that modify the same files can overwrite each other—worktree is designed for this: it's essentially a clone of the current code, and each session works in its own clone. It's off by default in the desktop app; you need to enable it manually when creating a new session, and it requires an initialized GitHub repository. worktree prevents files from overwriting each other, but conflicts can still arise when merging branches.

/code review reviews current changes or a PR without modifying any code.

routines are scheduled tasks: PR reviews, release notes, system health checks, daily briefings, email triage, and so on. They can run locally or in the cloud, or you can just describe what you need in the chat and have it created. The author reminds us that they're only valuable if you actually have a use case.

An Important Mindset

The most memorable point in this whole process is: you don't need to memorize any commands. You just need to know a feature exists, then tell Claude to do it, and it can handle the configuration itself. The real barrier isn't memory—it's knowing which switches can be flipped.

Background Notes

The difference between CLAUDE.md and memory files: Both let Claude "remember" information in new sessions, but their scope differs. CLAUDE.md is an ordinary file within the project, distributed with the Git repository, so team members and collaborators can see and maintain it together—good for project conventions, common commands, and architecture notes. Memory generated by "remember this" is stored under .claude in your user directory, saved in per-project folders, doesn't enter version control, and exists only on your machine—so it's better suited to personal preferences or temporary conventions. If you want a piece of information shared with the team, write it into CLAUDE.md; if you only want yourself to know it, leave it to memory.

One-line Summary

The default Claude Code configuration falls far short—you need to tune models, permissions, and context in the right order.

Paragraph Summary

The article breaks Claude Code's configuration process into an actionable sequence: first install the desktop app and switch to Code mode, opening a separate folder for each project; then choose Opus, Sonnet, or Haiku based on budget, and keep thinking effort at Medium for everyday use; prefer auto for permission mode, and for new projects start in plan mode to let Claude ask clarifying questions before acting. Then generate CLAUDE.md via /init, use memory and settings.json to lock in project conventions, and leverage extensions like Skills, sub agents, MCP, hooks, and plugins to improve reuse and parallel efficiency. The context management section covers how to use compact, clear, and rewind, plus how worktree prevents parallel sessions from overwriting each other's files. The core mindset throughout: you don't need to memorize commands, only to know which switches can be flipped.

#Claude Code#Claude Code configuration#CLAUDE.md#sub agents#MCP#hooks#context management
Share:

Related articles