Skip to content
Built 26/04/17 08:59commit 0e73818

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

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:

text
~/.llm-wiki/config.json

The two most important fields are:

  • root The llm-wiki content directory
  • schedulers The named maintenance tasks and their intervals

Most Common Commands

Check automation status:

bash
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py status

This 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:

bash
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py run-now

Run only the daily taxonomy patrol:

bash
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py run-now taxonomy_patrol

Reinstall the scheduled jobs:

bash
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/manage_launch_agent.py install

Reorganize raw/ safely:

bash
python3 /Users/bytedance/csh/llm-wiki/.codex/skills/llm-wiki/scripts/move_raw_sources.py --repo . --move raw/foo.md:raw/articles/foo.md

Extract OCR text from screenshots or local raw images:

bash
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