LLM Wiki and Research Skill Graphs: Building a Personal Knowledge Engine
This article explains a shift from sharing environment-specific code to sharing portable idea files, then describes how an LLM-friendly personal wiki and a research skill graph combine into a closed-loop personal research engine. Readers get the storage model, retrieval constraints, a reusable research workflow, and practical rules for atomic notes, metadata, and write-back.
A paradigm shift: from sharing code to sharing ideas
Developers used to ship a practical tool as a cloneable repo, a package manifest, or a container image. Recipients still had to clone, configure, and debug before anything ran. That model assumed relatively uniform environments and treated code as the main asset.
When anyone can call an LLM agent, the assumption changes. Coding agents can read a natural-language description and generate an implementation that fits the local OS, editor, and workflow. The portable, reusable asset is no longer a particular codebase; it is the idea itself. A well-structured idea file (a creative brief or spec) can be pasted into any agent, which then builds a version matched to the current environment.
Two conclusions follow:
- Ideas are portable; code is environment-specific.
- Sharing an idea has far lower marginal cost than sharing and reproducing a full engineering project.
Idea files answer how to state a thought clearly. A knowledge base answers where ideas come from and how they accumulate. The two are complementary.
LLM Wiki: how knowledge is stored
An LLM Wiki organizes personal knowledge as a structured, model-friendly wiki rather than a pile of loose notes. It emphasizes three points:
- Local-first, plain-text storage. Knowledge lives in text files that are versionable, searchable, and portable, without proprietary formats.
- Atomic notes and links. Each item is a single-topic atomic note, connected with bidirectional links into a traversable knowledge graph.
- Machine-readable structure. Heading levels, metadata, tags, and links are normalized so agents can locate and cite material quickly.
A simplified layout and metadata example:
# Directory sketchwiki/concepts/ # conceptual atomic notespapers/ # literature notesprojects/ # project experienceindex.md # global index and entry point# Note front matter---title: Attention drifttags: [llm, context]links: ["context window", "retrieval augmentation"]updated: 2026-09-21---Body: a complete treatment of a single topic...
Knowledge is then not an archive that goes to sleep after it is saved, but a living graph agents can retrieve on demand and expand along links.
Research Skill Graph: how knowledge is used
Dumping a library into a prompt and asking a question often fails for two reasons:
- Limited context: the model cannot ingest the whole knowledge base at once.
- Attention drift: in long context, grasp of key facts decays.
A Research Skill Graph addresses both. Instead of stuffing raw material, it defines a reusable deep-research methodology that constrains agent behavior:
- Clarify the question: split a vague problem into verifiable sub-questions.
- Plan retrieval: use graph links to plan a path instead of reading everything.
- Layered evidence: start with indexes and summaries, then drill into atomic notes as needed, keeping context size under control.
- Cross-check: seek multiple sources for the same claim and mark disagreements.
- Structured output: emit conclusions, evidence chains, and uncertainty in a fixed template.
The idea is to constrain behavior with skills and constrain paths with the graph, countering the limits of context and attention.
Combining both: a personal knowledge research engine
Use the LLM Wiki as the storage and retrieval base, and the research skill graph as the scheduling layer for research behavior. Data flow:
Question→ Skill graph: clarify and decompose→ LLM Wiki: retrieve atomic notes along links (bounded context)→ Skill graph: cross-check and retrieve more if needed→ Structured research report (with evidence chain)→ Write new conclusions back to the LLM Wiki (closed loop)
A minimal skill definition (natural language plus constraints):
Skill: deep researchInput: a research questionSteps:1. Split the question into 3-5 sub-questions2. Start from wiki/index.md and follow links to related atomic notes3. Cite at least 2 notes per sub-question; mark conflicts4. Output: conclusions / evidence / uncertaintyConstraint: read at most N notes per turn; summaries before full text
Write-back creates compounding returns: each study becomes new atomic notes and links, the graph grows, and later retrieval gets more precise.
Implementation notes and practices
- Stay atomic: one topic per note to cut retrieval noise.
- Normalize metadata: consistent tags and link fields for machine parsing.
- Retrieve in small steps: index first, then drill down, to avoid context bloat.
- Require verification: put cross-checking in the skill constraints to reduce hallucination.
- Close the loop: research conclusions must flow back into the wiki.
- Stay environment-neutral: idea files and plain-text knowledge stay in formats that move across tools.
Closing
An LLM Wiki makes knowledge storeable and findable. A research skill graph makes it usable in depth and more trustworthy. Together they turn a static library into a personal research engine that keeps gaining value. When ideas travel better than code, this methodology outlasts any single tool.
