majiang213/openclaw-mas/cmd-learn

Claude Code and agent skill by majiang213/openclaw-mas

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze the current session and extract reusable patterns worth saving as skills or instincts.

Install

npx vskill@latest install majiang213/openclaw-mas/cmd-learn

SKILL.md

The same SKILL.md was published earlier as majiang213/openclaw-mas/cmd-learn.

Project Path

The first argument is the project path. Before doing anything else:

  1. Extract the project path from the first argument
  2. Verify the path exists
  3. Work within that directory for all file operations and shell commands

/learn - Extract Reusable Patterns

Analyze the current session and extract any patterns worth saving as skills.

Trigger

Run /learn at any point during a session when you've solved a non-trivial problem.

What to Extract

Look for:

  1. Error Resolution Patterns
  • What error occurred?
  • What was the root cause?
  • What fixed it?
  • Is this reusable for similar errors?
  1. Debugging Techniques
  • Non-obvious debugging steps
  • Tool combinations that worked
  • Diagnostic patterns
  1. Workarounds
  • Library quirks
  • API limitations
  • Version-specific fixes
  1. Project-Specific Patterns
  • Codebase conventions discovered
  • Architecture decisions made
  • Integration patterns

Output Format

Create a skill file at ~/.claude/skills/learned/[pattern-name].md:

markdown
# [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]

Process

  1. Review the session for extractable patterns
  2. Identify the most valuable/reusable insight
  3. Draft the skill file
  4. Ask user to confirm before saving
  5. Save to ~/.claude/skills/learned/

Notes

  • Don't extract trivial fixes (typos, simple syntax errors)
  • Don't extract one-time issues (specific API outages, etc.)
  • Focus on patterns that will save time in future sessions
  • Keep skills focused - one pattern per skill

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
5
Repository forks
1
7-day trend score
9

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiang213/openclaw-mas/cmd-learn/badge)](https://verified-skill.com/skills/majiang213/openclaw-mas/cmd-learn)

Something wrong with this skill or its page? Tell us.