Output styles change how Claude Code talks to you for a whole session. One command can make every answer shorter, add a short explanation of each change, have Claude start work without routine questions, or even turn Claude into a writing assistant instead of a software engineer.
Claude Code ships with four built-in styles on top of its Default behaviour, and you can write your own in a few lines of Markdown.
This guide covers each built-in style with examples, how to switch styles in the terminal, VS Code and the desktop app, how to create a custom style, the frontmatter fields, when to use an output style instead of CLAUDE.md, a skill or a hook, token costs and fixes. It follows Anthropic’s official Claude Code documentation as of December 2026.
- Built-in styles: Default, Proactive, Concise, Explanatory and Learning.
- Switch:
/output-style concise, or/config> Output style. - Saved to:
.claude/settings.local.jsonas"outputStyle": "Concise"(case-sensitive). - Custom: a Markdown file in
~/.claude/output-stylesor.claude/output-styles. - Keep coding rules: add
keep-coding-instructions: trueto the frontmatter. - Not enforced: a style is an instruction. Use hooks for things that must always happen.
What an Output Style Is
An output style is a set of instructions that sets Claude’s role, tone and response format for every reply in a session. Instead of typing “keep it short” or “explain why” in every prompt, you set it once.
A style shapes how Claude responds. It does not change what Claude is allowed to do: your permission mode and permission rules still decide which tools run without asking. New to Claude Code? Start with our Claude Code install guide.
The Built-in Output Styles
Claude Code starts in the Default style. The other four keep Default’s software engineering instructions and add their own.
| Style | What changes | Use it when |
|---|---|---|
| Default | No style instructions; standard Claude Code behaviour | You are happy with normal responses |
| Proactive | Starts work right away and makes reasonable assumptions on routine decisions | You want Claude to keep moving and you will correct it if needed |
| Concise | Leads with the result, drops preamble, narration and recaps | Default answers feel too long |
| Explanatory | Adds short Insight blocks explaining choices |
You are learning a codebase or want the reasoning |
| Learning | Insights plus small pieces of code left for you to write | You want hands-on practice while the task gets done |
Proactive
Claude starts implementing as soon as you send a task. It does not stop to ask about routine decisions and does not enter plan mode unless you ask for a plan.
Its instructions still tell it to check with you before deleting data or touching shared or production systems. Switching to Proactive does not change your permission mode, so permission prompts appear exactly as before.
Concise
The first sentence states what happened or what the answer is, and simple questions get one to three sentences. The engineering work is just as thorough.
Claude still writes in full when you ask for detail, and for anything you need to act safely: error reports, failing test output, security warnings and confirmations for destructive actions.
Explanatory
Claude does the task normally and adds short ★ Insight blocks before or after the code. Each block has two or three points about your codebase or the code it wrote, for example why a new route needs no extra middleware because every route already goes through an auth wrapper.
Learning
Learning adds the same Insight blocks and asks you to write some code.
Claude handles routine work, but where there is a real design decision, such as error handling or business logic with more than one valid approach, it leaves a TODO(human) comment in the file and sends a “Learn by Doing” request with context, your task and guidance.
It then waits. Write your code, tell Claude you are done, and it responds with an Insight about your code and carries on.
How to Change Your Output Style
- Command: run
/output-style concise. Run/output-stylewith no argument to list styles and see the current one. The command ignores case. - Terminal menu: run
/configand select Output style. - VS Code: type
/in the prompt box and choose Output styles (Claude Code v2.1.257 or later). Our Claude Code VS Code extension guide covers the panel. - Desktop app: set
outputStylein a settings file such as.claude/settings.local.json.
The command and the menus save your choice to .claude/settings.local.json, so it applies to you in that project. To set it by hand:
{
"outputStyle": "Explanatory"
}
In the file, the value is case-sensitive. Write Proactive, Concise, Explanatory or Learning exactly; explanatory silently gives you Default.
To use a style in every project, put outputStyle in ~/.claude/settings.json. A project’s own settings files take precedence over it; our Claude Code settings guide explains the order. When you switch mid-session, the new style applies from your next message.
The /output-style command also works in non-interactive mode, Agent SDK sessions and Remote Control from the mobile app or web, where you can pick built-in styles only (v2.1.269 or later).
Create a Custom Output Style
A custom style is a Markdown file with frontmatter on top and instructions below.
- Pick a location. User styles go in
~/.claude/output-styles, project styles in.claude/output-styles. Organizations can ship styles in the managed settings directory. - Create a file, for example
~/.claude/output-styles/diagrams-first.md. The file name becomes the style name unless you setname. - Add frontmatter and your instructions:
--- name: Diagrams first description: Lead every explanation with a diagram keep-coding-instructions: true --- When explaining code, architecture, or data flow, start with a Mermaid diagram showing the structure, then explain in prose. ## Diagram conventions Use flowchart TD for control flow and sequenceDiagram for request paths. Keep diagrams under 15 nodes. - Restart Claude Code. The terminal reads style files at startup, so new or edited files need a restart.
- Switch to it with
/output-style Diagrams firstor from/config.
In VS Code you can also create the file from the Output styles menu (v2.1.261 or later). Project styles load from every .claude/output-styles/ folder between the working directory and the repository root; if two define the same name, the one closest to your working directory wins.
Should you keep the coding instructions? Set keep-coding-instructions: true when you only want to change how Claude communicates. Leave it out when Claude will not be writing software at all, such as a writing or data analysis style.
Frontmatter Reference
| Field | What it does | Default |
|---|---|---|
name |
Name shown in the /config picker |
The file name |
description |
Description shown in the picker | None |
keep-coding-instructions |
Keep Claude Code’s built-in software engineering instructions | false |
force-for-plugin |
Plugin styles only: apply automatically when the plugin is enabled, overriding outputStyle |
false |
All fields are optional and use lowercase hyphenated names. A misspelled field is ignored with no error. If the YAML does not parse, the style still loads under its file name with no fields set; run claude --debug to see the parse error. Plugins can ship styles in an output-styles/ folder.
Custom Style Ideas
- Code reviewer: “Respond as a strict senior reviewer. List issues by severity with file and line, then suggested fixes.” Keep coding instructions on.
- Teacher for juniors: “Explain every change in plain English, define jargon the first time and end with one question to check understanding.”
- Technical writer: no coding instructions; “Write clear docs in British English, short paragraphs, headings every 300 words.”
- Data analyst: no coding instructions; “Start with the answer and key numbers, then method, then caveats. Prefer tables.”
- Bullet summaries: “End each response with a three-bullet summary of what changed and what to check.”
Keep styles short and specific. Long, vague style files cost input tokens on every request and are harder for Claude to follow.
Output Style vs CLAUDE.md, Skills and Hooks
| You want | Use |
|---|---|
| Every response in a certain voice, length or format, or a different role | An output style |
| Claude to know your project’s conventions and commands | CLAUDE.md |
| Instructions for one kind of task, like a release checklist | A skill |
| Something that must happen every time, like formatting after edits | A hook |
| A focused helper with its own prompt, model and tools | A subagent |
| An addition to the system prompt for one launch | --append-system-prompt |
These combine well: CLAUDE.md for what Claude should know, an output style for how it responds and a hook for anything guaranteed.
How Output Styles Work Under the Hood
- Claude Code sends the active style’s instructions with every request.
- Custom styles drop Claude Code’s built-in software engineering section (scoping changes, comments, verifying work) unless
keep-coding-instructionsis true. On the shorter system prompt that section is not included anyway; setCLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0to force the full prompt. - Styles apply to the main conversation and to forks. Other subagents run their own system prompt, so styles do not affect them.
- Styles add input tokens, reduced by prompt caching after the first request. Explanatory and Learning produce longer answers by design; Concise produces shorter ones.
Watching token use? Pair Concise with the tips in our guide to reducing Claude Code token usage.
Troubleshooting
My style setting in the file does nothing
The value is case-sensitive in settings files. Use Explanatory, not explanatory.
My custom style is not in the list
Check the folder name is exactly output-styles and restart Claude Code, which reads style files at startup.
The style ignores my name or description
The YAML probably failed to parse, so the style loaded under its file name. Run claude --debug.
Claude stopped following project conventions
Your custom style dropped the coding instructions. Add keep-coding-instructions: true.
Proactive still asks for permission
Expected. Styles do not change permission modes. Adjust permission rules or modes instead.
A project uses a different style than my default
A project or local settings file sets outputStyle and takes precedence over your user file.
Subagents ignore my style
Only the main conversation and forks use the style. Put tone instructions in the subagent’s own prompt.
FAQ
Is there a command that creates a custom style?
The docs create custom styles as Markdown files in an output-styles folder, or from the VS Code Output styles menu. /output-style lists and switches styles.
Which output style is best for beginners?
Explanatory adds reasoning without slowing you down. Learning is better if you want to practise writing code yourself.
Does Concise make Claude less careful?
No. Only the response text is shorter. The engineering work and safety messages stay complete.
Can I use Claude Code for non-coding work with a style?
Yes. Write a custom style without keep-coding-instructions, for example a writing assistant or data analyst.
Do output styles cost more tokens?
They add some input tokens, mostly cached after the first request. Explanatory and Learning also produce more output.
Can a team share an output style?
Yes. Commit the file to .claude/output-styles in the repository, or ship it in a plugin.




