From memento-skills
Use when a learned skill has low utility score, has been failing, or the user wants to improve an existing learned skill based on failure analysis
How this skill is triggered — by the user, by Claude, or both
Slash command
/memento-skills:memento-optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Refine a learned skill based on failure analysis. Corresponds to the paper's skill-level reflective update.
Refine a learned skill based on failure analysis. Corresponds to the paper's skill-level reflective update.
If not specified by user, find candidates:
utility < utility_threshold AND usage_count >= min_samples_for_judgmentRead the target skill's trigger_log for failure entries. Also read the SKILL.md itself. Identify:
Make targeted edits:
Update the skill's metrics entry:
last_optimized: today's dateoptimization_count: increment by 1Do NOT reset usage/success/failure counts. The history is valuable.
Present a before/after diff of the SKILL.md changes to the user.
npx claudepluginhub tmdgusya/momento --plugin memento-skillsAnalyzes skill outcome logs and user corrections, then proposes self-improvements to skill behavior and description hygiene.
Improves Claude Code skills post-use: diagnoses issues from execution (outdated/missing/unclear/wrong), previews diffs, edits SKILL.md after confirmation, logs changes.
Analyzes skill executions from conversation friction, file diffs, user feedback, diagnostics, and lessons to propose concrete improvements to SKILL.md files for efficiency.