|
|
il y a 4 jours | |
|---|---|---|
| .. | ||
| .claude-plugin | il y a 4 jours | |
| hooks | il y a 4 jours | |
| hooks-handlers | il y a 4 jours | |
| LICENSE | il y a 4 jours | |
| README.md | il y a 4 jours | |
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.
When enabled, this plugin automatically adds instructions at the start of each session that encourage Claude to:
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]
`─────────────────────────────────────────────────`
Once installed, the plugin activates automatically at the start of every session. No additional configuration is needed.
The insights focus on:
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.