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.

import android.graphics.Bitmap
import android.graphics.SurfaceTexture
import android.media.MediaPlayer
import android.view.Surface
import android.view.TextureView
import android.view.View
import androidx.compose.animation.core.LinearEasing
import androidx.compose.animation.core.RepeatMode
import androidx.compose.animation.core.animateFloat
import androidx.compose.animation.core.animateFloatAsState
@leocomelli
leocomelli / git.md
Last active July 1, 2026 17:47
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@nxfx21
nxfx21 / resetcrossovertrial.command
Last active July 1, 2026 17:47
Resets the CrossOver Trial. This script is only intended for educational purposes. This script is ONLY for macOS. THIS SCRIPT IS NOT FOR PIRACY.
#!/usr/bin/env zsh
printf "PT09IENyb3NzT3ZlciBUcmlhbCBSZXNldCBTY3JpcHQgPT09DQpbSU5GT10gVGhpcyBzY3JpcHQgaXMgb25seSBtZWFudCBmb3IgZWR1Y2F0aW9uYWwgcHVycG9zZXMuDQpbV0FSTklOR10gSWYgeW91IGRpZG4ndCBnZXQgdGhpcyBzY3JpcHQgZnJvbSBueGZ4MjEncyBHaXRIdWIgR2lzdCwgaXQgbWF5IGhhdmUgYmVlbiB0YW1wZXJlZCB3aXRoLiBJZiB5b3UgZGlkIGdldCB0aGlzIG9mZiBueGZ4MjEncyBHaXRIdWIgR2lzdCwgeW91IGFyZSBzYWZlLCBjYXJyeSBvbi4gQmUgY2F1dGlvdXMgd2hlbiBydW5uaW5nIG9ubGluZSBjb2RlLCBhbmQgYWx3YXlzIGNoZWNrIGlmIGl0IGRvZXMgYW55dGhpbmcgdGhhdCB5b3UgZG9uJ3QgbGlrZS4=" | base64 -D
echo "\n[LOG] Started at: $(date)"
# Check if Homebrew exists, install if needed
if ! command -v brew >/dev/null 2>&1; then
echo "[INFO] Homebrew not found. Installing Homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@TongDucThanhNam
TongDucThanhNam / generate-component-hierarchy.ts
Last active July 1, 2026 17:25
Mục đích chính của script là đọc code React/React Native (không cần chạy app) và vẽ ra một cái cây (ASCII tree) mô phỏng chính xác giao diện của bạn sẽ được render ra sao, các component lồng nhau thế nào, và chúng đang mang những class CSS/Tailwind gì ảnh hưởng đến Layout.
#!/usr/bin/env bun
import path from "node:path";
import { parseArgs } from "node:util";
import { parse } from "@babel/parser";
import traverseModule from "@babel/traverse";
const traverse = traverseModule;
// --- CLI CONFIGURATION ---
const HELP_TEXT = `Usage: bun generate-component-hierarchy.ts [options]

Hướng dẫn đăng ký tài khoản AWS (gói Paid) và khởi chạy EC2


PHẦN 1: Đăng ký tài khoản AWS (Paid Plan)

Bước 0: Chuẩn bị

Bạn cần có sẵn:

LLM Wiki — Schema

This wiki is a persistent, LLM-maintained knowledge base for research deep-dives. The LLM reads raw sources, builds interlinked markdown pages, and maintains cross-references and consistency. The human curates sources and directs analysis; the LLM does the bookkeeping.


Directory Layout

llm-wiki/
@EvgenyOrekhov
EvgenyOrekhov / A simple Docker and Docker Compose install script for Ubuntu.md
Last active July 1, 2026 16:34
A simple Docker and Docker Compose install script for Ubuntu

A simple Docker and Docker Compose install script for Ubuntu

Usage

  1. sh install-docker.sh
  2. log out
  3. log back in

Links