/project-memory:graduatefrom project-memory
The graduate pass over a project's memory, friction cases, deferred tasks and skill drafts - proven entries into their docs, the rest pruned, cases fixed, task files resolved, drafts made skills or archived, each on the user's yes. Use for /graduate, when asked to graduate, prune or tidy project memory or review deferred tasks or cases, or when an R&D run's approved proposals include graduation.
Ships in project-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Memory, cases, deferred tasks and skill drafts are inboxes: things land there cheaply and leave once acted on. This pass proposes where each one goes, applies what the user approves, and empties what it resolved. Nothing moves without a yes.
CLAUDE.md names (Project memory: …) and every topic file. The index's
Graduation section states the thresholds (default: 7+ days old and still true, or cited by 3+ sessions) and how to
count citations (a grep -l over the project's transcripts). Then the other way round, with no LLM call:
unused memory INDEX (beside the project-memory skill) lists each entry no session cited in 14 days (stale), or
in 30 (archive), with the words it was matched on; check those words before you trust a stale.cases list (beside the project-memory skill; with session-orchestration, feedback list --project). Each line: times seen, status, path, title.bugfixes/, features/ and
refactorings/ of the tasks folder cases tasks prints (${XDG_STATE_HOME:-~/.local/state}/session-orchestration/projects/<root, encoded>/tasks/).
Older setups kept them in .claude/tasks/ of the main checkout or a worktree: sweep those too (with
session-orchestration, session-status --init --write --move moves them).skill-drafts sweep (beside the
project-memory skill), then skill-drafts list. The sweep is the one move without a yes: it archives the drafts no
session saw in 30 days and names them. Name them in the proposal too, so the user can ask for one back (restore).
Memory entries that are the steps of one procedure: write them up as a draft (skill-drafts add FILE graduate) and
propose it with the rest, the entries as drops once it's a skill.feedback files them): the candidates for the Plugin block
(Propose) are every memory entry, plus
CLAUDE.local.md or CLAUDE.md (## Cross-session messages, or the team section): only the
lines and words its template (setting-up-coordination/templates/claude-section.md of the installed plugin) doesn't
write. Template lines are the plugin's pointer and stay;CLAUDE.md or CLAUDE.local.md line that names a plugin script, hook or config key (a grep);where or evidence is a plugin file (misfiled);upstream.tsv, private, beside the tasks folder cases tasks prints (never in git): one row per
earlier filing or link (date, source file, the line's exact text with tabs as spaces, case path, kind, and
declined once its case is dropped), for the re-check.CLAUDE.md or config names it (session-orchestration's
tracker: jira or github), or a GitHub remote with issues on. Note the CLI that files a ticket; none found: no
tracker.Check each item against the code and docs before you propose (an entry may be stale, a task already done). Write the
proposal to a file (the replies folder the project's CLAUDE.md names, else .claude/graduate-<date>.md) and give
the user the path and the counts. One numbered line per item, so the user can answer "yes to all but 4":
Memory
1. graduate memory/deploys.md "dev DB resets at 02:00 UTC" (12 days, 4 sessions) → docs/dev-env.md, Databases
2. drop memory/misc.md "PROJ-12 waits on review" (resolved)
3. merge memory/deploys.md lines 4 and 9 (the same trap)
4. archive memory/misc.md "the CI cache key is the lockfile hash" (unused 34 days)
Project cases
5. fix 2 cases, "sign-in expires hourly" (seen 5×) → scripts/login.sh refreshes the token first
Deferred tasks
6. ticket bugfixes/2026-10-28-retry-loop.md → Jira PROJ, Bug "Retry loop never backs off"
7. fix refactorings/2026-10-30-dup-parser.md → in this pass (small: one function)
8. drop features/2026-09-02-dark-mode.md (done in 4f2c1a0)
Skill drafts
9. skill cut-release (seen 3×, last 2026-10-29) → .claude/skills/cut-release/
10. drop preview-deploy (seen once; docs/deploy.md covers it) → archived
Plugin
11. drop memory/coordinator.md "never open a worker's HTML report" (orchestrating-sessions/SKILL.md Rules says it)
12. upstream CLAUDE.local.md "never pipe gh into sed" → features case, worker.md "Posting and merging" (draft below)
13. link memory/misc.md "a literal --start draws reports" → open case a-worker-reply-reached-… (feedback seen)
CLAUDE.md, a doc, a skill); a topic past ~15
entries can become its own doc. drop: wrong, superseded, about a resolved task state, or already in a doc.
merge: two entries about the same trap. archive: an unused memory line that is still true but nobody reads
(a stale one is "drop?" unless you graduate it): it moves to the archive/ folder beside its file, out of every
session's reading, never deleted.skill-drafts scrub NAME passes (reword a hit first). It goes to the project's .claude/skills/, committed, so
every session and collaborator gets it.where
in the installed copy (the plugin folder feedback runs from). Yes: drop. Trust the installed
plugin over a case's status line; a case it outdates gets its own row, feedback mark FILE fixed '<what shipped>'.declined.upstream row, a bugfixes
case, at once. doc (works as designed, no doc says to use it so): an upstream row, a features case naming
the owning doc in --suggested, once past the index's thresholds, or at once when the user stated the rule. A
missing template line is a doc row naming templates/claude-section.md. setting (restates a config value,
session-status --config KEY): drop. A mixed line is split; the general half is the row.upstream row, feedback list --plugin for an open case that is the same: link it (feedback seen) instead of filing.grep -H '^- status' CASE…. fixed, sent or open, the question-1 test on the
installed plugin: shipped means drop the source line and its ledger row. dropped (won't fix): a declined
row; the line is a project line again. A PR row (#N, own repo below): gh pr view N --json state; MERGED takes
the question-1 test, CLOSED is dropped, OPEN waits.→ PR, worker.md "…").orchestrating-sessions/feedback.md Capture says; evidence is counts only ("kept 9 days by one project's memory,
cited by 4 sessions"). Write each upstream row's case text to its own scratch file, run feedback scrub on it
(reword a hit), and put it in the proposal file: the yes is to that text.Only the numbers the user approved; ask again for anything new you find on the way.
CLAUDE.md names). Delete a graduated entry from memory only once
its doc change is in (merged, or committed where the project commits directly).unused archive TOPIC_FILE 'LINE' (the entry's whole line); unused restore TOPIC_FILE 'LINE' puts it
back at the end, on the user's ask.cases mark FILE fixed '<what changed>' for each case the fix closes, cases mark FILE dropped for a
dropped one (with session-orchestration: feedback mark …).skill-drafts promote NAME .claude/skills (it archives the
draft); a scrub hit: reword the draft and promote again, never copy it by hand. Then the project's checks and commit,
as for a doc. Its PR turned down: skill-drafts restore NAME. Drop (a draft): skill-drafts archive NAME.upstream: feedback add CATEGORY TITLE --where PATH --found 'graduate; a memory entry' --evidence TEXT [--suggested TEXT] (--found may say a CLAUDE.local.md line or a project case), with the approved text;
exit 3 on the same case: feedback seen FILE. A misfiled project case: feedback mark FILE dropped once its
plugin case is filed.cd "$(session-status --config feedback.repo_dir)" && pwd -P is the root cases root
prints), a doc upstream row files no case: it is the approved edit to the doc it names, all of them in one PR
from a worktree on a new branch off origin/main (the branch and landing as that repo's CLAUDE.md says, under
its checks). Its ledger row names the PR (#N) in the case column. Bug rows stay cases.link: feedback seen FILE. An outdated case: feedback mark FILE fixed '<what shipped>'.upstream and link appends its ledger row (the first one creates the file with Write, the rest with Edit).drop and the re-check's drops: delete the memory line and the ledger row. A source line in a person file is a
pair (below); one in a committed CLAUDE.md goes by the project's PR.CLAUDE.local.md, .claude/coordination.local.json): never edit them from a worktree
or background session, and never through a script or a full-file copy. Write each approved change in the report as
an exact old → new pair (new may be empty; old unique in the file); the coordinator applies it with Edit. With no
coordinator, the attended /graduate session makes the edit on the user's yes. A config key is the user's: name
the key and value. A committed team section or team memory changes by the team's PR, never directly.Every task file the pass resolved is deleted; the tasks folder holds only what the user chose to keep.
What moved where (doc and section), what was dropped, cases marked, tickets filed (keys or URLs), files deleted, skills added and drafts archived,
plugin cases filed or seen, a Person-file edits (the coordinator's) section with the old → new pairs, and anything
left for the user. With session-orchestration, the R&D run proposes graduation and a followups session
applies it with this skill.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/defer-taskUse PROACTIVELY the moment you notice or mention a bug, missing feature, refactor, or docs/config/setup gap OUT OF SCOPE of the current task, coding or not. Writing it as a task file in the project's tasks folder IS the action, not fixing it now or offering a ticket later. Fires on "latent bug", "out of scope", "while I'm here I noticed", "worth a follow-up", "leave that for now". A gap that already cost you is a friction case instead (project-memory)./project-memoryA project's shared memory across sessions, its friction cases and skill drafts. Use when CLAUDE.md names a project memory file (read it at task start, append what another task needs), on "remember this" about the project, to set it up, the moment the project (hosts, sign-ins, docs, scripts, setup) cost you a workaround, round trip, whole-tree search or the user's help, on any task, coding or not, or when a procedure of 3+ steps no skill covers comes up a second time (a skill draft).Other plugins' skills for the same job
npx claudepluginhub hiverness/session-orchestration --plugin project-memory