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.

@sbyx
sbyx / notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml
Last active September 21, 2026 22:24
Home Assistant Blueprint: Notify or do something when an appliance like a dishwasher or washing machine finishes
blueprint:
name: Appliance has finished
description: Do something when an appliance (like a washing machine or dishwasher)
has finished as detected by a power sensor.
domain: automation
input:
power_sensor:
name: Power Sensor
description: Power sensor entity (e.g. from a smart plug device).
selector:
@markasoftware
markasoftware / enterprise_token.rb
Last active September 21, 2026 22:16
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################
@FikriRNurhidayat
FikriRNurhidayat / Slow-Steam-Download-Speed-Linux.md
Last active September 21, 2026 22:16
Steam Download Speed Issue on Linux
@qnblackcat
qnblackcat / README.md
Last active September 21, 2026 22:14
Downloading older versions of iOS apps using ipatool

Downloading older versions of iOS apps using ipatool

👉 ipatool is an open-source tool developed by Majd, a highly trustworthy and talented developer in the iOS community. Recently, ipatool got a significant update that allows users to easily download older versions of iOS apps on macOS/Windows/Linux!.

👉 Since ipatool doesn't have a graphical user interface (GUI), some of you might think it's tricky to use. But trust me, it's not! Here's a simple guide if you're still a bit scared of the terminal. (Tbh, everything in this *guide can be found on ipatool's repo)

👉 Note: You need to log into your Apple ID via ipatool for the tool to work. Unless you prioritize security above all, you can trust logging into your Apple account with ipatool. As explained earlier, it’s an open-source tool developed by a well-known and reliable developer, minimizing security risks to the lowest level.

53 things from ~4 months of running an agent harness in production.

iii, the engine that powers the harness, is really cool too: https://iii.dev/docs/install

  • crash mid tool call left a dangling call with no result that poisoned every later request workers#507 workers#630
  • resumed turn raced the worker booting and called a function that wasn't registered yet workers#507
  • no durable queue for turns so wedged ones sat in running forever workers#464
  • cut stream parsed as null args and got reported as a successful empty turn workers#878
  • seven providers treating any connection close as done workers#878
  • cached tokens double billed on six providers workers#740
@JGalego
JGalego / rljf_grpo.py
Last active September 21, 2026 22:45
RLJF = RLHF - Humans + Jev 🎰 GRPO fine-tuning with TypeSafe's Jev as the reward model
# /// script
# requires-python = ">=3.10"
# dependencies = [
# "trl>=1.13", "peft>=0.21", "transformers>=5.0", "datasets>=4.0",
# "accelerate>=1.0", "torch>=2.4", "typesafe-sdk>=0.7", "python-dotenv>=1.0",
# ]
# ///
"""RLJF: GRPO fine-tuning with TypeSafe's Jev as the reward model.
@jadilson12
jadilson12 / vscode.md
Last active September 21, 2026 22:11
Todos os atalhos do VS Code

Geral

  • Ctrl + Shift + P, paleta de comando F1 Show
  • Ctrl + P Quick Open, vá para o arquivo ...
  • Ctrl + Shift + N Nova janela / instância
  • Ctrl + Shift + W Fechar janela / instância
  • Ctrl +, configurações do usuário
  • Ctrl + K Ctrl + S Atalhos de teclado
@lattner
lattner / TaskConcurrencyManifesto.md
Last active September 21, 2026 22:06
Swift Concurrency Manifesto