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.
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/.
| Folder | Role | Files |
|---|---|---|
| .claude | agent-config | 7 |
| assets | attachments | 1 |
| raw | raw-sources | 7 |
| scripts | scripts | 1 |
| templates | templates | 7 |
| wiki | wiki | 12 |
The agent reads
- raw/ evidence: CLAUDE.md
- wiki/ evidence: CLAUDE.md
- wiki/index.md evidence: CLAUDE.md
- .claude/settings.json evidence: CLAUDE.md
- CLAUDE.md evidence: README.md
The agent writes
- raw/ evidence: CLAUDE.md
- wiki/index.md evidence: CLAUDE.md
- wiki/log.md evidence: CLAUDE.md
- wiki/sources/ evidence: CLAUDE.md
- raw/clippings/ evidence: CLAUDE.md
- scripts/update-hot-cache.sh evidence: CLAUDE.md
Requirements
Databases: PostgreSQL
API keys (by name): X_BEARER_TOKEN, X_CLIENT_SECRET
Works with: Claude Code, OpenCode
Set it up
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"
Clone the repository at the commit AutoGineer scanned:
git clone https://github.com/shannhk/llm-wikid.git && cd llm-wikid && git checkout c01485f096d0b62644fdf165d5221c20f2b615f7Claude Code reads CLAUDE.md from this folder automatically.
cd llm-wikid && claude
AutoGineer scanned these files at commit c01485f.
- 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
- 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
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
- .claude/commands/autoresearch.md (not served here)
- .claude/commands/save.md (not served here)
- .claude/commands/wiki-explore.md (not served here)
- .claude/commands/wiki-ingest.md (not served here)
- .claude/commands/wiki-lint.md (not served here)
- .claude/commands/wiki-query.md (not served here)
- .claude/settings.json (not served here)
- .env.example (not served here)
- .gitignore (not served here)
- CLAUDE.md (not served here)
- README.md (not served here)
- assets/cover.png (not served here)
- raw/articles/.gitkeep (not served here)
- raw/assets/images/.gitkeep (not served here)
- raw/bookmarks/.gitkeep (not served here)
- raw/clippings/.gitkeep (not served here)
- raw/ideas/.gitkeep (not served here)
- raw/papers/.gitkeep (not served here)
- raw/x-archive/.gitkeep (not served here)
- scripts/update-hot-cache.sh (not served here)
- templates/concept.md (not served here)
- templates/entity.md (not served here)
- templates/output.md (not served here)
- templates/project.md (not served here)
- templates/sop.md (not served here)
- templates/source.md (not served here)
- templates/synthesis.md (not served here)
- wiki/concepts/.gitkeep (not served here)
- wiki/dashboard.md (not served here)
- wiki/entities/.gitkeep (not served here)
- wiki/hot.md (not served here)
- wiki/index.md (not served here)
- wiki/log.md (not served here)
- wiki/meta/dashboard.base (not served here)
- wiki/meta/program.md (not served here)
- wiki/outputs/.gitkeep (not served here)
- wiki/sops/.gitkeep (not served here)
- wiki/sources/.gitkeep (not served here)
- wiki/syntheses/.gitkeep (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 + metadataCLAUDE.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 networkCLAUDE.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
shannhk
- 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