opsUpdated 2026-04-10

ops

Codex Obsidian LLM wiki loop

This is the concrete local adaptation of the LLM wiki pattern for Shanepedia. Obsidian is the browsing IDE. Codex is the maintainer and operator. The markdown wiki is the durable compiled knowledge layer between raw inputs and future questions.

Core adaptation

The workflow is not "upload files and ask a question." It is:

  1. collect or ingest raw source material
  2. compile it into source summaries, topic pages, entity pages, project pages, maps, or dashboards
  3. browse the results in Obsidian
  4. ask new questions from the improved wiki
  5. write the best answers back into the wiki so the system compounds

That makes Codex closer to a programmer maintaining a codebase than a chatbot answering from scratch each time.

Roles in this stack

Why this is a fit for us

This pattern matches how Shanepedia already wants to work:

Difference from ordinary RAG

Ordinary RAG re-discovers fragments at query time. This loop compiles durable understanding forward. Cross-links, contradictions, reusable answers, and project hypotheses should already exist in the wiki before the next question arrives.

Codex operating contract

When Codex is working against Shanepedia:

Typical local loop

cd /Users/bestrobot/.openclaw/workspace/projects/shanepedia
open -a Obsidian "$PWD"
python3 scripts/wiki/query_wiki.py "query text"
scripts/wiki/grep_wiki.sh term
python3 scripts/wiki/update_index.py
python3 scripts/wiki/lint_wiki.py
python3 scripts/wiki/build_site.py

Good durable outputs

Questions should often resolve into one of these:

Product angle

For Shanepedia Studio, this is not only an internal method. It is part of the offer. The deliverable is a maintained founder/operator wiki that compounds context over time and becomes an operating system for projects, research, travel, contacts, and execution.

Short rule

Obsidian is the IDE. Codex is the programmer. The wiki is the codebase. Raw sources are the dependency graph.