Claude Code Plugin Output Styles: Ship a Style With Your Plugin

David IyaDavid Iya November 29, 2026 8 min read
A vintage letterpress type case with brass and wooden type blocks, a composing stick and an ink roller on a dark walnut workbench under a warm lamp
Original image, Claude Code Club

What Claude Code plugin output styles are

Claude Code plugin output styles are output styles packaged inside a plugin. Each one is a Markdown file in the plugin's output-styles/ folder, written in the same format as a custom output style: frontmatter for the name and options, then the instructions. Once the plugin is enabled, the style appears in the /output-style list as <plugin>:<name>, next to the built-in styles and the user's own.

An output style sets Claude's role, tone and response format for every response in a session. Shipping one in a plugin means the voice travels with the tools. A client-reporting plugin can carry a style that writes in plain business language, and a teaching plugin can carry one that explains every change, without anyone copying files into ~/.claude/output-styles by hand.

Where the files go and how they show up

By default Claude Code scans output-styles/ at the plugin root. Save each style as output-styles/<name>.md. A style named terse in a plugin named my-plugin is listed in /output-style as my-plugin:terse, so it never collides with a user's own style of the same name.

The smallest useful plugin style is a file called terse.md with name terse, description Answer in as few words as possible, keep-coding-instructions set to true, and one instruction under the frontmatter: keep every reply short, skip preambles and summaries.

How a plugin output style is wired

PieceValue
Default locationoutput-styles/<name>.md at the plugin root
FormatThe custom output style format: YAML frontmatter, then the instructions
Appears in/output-style, as <plugin>:<name>
Manifest keyoutputStyles in .claude-plugin/plugin.json, a path or an array of paths to files or directories
Effect of the manifest keyReplaces the default output-styles/ scan

The frontmatter fields, including force-for-plugin

All four fields are optional. Field names use lowercase words joined by hyphens.

Output style frontmatter

FieldDefaultWhat it does
nameThe file nameThe name shown in the picker. In a plugin it is prefixed with the plugin name
descriptionNoneThe line shown next to the style in the picker
keep-coding-instructionsfalseKeeps Claude Code's built-in software engineering instructions alongside your style
force-for-pluginfalsePlugin styles only. Applies the style automatically whenever the plugin is enabled and overrides the user's outputStyle setting

force-for-plugin is the field that makes plugin styles different from personal ones. With it set to true, nobody has to pick the style: enabling the plugin applies it. If more than one enabled plugin sets it, Claude Code uses the first one loaded, so two forcing plugins do not stack and you cannot rely on which one wins.

My rule: do not force a style in a plugin you publish for other people. It overrides a choice the user made on purpose, and if they install a second plugin that also forces one, the result depends on load order. Force a style only in a plugin built for one team or one workflow, where taking over the voice is the point, and say so in the README.

The keep-coding-instructions trap

This is the field that breaks most first plugin styles. On the full system prompt, a custom output style leaves out Claude Code's section of software engineering instructions, such as how to scope changes, write comments and verify work, unless keep-coding-instructions is true. Plugin styles follow the same rule.

So a plugin style written only to change the tone, say shorter answers, quietly changes how Claude codes too. If your plugin is a coding tool, set keep-coding-instructions: true. Leave it out only when the style turns Claude into something that is not doing software engineering, such as a writing assistant or a data analyst.

How users switch to a plugin style

  • In the terminal, run /output-style to list the styles, including plugin ones, then /output-style <style> to switch. The command needs Claude Code v2.1.269 or later. /config and Output style also opens a picker.
  • In the desktop app, /config opens Settings rather than a picker, so the style is set through the outputStyle field in a settings file. That is one more reason force-for-plugin is useful for an internal team plugin used mostly in the desktop app.
  • The choice is saved to .claude/settings.local.json at the local project level. The outputStyle value is case-sensitive, and a value that does not match a style name exactly gives the Default style.
  • A switch mid-session applies from the next message, on Claude Code v2.1.251 or later. In the terminal, style files are read at startup, so after you edit a style file, restart Claude Code to pick up the change.

Marketplace entries and silent failures

If you distribute through a marketplace, the marketplace entry can declare outputStyles too, and the strict setting decides what happens.

outputStyles in a marketplace entry

SetupWhat happens
plugin.json present, strict unset or trueThe entry's outputStyles are appended to the manifest's
plugin.json present, strict: falseAn entry that declares outputStyles is a conflict, and the plugin fails to load with Plugin <name> has conflicting manifests

Two more failures are silent, which is why I check them before every release:

  • A misspelled frontmatter field is ignored without an error. Write force_for_plugin with underscores and nothing is forced.
  • If the YAML does not parse, the style still loads under its file name with no fields set, so keep-coding-instructions quietly falls back to false. Run claude --debug to see the parse error.
  • claude plugin validate checks outputStyles paths, but that check needs Claude Code v2.1.283 or later.

For the marketplace side, Claude Code private plugin marketplace covers hosting one for a team, and Claude Code managed plugins covers pushing a plugin to every machine in an organization.

What a plugin style cannot do

  • It is an instruction, not a guarantee. Claude follows it, but nothing enforces it. If something has to happen every time, such as formatting after each edit, ship a hook in the same plugin. Claude Code hooks covers that side.
  • It does not reach most subagents. Styles apply to the main conversation and to forks, which inherit the parent's system prompt. Other subagents run their own system prompt, so the style does not change how they respond.
  • It is not project knowledge. Conventions and commands belong in CLAUDE.md. A CLAUDE.md at the plugin root is not loaded as context, and claude plugin validate warns about it. Put instructions that should load into context in a skill.
  • It costs tokens. The style's instructions are sent with every request, which prompt caching reduces after the first request in a session. A style that asks for long explanations also raises output tokens.

The CCC plugin style checklist

  1. The style lives in output-styles/<name>.md, or every path is listed in outputStyles if you set that key.
  2. keep-coding-instructions: true on any style used for coding work.
  3. force-for-plugin only in a plugin built for one team or workflow, and documented in the README.
  4. Field names checked for hyphens, and claude --debug run once to confirm the YAML parses.
  5. Anything that must always happen is a hook, not a line in the style.
  6. The plugin passes claude plugin validate and, if it has evals, Claude Code plugin evals that cover the style's output.

Before you install someone else's plugin, remember that a forced style changes how Claude talks to you in every session while the plugin is enabled. Claude Code plugin security covers what to read first.

Free Claude Code drops, straight to your inbox

Short, practical drops on skills, MCP, agents, prompts, and more. No spam, unsubscribe anytime.

Frequently asked questions

Can a Claude Code plugin include an output style?

Yes. Put a Markdown file at output-styles/<name>.md in the plugin, in the custom output style format. It appears in /output-style as <plugin>:<name> once the plugin is enabled.

What does force-for-plugin do?

It is a frontmatter field for plugin output styles only. Set to true, it applies the style automatically whenever the plugin is enabled and overrides the user's outputStyle setting. If several enabled plugins set it, Claude Code uses the first one loaded.

Why does Claude code differently with my plugin's output style?

On the full system prompt, custom output styles leave out Claude Code's built-in software engineering instructions unless keep-coding-instructions is true. Add keep-coding-instructions: true to the style's frontmatter.

Why isn't my plugin output style showing up?

Check whether plugin.json sets outputStyles, which replaces the default output-styles/ scan. In the terminal, style files are read at startup, so restart Claude Code after editing one. Also check the marketplace entry is not declaring outputStyles with strict: false.

Do output styles apply to subagents?

They apply to the main conversation and to forks, which inherit the parent's system prompt. Other subagents run their own system prompt, so the style does not change how they respond.

How do I switch to a plugin's output style?

In the terminal, run /output-style <style> on Claude Code v2.1.269 or later, or pick it under Output style in /config. In the desktop app, set the outputStyle field in a settings file.

Last reviewed by David Iya on November 29, 2026

David Iya

Written by

David Iya

Forbes 30 Under 30 · Y Combinator

Keep reading

Claude CodePlugins

Claude Code Plugin Monitors: Background Watchers That Notify Claude

Claude Code plugin monitors are shell commands a plugin starts in the background for the whole session, and whatever they print reaches Claude as notifications. Here is the monitors.json schema, the when trigger, why path variables are substituted but not exported, how to keep state in CLAUDE_PLUGIN_DATA, and the limits that catch people.

David Iya 9 min
Read article
Claude CodePricing

What should my first AI offer be, and how much should I charge?

Your first AI offer should be something you have already built or done for someone, sold to one kind of buyer, named after the result and not the tool. Price it at a fraction of what that result is worth to the buyer, not by the hour. Here is how to pick the offer, draw its edges, set a number, and raise it as customers come in.

Duncan Rogoff 9 min
Read article

Ready to build it yourself?

Join Claude Code Club, the #1 community for learning claude code, for $9/month.

← Back to the blog