Claude Code’s answers can be a little too chatty for one job and too short for another. Output styles change that without rewriting your prompts.
/output-style
/output-style concise
Without an argument the command lists the styles and marks the current one. The docs list Default plus four built-ins: Proactive, Concise, Explanatory and Learning. The docs note that Explanatory and Learning give longer answers.
Your choice is saved in .claude/settings.local.json for that project. For a default everywhere, set it in ~/.claude/settings.json:
{ "outputStyle": "Explanatory" }
You can also write your own style as a Markdown file in ~/.claude/output-styles or in a project’s .claude/output-styles. The file name becomes the style name unless you set name in the frontmatter.
I like that it is a setting and not a prompt habit: pick a style once per project and stop repeating “keep it short”.
Caveats. In the settings file the value is case-sensitive: explanatory in lower case does not match, and you silently get Default. The command needs Claude Code v2.1.269 or newer. A new or edited custom style is read at startup, so restart after changing one. And a style is an instruction, not a guarantee, so an answer can still come out longer than you asked.
Further reading: Claude Code: output styles, On this site: /doctor checks your Claude Code setup