Last updated: November 26, 2026
TL;DR
An output style sets Claude Code's role, tone and response format for a whole session, so you stop repeating "keep it short" in every prompt. Besides Default there are four built-in styles: Proactive, Concise, Explanatory and Learning. Switch with /output-style concise, or /config and Output style; the choice is saved to .claude/settings.local.json. For your own style, drop a Markdown file in ~/.claude/output-styles or .claude/output-styles, and set keep-coding-instructions: true if Claude should still code the usual way. A style is an instruction, not a guarantee: for something that must always happen, use a hook. Everything below comes from Anthropic's output styles docs.
Pick a built-in style
Each built-in style keeps Claude Code's standard software engineering instructions and adds its own.
| Style | What changes | Use it when |
|---|---|---|
| Default | No style instructions; the standard prompt for engineering tasks | You're happy with how it answers now |
| Proactive | Starts work right away and makes reasonable assumptions on routine decisions instead of asking | You'd rather correct a wrong assumption than answer routine questions |
| Concise | Leads with the result; drops the preamble, narration and recap | Default answers are longer than you want |
| Explanatory | Adds short Insight blocks explaining the choices behind the code | You're learning a codebase and want the reasoning with the change |
| Learning | Adds Insight blocks and leaves small pieces for you to write, marked TODO(human) | You want hands-on practice while the task still gets done |
Three details worth knowing:
- Concise keeps what matters. Answers to simple questions shrink to one to three sentences, but error reports, failing test output, security warnings and confirmations for destructive actions stay complete, and you still get full length when you ask for it. It needs Claude Code v2.1.237 or later.
- Proactive doesn't change permissions. Your permission mode still decides which tool calls run without asking. The style also tells Claude to check with you before deleting data or touching a shared or production system, but that is an instruction it follows, separate from permission prompts.
- Learning stops and waits. When it reaches a real design decision, it writes a
TODO(human)comment and a request saying what to write. You write the code, tell Claude you're done, and it carries on.
Switch styles
| Where | How |
|---|---|
| Terminal | /output-style concise, or /output-style alone to list styles and see the current one |
| Terminal menu | /config, then Output style |
| VS Code extension | Type / in the prompt box and pick Output styles |
| Any settings file | "outputStyle": "Explanatory" |
The command and the menus save the choice to .claude/settings.local.json, the local project level. To make a style your default everywhere, set outputStyle in ~/.claude/settings.json; a project's own settings still win. Our settings guide covers how those files stack.
Watch the capitals in a settings file. The value is case-sensitive, so explanatory silently gives you Default. The /output-style command ignores case.
A switch mid-session applies from your next message. Versions before v2.1.251 needed /clear or a new session first.
Write a custom style
A custom style is a Markdown file: frontmatter, then the instructions. The file name becomes the style name unless you set name.
- Save it in
~/.claude/output-stylesfor yourself or.claude/output-stylesfor the project. - Add the frontmatter and instructions. Anthropic's example:
---
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.
- Restart Claude Code, then switch to it with
/output-styleor/config. The terminal reads style files at startup, so a file created or edited mid-session isn't seen until you restart.
The field that matters most is keep-coding-instructions. It defaults to false, and a custom style without it drops Claude Code's built-in software engineering section, such as how to scope changes and verify work. Set it to true when you're changing how Claude talks but still want it coding the same way. Leave it out when Claude isn't doing engineering at all, such as a writing assistant or a data analyst style.
All fields are optional, and a misspelled one is ignored without an error. If the YAML doesn't parse, the style still loads under its file name with no fields set. Plugins can ship styles too, in an output-styles/ directory.
Know what a style is not
| You want | Use |
|---|---|
| Every response in one voice, length, format or role | An output style |
| Claude to know your project's conventions and commands | CLAUDE.md; our CLAUDE.md guide covers keeping it lean |
| Instructions for one kind of task, such as a release checklist | A skill; see plugins vs skills |
| Something that must happen every time, such as formatting after each edit | A hook |
| A helper with its own prompt, model and tools | A subagent |
Two limits to plan around. Styles apply to the main conversation and to a fork, but other subagents run their own system prompt, so a style doesn't change how they answer. And styles affect cost: a style's instructions add input tokens on every request, which prompt caching reduces after the first, while Explanatory and Learning produce longer answers by design and Concise shorter ones. Our token usage guide shows how to watch that.
Frequently asked questions
How do I change the output style in Claude Code?
Run /output-style followed by the style name, such as /output-style concise, or run /config and choose Output style. The choice is saved to .claude/settings.local.json and applies from your next message.
What output styles does Claude Code have?
Default plus four built-in styles: Proactive, Concise, Explanatory and Learning. Each keeps Claude Code's standard engineering instructions and adds its own, and you can write custom styles as Markdown files.
Where do custom output styles go?
In ~/.claude/output-styles for your user, or .claude/output-styles in the project. The file name is the style name unless the frontmatter sets name. Restart Claude Code after creating or editing one.
What does keep-coding-instructions do?
Set to true, it keeps Claude Code's built-in software engineering instructions alongside your custom style. It defaults to false, so a custom style without it drops them.
Why is my output style not working?
In a settings file the outputStyle value is case-sensitive, so a lowercase name falls back to Default. A style file made mid-session needs a restart, and subagents other than a fork ignore the style.
Next: the rest of the CLI
Output styles are one of the settings that shape a working day. Our Claude Code CLI guide covers the commands around them, and the statusline guide shows the model and context at a glance.
Stop guessing. Score your first workflow.
Score one workflow in about five minutes. Nine questions, a grade, and the specific gap holding it back - no call required.
Related Posts

Claude Code and git: what it commits, and how to keep it in check
How Claude Code works with git: the git context it gets, the Co-Authored-By trailer and PR line it adds and how to change them, permission rules for commit and push and where they stop, and why git, not checkpoints, is your real undo.

Resume a Claude Code session: claude -c, claude -r and /resume
How to pick up a Claude Code session where you left it: claude -c for the last one, claude -r by name or ID, the /resume picker and its shortcuts, what a resume restores, and the flags you have to pass again.

Claude Code slash commands: the built-ins worth knowing, and how to make your own
Which Claude Code slash commands to learn first, grouped by the moment you need them, the aliases and removed commands that trip up old habits, and how to make your own command with a skill in .claude/skills.
