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.

133 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use open-gstack-browser, design-html 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.
  • 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 6 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 7 projects that use this

  • chloropineSkill

    setup-gbrain

    Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (cgstack)

    Also in 4 projects that use this

  • 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 3 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 3 projects that use this

  • chloropineSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

    Also in 4 projects that use this

  • +1 more from seek888
  • +5 more from TomGranot

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