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.

@thiago-scherrer
thiago-scherrer / .md
Last active December 22, 2021 14:31
kops cms

Fix Right mouse instantly clicks first option in Firefox with i3

Go to about:config and set true ui.context_menus.after_mouseup

@thiago-scherrer
thiago-scherrer / luks.md
Last active May 26, 2021 12:46
crypto_LUKS unlock and mount

Install udisksctl:

sudo apt install udisks2

Unlock

sudo udisksctl unlock -b /dev/sdX
@thiago-scherrer
thiago-scherrer / unbound.md
Last active May 26, 2021 12:46
Setup unbound on raspberry PI

Install deps

sudo apt update && sudo apt install libssl-dev

Clone

git clone https://github.com/NLnetLabs/unbound.git
@thiago-scherrer
thiago-scherrer / github-app-jwt.sh
Created May 12, 2021 10:53 — forked from carestad/github-app-jwt.sh
Script to generate JWT for use with Github apps
#!/usr/bin/env bash
# Generate JWT for Github App
#
# Inspired by implementation by Will Haley at:
# http://willhaley.com/blog/generate-jwt-with-bash/
# From:
# https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting
thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@thiago-scherrer
thiago-scherrer / timezone-on-ubuntu.md
Last active December 22, 2021 14:48
How to set timezone on Ubuntu

List all time zones

timedatectl list-timezones

Set a timezone

@thiago-scherrer
thiago-scherrer / keybase.md
Last active February 11, 2020 16:23
keybase.md

Keybase proof

I hereby claim:

  • I am thiago-scherrer on github.
  • I am thiagoscherrer (https://keybase.io/thiagoscherrer) on keybase.
  • I have a public key ASAy3rXZ6YNp1pFy-xJuBzruG6K1TXBzdUCtSGh1ajo9Jwo

To claim this, I am signing this object: