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.

@johnsoncodehk
johnsoncodehk / CLAUDE.shareable.md
Last active June 8, 2026 00:12
Working principles for an AI coding agent (Claude Code CLAUDE.md) — decide by correctness not ROI; fix bugs at the architectural root, not the symptom

To adopt: copy the block below into your ~/.claude/CLAUDE.md.

## How to decide what to do

Judge every piece of work by whether it **should** be done — is it correct, is the current state wrong or inconsistent, does it serve the goal — and **never by ROI, cost, effort, or "is it worth it."** Do not label a known-wrong thing "low-value," "marginal," "an edge case," or "not worth it" to justify leaving it unfixed; reasoning by ROI is exactly what keeps work mediocre. ("The reference / competitor also gets it wrong" is a *gap* argument, not a correctness one — it never makes a wrong thing acceptable.)

The only valid reason to stop short of doing the right thing is that it **provably cannot** be done — a demonstrated limit of the model or tools, not an assumed or cost-based one. "Hard," "heavy," "expensive," or "a lot of work" is never a reason to stop; "proven impossible / blocked" is. When unsure which it is, find out — try it, measure it, prove it — before deciding, and never declare a limi
@SirSamiboi
SirSamiboi / tower_info.txt
Last active June 8, 2026 00:01
A list of all canon EToH towers, alongside relevant information, used for the etoh-pp project
# Format:
# Full tower name / Abbreviation / Difficulty / Badge ID / Badge ID in old place (optional)
# Purgatorio
Tower of Genesis/ToG/1.00/2998040866283977
Tower of Motion Evolution/ToME/1.46/1180657673680675
Tower of Buttons/ToB/1.48/1792274219914148
Tower of Critical Damage/ToCD/1.93/1985325594898930
Tower of Boost Mayhem/ToBM/2.00/2424222337564254
@taskylizard
taskylizard / fmhy.md
Last active June 8, 2026 00:00
/r/freemediaheckyeah, in one single file (view raw)

Исходные данные: роутер имеет адрес 192.168.1.1, tor и i2pd подняты на 192.168.1.10 (если роутер достаточно мощный, можно поднять их прямо на нём, соответственно скорректировав адреса)

В LEDE для загрузки списка заблокированных доменов проще всего использовать поставляемую по умолчанию утилиту uclient-fetch. Необходимо лишь добавить ей поддержку SSL:

opkg update
opkg install libustream-mbedtls

Впрочем, вы можете использовать wget или curl, если предпочитаете. Особенности wget см. ниже.

@ajmeese7
ajmeese7 / setup-claude-memory.sh
Created June 7, 2026 23:50
Store Claude Code's memory in version control
#!/usr/bin/env bash
# Point Claude Code's auto memory at the repo's committed memory directory.
#
# Claude stores per-project auto memory under ~/.claude/projects/<repo>/memory by
# default, which lives outside the repo and does not travel across machines. This
# repo commits its memory to .claude/memory instead. The official `autoMemoryDirectory`
# setting (https://code.claude.com/docs/en/memory) redirects auto memory there.
#
# That setting must be an absolute path, so it cannot be committed (the repo path
# differs per machine). This script writes it to the gitignored .claude/settings.local.json,
@madebydia
madebydia / iMessage-codex-prompt.md
Created June 7, 2026 12:02
iMessage Codex via BlueBubbles

Copy/paste this prompt into Codex on a Mac that can reach a BlueBubbles server. It describes the setup I want Codex to build and verify. Replace placeholders before running it.

Set up a private "iMessage Codex" bridge on this Mac.

Goal
- I want to text Codex over iMessage through BlueBubbles.
- Allowed inbound iMessages should be forwarded to Codex with no command prefix.
@win0err
win0err / install-apple-emoji.md
Last active June 7, 2026 23:50
💃 Apple Emoji on Linux

Install Apple Color Emoji on Linux

  1. Download font.
mkdir ~/.local/share/fonts/
wget https://github.com/samuelngs/apple-emoji-linux/releases/latest/download/AppleColorEmoji.ttf -O ~/.local/share/fonts/AppleColorEmoji.ttf
# or system-wide to /usr/share/fonts/AppleColorEmoji/, for example
  1. Put Apple Color Emoji on the 1st place in /etc/fonts/conf.d/60-generic.conf: