llm-wiki
中文 | English
This repository is a knowledge base built in the spirit of Karpathy's LLM Wiki.
The goal is not one-shot RAG. The goal is to turn raw source material into a markdown wiki that the model maintains over time, with versioned history and automated patrols.
Start Here
- Knowledge index: index.mdindex.zh.md
- Maintenance schema: AGENTS.md
- Change timeline: log.md
Design Philosophy
These live in the wiki itself instead of being duplicated here:
Human Guides
Global Config
Machine configuration does not live in this repo.
The global config file is:
~/.llm-wiki/config.jsonThe two most important fields are:
rootThe llm-wiki content directoryschedulersThe named maintenance tasks and their intervals
Most Common Commands
Check automation status:
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py statusThis status view now shows each configured task, its lock, its last structured run state, and whether any active patrol has already run past its configured timeout.
Run all enabled patrols immediately:
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py run-nowRun only the daily taxonomy patrol:
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py run-now taxonomy_patrolReinstall the scheduled jobs:
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py installReorganize raw/ safely:
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/move_raw_sources.py --repo . --move raw/foo.md:raw/articles/foo.mdExtract OCR text from screenshots or local raw images:
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/extract_visual_sources.py --repo . --path raw/screenshots/foo.png --lang chi_sim+eng