/memento-skills:memento-createfrom memento-skills
Use when memento-reflect identifies a reusable pattern worth capturing, or when the user explicitly wants to create a new learned skill from a task execution pattern
Ships in memento-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.
None: SKILL.md is the whole skill.
Generate a new learned skill from a task execution pattern and register it in the metrics system.
Ask the user:
"Should this be a global skill (available in all projects) or a project skill (only this project)?"
~/.claude/skills/learned-{name}/SKILL.md, metrics to ~/.claude/memento/metrics.json.claude/skills/learned-{name}/SKILL.md, metrics to .claude/memento/metrics.jsonDerive a name from the pattern. Rules:
learned-learned-retry-api-on-timeoutUse this structure:
---
name: learned-{name}
description: Use when {trigger conditions from self-evaluation}
---
# {Skill Name}
> Learned skill -- auto-generated by memento-skills
> Utility: -- (0/0) | Last optimized: never
## When to Use
- {specific trigger situation}
## Procedure
1. {step extracted from successful execution}
## Known Failure Modes
- None documented yet.
## Examples
{core pattern from the task}
Constraints: max 500 words total, description max 500 chars, CSO-optimized triggers ("Use when..." with symptoms not solutions).
Read the appropriate metrics.json (create if missing with default schema). Add:
"learned-{name}": {
"scope": "global or project",
"created_at": "today",
"last_used": "today",
"last_optimized": null,
"usage_count": 0,
"success_count": 0,
"failure_count": 0,
"utility": null,
"optimization_count": 0,
"trigger_log": []
}
Show the generated SKILL.md content and the metrics entry. Write only after user confirms.
What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/memento-optimizeUse 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/memento-pruneUse when the user wants to remove low-value learned skills, clean up unused skills, or reduce the learned skill library size/memento-reflectUse after completing any significant task to self-evaluate what worked or failed, update learned skill metrics, and discover reusable patterns worth capturing as new skills/memento-statsUse when the user wants to see an overview of their learned skills, check utility scores, or identify skills that need optimization or pruningnpx claudepluginhub tmdgusya/momento --plugin memento-skillsOther plugins' skills for the same job