Personal research wiki that ingests papers, PDFs, and slides into a linked knowledge graph
From README links · today
Drop documents in raw/ and an agent builds a compounding interlinked wiki.
What they did
They cloned the llm-wiki-agent repo and opened it in Gemini CLI, which reads GEMINI.md to pick up the skill's instructions. Instead of writing notes by hand, they dropped a batch of source documents — a couple of arXiv-style markdown papers, a PDF report, and a PPTX deck — into the raw/ folder. They then issued natural-language triggers like "ingest raw/papers/attention-is-all-you-need.md" and "ingest report.pdf slides.pptx", letting the agent auto-convert the non-markdown files via markitdown before reading them. The agent extracted entities (people, companies, projects) and concepts (ideas, frameworks, methods), created one summary page per source under wiki/sources/, and cross-linked everything with [[wikilinks]]. After a few ingests they ran "query: what are the main themes?" to get a synthesized answer, which the agent filed back as a page under wiki/syntheses/. They also ran "lint" to surface orphan pages and contradictions, and "build graph" to generate graph/graph.html, which they opened in a browser to see the vis.js visualization with community-detection clusters.
How it went
The wiki accumulated across sessions with no manual writing: overview.md was revised on each ingest, entity and concept pages were auto-created and updated, and contradictions between sources were flagged at ingest time rather than buried. The graph.html visualization rendered cleanly in the browser and made the most-connected nodes obvious. Lint reports usefully pointed at orphan pages and suggested sources to fill gaps. Overall it felt like a working prototype rather than a polished product — the output quality depends heavily on the source documents and the agent's judgment.
Worth knowing
Requires an agent that reads a config file (Claude Code, Codex, Gemini CLI, or similar) — there is no standalone CLI or API. Slash commands like /wiki-ingest are Claude Code-specific; other agents rely on natural-language triggers. Non-markdown conversion depends on markitdown being available. There is no built-in retrieval index or citation-checking, so query answers are synthesized from whatever pages exist, and quality varies with how well the agent extracted entities. No tests or evaluation harness are included.
Wiring
Order of operations: clone the repo, cd into it, and launch the agent (gemini, claude, codex, or opencode) so it loads the config file (GEMINI.md, CLAUDE.md, or AGENTS.md). Place source documents in raw/. The agent reads the config to learn the ingest/query/lint/build-graph triggers. On ingest, non-markdown files are converted to .md via markitdown, then the agent parses the text, extracts entities and concepts, writes a source summary page, updates or creates entity/concept pages, revises wiki/overview.md, appends to wiki/log.md, and updates wiki/index.md. Wikilinks between pages form the edges used by build graph, which writes graph/graph.json (SHA256-cached) and graph/graph.html for vis.js rendering. No API keys or Python setup are required beyond the agent itself and markitdown for conversion.
Try it yourself
Clone https://github.com/SamurAIGPT/llm-wiki-agent into this workspace and open it with Gemini CLI so it reads GEMINI.md. Then: (1) create a raw/ folder and drop in 3-5 source documents (markdown, PDF, or PPTX); (2) run "ingest" on each file, letting the agent auto-convert non-markdown formats; (3) after ingesting, run "query: what are the main themes across these sources?" and confirm the answer is filed under wiki/syntheses/; (4) run "lint" and report any orphan pages or contradictions; (5) run "build graph" and open graph/graph.html to inspect the knowledge graph. Summarize what pages were created and which nodes are most connected.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-gemini-cli-and-llm-wiki-agentcurl -s https://api.runchr.com/api/recipes/runchr/stack-gemini-cli-and-llm-wiki-agent/manifestSystem prompt
You are an agent that builds and maintains a persistent, interlinked research wiki from source documents dropped into raw/. Follow the llm-wiki-agent skill's instructions loaded via the config file, and use the gemini-cli agent to run ingest, query, lint, and build-graph operations on request.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-gemini-cli-and-llm-wiki-agent/manifest.