Skills

Learn

Distill a reusable skill from anything, a directory, a URL, pasted notes, or what you...

Install

npx skills add nanocoai/nanoclaw --skill learn -g -a claude-code -y
Repository
nanocoai/nanoclaw31.1k
Category
AI and agents
Updated
5d ago
License
MIT
Context cost
Lightabout 1,372 tokens
Runs scripts
No, instructions only

What it does

Distill a reusable skill from anything, a directory, a URL, pasted notes, or what you just did together, or refine an existing skill with new learnings. Use when the user says '/learn', 'learn this', 'turn this into a skill', 'capture this workflow', 'make a skill from <source>', or 'improve/update the <name> skill'. Produces or updates a .claude/skills/<name>/SKILL.md authored to NanoClaw's skill guidelines. (This CREATES or REFINES a skill from a source; it does not install existing skills from a registry.)

Learn, Distill a Skill from Anything

Turn a source, a directory, a URL, pasted notes, or the work just done in this conversation, into a clean, reusable NanoClaw skill. The output is a new .claude/skills/<name>/SKILL.md (plus optional scripts/, references/, templates/) authored to the project's skill guidelines.

This skill is instruction-only: it uses the tools you already have (Read, Grep, Glob, WebFetch, Write), there is no separate distillation engine and no reach-ins into core code.

When to use

Invoke when the user wants to capture a workflow as a reusable skill:

  • /learn <path>, read a project/dir and build a skill for working with it
  • /learn <url>, read docs / an API page and build a usage skill
  • /learn what we just did, distill the current conversation's workflow
  • /learn + pasted notes, turn notes into a structured skill

If the user instead wants to find and install an existing community skill, that is a different task, this skill creates new skills, it does not import them.

Workflow

1. Identify the source, and whether this is a new skill or a refine

  • A path → read the code/files.
  • A URL → fetch and read the page.
  • "what we just did" / "this" → use the current conversation as the source.
  • Pasted text → use it directly.

Then check .claude/skills/ for an existing skill that already covers this topic (the user may name it, e.g. "update the wow-on-steam-deck skill", or the subject may obviously match one). If one exists, this is a REFINE, not a fresh create, go to step 4's "Refining" branch.

If it is ambiguous what the skill should do, ask one clarifying question before proceeding.

Read the whole SKILL.md on GitHub

More in AI and agents