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.

@bahamas10
bahamas10 / termcap.bash
Last active April 22, 2026 10:39
Colorize Manpages on the Terminal
# annotated by dave eddy (@yousuckatprogramming)
# explained - https://youtu.be/D0sG2fj0G4Y
# borrowed heavily from https://grml.org
# Begin blinking text mode
# I just use bold red here since my terminal has blinking disabled
export LESS_TERMCAP_mb=$'\e[1;31m'
# Begin bold text mode
export LESS_TERMCAP_md=$'\e[1;31m'
@boukendesho
boukendesho / Solve_the_three_dot_tray_icon_problem_in_the_keepassXC_snap.md
Last active April 22, 2026 10:34
Solve the three dot tray icon problem in the keepassXC snap
  1. Go to the keepassXC snap icon directory
cd /snap/keepassxc/current/usr/share/icons/hicolor/scalable/apps
  1. Copy all the icon files to system wide icon directory
sudo cp * /usr/share/icons/hicolor/scalable/apps/
@jinjier
jinjier / javdb-top250.md
Last active April 22, 2026 10:33
JavDB top 250 movies list. [Updated on 2026/01]

From Zero to OpenClaw on Proxmox LXC (Debian 13): A Real-World Build Log

I wanted a self-hosted OpenClaw deployment on Proxmox, reachable on my LAN, with:

  • Gemini API key support
  • Gemini CLI OAuth (Google AI Pro)
  • Telegram bot integration
  • Brave Search API integration
  • Browser tool support in an LXC
  • OpenRouter free model option (without Gemini CLI install)
@loilo
loilo / redirect-to-english.js
Last active April 22, 2026 10:32
Userscript: Redirect Website to its English Version
// This userscript redirects you to the English version of a website if it's denoted in the source code.
// Insert any URLs of websites below (after @match), for example https://developer.mozilla.org/* or https://www.php.net/*
// Use multiple @match clauses to enable the script on several domains.
// ==UserScript==
// @name Redirect to English
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Redirect websites to their English version
// @author Florian Reuschel <[email protected]>