一键导入
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/