lettuce wiki

~2 min read

lettuce wiki

Helper for the LLM-wiki pattern: a curated catalogue of links and notes, designed for both human reading and agent navigation.

lettuce wiki init [dir] [--force] [--agents]

lettuce wiki has exactly one subcommand, init. Ingesting sources, generating slides, and linting are top-level commands (lettuce ingest, lettuce slides, lettuce lint), not subcommands of wiki — see their own pages.

lettuce wiki init

lettuce wiki init [dir] [--force] [--agents]

Scaffolds a vault as a Karpathy-style LLM-wiki. Drops four files into dir (the current directory if omitted):

Existing files are skipped unless you pass --force.

With --agents, it also writes a tailored AGENTS.md (the file get_vault_info surfaces to agents, alongside CLAUDE.md). See Agent reference/09 AGENTS.md.

You’ll see:

Scaffolded LLM wiki in /path/to/vault:
  CLAUDE.md
  index.md
  log.md
  sources/README.md

(with AGENTS.md appended to the list when --agents is given). If every file already exists and --force is not set, it prints Wiki files already present in <path> (use --force to overwrite). Nothing written.