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.

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {
@graysonchen
graysonchen / pi-dev-guide.md
Created March 23, 2026 18:07
Pi (pi.dev) — 终端 AI 编程助手使用指南
@mouseos
mouseos / HUAWEI-m-remote-api-m220-dtv01-claude.md
Last active July 19, 2026 01:54
HUAWEI m-remote api解析

Huawei TV Box API 一覧

  1. アプリケーション制御

アプリ起動

curl -X POST http://[IPアドレス]:8080/huawei-remote?cmd=startapp
-H "App-Name: [パッケージ名]"

アプリ制御

curl -X POST http://[IPアドレス]:8080/huawei-remote?cmd=app_control \

@cowboy
cowboy / abstraction-2020.js
Last active July 19, 2026 01:30
Abstraction.js 2020 Edition (ES6)
/*
* Abstraction.js 2020 Edition
*
* Copyright (c) 2020 "Cowboy" Ben Alman
* Licensed under the MIT license.
* http://benalman.com/about/license/
*/
let $elseif, $else, $if = state => state ? (
$elseif = () => () => {},
@mary-ext
mary-ext / bluesky-osa.md
Last active July 19, 2026 01:25
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access, prompting users to verify their age through Epic Games' Kids Web Services before they can access adult content.

This sucks, but thankfully there are ways to work around it.

Before diving in: I encourage you to read this entire document, including the

127.0.0.1 us.rdx2.lgtvsdp.com
127.0.0.1 us.info.lgsmartad.com
127.0.0.1 us.ibs.lgappstv.com
# 127.0.0.1 us.lgtvsdp.com
127.0.0.1 ad.lgappstv.com
127.0.0.1 smartshare.lgtvsdp.com
127.0.0.1 ibis.lgappstv.com
# added after fork
# from https://www.reddit.com/r/pihole/comments/6qmpv6/blacklists_for_lg_webos_tvs/ and others
@ocombe
ocombe / README.md
Last active July 19, 2026 00:51
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@ConduciveMammal
ConduciveMammal / debug.liquid
Created November 13, 2025 13:21
Liquid Debug Snippet
{%- doc -%}
Outputs the provided Liquid value to the browser console for debugging.
@param {string} [title] - Optional label for the instance
@param this - The instance content to debug
@param {boolean} [json] - If true, also logs a parsed JSON version of the instance
@example
{% render 'debug', this: shop.metafields.services.title, json: true %}
{% render 'debug', this: product.images, json: false %}