Generated banner for LLM Wikid
Generated logo for LLM Wikid

LLM Wikid

LLM wiki kit

First committed by shannhk

Published in shannhk/llm-wikid. Publisher page

433 GitHub stars

What it is

Karpathy-style LLM knowledge base for Obsidian. Clone, run Claude Code, start building your second brain.
— the description by shannhk

Summary from the brain’s metadata

Karpathy-style LLM knowledge base for Obsidian. Clone, run Claude Code, start building your second brain.

How it works

Memory model: LLM wiki

AutoGineer overview, from the brain’s own files

Memory model: LLM wiki. Folders: .claude (agent config, 7 files); assets (attachments, 1 file); raw (raw sources, 7 files); scripts (scripts, 1 file); templates (templates, 7 files); wiki (wiki, 12 files). The agent reads raw/, wiki/, wiki/index.md, .claude/settings.json, CLAUDE.md. The agent writes raw/, wiki/index.md, wiki/log.md, wiki/sources/, raw/clippings/.

Folders
FolderRoleFiles
.claudeagent-config7
assetsattachments1
rawraw-sources7
scriptsscripts1
templatestemplates7
wikiwiki12

The agent reads

The agent writes

Requirements

Databases: PostgreSQL

API keys (by name): X_BEARER_TOKEN, X_CLIENT_SECRET

Works with: Claude Code, OpenCode

Set it up

  1. This brain runs code automatically: 2 hooks (claude-code). Review .claude/settings.json before opening the folder in Claude Code. No step below turns a hook on for you.

    • .claude/settings.json: cat "$CLAUDE_PROJECT_DIR/wiki/hot.md" 2>/dev/null || true
    • .claude/settings.json: "$CLAUDE_PROJECT_DIR/scripts/update-hot-cache.sh"
  2. Clone the repository at the commit AutoGineer scanned:

    git clone https://github.com/shannhk/llm-wikid.git && cd llm-wikid && git checkout c01485f096d0b62644fdf165d5221c20f2b615f7
  3. Claude Code reads CLAUDE.md from this folder automatically.

  4. cd llm-wikid && claude

  5. AutoGineer scanned these files at commit c01485f.

  6. Not scanned by AutoGineerThe author’s MCP configuration (README.md) also starts it in a way AutoGineer does not offer. Read that file: AutoGineer did not scan that path; what it runs is listed under “This brain runs”. https://github.com/shannhk/llm-wikid/blob/c01485f096d0b62644fdf165d5221c20f2b615f7/README.md
  7. Not scanned by AutoGineerThe author’s README also describes installing it from a clone of its repository. Read its install section: AutoGineer did not scan that path. https://github.com/shannhk/llm-wikid/blob/c01485f096d0b62644fdf165d5221c20f2b615f7/README.md#quick-start
  8. First committed by shannhk. Published in shannhk/llm-wikid. Licence: No licence found — all rights reserved by the author.

Usage

AutoGineer’s guidance for this type of brain

Put your raw sources in the kit’s folder and ask your agent to maintain the wiki from them: the agent writes the markdown pages and you read them.

Documentation by shannhk

The licence does not allow AutoGineer to copy these files. Read the documentation at the source

39 files · 39 not served here

Advantages

  • Local-first: the memory stays in files or a database on your own machine (a rule-derived fact from the brain’s files, evidence: README.md)
  • Works with 2 MCP clients (a rule-derived fact from the brain’s files, evidence: README.md)
  • Plain markdown memory that you can read and edit yourself (a rule-derived fact from the brain’s files, evidence: wiki)

Limitations

  • Needs an API key (X_BEARER_TOKEN, X_CLIENT_SECRET) (a rule-derived fact from the brain’s files, evidence: README.md)
  • Needs a database (PostgreSQL) (a rule-derived fact from the brain’s files, evidence: README.md)
  • Runs code automatically: review what it runs before you open it (a rule-derived fact from the brain’s files)
  • Link-only: AutoGineer links to the files instead of serving them (a rule-derived fact from the brain’s files)

Security

Risk level: Medium risk

This brain runs

Agent instructions that run or fetch something (9)

  • .claude/commands/autoresearch.md: For each URL, fetch content using the right tool (WebFetch for general web, `yt-dlp` for YouTube if installed, `scrapling` CLI for complex sites if installed). · uses the network
  • .claude/commands/autoresearch.md: If `qmd` is installed, run `qmd update && qmd embed`.
  • .claude/commands/autoresearch.md: REPORT: Final summary to the user: topic, rounds run, sources fetched, pages created, the synthesis page path, and the 3 biggest open questions remaining.
  • .claude/commands/save.md: STEP 6 - QMD (optional): If `qmd` is installed (`command -v qmd`), run `qmd update && qmd embed` so the new page is searchable.
  • .claude/commands/wiki-ingest.md: YouTube URL (youtube.com, youtu.be): run yt-dlp to get transcript + metadata
  • CLAUDE.md: you execute compilation, maintenance, and queries.
  • CLAUDE.md: If video/image attached, also `yt-dlp` for video and download images | | Web URL / Reddit URL | `scrapling` | Page content, title, author, date | | PDF file (.pdf) | Read directly / `summarize` CLI | Full text extraction | | Bookmark dump (list of URLs) | Parse each URL, resolve indivi …[+103 chars] · uses the network
  • CLAUDE.md: | Tool | Install | Auth | |------|---------|------| | `yt-dlp` | `brew install yt-dlp` | None | | `scrapling` | `pipx install scrapling` | None | | X API | Official API (OAuth 2.0) | Bearer token + client credentials in `.env` (optional) | | `summarize` (optional) | `brew install steipe …[+26 chars]
  • CLAUDE.md: Run bias check: add counter-arguments and data gaps sections

Hooks (2)

  • .claude/settings.json (SessionStart): cat "$CLAUDE_PROJECT_DIR/wiki/hot.md" 2>/dev/null || true
  • .claude/settings.json (Stop): "$CLAUDE_PROJECT_DIR/scripts/update-hot-cache.sh"

MCP servers (1)

  • README.md (qmd): qmd mcp
  • Medium risk: runs-instruction-instruction-network (.claude/commands/autoresearch.md:19)
  • Medium risk: runs-instruction-instruction-network (CLAUDE.md:86)
  • Low risk: scripts-present (scripts/update-hot-cache.sh)

Attribution and licence

First committed by
GitHub avatar of shannhkshannhk
Publisher
Shann (Community)
Source
shannhk/llm-wikid · commit c01485f
Licence
No licence found — all rights reserved by the author (The licence does not allow AutoGineer to copy these files.)
Synced
Contributors
shannhk

AutoGineer is not affiliated with or endorsed by shannhk.

Install from source

The licence does not allow AutoGineer to copy these files. shannhk/llm-wikid at c01485f