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.

# OpenClaw Implementation Prompts
Each prompt below is a self-contained brief you can hand to an AI coding assistant (or use as a project spec) to build that use case from scratch. Adapt the specific services to whatever you already use — the patterns are what matter.
---
## 1) Personal CRM Intelligence
```
Build me a personal CRM system that automatically tracks everyone I interact with, with smart filtering so it only adds real people — not newsletters, bots, or cold outreach.
@jsefton
jsefton / stripe-currencies.php
Last active April 9, 2026 08:27
Stripe Currencies as PHP Array
<?php
$currencies = [
'AFN' => 'Afghan Afghani',
'ALL' => 'Albanian Lek',
'DZD' => 'Algerian Dinar',
'AOA' => 'Angolan Kwanza',
'ARS' => 'Argentine Peso',
'AMD' => 'Armenian Dram',
'AWG' => 'Aruban Florin',
@fbrosda
fbrosda / arch-core-6.3-1.patch
Created April 9, 2026 07:48
This is a copy of the latest version of the pi-hole archlinux packages, which were available on https://github.com/max72bra/ but seem to be gone there.
diff -uprN pi-hole-6.3/adlists.list pi-hole-6.3.cust/adlists.list
--- pi-hole-6.3/adlists.list 1970-01-01 01:00:00.000000000 +0100
+++ pi-hole-6.3.cust/adlists.list 2025-11-27 23:02:14.749384827 +0100
@@ -0,0 +1,4 @@
+https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
+https://mirror1.malwaredomains.com/files/justdomains
+https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
+https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
diff -uprN pi-hole-6.3/advanced/Scripts/database_migration/gravity-db.sh pi-hole-6.3.cust/advanced/Scripts/database_migration/gravity-db.sh
--- pi-hole-6.3/advanced/Scripts/database_migration/gravity-db.sh 2025-11-27 19:10:51.000000000 +0100
@arashkaffamanesh
arashkaffamanesh / vmware.md
Created January 3, 2025 11:22 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024