GuidesHosting choices

Claude Code output styles: built-ins and custom style files

The five built-ins, /output-style and where it saves, a custom style file and its frontmatter, the keep-coding-instructions catch, and styles vs CLAUDE.md.

November 23, 2026The Everpod team
The short answer

An output style is a saved set of instructions that sets Claude’s role, tone and response format for every response in a Claude Code session. It does not change permissions, tools or the model. Besides Default there are four built-ins: Proactive (starts work without asking routine questions), Concise (result first, no preamble or recap), Explanatory (adds Insight blocks) and Learning (leaves small pieces of code for you to write). Switch with /output-style concise (Claude Code 2.1.269 or later) or /config → Output style; both save "outputStyle" to the project’s .claude/settings.local.json, and the setting is case-sensitive. A custom style is a Markdown file in ~/.claude/output-styles/ or .claude/output-styles/ with optional name, description and keep-coding-instructions frontmatter. Output styles were deprecated in October 2025 and restored days later; as of Claude Code 2.1.330 (November 2026) they are a current feature.

Default and the four built-in styles

Per Anthropic’s output styles documentation as of Claude Code 2.1.330, each built-in keeps Claude Code’s standard engineering instructions and adds its own on top. The second column is what to write in the outputStyle setting, exactly as shown.

StyleSetting valueWhat changesWorth knowing
Default
leave the key unsetNothing: no style instructions are added, and Claude works from the standard system promptListed as default in /output-style, so you switch back to it the same way
Proactive
ProactiveClaude starts implementing as soon as you send a task, assumes the routine decisions, and doesn’t go into plan mode unless you ask for a planYour permission mode is unchanged, so permission prompts appear as before. Before deleting data or changing a shared or production system it is told to check with you in the chat, which is an instruction, not a prompt
Concise
ConciseThe first sentence says what happened; no lead-in, step-by-step narration or closing recap; a simple question gets one to three sentencesNeeds 2.1.237 or later. Error reports, failing test output, security warnings, destructive-action confirmations and anything you ask to have explained stay full length
Explanatory
ExplanatoryDoes the task as Default would and adds two or three points on why, in a block labelled ★ InsightThe insights stay in the conversation; they are not written into your files as comments. More output tokens
Learning
LearningThe same insights, plus Claude leaves a few lines with a real design decision for you, marked TODO(human) in the fileClaude stops and waits until you say you’ve written your part, then comments on it and carries on

Proactive is not auto mode. Auto mode decides which tool calls run without asking you; Proactive only changes how readily Claude gets on with the work. Anthropic’s permission modes page draws the line from the other side: auto mode already nudges Claude to keep working without clarifying questions, and Proactive is the choice “for stronger autonomous behavior in a mode that still prompts you.” The modes themselves, and what each lets through, are in Claude Code and Codex without permission prompts.

Switching style, and where the choice is saved

The command and the menus all write the choice to .claude/settings.local.json in the project you are in: your own file, kept out of git, applying to that project only. By hand it is one key:

{
  "outputStyle": "Concise"
}
Copied

The value is case-sensitive. "concise" matches no style and gives you Default, so check the case first when a style seems to do nothing. For a custom style, the value is the style’s name, or its file name when the frontmatter has none.

A default for every project goes in ~/.claude/settings.json. That is the lowest level in Claude Code’s settings precedence (managed, command line, project local, shared project, user), so once you have picked a style in a project with the command or the menu, that project’s local file wins over your user default. Since 2.1.327, /config adds a note when other settings override a row. The same applies to a team: an outputStyle committed in .claude/settings.json is everyone’s starting point, and anyone’s own pick overrides it for them.

Mid-session, a new style applies from your next message. Claude Code delivers it as a message in the conversation, so the switch does not throw away the prompt cache. Before 2.1.251 (August 2026) the change waited until /clear or a new session.

For one run only, without writing to any file, pass the key with --settings, which takes inline JSON whose values override your own settings files for that session:

claude -p --settings '{"outputStyle":"Concise"}' "Summarise why the last CI run failed"
Copied

/output-style also works inside claude -p. In the TypeScript Agent SDK, the key goes in the settings option (settings: { outputStyle: "Explanatory" }), not as a top-level option, and output styles load when settingSources includes 'user' or 'project', per the SDK’s system prompt page.

Writing a custom style

A custom style is one Markdown file: YAML frontmatter, then the instructions in plain prose. Where you save it decides who gets it:

LevelFolderWho gets it
User
~/.claude/output-styles/You, in every project on this machine; under CLAUDE_CONFIG_DIR if you set it
Project
.claude/output-styles/Everyone who works in the repository, once committed. A project style beats a user style of the same name
Managed
.claude/output-styles/ inside the managed settings directory (/etc/claude-code/ on Linux and WSL)Every user an organisation deploys it to
Plugin
output-styles/ in the pluginWhoever enables the plugin; listed as <plugin>:<name>

In a repository with nested .claude/ folders, Claude Code loads every .claude/output-styles/ from your working directory up to the repository root, and on a name clash the one closest to where you started wins. On a server, the user folder is in the home directory of the account that runs claude, so a style written on your laptop is not there until you copy it, the same as your user CLAUDE.md.

An example, for reading replies on a phone over SSH. Save it as ~/.claude/output-styles/phone.md:

---
name: Phone
description: Short lines and no tables, for reading replies on a phone
keep-coding-instructions: true
---

The person reading your replies is on a phone screen in a terminal.

- Put the outcome in the first line: what changed, what failed, or the answer.
- Use short paragraphs and flat bullet lists. Do not use tables or ASCII diagrams.
- Quote at most a few lines of any file or command output, and say where the rest is.
- When you need a decision from me, end with one question I can answer in a word or two.
Copied

Then restart Claude Code. The terminal reads style files at startup, so a file created or edited during a session does not appear until the next one. After that, /output-style phone selects it, or "outputStyle": "Phone" in a settings file. In VS Code, Build a custom style in the Output styles menu writes the file for you (2.1.261 or later). Getting into a session from a phone in the first place is covered in Claude Code from your phone.

The frontmatter, and the keep-coding-instructions catch

Every field is optional, and the names are lower-case with hyphens:

FieldWhat it doesDefault
name
The style’s name in the picker, and the value outputStyle must matchThe file name
description
The line shown under the name in the pickerNone
keep-coding-instructions
true keeps Claude Code’s section of software engineering instructions alongside your stylefalse
force-for-plugin
Plugin styles only: true applies the style whenever the plugin is enabled, overriding the user’s outputStyle. If several enabled plugins set it, the first one loaded winsfalse

Mistakes fail quietly. A misspelled field is ignored without an error, and YAML that doesn’t parse still loads the style under its file name with no fields set; claude --debug shows the parse error.

The catch is in keep-coding-instructions. A custom style without it drops Claude Code’s section of software engineering instructions, “such as how to scope changes, write comments, and verify work.” But that section exists only in the full system prompt, and Claude Code has two. According to the environment variables reference, Haiku 4.5, Sonnet 5, Opus 4.7 and earlier models in those families get the full prompt by default, and newer models get a shorter one. Opus 5.5, the default model on every plan and provider except Microsoft Foundry, is newer, so on it the field changes nothing: the coding section is absent with or without it. To make the field mean something, start Claude Code with the full prompt:

CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 claude
Copied

Anthropic’s advice stands either way: set it when you are changing how Claude communicates but still want it coding the same way, and leave it out for a style where Claude won’t be doing software engineering (a writing assistant, a data analyst). Whichever you choose, a custom style keeps Claude Code’s tool guidance and built-in safety instructions, which is the difference from --system-prompt: that flag replaces the whole prompt, tool guidance and safety instructions included.

What a style changes, and what it leaves alone

A style changes the instructions Claude gets and nothing else. The frontmatter has no field for tools, permissions or a model, and Anthropic’s own note is that a style “doesn’t guarantee that something always happens or never happens.” Nor does its text sit inside the system prompt: the Agent SDK docs list “Output style instructions” among the system reminders Claude Code sends “in the conversation, not in the system prompt”, with every request. What it does to the system prompt itself is the coding-section removal above.

Output style, CLAUDE.md, --append-system-prompt, a skill or a subagent

They all put instructions in front of Claude. What differs is when they apply and how they arrive, from Anthropic’s docs as of November 2026:

AppliesHow it reaches ClaudeReach for it when
Output style
Every response in the main conversation, one style at a time, switchableA reminder in the conversation with each request; a custom style can also drop the full prompt’s coding sectionYou keep asking for shorter answers, more explanation, one format, or a role other than software engineer
Every session, whatever style is active“Delivered as a user message after the system prompt”Facts about the project: build commands, conventions, layout
--append-system-prompt
The session you launch with itAppended to the system prompt itself, removing nothingA script or one launch needs extra rules; Anthropic suggests it for instructions you want “at the system prompt level”
Only when invoked, or when the task matches its descriptionInjected as a user message at that pointInstructions for one kind of task, such as a release checklist
Subagent
Only the work handed to itIts own system prompt, in a separate context, returning a summaryA focused helper with its own instructions, model and tools

The test Anthropic’s feature overview gives between the first two: if it is true of the project whatever style you’re in, it belongs in CLAUDE.md; if it is about the response itself and you might want it off again, it is a style. None of these is enforced. Something that must happen every time, such as formatting after each edit, is a hook.

Styles that come with a plugin

A plugin ships styles as Markdown files in its output-styles/ folder, in the same format, or wherever its manifest’s outputStyles key points (which replaces the folder scan). They appear in /output-style beside your own, named <plugin>:<name>, as in my-plugin:terse. One field matters to anyone installing a plugin: a style with force-for-plugin: true is applied whenever the plugin is enabled and overrides your own outputStyle, so a plugin can change how Claude talks to you without your selecting it. Disabling the plugin takes it away. Packaging and installing plugins is in Claude Code plugins.

When a style doesn’t seem to apply

To see the active style at all times, a custom status line can print it: Claude Code passes it to the script as output_style.name. And /doctor prompt-audit (2.1.283 or later) checks your styles for stale or contradictory instructions along with your CLAUDE.md files, proposing edits without making them.

Deprecated, then back: where output styles stand

Output styles were deprecated once, and the /output-style command later, and both came back. From the Claude Code changelog, with each release’s date from the npm registry:

VersionReleasedChange
1.0.81
Aug 14, 2025Output styles released, with the built-in Explanatory and Learning styles
2.0.30
Oct 30, 2025Output styles deprecated, pointing to --system-prompt-file, --system-prompt, --append-system-prompt, CLAUDE.md or plugins instead
2.0.32
Nov 3, 2025“Un-deprecate output styles based on community feedback”
2.1.73
Mar 11, 2026The /output-style command deprecated in favour of /config; the style fixed at session start for prompt caching
2.1.237
Aug 19, 2026Built-in Concise style added
2.1.251
Aug 28, 2026A style switched mid-session applies from the next message (per the docs)
2.1.269
Sep 11, 2026/output-style [name] back, to list and switch styles, including over Remote Control and in headless sessions

So as of 2.1.330, released November 20, 2026, output styles are not deprecated, and /output-style is back beside /config and the outputStyle setting.

Run Claude Code on an always-on developer pod.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.