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.

@andyrbell
andyrbell / scanner.sh
Last active June 21, 2026 18:31
Make a pdf look scanned using ImageMagick
# use ImageMagick convert
# the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf
convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf
@k16shikano
k16shikano / SKILL.md
Last active June 21, 2026 18:29
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@denilsonsa
denilsonsa / List of alternative launchers for Android TV.md
Last active June 21, 2026 18:24
List of alternative launchers for Android TV

This was originally shared on reddit, but for some reason I cannot update it anymore. I've now mirrored it as this GitHub Gist.

List of alternative launchers for Android TV

For whatever reason, it's really difficult to discover alternative launchers for Android TV. Sure, you can find a couple of them, but there are so many terrible results that you will end up wasting quite some time.

Thus, I've compiled this list of alternative Android TV launchers. It's not comprehensive (I'm certain I missed some, please suggest them in comments); I'm not endorsing any particular one; and I have not tried all of them. Some are free, some are paid. Some contain ads. Some contain IAP (in-app purchases). Some require too many intrusive permissions.


@mignonstyle
mignonstyle / git-command-cheatsheet.md
Last active June 21, 2026 18:20
Git and GitHub command cheatsheet

Git and GitHub command cheat sheet

init

Creating a local repository

$ git init
@nezvers
nezvers / Platformer obstacle types.txt
Last active June 21, 2026 18:17
Collection of obstacle ideas for platformer games.
Springs - can be used as trap to throw at spike.
Dissapearing block - block that dissapears after landing on it or oscilates over time.
Abyss/ lava - mario abyss or static "floor is lava".
Air fan - constant speed added to the player (horizontal, vertical).
Spikes - visible and trap like.
Saw blades - static and moving.
Falling stuff - falling rocks or thing when player is under it.
Moving floor - factory assembly line floor.
Air current - lifting player up to certain height.
Raising lava - climbing floor of lava.