learn-curate

learn-curate is a command for Claude Code from ankushdixit/claude-plugins. It costs 5 tokens per session (523 once invoked), scanned A, original, MIT.

A command that organizes a collection of saved learnings by assigning categories, finding similar entries, merging duplicates, archiving old entries, and updating timestamps. It also has a dry-run mode that previews changes without saving them.

In plain words
What is it for?
Use it to curate accumulated learnings, review duplicate or similar entries, archive learnings older than 50 sessions, or test changes safely with a dry run.
Why use it?
It reduces clutter and repeated notes as the collection grows. The preview mode lets you inspect proposed changes before altering the saved file.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the sk plugin — 17 commands shipped together

Good fit Use it to curate accumulated learnings, review duplicate or similar entries, archive learnings older than 50 sessions, or test changes safely with a dry run.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ankushdixit/claude-plugins/learn-curate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ankushdixit/claude-plugins

Made for: Claude Code.

Or install sk, the plugin that ships this one along with the rest of its 17 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for learn-curate

README.md
[![agentmods](https://agentmods.dev/badge/commands/ankushdixit/claude-plugins/learn-curate/github.svg)](https://agentmods.dev/commands/ankushdixit/claude-plugins/learn-curate)
Your own site
<a href="https://agentmods.dev/commands/ankushdixit/claude-plugins/learn-curate"><img src="https://agentmods.dev/badge/commands/ankushdixit/claude-plugins/learn-curate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for learn-curate

Your own site · 80×15
<a href="https://agentmods.dev/commands/ankushdixit/claude-plugins/learn-curate"><img src="https://agentmods.dev/badge/commands/ankushdixit/claude-plugins/learn-curate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 523 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00005 $0.00523
Opus 5.5 $0.00002 $0.00209
Sonnet 5.5 $0.00001 $0.00105
Haiku 4.5 $0.00001 $0.00052

Measured 1mo ago against content hash 940af23bf8ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

learn-curate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

solokit/commands/learn-curate.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Curate Learnings

Run automatic categorization, similarity detection, and merging of learnings.

What Curation Does

The curation process:

  1. Categorizes uncategorized learnings using AI-powered keyword analysis
  2. Detects duplicates using Jaccard and containment similarity algorithms
  3. Merges similar learnings to reduce redundancy
  4. Archives old learnings (learnings older than 50 sessions)
  5. Updates metadata (last_curated timestamp)

Usage

Normal Curation (Save Changes)

sk learn-curate

This will:

  • Process all learnings
  • Save changes to learnings.json
  • Display summary of actions taken

Dry-Run Mode (Preview Only)

sk learn-curate --dry-run

This will:

  • Show what changes would be made
  • NOT save any changes
  • Useful for previewing curation results

When to Run Curation

Manual curation is useful when:

  • You've captured many learnings and want to organize them
  • You want to check for duplicate learnings
  • You want to preview what auto-curation would do
  • You're testing the curation process

Note: Curation also runs automatically every N sessions (configurable in .session/config.json).

Output Format

Display the curation summary showing:

  • Initial learning count
  • Number of learnings categorized
  • Number of duplicates merged
  • Number of learnings archived
  • Final learning count

Example output:

=== Learning Curation ===

Initial learnings: 45

✓ Categorized 8 learnings
✓ Merged 3 duplicate learnings
✓ Archived 2 old learnings

Final learnings: 42

✓ Learnings saved

Understanding the Process

Categorization: Uses keyword analysis to assign learnings to one of 6 categories:

  • architecture_patterns, gotchas, best_practices, technical_debt, performance_insights, security

Similarity Detection: Uses two algorithms:

  • Jaccard similarity: Measures word overlap (threshold: 0.6)
  • Containment similarity: Detects if one learning contains another (threshold: 0.8)

Merging: Combines tags and tracks merge history when duplicates are found.

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 97 lines · 5 tokens per session scan A 940af23bf8ca

Subscribe to this mod's changes

learn-curate is a command published in the GitHub repository ankushdixit/claude-plugins (3 stars, last pushed 9mo ago), licensed MIT. It adds 5 tokens to every session and 523 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

train-executor

Generate an executor onboarding playbook from a person's Freedom Path DELEGATE bucket. Produces SOPs in the person's voice, a training curriculum, and outdated-material flags. Non-technical-friendly — designed for Claude Desktop + Cowork usage.

frankxai/Starlight-Intelligence-System · 52 tokens

training-coach-trainer

Train-the-trainer (TtT) protocol for internal subject-matter-experts who will deliver a training program. Condensed adult-learning principles, facilitation skills, common SME-as-trainer failure modes, cohort facilitation practice schedule, and a TtT-readiness rubric. Refuses SME deployment without TtT.

frankxai/Starlight-Intelligence-System · 72 tokens

training-measure-transfer

Kirkpatrick L3 (behavior) + L4 (results) measurement plan for a training program. Behavior observation protocol with sampling cadence, business-metric tracking, post-program reinforcement plan, redesign feedback loop. Refuses L1-only smile-sheet evaluation; refuses programs without baseline.

frankxai/Starlight-Intelligence-System · 61 tokens

training-program-design

Full program architecture for a multi-week or multi-month training program. Wraps a Curriculum Design with cadence (synchronous + asynchronous + on-job), trainer brief, learner journey, manager-engagement plan (mandatory — without manager reinforcement, transfer evaporates), measurement plan, and ROI projection.…

frankxai/Starlight-Intelligence-System · 68 tokens

training-curriculum

Outcome-back curriculum design for a single program or module. Starts from the L3 job behavior change and L4 business outcome; works backward through capability requirements, sequencing, spaced retrieval, cognitive-load chunking, encoding-context simulation, and per-module evaluation rubric. Refuses content-first…

frankxai/Starlight-Intelligence-System · 62 tokens

training-scenarios

Scenario / case library design for a skill domain — 10-15 scenarios across difficulty range with setup, decision points, response rubric, and debrief discussion guide. Format mirrors the structured-interview rubric pattern from the Hiring sub-system. Scenarios are the bridge from concept to on-job behavior; without…

frankxai/Starlight-Intelligence-System · 75 tokens