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 December 2, 2026 01:07
Conventional Commits Cheatsheet
@madduci
madduci / sysctl.conf
Created February 10, 2020 15:22
Linux kernel hardening: Kernel parameters with sysctl
###
### SYSTEM SECURITY ###
### Inspired from https://www.kmotoko.com/articles/linux-hardening-kernel-parameters-with-sysctl/
###
# Enable address Space Randomization
kernel.randomize_va_space = 2
# Restrict core dumps
fs.suid_dumpable = 0
@centricle
centricle / claude-code-spinner-words.md
Created March 22, 2026 05:20
The 106 words Claude Code uses while it thinks

If you watch the Claude Code CLI while it's working, you'll notice the spinner doesn't just say "thinking." It cycles through words like noodling, percolating, wibbling, and sauteeing.

The 106 Words Claude Code Uses While It Thinks

I've been staring at this thing for months. I'm guessing most people don't watch Claude think. I do. And at some point I realized someone at Anthropic hand-curated a taxonomy of 106 gerunds that have absolutely no business being this charming.

So I asked Claude to find the list. The source isn't in the open-source repo — that's docs, CI, and examples. The actual app ships as a compiled binary.

How I extracted it

@xikhar
xikhar / metroidvania-prompt.md
Created December 1, 2026 22:06
metroidvania-prompt

Build a high quality complete pixel style metroidvania game in the browser.

Platform and constraints: It should run in the browser. Graphics drawn using webgl. Gameplay engine built on top of webgl as well, no external libraries. you need to invent all the code to make and run the game great.

First part: Research. It needs to be a Metroidvania, so research on how they look like and what are the gameplay mechanisms, camera movements, world design, Techniques to build it. Webgl things to understand. study the existing games for some references. Read ENGINE section below for what more to research on that.

Second part: reference & Design. Use PIXELGAME.jpg in main-ref folder as the source of truth. Use available models on FAL MCP to generate more reference images as you need, or any video that you need. The first part of the process is to explore reference ideas and have a concrete plan of what to build, along with what it should look like. And the entire theme should be consistent across the game. generate mo

# Dictionary of common PE file sections and descriptions.
# Taken from here: http://www.hexacorn.com/blog/2016/12/15/pe-section-names-re-visited/
common_sections_dict = {".00cfg":"Control Flow Guard CFG section added by newer versions of Visual Studio", \
".apiset":"a section present inside the apisetschema.dll", \
".arch":"Alpha-architecture section", \
".autoload_text":"cygwin/gcc; the Cygwin DLL uses a section to avoid copying certain data on fork.", \
".bindat":"Binary data also used by one of the downware installers based on LUA", \
".bootdat":"section that can be found inside Visual Studio files; contains palette entries", \
".bss":"Uninitialized Data Section", \