agentleFS
ignromanovignromanov/llm-obsidian-wiki/SKILL.md

llm-obsidian-wiki

Skill17 starsChanged 6 months agoMITView on GitHub

Karpathy's LLM Wiki pattern as a Claude Code plugin — agent-first edition. Four task-oriented agents (Researcher / Advisor / Curator / Scribe) maintain a structured Obsidian vault that compounds knowledge across sessions. Privacy-first, local-only by default, citations + confidence + supersession baked in. Keywords: llm-wiki, obsidian-plugin, knowledge-base, claude-code, pkm, llm-memory, agent-first.

  • Installs packages

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    All agents on model: sonnet.

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

LLM Obsidian Wiki — agent-first edition

Karpathy's LLM Wiki pattern, as a Claude Code plugin. Four task-oriented agents maintain a persistent, citation-backed knowledge base in your Obsidian vault that grows smarter every session.

Agents

AgentPersonaWhen to invoke
wiki-researcherField researcher-archivist. Karpathy-style: compile knowledge once with provenance"research X", "investigate Y", "build write-up about Z"
wiki-advisorSenior consultant. Reads only wiki/, always cites with [[wikilinks]]"what did we decide about X", "answer from wiki", "what does the wiki say"
wiki-curatorLibrarian-archaeologist. Lint, drift detection, supersession, hub split, schema migration"clean up the wiki", "audit health", "fix issues", "migrate schema"
wiki-scribeCourt-reporter. Passive intake — preserves verbatim, no interpretation"save this URL/PDF/clipboard", "save this"

All agents on model: sonnet. Sequential / flag-and-continue communication.

Slash commands

  • /wiki:init — scaffold a new vault
  • /wiki:status — quick metrics

Skills (internal — invoked by agents)

capture / research / answer / audit / maintain / migrate / init

What's new in v0.4.0

  • Agent-first UX — talk to the system in natural language; Claude triggers the right agent
  • Extended personas with voice / vocabulary / anti-patterns / litmus tests
  • Sonnet-only for token economy
  • defuddle → trafilatura → r.jina.ai privacy-first web→md stack (cloud opt-in)
  • hot.md rolling 500-word session cache
  • Tree topology lints — index ≤100 links, hubs ≤15 members
  • Confidence + supersession in frontmatter
  • Claim-level citations with raw quotes and anchors
  • Forgetting curve for stale-page detection

Install

/plugin marketplace add ignromanov/llm-obsidian-wiki
/plugin install llm-obsidian-wiki@ignromanov

Required CLI tools (one-time):

npm i -g defuddle-cli
uv tool install trafilatura

Quick start

/wiki:init                              # scaffold new vault
"research nextjs auth options"          # wiki-researcher will pick up the request
"what did we decide about auth?"        # wiki-advisor answers with cites
"clean up the wiki"                     # wiki-curator audits + fixes
"save this URL: ..."                    # wiki-scribe captures

Migration from v0.3.0

${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.3.0-to-v0.4.0/migrate.sh --vault /path/to/vault

See docs/migration-v0.3.0-to-v0.4.0.md for details.

Philosophy

  • Privacy > features — local-only by default, cloud opt-in only
  • Files > databases — plain markdown, greppable, git-versioned
  • Compound > retrieve — compile once, never re-derive
  • Agents > slash commands — say what you want, not how to do it

License

MIT

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.