agentleFS
qwibitaiqwibitai/nanoclaw/.claude/skills/learn/SKILL.md

learn

Skill31k starsChanged 9 days agoMITView on GitHub

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.)

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user instead wants to *find and install* an existing community skill, that is a different task — this skill creates new skills, it …

    line 21
  2. Distinctive:

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

    line 33
  3. Distinctive:

    Keep what is still correct.

    line 51
  4. Very specific:

    New skill?: Write .claude/skills/<kebab-name>/SKILL.md.

    line 56
  5. Very specific:

    If apply leaves anything behind, ship a REMOVE.md that fully reverses every change (no soft-disabled/commented-out removals).

    line 75
  6. Distinctive:

    If the skill adds an integration point in core code, add a test that goes red if the wiring is deleted or drifts.

    line 76
  7. Very specific:

    Write into .claude/skills/<name>/.

    line 80
  8. Distinctive:

    If feasible, dry-run the procedure the skill describes to confirm it is correct.

    line 81
  9. Very specific:

    Write .claude/skills/<topic>-setup/SKILL.md with the steps, file paths, and the gotchas hit along the way.

    line 90
  10. Distinctive:

    Keep skills focused — one capability per skill (mirrors the project's "one change per PR" rule).

    line 95

“Common” is measured: kept by at least 6 in 10 of the 162 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

2. Gather the material

  • Path: Glob the structure, Read the key files, Grep for the important entry points. Read enough to understand the repeatable procedure, not every line.
  • URL: WebFetch the page; pull out the concrete commands/steps, not the prose.
  • Conversation: re-read what was actually done — the commands, the gotchas, the decisions — and keep the parts that generalize.

3. Distill — find the reusable procedure

Strip the one-off specifics; keep the repeatable shape. A good skill answers: "Next time someone needs to do X, what are the exact steps, files, commands, and gotchas?" Capture:

  • the trigger / when-to-use,
  • the step-by-step procedure (commands, file paths, decision points),
  • the non-obvious gotchas that were hit — usually the most valuable part,
  • any scripts or templates worth shipping alongside.

4. Author the SKILL.md

Refining an existing skill? First Read the current .claude/skills/<name>/SKILL.md, then update it in place — do not blindly overwrite:

  • Keep what is still correct; weave the new learnings into the right sections.
  • Dedupe — don't append a near-duplicate step or a second gotcha that says the same thing.
  • Correct anything the new source proves stale (a changed path, command, or flag).
  • Preserve the existing name/folder and overall structure; the diff should read as a focused improvement, not a rewrite.

New skill? Write .claude/skills/<kebab-name>/SKILL.md.

Frontmatter (required):

---
name: <kebab-case, matches the folder>
description: "<what it does + when to use it + likely trigger phrases>"
---

description is what the agent reads to decide relevance — make it concrete and include the phrases a user would actually say.

Body: open with one paragraph on what the skill does, then a ## When to use section and a ## Workflow of numbered steps (the actual procedure). Use tables for command/file references, and add a short examples or troubleshooting section when the gotchas warrant it.

House authoring rules (from docs/skill-guidelines.md):

  • Additive, minimal reach-ins — prefer adding files; make the smallest possible edit to existing code, and only via single-line calls into skill-owned functions.
  • Instruction-only when possible — if Claude can do it by following prose plus existing tools, ship no code. These are the easiest skills to maintain and to merge.
  • If apply leaves anything behind, ship a REMOVE.md that fully reverses every change (no soft-disabled/commented-out removals).
  • If the skill adds an integration point in core code, add a test that goes red if the wiring is deleted or drifts.
  • Anti-patterns to avoid: separate VERIFY.md files, incomplete cleanup, raw SQL against core DBs, branch merges (use additive fetch), hand-maintained duplicate copies.

5. Place and verify

  • Write into .claude/skills/<name>/; confirm the folder name matches the name frontmatter and the YAML parses.
  • If feasible, dry-run the procedure the skill describes to confirm it is correct.
  • Tell the user the skill exists and how to invoke it (/<name>).

Example

/learn what we just did after a multi-step setup:

  1. Re-read the conversation's commands and gotchas.
  2. Distill the repeatable procedure.
  3. Write .claude/skills/<topic>-setup/SKILL.md with the steps, file paths, and the gotchas hit along the way.
  4. Report: "Created /<topic>-setup — invoke it next time to repeat this."

Notes

  • Keep skills focused — one capability per skill (mirrors the project's "one change per PR" rule).
  • The most valuable content is the gotchas, not the happy path.
  • This skill is prose and safe to re-run — use it again to refine an existing skill.

Download now (ZIP)

Trending

Quiet since July.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 15 mentionsMar 2026: 42 mentionsApr 2026: 7 mentionsMay 2026: 12 mentionsJun 2026: 2 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the qwibitai/nanoclaw repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about qwibitai/nanoclaw

The biggest 5 of 79 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 79

Talked about on GitHub, YouTube, Bluesky and Hacker News (79 times).

On GitHub · 50

45 more on GitHub

On YouTube · 22

17 more on YouTube

On Bluesky · 6

1 more on Bluesky

On Hacker News · 1

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.