Claude Code setup guide
Create a custom Claude Code output style
Short answer. If you keep asking Claude for the same format when it explains a change, save that preference as an output style. This example opens with a short summary and names the files worth reading. In the Claude Code terminal, run /output-style to list the available styles and see which one is active.
By CWYN · Last updated · Not affiliated with Anthropic · Published
1. Try the style picker
In the Claude Code terminal, run /output-style to list the available styles and see which one is active. Try /output-style concise to see how a built-in style affects your next reply.
2. Write a project style
At the repository root, create .claude/output-styles/change-summary.md. Give the style a name and write the reply instructions below the YAML frontmatter. keep-coding-instructions: true retains the built-in engineering instructions when the session uses the full system prompt.
---
name: change-summary
description: Summarize a code change and point to the files involved.
keep-coding-instructions: true
---
Start each code explanation with a one-sentence summary.
Then list the file paths worth opening and explain why each matters.
3. Restart and select your style
Start a fresh Claude Code session in the project so the terminal client reads the new style file. Enter /output-style change-summary. Ask Claude to explain how an existing feature works, as in the plan mode prompt for tracing a search query. Check whether the next reply opens with a summary and points to files you can find.
4. Switch back after the trial
Claude Code saves your selection in .claude/settings.local.json. Run /output-style default to restore the standard instructions, or select the style you used before. Keep project facts, such as the test command, in CLAUDE.md so they apply with any style.
Sources · Picker, file location, frontmatter, activation and local setting