بنقرة واحدة
cmd-learn
Analyze the current session and extract reusable patterns worth saving as skills or instincts.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Analyze the current session and extract reusable patterns worth saving as skills or instincts.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scan installed skills to extract cross-cutting principles and distill them into rules — append, revise, or create new rule files.
Audit all installed OpenClaw skills for quality: content overlap, freshness, and uniqueness. Supports Quick Scan (changed only) and Full Stocktake modes.
Cluster MEMORY.md entries by theme and optionally generate SKILL.md drafts.
Export MEMORY.md to a timestamped markdown file for sharing or backup.
Import memory entries from a markdown export file, merging with MEMORY.md without duplicating.
Show current workspace memory: MEMORY.md contents, pending recalls, and index status.
| name | cmd_learn |
| description | Analyze the current session and extract reusable patterns worth saving as skills or instincts. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> |
The first argument is the project path. Before doing anything else:
Analyze the current session and extract any patterns worth saving as skills.
Run /learn at any point during a session when you've solved a non-trivial problem.
Look for:
Error Resolution Patterns
Debugging Techniques
Workarounds
Project-Specific Patterns
Create a skill file at ~/.claude/skills/learned/[pattern-name].md:
# [Descriptive Pattern Name]
**Extracted:** [Date]
**Context:** [Brief description of when this applies]
## Problem
[What problem this solves - be specific]
## Solution
[The pattern/technique/workaround]
## Example
[Code example if applicable]
## When to Use
[Trigger conditions - what should activate this skill]
~/.claude/skills/learned/