Source profileQuality 95/100

vinnie357/claude-skills/plugins/tools/claude-code/skills/claude-output-styles/SKILL.md

claude-output-styles

Guide for creating Claude Code output styles and reusable response-format contracts. Use when creating, shipping, or customizing an output style for a session; defining the response shape an agent, command, or team worker must produce; standardizing worker reports so a team lead can parse them; or deciding between an output style, a skill, and a CLAUDE.md entry.

Source repository stars
24
Declared platforms
1
Static risk flags
0
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Guide for the native Claude Code output style feature and for applying the same response-contract pattern to agents, slash commands, teams, and skills.

Best for

  • Use when creating, shipping, or customizing an output style for a session; defining the response shape an agent, command, or team worker must produce; standardizing worker reports so a team lead can parse them; or decid…

Not for

  • Assuming subagents inherit the style. They do not. Encode the contract in the agent definition.
  • Editing outputStyle and expecting mid-session effect. Output style is fixed at session start for cache stability.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeDeclaredSource recordInstall path and trigger
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/vinnie357/claude-skills --skill "plugins/tools/claude-code/skills/claude-output-styles"
Safe inspection promptEditorial

Inspect the Agent Skill "claude-output-styles" from https://github.com/vinnie357/claude-skills/blob/258ac739a89d44fc78ad40e5724eb0526ff11d75/plugins/tools/claude-code/skills/claude-output-styles/SKILL.md at commit 258ac739a89d44fc78ad40e5724eb0526ff11d75. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Custom Style Instructions

    You are an interactive CLI tool that helps users with [domain].

    Respond in [tone]Structure output as [format]When [condition], do [action]
  2. 02

    Token Usage Considerations

    Output styles add to the input token count via system prompt expansion, but prompt caching amortizes this after the first request per session

    Output styles add to the input token count via system prompt expansion, but prompt caching amortizes this after the first request per sessionBuilt-in Explanatory and Learning styles produce longer output by design — higher output token costCustom styles' output cost is driven by what the instructions ask Claude to produce
  3. 03

    Two Things This Skill Covers

    1. The Claude Code feature: a session-level system prompt modification selected via /config, shipped as Markdown files, optionally bundled in plugins. 2. The pattern: a reusable response-format contract authored once and referenced from agents, commands, teams, or skills when co…

    The Claude Code feature: a session-level system prompt modification selected via /config, shipped as Markdown files, optionally bundled in plugins.The pattern: a reusable response-format contract authored once and referenced from agents, commands, teams, or skills when consistent, parseable output is needed.1. The Claude Code feature: a session-level system prompt modification selected via /config, shipped as Markdown files, optionally bundled in plugins. 2. The pattern: a reusable response-format contract authored once an…
  4. 04

    Part 1: The Claude Code Feature

    Output styles modify Claude Code's system prompt at session start. They can:

    Replace the default software-engineering instructions with a different role/tone/formatPreserve core capabilities (file I/O, running scripts, TODO tracking)Keep or remove coding-specific instructions via keep-coding-instructions
  5. 05

    What Output Styles Do

    Output styles modify Claude Code's system prompt at session start. They can:

    Replace the default software-engineering instructions with a different role/tone/formatPreserve core capabilities (file I/O, running scripts, TODO tracking)Keep or remove coding-specific instructions via keep-coding-instructions

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score95/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars24SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
vinnie357/claude-skills
Skill path
plugins/tools/claude-code/skills/claude-output-styles/SKILL.md
Commit
258ac739a89d44fc78ad40e5724eb0526ff11d75
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Claude Code Output Styles

Guide for the native Claude Code output style feature and for applying the same response-contract pattern to agents, slash commands, teams, and skills.

Two Things This Skill Covers

  1. The Claude Code feature: a session-level system prompt modification selected via /config, shipped as Markdown files, optionally bundled in plugins.
  2. The pattern: a reusable response-format contract authored once and referenced from agents, commands, teams, or skills when consistent, parseable output is needed.

The feature affects the main agent loop only. The pattern is portable to anywhere a system prompt or instruction block is authored.

Part 1: The Claude Code Feature

What Output Styles Do

Output styles modify Claude Code's system prompt at session start. They can:

  • Replace the default software-engineering instructions with a different role/tone/format
  • Preserve core capabilities (file I/O, running scripts, TODO tracking)
  • Keep or remove coding-specific instructions via keep-coding-instructions

Output styles are always active once selected, for the whole session. They are set at session start — changes take effect next session so prompt caching stays stable.

Built-In Styles

StyleBehavior
DefaultStandard software-engineering system prompt
ProactiveExecutes immediately, makes reasonable assumptions instead of pausing for routine decisions, and prefers action over planning — stronger autonomous-execution guidance than auto mode, applied without changing the permission mode
ConciseLeads with the result, skips preamble and narration, keeps responses short by default, while doing the engineering work as thoroughly as Default; error reports, security warnings, and destructive-action confirmations stay in full. Requires Claude Code v2.1.237+
ExplanatoryAdds educational "Insights" during task completion
LearningCollaborative mode — Claude inserts TODO(human) markers for the user to fill in

Custom Style File Format

---
name: My Custom Style
description: A brief description shown in the /config picker
keep-coding-instructions: false
---

# Custom Style Instructions

You are an interactive CLI tool that helps users with [domain].

## Specific Behaviors

- Respond in [tone]
- Structure output as [format]
- When [condition], do [action]

Frontmatter Fields

FieldPurposeDefault
nameDisplay name (inherits from filename if omitted)filename
descriptionShown in /config pickernone
keep-coding-instructionsRetain Claude Code's coding-specific system prompt sectionsfalse
force-for-pluginPlugin output styles only: apply this style automatically whenever the plugin is enabled, without the user selecting it. Overrides the user's outputStyle setting. If multiple enabled plugins set this, Claude Code uses the first one loaded.false

Set keep-coding-instructions: true when the custom style augments coding behavior rather than replacing it.

File Locations

ScopePath
User-level~/.claude/output-styles/
Project-level.claude/output-styles/
Managed policy.claude/output-styles/ inside the managed settings directory
Plugin-shipped<plugin-root>/output-styles/

Project-level resolution is not one flat path — it loads from every .claude/output-styles/ between the working directory and the repository root. When more than one of these nested directories defines a style with the same name, Claude Code uses the one closest to the working directory.

Selecting a Style

  • Interactive: /configOutput style → pick from menu
  • Direct: edit outputStyle in .claude/settings.local.json:
{
  "outputStyle": "Explanatory"
}

Selection is written to .claude/settings.local.json at the local project level.

Shipping Output Styles in a Plugin

Place style files under <plugin-root>/output-styles/. They are discovered when the plugin is installed and appear alongside built-in and user styles in /config.

my-plugin/
├── .claude-plugin/
│   └── plugin.json
├── skills/
└── output-styles/
    ├── terse-reviewer.md
    └── verbose-tutor.md

No additional plugin.json field is required — the output-styles/ directory is discovered by convention.

Token Usage Considerations

  • Output styles add to the input token count via system prompt expansion, but prompt caching amortizes this after the first request per session
  • Built-in Explanatory and Learning styles produce longer output by design — higher output token cost
  • Custom styles' output cost is driven by what the instructions ask Claude to produce

Part 2: The Pattern — Response Contracts for Agents, Commands, and Teams

The shape of an output style — a set of instructions controlling response format, tone, and structure — is portable. You can apply the same pattern anywhere a system prompt or instruction block is authored.

Important: Subagents Do Not Inherit Output Style

The session-level output style modifies the main agent loop's system prompt. It does not propagate to:

  • Subagents spawned via the Agent tool
  • Slash command execution contexts
  • Skills loaded within a subagent

If you need a subagent to produce output in a specific shape, encode the contract in the agent's own definition or reference a shared contract file.

Exception: forks. A fork (Agent tool with subagent_type: "fork") is not an independent subagent — it's a continuation of the same conversation, so it inherits the parent's full system prompt, output style included. Regular subagents (any other subagent_type) still do not inherit it.

Where to Place a Contract

TargetWhere the contract goes
Agent (.claude/agents/<name>.md)Body of the agent markdown, under a ## Response Format heading
Slash command (.claude/commands/<name>.md)Body of the command markdown
Team workerPrompt template passed to the worker when spawned
SkillDedicated section in SKILL.md, or a referenced file in assets/
Plugin-wideShared file in assets/contracts/ that components link to

Why Standardize Worker Output

When a team lead spawns multiple workers and must parse their results, inconsistent output shapes force the lead to write bespoke parsing for each worker. A shared contract lets the lead:

  • Extract specific fields (e.g., PR_URL, STATUS) with one parser
  • Filter worker reports for pass/fail without reading prose
  • Compare two workers' results reliably

Writing a Contract

A contract specifies:

  • Sections the response must contain (fixed headings)
  • Field formats inside sections (literal strings, enums, lengths)
  • What must not appear (e.g., no prose preamble, no trailing summaries)

Use imperative language. Example contract body:

Respond using exactly these sections, in this order:

## SUMMARY
One sentence describing what was done. No preamble.

## EVIDENCE
Verbatim output from `mise run ci`. Paste the tail if too long,
marked with `[truncated]`.

## STATUS
One of: `passed` | `failed` | `blocked`.

## NEXT
One sentence — what the team lead should do with this report.

Do not add sections. Do not summarize at the end.

Referencing a Shared Contract

From an agent definition:

---
name: ci-validator
description: Runs mise run ci and returns a structured report
---

# CI Validator

Run `mise run ci`. Report using the contract in
`assets/contracts/ci-evidence-format.md` — copy the section headings
exactly.

From a team prompt template (pseudocode):

Spawn worker with prompt:
  "Fix the failing test in src/foo.ex.
   Report using {{contract: worker-report-format}}."

When to Use a Contract vs. an Output Style

NeedUse
Session-level persona for the human userOutput style
Consistent shape from a specific agent roleContract in the agent definition
Parseable reports from N parallel workersShared contract referenced by each worker
Reusable response shape across a pluginContract in assets/contracts/
One-off format for a single promptInline instructions, no contract needed

Output Styles vs. Related Features

FeatureScopeLoaded WhenModifies
Output styleMain agent loop onlySession start (after /config)System prompt (replaces coding sections)
CLAUDE.mdMain agent loopSession startAppended as user message after system prompt
--append-system-promptMain agent loopSession startAppended to system prompt
SkillMain loop and subagentsOn-demand (invoke or auto)Adds procedural knowledge
AgentSpawned subagentWhen Agent tool invokedIndependent system prompt
Response contract (pattern)Wherever embeddedWhen the host component loadsThe host's instructions

Anti-Fabrication

Do not fabricate output-style behavior or frontmatter fields not documented at https://code.claude.com/docs/en/output-styles. When authoring contracts, verify referenced files exist with Read or Glob before claiming they do. Do not claim an agent honors the session output style — it does not. For the full anti-fabrication ruleset, see core:anti-fabrication.

Common Pitfalls

  • Assuming subagents inherit the style. They do not. Encode the contract in the agent definition.
  • Editing outputStyle and expecting mid-session effect. Output style is fixed at session start for cache stability.
  • Mixing session persona and agent response format. A session-level output style for a reviewer persona is not the right tool for "all my workers must emit structured reports."
  • Over-constraining. A contract that dictates every word produces fragile output across model versions. Specify structure, not phrasing.
  • Missing keep-coding-instructions. Custom styles default to stripping coding instructions — if the style is meant to augment coding, set this to true.

Assets

Reference response-format contracts in assets/:

  • assets/worker-report-format.md — structured report for team workers (SUMMARY / EVIDENCE / STATUS / NEXT)
  • assets/ci-evidence-format.md — verbatim CI-output contract for validation agents
  • assets/review-findings-format.md — findings-list contract for code review agents

Copy, reference, or adapt these when defining agents, commands, or team workers.

References

Frequently asked questions

What to verify before installation and use

What does the claude-output-styles source document cover?

Guide for the native Claude Code output style feature and for applying the same response-contract pattern to agents, slash commands, teams, and skills.

How do I install claude-output-styles?

The source record exposes this install command: npx skills add https://github.com/vinnie357/claude-skills --skill "plugins/tools/claude-code/skills/claude-output-styles". Inspect the command and pinned source before running it.

Which Agent platforms does the source record declare?

The pinned source record declares support for: claude code.

Alternatives

Compare before choosing