agentleFS
zitdevszitdevs/vault-skills/skills/learn/SKILL.md

learn

Skill0 starsChanged 3 months agoMITView on GitHub

Capture something learned into the user's Obsidian vault in full detail, and optionally into a session-memory store as a short pointer, so it is recallable later. Use when they say learn this, study this, save what we learned, document this concept, remember this decision — or right after explaining a concept, debugging something non-obvious, or making a choice with real tradeoffs that would otherwise be lost when the session ends.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use add-anydoc, add-clidash and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TomGranotSkill

    add-anydoc

    Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when agents need to read attached Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV, or text-based PDF files without uploading them to a hosted parser.

    Also in 5 projects that use this

  • TomGranotSkill

    add-clidash

    Add clidash — a zero-dependency, read-only web dashboard that derives its tabs and tables at runtime from any CLI that lists resources as JSON. Ships pre-wired for NanoClaw's ncl CLI (agent groups, sessions, channels, users, roles), plus message-activity charts, a log tail, and a read-only file viewer for group skills/CLAUDE.md/profiles.

    Also in 5 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 14 projects that use this

  • MicrosoftSkill

    add-codex

    Use Codex (CLI + AppServer) as the full agent provider — planning, tool orchestration, native compaction, MCP tools, session resume — in place of the Claude Agent SDK. ChatGPT subscription or OPENAI_API_KEY. Per-group via agent_provider. Distinct from using OpenAI as an MCP tool (where Claude remains the planner).

    Also in 6 projects that use this

  • MicrosoftSkill

    add-deltachat

    Add DeltaChat channel integration via @deltachat/stdio-rpc-server. Native adapter — no Chat SDK bridge. Email-based messaging with end-to-end encryption.

    Also in 6 projects that use this

  • +5 more from TomGranot
  • +2 more from microsoft
  • Other versions193 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 193

    1. garrytan/gstack★ 143ksame name
    2. rohitg00/ai-engineering-from-scratch★ 81ksame name
    3. nanocoai/nanoclaw★ 31ksame name
    4. gavrielc/nanoclaw★ 31ksame name
    5. qwibitai/nanoclaw★ 31ksame name
    6. tigerless-labs/autoharness★ 11ksame name
    7. tw93/claude-health★ 7.7ksame name
    8. tw93/Waza★ 7.7ksame name
    9. nykooi1/vibe-wise★ 3.5ksame name
    10. HughYau/AcademicForge★ 2.6ksame name

    183 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 169 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If it belongs to the user rather than any entity — a principle, a standard, taste — tag it area/core, never the full list of entities.

    line 60
  2. Distinctive:

    If a note already covers it, update that note.

    line 76
  3. Distinctive:

    Follow the frontmatter schema in the vault's manual.

    line 80
  4. Very specific:

    Add it to its folder's index note (Knowledge/Knowledge.md, Decisions/Decisions.md, and so on).

    line 111
  5. Very specific:

    Add it to Index.md if it is an entry point or an area index.

    line 113
  6. Distinctive:

    If the topic needs studying first, study it, then capture.

    line 120
  7. Distinctive:

    If the vault already contradicts what was just learned, say so and reconcile it explicitly.

    line 122
  8. Distinctive:

    If it only matters to this conversation, say so and skip the vault.

    line 124

“Common” is measured: kept by at least 6 in 10 of the 169 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

Turn something learned into durable memory. Two places, two different jobs:

  • Obsidian vault — the full detail. Atomic, linked, human-readable, survives any tooling change. Always written.
  • Session memory (Engram, or whatever memory MCP is connected) — a short pointer so it surfaces fast in a later session, naming what was learned and where the detail lives. Optional; skip the step cleanly if no such tool is available.

The memory store never holds the detail. It holds enough to recall that the knowledge exists and to find it. Two full copies drift, and then neither is trustworthy.

Usage

/learn                      # capture what was just discussed
/learn <topic>              # study a topic, then capture it
/learn <topic> --area <entity>

Step 0 — Load the vault protocol

Invoke the brain skill, or read the manual directly:

VAULT="${OBSIDIAN_VAULT:-$HOME/Documents/Obsidian}"
bat --plain "$VAULT/CLAUDE.md"

It defines the note taxonomy, the area rules, the frontmatter schema, and the write protocol. It is authoritative — this skill does not restate those rules, it follows them.

Step 1 — Classify

The vault's manual defines the distinction between principle, process, and decision, and the destination for each note type. Apply it rather than guessing.

Codebase knowledge goes to the entity, not to Knowledge/. Learning how part of a repository works belongs in <Entity>/Engineering/ as type: knowledge with a repo: field — Knowledge/ is for concepts that outlive any one codebase. One note per subsystem, never one per PR. These accumulate: find the existing note with find-notes.sh '^repo: <name>$', append to it rather than creating a sibling, and bump updated:.

The one question that decides most cases: does this survive leaving that job or killing that project?

  • Yes → a cross-cutting folder, tagged with the relevant area/
  • No → the entity's own tree

If it belongs to the user rather than any entity — a principle, a standard, taste — tag it area/core, never the full list of entities. That list goes stale the moment a new client appears.

Step 2 — Search before writing

Both stores, always. Creating a near-duplicate is the failure mode that quietly degrades the whole system.

"${CLAUDE_PLUGIN_ROOT}/skills/brain/find-notes.sh" '<relevant tag>'
rg -i '<topic>' "$VAULT" --type md

Then search the session-memory store for the same topic, if one is connected.

If a note already covers it, update that note. Do not create a second one.

Step 3 — Write the vault note

Follow the frontmatter schema in the vault's manual. Then:

  • One note, one idea. Split rather than grow a dumping ground.
  • Link out with [[wikilinks]]. A note with no links is a dead note. Links to notes that do not exist yet are fine — they mark future work.
  • Write the operational form, not the definition. A note saying what a concept is teaches nothing on reread. Give it the shape the rest of the vault uses: the problem it solves, how it works in the user's own framing, the test that tells you whether you are applying it right, and where the boundary is — when not to use it.
  • Never delete a decision. Supersede it: set status: superseded and link the replacement.
  • Notes are written in English, regardless of conversation language, unless the vault's manual says otherwise.

Step 4 — Save the memory pointer

Short. It exists to make the vault note findable later, nothing more.

Include: what was learned in one or two sentences, the single key insight, and the vault path holding the detail. Tag it so it surfaces on a related question.

With Engram, that is mem_save with a type matching the content — architecture, convention, or similar. With another memory MCP, use its equivalent. With none connected, say so and move on; the vault note is the part that matters.

Step 5 — Wire it into the vault

An unlinked note is invisible. Before finishing:

  • Add it to its folder's index note (Knowledge/Knowledge.md, Decisions/Decisions.md, and so on).
  • Add it to Index.md if it is an entry point or an area index.
  • Link it from any related note it belongs next to.
  • Confirm it carries an area/ tag. Discovery is by frontmatter — an untagged note is invisible to /brain and therefore to every skill.

Rules

  • If the topic needs studying first, study it, then capture. Do not write a note from a definition you have not verified.
  • If the vault already contradicts what was just learned, say so and reconcile it explicitly. Do not write a second note that quietly disagrees with the first.
  • If it only matters to this conversation, say so and skip the vault. Not everything is durable, and a vault full of session noise is worse than a small one.
  • Report what was written and where — both paths, so it can be checked.

Download now (ZIP)

Does it work?

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

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.