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…
от vinnie357★ 30 звёзд на GitHub
Установить claude-output-styles в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
- 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.
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
| Style | Behavior |
|---|---|
| Default | Standard software-engineering system prompt |
| Proactive | Executes 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 |
| Concise | Leads 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+ |
| Explanatory | Adds educational "Insights" during task completion |
| Learning | Collaborative 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
| Field | Purpose | Default |
|---|---|---|
name |
Display name (inherits from filename if omitted) | filename |
description |
Shown in /config picker |
none |
keep-coding-instructions |
Retain Claude Code's coding-specific system prompt sections | false |
force-for-plugin |
Plugin 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
| Scope | Path |
|---|---|
| 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:
/config→ Output style → pick from menu - Direct: edit
outputStylein.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. Y
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/ci-evidence-format.md
- assets/review-findings-format.md
- assets/worker-report-format.md
FAQ
Что делает скилл 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.
Как установить скилл claude-output-styles?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-output-styles запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…