OmniscioGuidesClaude Code output style examples
Claude Code output styles: 5 copyable examples
An output style is the cheapest way to stop repeating the same instruction every session: “explain as you go”, “be brief”, “review, don’t rewrite”. Anthropic ships four built-in styles — Proactive, Concise, Explanatory and Learning — and a custom one is a Markdown file you can paste in ten seconds.
All five files are on this page, complete. Each one also has a page of its own with what every field does, where to save it, how to prove it loaded, and the mistake that usually breaks it. The mechanics — the built-in styles, every switching route, the full comparison with skills and hooks — are on the output styles guide.
Checked against Anthropic’s output styles documentation and changelog. By the Omniscio team. Updated .
What all five files have in common
Every output style is the same shape: YAML frontmatter between --- markers, then the instructions in plain Markdown. All four fields are optional, and a misspelled field is ignored without an error.
| Field | What it does | In these five files |
|---|---|---|
name | The style’s name, shown in the /config picker. Default: the file name, without .md | One lowercase word, so it is easy to type after /output-style |
description | The line under the name in the /config picker | One sentence saying what the style changes |
keep-coding-instructions | true keeps Claude Code’s built-in software engineering instructions alongside your style. Default: false | true in all five, and each page says why |
force-for-plugin | Plugin styles only: apply the style automatically whenever the plugin is enabled | Left out; these are standalone files |
The one field worth understanding before you paste anything is keep-coding-instructions. On the full system prompt, a custom style leaves out Claude Code’s section of software engineering instructions — how to scope a change, write comments, verify work — unless the field is true. Leave it out when Claude will not be doing software engineering at all. Set it when you are changing how Claude talks, not what it builds.
One caveat on that field: the shorter system prompt does not include that section at all, so the field has no effect there. Anthropic’s environment variables page says Haiku 4.5, Sonnet 5, Opus 4.7 and earlier models in those families use the full prompt by default, and newer models use the shorter one. On a newer model the field is inert either way, so the style still shapes every reply but cannot be what keeps the code careful. Set CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT to 0 to select the full prompt on any model.
You save your own file at one of three levels, and the file name becomes the style name unless the frontmatter sets name. A plugin can also ship styles in an output-styles/ directory, which is where force-for-plugin comes in.
~/.claude/output-styles/— you, in every project on this machine..claude/output-styles/— one project. Every such folder between the working directory and the repository root is read, and the closest one wins a name clash.- The same folder inside the managed settings directory — the policy level an organisation deploys.
Anthropic’s own example sets name: Diagrams first, and the picker shows that name rather than the file name. These five set a one-word name instead, so the file name, the picker entry and the argument you type after /output-style are the same word.
The five files
Copy the one you want into ~/.claude/output-styles/, or into .claude/output-styles/ inside a project. The file name is the style name, so terse.md is selected with /output-style terse.
1. Teaching — explains as it builds
A plan before the first edit, a short lesson after each chunk, and one exercise left for you. The closest relative is the built-in Learning style; this file adds the plan and a stop condition you can move.
---
name: teach
description: Explain the reasoning as you build, and leave one exercise per session.
keep-coding-instructions: true
---
Treat this task as a lesson in this codebase, not a demonstration.
Before the first edit, name the plan in three bullets: the files you expect to touch, the one design decision that matters, and how you will know it works.
While you work, after each self-contained chunk, add a `Lesson` block of at most three points:
- why this approach over the obvious alternative;
- which existing code set the pattern you followed;
- what would break if someone changed it later.
When you reach the first decision with more than one defensible answer - error handling, a data shape, a boundary between modules - leave it to me:
- put a `TODO(human)` comment where my code goes;
- say what is already built, what I should write, and what to weigh;
- stop and wait. Do not write a draft beside it.
When I reply, give one `Lesson` about what I wrote, then finish the task without stopping again.
Keep the code production quality: this style changes what you explain, not what you build.Full page: the teaching file — what each field does, the three save locations, how to confirm it is active, and how it differs from the built-in Learning style.
2. Terse — answers without narration
Result first, one line per changed file, no recap, and full length only where you need it to act. This is the one people keep; the built-in Concise style is the lighter version.
---
name: terse
description: Shortest complete answer, no narration, no recap.
keep-coding-instructions: true
---
Answer in the fewest words that still let me check the work.
- Start with the result. The first sentence says what changed, what broke, or what the answer is.
- No preamble, no announcement of a plan, no "Let me", and no closing summary that repeats the diff.
- For a change, one line per file: `path:line` and what changed there. No code block unless the code is the answer.
- For a question, one to three sentences. Go longer only when I ask.
- When you made a judgement call, one line: what you chose and what it cost. Do not list the alternatives you rejected unless one is now a risk.
- No praise, no emoji, no exclamation marks. Never restate my request.
- If something is unknown, say "unknown" and what would settle it, in one line. Do not hedge for a paragraph.
- Do the engineering work as thoroughly as always. This style changes the report, not the rigour.
- Full length, always: error text, failing test output, security warnings, and any confirmation before a destructive action.Full page: the terse file — every field, where it goes, how to confirm the switch, and the frontmatter line people leave out.
3. Review — findings first
Claude reads the change as a reviewer: a severity and a line number for each finding, and no rewrite unless you ask for one. No built-in style does this.
---
name: review
description: "Review code as a reviewer: findings first, by severity, no rewriting."
keep-coding-instructions: true
---
Act as the reviewer of this change, not its author.
- Lead with findings. Nothing comes before them: not a summary, not praise, not what the change does.
- One entry per finding: severity, `path:line`, what breaks, and the smallest change that fixes it.
- Severity is `blocker`, `should-fix`, or `nit`. If you cannot name the input or the state that produces the failure, it is a nit, not a blocker.
- Read the code the change calls, not only the diff. Say which file you checked to confirm the behaviour you are describing.
- Check the boundaries that usually break: authorization on every new entry point, unvalidated input from outside the process, and a query or a network call inside a loop.
- Never rewrite the change. You may show the three lines that fix a finding; anything larger waits until I ask for it.
- When I ask something that is not a review - a build error, a question about the code - answer it normally. This file governs how you review, not how you answer every message.
- When there is nothing to report, say "No findings" and list what you covered, so I know what was actually read.
- If a question cannot be answered by reading, name the command or test that would answer it.Full page: the reviewer file — plus the scope limit nobody expects: a style does not follow your review into a subagent.
4. Plain English — for a reader who does not code
Every answer in words you can act on, two options instead of five, and the jargon kept only where you need it to search or ask for help. The code underneath stays at its normal standard.
---
name: plain
description: "Answer for a reader who does not code: plain words, two options, no jargon."
keep-coding-instructions: true
---
Assume I cannot read the code and do not know the jargon. I still need to make good decisions.
- Say what happened in one sentence I can act on, then what it means for me.
- Translate, do not remove. Use the everyday word, and put the technical term in brackets the first time it matters, because I may need it to search or to ask for help.
- When a decision is mine, give two options with what each costs, and say which you would pick. Do not offer five.
- When something broke, say what I would see, whether my data is affected, and the next thing to do. Leave the stack trace out unless I ask for it twice.
- No code block unless the exact text is something I must type or send.
- Never say "simply", "just" or "obviously". If it were simple I would not be asking.
- Keep the length of a normal answer. Shorter is not the goal; plain is.
- Do the engineering work to your usual standard. This style changes how you report, not what you build.Full page: the plain-English file — including where this one must not be saved, and why.
5. Documentation — writing voice
The shortest true statement first, exact file and command names, one idea per paragraph, versions where behaviour depends on them, and no padding.
---
name: docs
description: "Write in documentation voice: shortest true statement first, exact names, no padding."
keep-coding-instructions: true
---
Write documentation, not commentary about the work.
- Lead with the shortest true statement, after any precondition that changes it. A reader who stops after one sentence should still know the answer.
- Second person, present tense, active voice: "Run the command", not "the command can be run".
- One idea per paragraph, and stop when the idea ends. Use a table when the content really is a table, and a list when it really is a list.
- Name the exact thing: the file path, the command, the setting key. "In the config" is not an answer.
- Where behaviour depends on a version, give the version and say how to check it.
- Say what the reader has to decide, and give the options with what each one costs.
- Put the source next to the claim it supports. A page-level sources list is fine for the rest; what must not happen is a claim that nothing in the page backs up.
- Never pad. No scene-setting, no summary of the summary, no closing paragraph that repeats the page.
- Leave a stated gap alone: if something is unknown, write that it is unknown rather than smoothing it over.
- Keep every code sample runnable and complete: no elided middle, no invented flag, and the exact command under the version it works on.Full page: the documentation file — and the split that matters more than the wording: which rules belong in the style, and which in CLAUDE.md.
Switch to one, and prove it is active
Save the file first, then pick the style. The command, the /config menu and the VS Code menu all save your choice to .claude/settings.local.json at the local project level.
- Run
/output-style terseto switch. Run/output-stylewith no argument to list every style and mark the current one — that list is the proof it loaded. - If the style is missing from the list, you are almost always in the wrong folder, or in a session that started before the file existed. In the terminal, Claude Code reads style files at startup, so restart it after creating or editing one.
- Ask one question whose answer the style must change the shape of. A terse style answers in a sentence; a teaching style narrates before it edits. That is the behaviour test, and it costs one message.
- On v2.1.327 or later,
/statuslists broken agent, skill, command and output style files. It is the closest thing to a diagnostic the feature has: a style whose YAML does not parse still loads, under its file name with no fields set, andclaude --debugshows the parse error.
To set it without a menu, put outputStyle in a settings file. The value is case-sensitive, so it must match the style name exactly:
{
"outputStyle": "terse"
}That key is stricter than the command: "terse" works and "Terse" silently leaves you in Default, while /output-style Terse would have switched. Copy the name from the /output-style list rather than retyping it.
Where that key lives decides who it reaches. In ~/.claude/settings.json it is your default in every project, and a project’s own settings files take precedence over it. In a committed .claude/settings.json it reaches everyone working in the folder, which is what you want for a reviewer or a documentation voice and almost never what you want for a personal one.
Explanatory, Learning, or one of these?
Three built-in styles overlap with this library, and people search for them by name. Anthropic documents no way to adjust a built-in, so a custom file is what you write when the built-in is close but not close enough.
| You want | Use |
|---|---|
| Short explanations of the choices behind each change | The built-in Explanatory style |
| Those explanations plus code you write yourself, with the task still finished | The built-in Learning style, or the teaching file if you want a different exercise size |
| The fewest words that still let you check the work | The built-in Concise style on v2.1.237 or later, or the terse file for a stricter one |
| Claude to review code rather than write it | The reviewer file; no built-in does this |
| A voice for someone who does not read code | The plain-English file; no built-in does this |
| A style that writes documentation | The documentation file; no built-in does this |
The difference between Explanatory and Learning is what Claude leaves for you. Explanatory does the task and adds Insight blocks about the choices it made. Learning does the routine work, then stops at a real design decision, marks the spot with a TODO(human) comment, and waits for you to write it.
The difference between Concise and a terse file of your own is what the style is allowed to give up. Concise still writes at full length for anything you need in order to act safely. A custom file can add rules Concise does not have — one line per changed file with its line number, no praise, “unknown” said in one line — and it can also go too far, which is why the terse page names that failure mode.
Are output styles deprecated?
No. They were deprecated once, in 2.0.30, and un-deprecated two releases later in 2.0.32 “based on community feedback”. The separate /output-style command was deprecated in 2.1.73 in favour of /config, and added back in 2.1.269, when it also began working over Remote Control and in headless sessions.
That history is why the question keeps coming back: a tutorial written between those releases is describing a version that deprecated the thing it tells you to use, or one where the command no longer switched a running session. The feature is live in current releases, and this page describes the current behaviour.
What has changed since the first release is the version each route lands in, and that is the part to check before you follow an older guide.
Which version each route needs
Run claude --version before trusting any instruction on this topic. These floors come from Anthropic’s changelog and its own pages, not from a tutorial.
| What | Needs |
|---|---|
| Output styles exist at all | v1.0.81 |
| The built-in Concise style | v2.1.237 |
A style switched mid-session applies to your next message, with no /clear | v2.1.251 |
| The VS Code extension’s Output styles menu | v2.1.257 |
| Creating a style file from that VS Code menu | v2.1.261 |
/output-style in headless sessions, the Agent SDK and Remote Control | v2.1.269 |
/status lists broken output style files | v2.1.327 |
Only the built-in styles can be listed and picked over Remote Control. A custom file you wrote is not available there, which matters if you drive a session from the mobile app or the web.
Anthropic’s page names /config for the terminal; in the desktop app it opens Settings > Code or Settings > Claude Code instead of a menu, so the settings key is the route that works there.
What a style cannot do
A style is an instruction, and Anthropic says plainly that it does not guarantee something always happens or never happens. Three limits follow from that, and each one is a reason to reach for a different feature rather than a longer file.
- It is not enforcement. A style that says “always run the tests” is a sentence Claude tries to follow. Something that must happen every time is the hooks guide, because Claude Code runs a hook itself.
- It does not reach subagents. A style applies to the main conversation and to a fork of it. Every other subagent runs its own system prompt, so a reviewer style does nothing inside a review subagent.
- It is not project knowledge. What Claude should know about your repository goes in CLAUDE.md, and the CLAUDE.md guide covers it; that file stays loaded whichever style you pick.
Styles also cost tokens: the instructions are input tokens on every request, though prompt caching reduces that after the first request. Switching mid-session does not throw the cache away — Anthropic delivers the new style as a message in the conversation, so the request still reads the cached system prompt and earlier turns.
For a style with a narrower job than every reply, a skill loads only when the task matches. The full comparison is on the output styles guide.
Where these answers come from
- Frontmatter fields, the three file locations, the switching routes, the subagent limit and token cost: Anthropic, Output styles, read November 25, 2026.
- The built-in styles and what each leaves for you: the same page, its built-in output styles section.
- The version floors and the deprecation history: Anthropic, Claude Code changelog, read November 25, 2026, under releases 1.0.81, 2.0.30, 2.0.32, 2.1.73, 2.1.237, 2.1.257, 2.1.261, 2.1.269 and 2.1.327. The mid-session switch floor, v2.1.251, is stated on the output styles page and in Prompt caching rather than in a changelog line.
- Which models get the full system prompt by default: Environment variables, the
CLAUDE_CODE_SIMPLE_SYSTEM_PROMPTrow. - The
outputStylekey and settings precedence: Settings files and precedence, read November 25, 2026. - Mid-session switching and the prompt cache: Prompt caching, changing output style.
Anthropic’s pages change often. The version numbers above are what its changelog said on November 25, 2026; read them again before trusting this page later.
Common questions
Which of the five should I start with?
If your complaints are about length and narration, start with the terse file. If you spend your day reading other people’s changes, start with the reviewer. The other three answer a need you already know you have.
Where do I save an output style file I copied from here?
Pick a level: ~/.claude/output-styles/terse.md for every project on your machine, or .claude/output-styles/terse.md inside one repository. Keep the file name without an extension change — it is the name you will type.
I saved the file, but /output-style does not offer it. Why?
Two usual causes, in this order: the folder is not one Claude Code reads (a typo in .claude/output-styles), or the session started before the file existed, since the terminal reads style files at startup. Check the folder, restart, then look again.
Are output styles deprecated?
No. They were deprecated in 2.0.30 and un-deprecated in 2.0.32, and the /output-style command was deprecated in 2.1.73 and restored in 2.1.269. Both are live in current releases.
Can my team share one of these files?
Yes, and it is worth doing for the reviewer and the documentation files. Commit the file at .claude/output-styles/, then set outputStyle in the committed .claude/settings.json if you want it selected by default. A teammate’s own .claude/settings.local.json outranks that, and Claude Code keeps that file out of git when it writes it — add it to .gitignore yourself if you create it by hand.