/starter-session-audit:starter-session-auditfrom starter-session-audit
Scans a Claude Code session for uncaptured learnings—corrections, preferences, decisions, and new context—then proposes where to save each finding. Useful at end of session to persist insights.
Ships in starter-session-audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A lightweight end-of-session audit. Catches things the user said during the session that should be saved permanently so they never have to say them again.
Two things, and only two things:
No file reorganization. No cleanup. No progress tracking. Just: "Did I learn anything this session that should be remembered?"
Claude Code sessions can use several layers of persistence. Load whichever files exist:
~/.claude/CLAUDE.md (preferences that apply everywhere).CLAUDE.local.md (git-ignored, machine-specific)..claude/rules/*.md if the project uses path-scoped rule files..claude/resources/*.md if the project keeps task-triggered reference docs.If the project only has a single CLAUDE.md, that's fine. The audit adapts.
Walk the full conversation top to bottom. Look for four signal types.
The user fixed something Claude produced -- changed wording, rejected an approach, said "no, do it this way instead." Each correction reveals an underlying rule.
Ask: what preference or rule drove this change?
Example: User changed "refactor the whole module" to "just the one function". Rule: "Prefer surgical changes; don't expand scope without asking."
Direct instructions: "always", "never", "I prefer", "from now on", "don't do that", "stop doing X".
Example: "Stop summarizing what you just did at the end of every response."
Choices that affect future work -- stack choice, schema decision, project direction, timeline, scope resolution.
Example: "Let's use Biome instead of Prettier across the portfolio repos."
Facts about the user, their work, or the world that weren't in any loaded file -- contact details, schedules, relationships, project status, tool changes.
Example: "The API token is in the env as FOO_TOKEN, not in settings.json."
For each finding from Step 2, grep the loaded files from Step 1. Skip anything already captured. Only surface genuinely new findings.
Two routing tests:
.claude/rules/ file.Finer routing:
| Finding kind | Target file |
|---|---|
| Global preference (applies to every project) | ~/.claude/CLAUDE.md |
| Project-wide rule (always-on) | user-level ~/.claude/rules/ (if global rules live there), project .claude/rules/, or project CLAUDE.md |
| Path-scoped rule | new or existing file in .claude/rules/ with paths: frontmatter |
| Cross-session fact about the user | new or existing memory topic file + index entry |
| Live repo state | STATUS.md |
| Backlog idea | TODO.md |
| Voice / output convention | .claude/resources/voice-principles.md or similar |
| Repo-specific behavior | that repo's own CLAUDE.md |
If the project doesn't have this exact layout, route to whatever's closest. Ask the user if ambiguous.
Format each one:
[N]. <what happened in one sentence>
- Rule/fact: <exact wording to save>
- Where it goes: <file path + section>
- Why: <one sentence on why it matters for future sessions>
Group into:
If there are no findings: Clean session. Nothing new to capture. Don't manufacture findings.
After the user approves (all, some, or none), write the approved entries to target files. For each write, print:
Saved to <path>: "<the line as written>"
If a target file does not exist yet (new memory topic, for example), create it with minimal frontmatter and add the index entry.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sagargupta16/claude-skills --plugin starter-session-audit