
Explanatory Output Style
PluginRecreates the deprecated Explanatory output style with a SessionStart hook: adds Insight notes before and after code that explain implementation trade-offs and codebase conventions. Official Anthropic plugin; uses extra tokens.
Explanatory Output Style Plugin
This plugin recreates the deprecated Explanatory output style as a SessionStart hook.
WARNING: Do not install this plugin unless you are fine with incurring the token cost of this plugin's additional instructions and output.
What it does
When enabled, this plugin automatically adds instructions at the start of each session that encourage Claude to:
- Provide educational insights about implementation choices
- Explain codebase patterns and decisions
- Balance task completion with learning opportunities
How it works
The plugin uses a SessionStart hook to inject additional context into every session. This context instructs Claude to provide brief educational explanations before and after writing code, formatted as:
`★ Insight ─────────────────────────────────────`
[2-3 key educational points]
`─────────────────────────────────────────────────`
Usage
Once installed, the plugin activates automatically at the start of every session. No additional configuration is needed.
The insights focus on:
- Specific implementation choices for your codebase
- Patterns and conventions in your code
- Trade-offs and design decisions
- Codebase-specific details rather than general programming concepts
Migration from Output Styles
This plugin replaces the deprecated "Explanatory" output style setting. If you previously used:
{
"outputStyle": "Explanatory"
}
You can now achieve the same behavior by installing this plugin instead.
More generally, this SessionStart hook pattern is roughly equivalent to CLAUDE.md, but it is more flexible and allows for distribution through plugins.
Note: Output styles that involve tasks besides software development, are better expressed as subagents, not as SessionStart hooks. Subagents change the system prompt while SessionStart hooks add to the default system prompt.
Managing changes
- Disable the plugin - keep the code installed on your device
- Uninstall the plugin - remove the code from your device
- Update the plugin - create a local copy of this plugin to personalize this
plugin
- Hint: Ask Claude to read https://docs.claude.com/en/docs/claude-code/plugins.md and set it up for you!
Похожие ресурсы

Learning Output Style
PluginLearning mode: at key decision points such as business logic or error handling, asks you to write 5-10 lines of code yourself while explaining the trade-offs. Official Anthropic plugin built on a SessionStart hook; uses extra tokens.
anthropics/claude-code151k
Hookify
PluginGenerates hook rules from a one-line description or by analyzing recent conversations. Rules are Markdown files with match conditions that block or warn on dangerous commands and unwanted patterns, and take effect without a restart. Official Anthropic plugin.
anthropics/claude-code151k
Plugin Dev
PluginToolkit for building Claude Code plugins: 7 skills on plugin structure, hooks, MCP integration, commands, subagents and skill writing, a guided eight-phase create command, and subagents for agent generation, plugin validation and skill review. Maintained by Anthropic.
anthropics/claude-code151k
Ralph Loop
PluginImplements the Ralph Wiggum loop with a Stop hook: feeds Claude the same prompt repeatedly so it keeps iterating on its previous file changes until it outputs a completion marker or hits the iteration limit. Official Anthropic plugin.
anthropics/claude-plugins-official40.1k
Claude Code Setup
PluginScans your codebase and recommends the best hooks, skills, MCP servers, subagents and slash commands by category. Analysis only, no file changes; a quick way to set up Claude Code for a project. Official Anthropic plugin.
anthropics/claude-plugins-official40.1k
Claude Plugins Official
PluginAnthropic's official plugin marketplace, built into Claude Code by default, with 300+ official and partner plugins for development, security, design and office collaboration. Browse and install with /plugin.
anthropics/claude-plugins-official40k