Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By dzianisvv0.3.0MITIn 1 marketplace
Turns a finished session's scripts, fixes and corrections into proposed edits to existing skills, project instructions or memory, applied only after you approve. A prompt hook records correction cues as transcript pointers only, never prompt text.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A command runs shell commands (! syntax) when you invoke it
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
End-of-session retrospective for Claude Code. It finds the scripts, CLI tools, fixes and
corrections from a session and proposes where each belongs: an edit to an existing skill, a new
skill, AGENTS.md/CLAUDE.md, memory, a hook, a command or a subagent. Nothing is written
without approval.
Standard library only, no network calls.
Provenance. This is not a clean-room implementation. It was written by an AI assistant after
reading the source of an existing third-party plugin (reflect-extensions in
akaihola/skills-akaihola, licence "For personal use") and then reworked: different detection,
state layout, file names and prompts, and no prompt text is stored. A line comparison finds no
identical lines over 40 characters, but that does not prove independence. Check your policy on
third-party code before relying on it.
| Path | Purpose |
|---|---|
commands/session-self-improve.md | /session-self-improve:session-self-improve [--dry-run] [--session id] [--days N] [--min-confidence F] |
hooks/hooks.json | UserPromptSubmit capture, Stop reminder, SessionEnd cleanup |
scripts/capture.py | Notes prompts that read like corrections or standing rules. Stores no prompt text, only a pointer into the transcript |
scripts/reminder.py | Once-per-session reminder after real work, newly created script files or queued cues |
scripts/reflect_state.py | Shared state helpers (~/.claude/session-self-improve/) |
claude plugin marketplace add dzianisv/opencode-plugins
claude plugin install session-self-improve@agents-plugins
Restart Claude Code so the hooks load. After changing the plugin, bump version in
.claude-plugin/plugin.json; claude plugin update ignores changes with the same version.
Stop only. Claude Code discards systemMessage from PreCompact, and plain stdout from a Stop hook is not shown, so the reminder is always a systemMessage.Write to a script-like path returns "created successfully"; overwrites and failed writes are ignored./session-self-improve:session-self-improve reads the wording from the transcript.SESSION_SELF_IMPROVE_CAPTURE (1), SESSION_SELF_IMPROVE_QUEUE_MAX (200), SESSION_SELF_IMPROVE_MIN_ACTIONS (3),
SESSION_SELF_IMPROVE_REMIND_ONCE (1), SESSION_SELF_IMPROVE_TTL_DAYS (7), SESSION_SELF_IMPROVE_HOME (state dir).
python3 -m unittest discover -s tests
opencode/ is a port of the same idea for opencode (needs bun and the opencode plugin runtime, no other dependencies).
| Path | Purpose |
|---|---|
opencode/plugin.ts | v1 plugin entry. chat.message queues cue pointers, session.idle shows the reminder toast, config registers /session-self-improve |
server.ts | v2 plugin entry. Queues cues from the context hook and injects the reminder into the next user message; /session-self-improve is not registered on v2 |
opencode/core.ts | Pure helpers: cue tables, queue, tally, command template |
opencode/test/ | bun test with a fake client; live-e2e.ts runs a real opencode server |
Install: clone dzianisv/opencode-plugins and add /absolute/path/to/opencode-plugins/packages/session-self-improve
to plugin in ~/.config/opencode/opencode.json. v2 loads server.ts; v1 loads opencode/plugin.ts.
/session-self-improve [--dry-run] [--session <id>] [--min-confidence F]. It reads the transcript with opencode export <session id>; the plugin fills in the current session id.~/.cache/session-self-improve/ (queue/<session id>.jsonl, markers/). Records hold ts, sessionID, messageID, kinds, confidence and no prompt text.write result has metadata.exists === false.SESSION_SELF_IMPROVE_CAPTURE (1), SESSION_SELF_IMPROVE_QUEUE_MAX (200), SESSION_SELF_IMPROVE_MIN_ACTIONS (3), SESSION_SELF_IMPROVE_REMIND_ONCE (1), SESSION_SELF_IMPROVE_TTL_DAYS (7), SESSION_SELF_IMPROVE_HOME (state dir).cd opencode && bun test
bun run test/live-e2e.ts # starts a real server and calls a model
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub dzianisv/agents-plugins --plugin session-self-improvePlugins from other owners that cover similar ground