Skip to content

Instantly share code, notes, and snippets.

@hiyukoim
hiyukoim / llm-wiki.md
Created April 10, 2026 12:09 — forked from karpathy/llm-wiki.md
llm-wiki

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.

@hiyukoim
hiyukoim / gist:121273fbded5f1d4ad6d8fca312a1835
Last active March 17, 2026 02:18
Userscript for Tasks.md: Adds a board switcher, n8n sync button, and automatic today/overdue alerts. (https://github.com/BaldissaraMatheus/Tasks.md)
// ==UserScript==
// @name Tasks.md Plus
// @description Adds a board switcher with background due date alerts and a customizable webhook sync.
// @match https://YOUR-TASKS-DOMAIN-HERE.com/*
// @version 1.5
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_registerMenuCommand
// @updateURL https://gist.githubusercontent.com/hiyukoim/121273fbded5f1d4ad6d8fca312a1835/raw/Tasks.md%2520Plus
// @downloadURL https://gist.githubusercontent.com/hiyukoim/121273fbded5f1d4ad6d8fca312a1835/raw/Tasks.md%2520Plus
@hiyukoim
hiyukoim / copy-of-install-ghost-for-free-on-fly-io.ipynb
Last active September 14, 2024 17:06
copy-of-install-ghost-for-free-on-fly-io.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
### Keybase proof
I hereby claim:
* I am hiyukoim on github.
* I am hiyukoim (https://keybase.io/hiyukoim) on keybase.
* I have a public key whose fingerprint is 94A8 C849 457B 7DDF CAB4 7F35 5DA4 5964 C3F7 1625
To claim this, I am signing this object: