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.

@tiago-peres
tiago-peres / Import CSV Weight data into Garmin.md
Last active April 7, 2026 18:52
Import CSV Weight data into Garmin

I've used a Smart Scale since 2020 with its own app which eventually became Zepp Life.

Having acquired a Garmin a while ago, would be a pity to lose all that data.

The good news is that we can pull data from other accounts or activity trackers into Garmin Connect in the import page

https://connect.garmin.com/modern/import-data

So, I exported the Body data as CSV from Zepp Life.

@sderosiaux
sderosiaux / gist:1935fc288438d19ff00c9aca303b6f7a
Created April 1, 2026 14:30
Claude Code — spinnerVerbs fun config
{
"spinnerVerbs": {
"mode": "replace",
"verbs": [
"Being 73% sure",
"Confidently wrong",
"Hallucinating responsibly",
"Sampling from the void",
"Flipping weighted coins",
"I'll be back",
@jwodder
jwodder / rst-hyperlinks.rst
Last active April 7, 2026 18:50
All About reStructuredText Hyperlinks
#!/usr/bin/env bash
set -euo pipefail
# patch-claude-code.sh — Rebalance Claude Code prompts to fix corner-cutting behavior
#
# What this does:
# Patches the npm-installed @anthropic-ai/claude-code cli.js to rebalance
# system prompt instructions that cause the model to cut corners, simplify
# excessively, and defer complicated work.
#