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.

@dr-robert-li
dr-robert-li / CLAUDE-template.md
Last active June 2, 2026 22:54
Claude Code Template for Comprehensive Strategic Analysis

Claude Code Strategic Analysis Template

Disclaimer

This strategic plan represents proposed recommendations and the author's professional opinion only. It is not an official or authoritative document and has not been formally adopted, and requires review and approval.

Project Overview

This template provides a framework for creating executive-ready strategic analysis documents that combine rigorous research methodology with clear, actionable insights. The template ensures strategic recommendations are evidence-based while remaining accessible for senior leadership decision-making.

Initial Clarification Requirements

Product Year Version Product Keys
Visual Studio 2026 18.x
Professional: NVTDK-QB8J9-M28GR-92BPC-BTHXK
Enterprise: VYGRN-WPR22-HG4X3-692BF-QGT2V
https://x.com/massgravel/status/1988306014371008542
Visual Studio 2022 2021 17.x Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
Enterprise:
@Saik0s
Saik0s / codex-eu-computer-use.md
Created May 9, 2026 20:58
Unlock Computer Use plugin in Codex.app for EU / region-locked accounts (in-place asar patch)

Unlock Computer Use in Codex.app (EU / region-locked accounts)

OpenAI's Codex desktop app ships with a Computer Use plugin (computer-use@openai-bundled) but hides it from users in regions where the feature isn't rolled out yet — including most of the EU. The plugin binary is already on your machine (/Applications/Codex.app/Contents/Resources/plugins/openai-bundled/computer-use/); only the UI is gated.

This guide flips two flags so the plugin appears in your plugin picker.

Tested on: macOS 15 (arm64), Codex.app version 26.506.31421 (May 2026 build). Difficulty: Intermediate. You'll edit a TOML config and binary-patch Codex's Electron bundle. Risk: Low. We back up everything we touch and never change file lengths. Time: ~5 minutes.

@leommoore
leommoore / file_magic_numbers.md
Last active June 2, 2026 22:25
File Magic Numbers

File Magic Numbers

Magic numbers are the first bits of a file which uniquely identify the type of file. This makes programming easier because complicated file structures need not be searched in order to identify the file type.

For example, a jpeg file starts with ffd8 ffe0 0010 4a46 4946 0001 0101 0047 ......JFIF.....G ffd8 shows that it's a JPEG file, and ffe0 identify a JFIF type structure. There is an ascii encoding of "JFIF" which comes after a length code, but that is not necessary in order to identify the file. The first 4 bytes do that uniquely.

This gives an ongoing list of file-type magic numbers.

Image Files

@Samarth0211
Samarth0211 / README.md
Created March 28, 2026 05:00
100 Claude Secret Codes — prompt shortcuts that change how Claude responds. Interactive version: clskills.in/prompts

Claude Secret Codes — 100 Prompt Shortcuts

100 prompt shortcuts that change how Claude responds. Type any code at the start of your message.

Interactive searchable version with copy-to-clipboard: clskills.in/prompts

Writing & Style

Code What it does
@taichikuji
taichikuji / README.md
Last active June 2, 2026 21:40
Get a DDNS up and running with DuckDNS - Step by Step

Get a DDNS up and running with DuckDNS - Step by Step

Understanding DDNS

In summary, DDNS stands for Dynamic DNS. DDNS updates a DNS name in real-time to point to a changing IP address. This is useful for devices without a static IP. For example, companies like Google use static IPs and IP ranges, which are more expensive than ephemeral IPs and IP ranges. DDNS provides a cost-effective alternative, linking a hostname to a dynamic IP address.

How Does DDNS Work?

To use DDNS, you need an account with a DDNS provider. While some services are paid, they are still cheaper than static public IPs from ISPs. A script or service on your device updates the DDNS server with your current IP at regular intervals to maintain the link between your hostname and IP address. Luckily for us, DuckDNS is free for everybody and relays on donations to keep their services running.

@Pythonation
Pythonation / prompt.md
Last active June 2, 2026 21:39
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":