mcpbeat

Learn

joonghyun-lee-frieren/learn

615 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
203
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Joonghyun-Lee-Frieren/oh-my-antigravity --skill learn

The instruction itself

7 sections, as written by the author

Learn Skill

Automatically evaluates OmA sessions to extract reusable patterns (error resolutions, workarounds, conventions) and save them to .omg/rules/learned/.

When to Activate

  • Setting up automatic pattern extraction from OmA sessions.
  • Configuring the SessionEnd hook for session evaluation.
  • Reviewing or curating learned skills in .omg/rules/learned/.
  • Adjusting extraction thresholds or pattern categories.

How It Works

This skill runs as a SessionEnd hook at the end of each session:

  • Session Evaluation: Checks if session has enough messages (default: 10+).
  • Pattern Detection: Identifies extractable patterns (errors, workarounds, styles).
  • Skill Extraction: Saves useful patterns as new rules in .omg/rules/learned/.

Interactive Selective Save

When /oma:learn is run, the agent will:

  • Identify high-signal reusable patterns.
  • List these patterns with unique IDs.
  • Ask the user whether to save all or specific ones.
  • Default to saving all if not specified.

Extraction Focus

The learn skill focuses on reusable patterns rather than simple chat history:

  • Common Error Resolutions: How recurring errors were fixed.
  • Environment Workarounds: Fixes for tool or framework quirks.
  • Style/Conventions: Project-specific rules identified during work.
  • Corrected Behaviors: Mistakes the agent should avoid in the future.

Configuration

Edit .omg/rules/learn.json to customize:

{
  "min_session_length": 10,
  "extraction_threshold": "medium",
  "auto_approve": false,
  "learned_skills_path": ".omg/rules/learned/",
  "patterns_to_detect": [
    "error_resolution",
    "user_corrections",
    "workarounds",
    "debugging_techniques",
    "project_specific"
  ],
  "ignore_patterns": [
    "simple_typos",
    "one_time_fixes",
    "external_api_issues"
  ]
}
  • /oma:memory - Project-level knowledge.
  • /oma:rules - Context-aware rule application.
  • /oma:learn - Manual pattern extraction command.

How to use it

Copy the folder

Take joonghyun-lee-frieren/learn from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.