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.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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.
Incremental capture of a session's valuable patterns — a cheap Stop-hook reminder plus a five-phase
/save-sessioncommand that updates existing records before creating new ones, routes each pattern to the right level (global vs project), and deliberately caps itself at 1-2 changes per run.
# 1. Install (one-time)
/plugin marketplace add chinlung/claude-dev-workflow
/plugin install session-learning@scl-claude-plugins
That's it. At the end of a substantive session the Stop hook reminds you once; run /save-session (or /session-learning:save-session) whenever you want to capture what the session taught.
Stop event
└─ save-session-reminder.sh (bash, no LLM call — a `command` hook)
├─ fail-open: no jq, no transcript, or an unreadable one → stay quiet
├─ once-per-session flag file under ${TMPDIR:-/tmp}
├─ <10-line transcript floor (nothing substantive happened → stay quiet)
├─ already-ran detection — matches the three shapes a real invocation
│ leaves in the transcript (the expanded command tag, its namespaced
│ variant, and the Skill-invocation form), each anchored on the JSON
│ quote that opens the field, so discussing the command — or reading
│ this file — does not suppress the reminder. This paragraph avoids
│ writing those shapes verbatim for exactly that reason; the shapes
│ themselves live in hooks/save-session-reminder.sh
└─ otherwise: blocks the stop once with a one-line nudge (answering it
ends the session — the hook never blocks twice)
/save-session
Phase 1 scan the conversation for candidate patterns
Phase 2 decide the level for each — global (~/.claude/) vs project
Phase 3 dedupe and merge — the critical phase, and it runs BEFORE any write:
read ~/.claude/CLAUDE.md, the project CLAUDE.md and the auto-memory
MEMORY.md index, then list both commands/ dirs (global and project)
so a reusable workflow is not duplicated either
Phase 4 execute the chosen updates
Phase 5 report what changed
Phase 1 looks for four kinds of pattern, each with a bar it has to clear — the bar is what keeps the index from filling up with one-off noise:
| Kind | Triggers on | Saved only if |
|---|---|---|
| Feedback | a correction to how you want things done ("don't…", "use X instead", "from now on…") | it applies to future conversations, not just this one |
| Skill | a workflow you actually executed in 3+ steps | it is likely to be reused |
| Project | project facts — decisions, deadlines, architecture | it cannot be derived from the code or git history |
| User | your role, expertise, preferences | it is not already recorded |
Nothing clears the bar? The run reports "nothing to save" and stops.
| Kind of pattern | Destination |
|---|---|
| Rule or preference that applies to every project | a section of ~/.claude/CLAUDE.md |
| Reusable cross-project workflow | ~/.claude/commands/*.md |
| Something about you personally | auto memory, user type |
| Tied to this project's stack, paths or architecture | the project's CLAUDE.md |
| Project-specific workflow | .claude/commands/*.md |
| Project context — decisions, team, timeline | auto memory, project type |
| A correction to how Claude works, specific to this project | auto memory, feedback type |
CLAUDE.md costs every future session tokens it cannot use.command-type hook adds zero latency and zero tokens to the session-end path; a prompt-based one would spend an LLM call just to decide whether to mention a command.bash plugins/session-learning/tests/reminder.test.sh # 12 assertions, also run in CI
One of them feeds this README to the hook: the already-ran guard must not read "you opened the docs" as "you ran the command". That is not hypothetical — it is what 1.0.1 fixed, and writing the invocation shapes verbatim into this file would reintroduce it, which is why the flow above describes them instead of quoting them.
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 chinlung/claude-dev-workflow --plugin session-learningPlugins from other owners that cover similar ground