Back to Blog

Claude Code output styles: change how it answers you

Alex Kim
6 min read
Claude Code output styles: change how it answers you

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.

StyleWhat changesUse it when
DefaultNo style instructions; the standard prompt for engineering tasksYou're happy with how it answers now
ProactiveStarts work right away and makes reasonable assumptions on routine decisions instead of askingYou'd rather correct a wrong assumption than answer routine questions
ConciseLeads with the result; drops the preamble, narration and recapDefault answers are longer than you want
ExplanatoryAdds short Insight blocks explaining the choices behind the codeYou're learning a codebase and want the reasoning with the change
LearningAdds 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

WhereHow
Terminal/output-style concise, or /output-style alone to list styles and see the current one
Terminal menu/config, then Output style
VS Code extensionType / 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.

  1. Save it in ~/.claude/output-styles for yourself or .claude/output-styles for the project.
  2. 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.
  1. Restart Claude Code, then switch to it with /output-style or /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 wantUse
Every response in one voice, length, format or roleAn output style
Claude to know your project's conventions and commandsCLAUDE.md; our CLAUDE.md guide covers keeping it lean
Instructions for one kind of task, such as a release checklistA skill; see plugins vs skills
Something that must happen every time, such as formatting after each editA hook
A helper with its own prompt, model and toolsA 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.

#claude-code#Output Styles#Settings#CLI#ai-agents
Free assessment

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.