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.

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active August 2, 2026 00:03
Conventional Commits Cheatsheet
@w0n-04
w0n-04 / code-html
Created May 31, 2026 21:55
code-loveyoou
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Do you love me?</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
@nefuv1
nefuv1 / animelovers.js
Last active August 1, 2026 23:07
AnimeLovers Scraper
const axios = require('axios');
class AnimeLovers {
constructor() {
this.client = axios.create({
baseURL: 'https://apps.animekita.org/api/v1.1.9',
headers: {
'user-agent': 'Dart/3.1 (dart:io)',
'accept-encoding': 'gzip',
'host': 'apps.animekita.org'
@awni
awni / open_code_mlx.md
Last active August 1, 2026 22:51
OpenCode with MLX

The following guide will show you how to connect a local model served with MLX to OpenCode for local coding.

1. Install OpenCode

curl -fsSL https://opencode.ai/install | bash

2. Install mlx-lm

@Nezteb
Nezteb / bw-ssh-import.sh
Last active August 1, 2026 22:51
Import existing SSH keys into Bitwarden via the CLI. Related to: https://github.com/bitwarden/clients/issues/18833
#!/bin/bash
# Usage: ./bw-ssh-import.sh "My SSH Key Name" ~/.ssh/id_ed25519 ~/.ssh/id_ed25519.pub
# Requires `bw` and `jq`.
NAME=$1
PRIVATE_KEY_PATH=$2
PUBLIC_KEY_PATH=$3
if [[ -z "$NAME" || -z "$PRIVATE_KEY_PATH" || -z "$PUBLIC_KEY_PATH" ]]; then
@dusenberrymw
dusenberrymw / mwd.sleepMac.plist
Last active August 1, 2026 22:01
Automatically force OS X / macOS to sleep when the battery is low (script + plist).
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>mwd.sleepMac</string>
<key>ProgramArguments</key>
<array>
<string>/path/to/sleepMac.sh</string>
</array>
@brunobertolini
brunobertolini / busca-imoveis.md
Created July 23, 2026 17:33
Buscador de imóveis com mapa, marcações e multi-portais

Copie tudo daqui pra baixo e cole no Claude (Cowork). Antes de enviar, preencha o bloco FILTROS. Se você deixar algum campo em branco, o assistente vai te perguntar antes de começar.


⬇️ PREENCHA AQUI (seus filtros)

FILTROS
- Objetivo: [alugar | comprar]
- Tipo de imóvel: [apartamento | casa | qualquer]