/mullans-skills:session-learningfrom mullans-skills
Use when explicitly invoked to preserve evidence-backed project or machine-local lessons, reflect on accumulated guidance, inspect learning activity or configuration, or mine Codex history for verified recovery patterns without retaining transcripts.
Ships in mullans-skills. 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.
Read when SKILL.md points to them; scripts run unread.
Turn observed corrections and outcomes into the smallest durable guidance that improves a comparable future task. Hooks retrieve active lessons; they never inspect transcripts or mutate canonical state.
Invoke helpers with Python 3.10+: python <skill-root>/scripts/session_learning.py <command> --root <project>. Use python3 or py -3 where appropriate. Hooks additionally require Node.js 22+ on the host application's PATH.
For stores created before 0.7.0, move <project>/.agents/learning to <project>/.session-learning from your normal terminal, preserving its contents. Update the learning-index pointer in your project instructions to .session-learning/index.md; if the destination already exists, reconcile the directories before moving.
scripts/session_learning.py retrospective-context --root <root> <terms> once for the current correction. Its bounded output combines both-store health, migration candidates, and related lessons. Stop authoring when can_author is false; inspect the full audit --root <root> --authority both --json report to resolve errors. If related lessons or migration candidates are truncated, use focused search or audit calls before deciding.pending-drafts --page 1; when drafts or interrupted handoffs exist, read references/draft-review.md. Review subsequent pages or state the uncovered backlog. Compare related lessons and instructions with the proposed guidance. Extract compact evidence before proposing a lesson; never reconstruct missing history or ask the user to retell the session.apply-manifest - reads JSON from standard input), then run audit --root <root> --authority both. Keep the post-write audit distinct so an audit error is not mistaken for a rolled-back write. Repair errors before reporting success. Report the requested lesson as saved before mentioning migration candidates. If supported outdated lessons remain, offer to run scripts/session_learning_migrate.py --root <root> --authority both --host <active-host> as a separate follow-up; a declined, unanswered, or failed migration leaves the newly written lesson intact.Use --help for command arguments. Invoke the migration helper as python <skill-root>/scripts/session_learning_migrate.py.
Run mine-history --host codex --root <root> only when the user asks to inspect prior sessions or when this retrospective explicitly includes history. It is read-only.
complete exits 0 and means the bounded relevant scan completed.failed exits 1 and provides no trustworthy scan result.degraded exits 2 and may contain valid completed candidates, but every limitation must be disclosed.Review compact actionable summaries first and request detail only for candidates being evaluated. Inspect every relevant page or state what remains unreviewed. A filtered or empty page is not proof that no evidence exists.
<project>/.session-learning and that project's hashed personal store under ~/.agents/learning/projects/. It authorizes no other home-level memory or unrelated implementation work..agents and .codex directories recursively. Keep mutable project state in .session-learning; instruction and skill projections under protected paths and home-store writes need the host's supported permission approval when blocked. Prepare the scoped change first, retain rollback, and report unavailable permissions; never weaken sandbox configuration. Local authority remains personal guidance for this project and retains its separate home location.conflicted; leave active guidance untouched.audit. A missing Node executable or failure before the engine starts cannot be diagnosed by the engine; inspect host launch errors separately. Successful hooks create no error reports.Use the decision policy's reporting format for saved lessons and prioritized recommendations. After confirming the primary write, disclose migration candidates and offer migration. Do not retell the session.
agents/openai.yaml (opens in a new tab)references/authority-routing.md (opens in a new tab)references/configuration-and-activity.md (opens in a new tab)references/decision-policy.md (opens in a new tab)references/draft-review.md (opens in a new tab)references/drafting.md (opens in a new tab)references/history-mining.md (opens in a new tab)references/patch-authoring.md (opens in a new tab)references/reflection.md (opens in a new tab)references/schema-compatibility.md (opens in a new tab)scripts/session_learning.py (opens in a new tab)scripts/session_learning_extensions.py (opens in a new tab)scripts/session_learning_history.py (opens in a new tab)scripts/session_learning_migrate.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mullans/skills --plugin mullans-skills3 skills in this plugin
/brainstormCapture a free-form idea dump and structure it into a standard brainstorm doc in the ideas/ folder. Use when the user wants to brainstorm, ramble about an idea, dump thoughts, think through a new project, or says "let's brainstorm X" / "I have an idea". Reorganizes their ramble losslessly into a fixed format — never invents content./mark2wordUse when converting styled Markdown, YAML-frontmatter documents, or .md files into Microsoft Word .docx with mark2word, including selecting or creating project-local themes.