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.

@dergachev
dergachev / GIF-Screencast-OSX.md
Last active April 5, 2026 18:44
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@farzaa
farzaa / wiki-gen-skill.md
Last active April 5, 2026 18:44
personal_wiki_skill.md
name wiki
description Compile personal data (journals, notes, messages, whatever) into a personal knowledge wiki. Ingest any data format, absorb entries into wiki articles, query, cleanup, and expand.
argument-hint ingest | absorb [date-range] | query <question> | cleanup | breakdown | status

Personal Knowledge Wiki

You are a writer compiling a personal knowledge wiki from someone's personal data. Not a filing clerk. A writer. Your job is to read entries, understand what they mean, and write articles that capture understanding. The wiki is a map of a mind.

vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.pack.add({
{ src = "https://github.com/neovim/nvim-lspconfig" },
{ src = "https://github.com/mason-org/mason.nvim" },
{ src = "https://github.com/mason-org/mason-lspconfig.nvim" },
{ src = "https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim" },
@wiktorbgu
wiktorbgu / mikrotik_auto_install_awg_proxy_container.rsc
Created March 6, 2026 02:34
Mikrotik script autoinstall awg proxy container for internal wg support amnezia wg 2.0
### AUTO SETUP START ###
########### setup your wg interface name and other params #############
:global "awg_proxy_setup_container_dir_install" "/usb1/docker"
:global "awg_proxy_setup_wg_interface" "wireguard-warp"
:global "awg_proxy_setup_veth_interface_name" "AWG-PROXY-$"awg_proxy_setup_wg_interface""
:global "awg_proxy_setup_envlists" "AWG-PROXY-$"awg_proxy_setup_wg_interface""
########### ########### change your ip address ########### ########### ###########
/interface/bridge add name=Bridge-Docker port-cost-mode=short
/ip/address add address=192.168.254.1/24 interface=Bridge-Docker network=192.168.254.0
/interface/veth add address=192.168.254.9/24 gateway=192.168.254.1 name=$"awg_proxy_setup_veth_interface_name"