Scaffold the /learn-skill command

Agent skills that live in your repo.Readable. Editable. Yours.

Scaffold /learn-skill into OpenCode, Cursor, and Claude Code — then generate skills as local files you can review, version, and own.

Scaffold in one command

$npm install -g learn-skill

Workflow

A sharper path from idea to production skill

  1. 01

    Scaffold the command

    Run npx learn-skill to install the /learn-skill command into OpenCode, Cursor, and Claude Code in one step.

  2. 02

    Generate a skill

    Use /learn-skill <topic> inside your agent. It discovers existing skills, researches docs via Context7, and designs the right structure.

  3. 03

    Review locally

    The skill lands at .agents/skills/<topic>/SKILL.md. Open the markdown, audit every instruction, and validate before trusting automation.

  4. 04

    Commit and evolve

    Track the skill in git like any other file. Update as real usage reveals edge cases — portable across all three platforms.

Supported agents

Works where you already ship

Local output, no black box

Skills land at .agents/skills/<topic>/SKILL.md — plain markdown in your repo you can audit before trusting automation.

Built to be modified

The generated SKILL.md is a starting point. Edit triggers, boundaries, and instructions as your understanding grows.

Portable by design

One scaffold drops /learn-skill into OpenCode, Cursor, and Claude Code. Generated skills work the same everywhere.

Versioned with your code

Commit skills to git like any other file. Review diffs, track history, and evolve them with your team.