From 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
How this skill is triggered — by the user, by Claude, or both
Slash command
/memento-skills:memento-createThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a new learned skill from a task execution pattern and register it in the metrics system.
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.
npx claudepluginhub tmdgusya/momento --plugin memento-skillsExtracts reusable patterns from complex tasks (5+ tool calls) into new Claude Code skills. Deduplicates, generates SKILL.md files, confirms before saving.
Capture this session's repeatable process into a reusable skill. Call at end of a process you want to automate.
Creates new skills from the user's repeating patterns via an interview-driven process: discovers the task, analyzes failure modes, generates a SKILL.md, installs it, tests it, and teaches usage.