Skip to content

Instantly share code, notes, and snippets.

View rsp2k's full-sized avatar
πŸ’­
πŸ˜• meh

Ryan Malloy rsp2k

πŸ’­
πŸ˜• meh
View GitHub Profile

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.

@rsp2k
rsp2k / index.pug
Created September 16, 2025 02:48
Tuggable Light Bulb! πŸ’‘(GSAP Draggable && MorphSVG)
svg(class="toggle-scene" xmlns='http://www.w3.org/2000/svg' preserveaspectratio='xMinYMin' viewBox='0 0 197.451 481.081')
defs
marker#e(orient='auto' overflow='visible' refx='0' refy='0')
path.toggle-scene__cord-end(fill-rule='evenodd' stroke-width='.2666' d='M.98 0a1 1 0 11-2 0 1 1 0 012 0z')
marker#d(orient='auto' overflow='visible' refx='0' refy='0')
path.toggle-scene__cord-end(fill-rule='evenodd' stroke-width='.2666' d='M.98 0a1 1 0 11-2 0 1 1 0 012 0z')
marker#c(orient='auto' overflow='visible' refx='0' refy='0')
path.toggle-scene__cord-end(fill-rule='evenodd' stroke-width='.2666' d='M.98 0a1 1 0 11-2 0 1 1 0 012 0z')
marker#b(orient='auto' overflow='visible' refx='0' refy='0')
path.toggle-scene__cord-end(fill-rule='evenodd' stroke-width='.2666' d='M.98 0a1 1 0 11-2 0 1 1 0 012 0z')
@rsp2k
rsp2k / hold-to-confirm-signature-w-mirror-playback.markdown
Created September 15, 2025 15:28
hold to confirm signature w/ mirror playback ✍️
@rsp2k
rsp2k / gsap-drag-and-throw-magnet-hot-spots.markdown
Created September 15, 2025 15:27
GSAP Drag and Throw Magnet Hot Spots πŸ€™
@rsp2k
rsp2k / cyberspace-portal.markdown
Created September 15, 2025 10:41
Cyberspace Portal πŸšͺπŸŒ€

Cyberspace Portal πŸšͺπŸŒ€

An interactive card featuring a mesmerizing glow effect that invites you to enter a portal. Once activated, you are unexpectedly sucked into the matrix, traveling through a digital tunnel filled with floating code snippets and particles, immersing you in a journey through cyberspace

A Pen by Matt Cannon on CodePen.

License.

@jpluimers
jpluimers / Personal Windows 10 customization script.bat
Created December 2, 2022 20:41 — forked from ScribbleGhost/Personal Windows 10 customization script.bat
A personal collection of Windows 10 customizations. Run as admin. Has to be run as a batch file, not in CMD.
REM ----------------------------------------------------------------------------------------------------------
REM ### Apps and app suggestions
REM ----------------------------------------------------------------------------------------------------------
REM TITLE: Turn Off Automatic Installation of Suggested Apps in Windows 10
REM LINK: https://www.tenforums.com/tutorials/68217-turn-off-automatic-installation-suggested-apps-windows-10-a.html
REM OPTIONS: 0x00000001=On, 0x00000000=Off
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /V "SilentInstalledAppsEnabled" /T "REG_DWORD" /D "0x00000000" /F 1>NUL 2>&1
@jpluimers
jpluimers / bookmarklet.js
Created October 3, 2022 10:16 — forked from elidupuis/bookmarklet.js
How to create a bookmarklet with an external js file.
// use this code as your href attribute on your 'Install this bookmarklet' anchor tag.
// borrowed from http://net.tutsplus.com/tutorials/javascript-ajax/create-bookmarklets-the-right-way/
javascript:(function(){var jsCode = document.createElement('script');jsCode.setAttribute('src', 'http://example.com/path/to/file.js');document.body.appendChild(jsCode);}());
@jpluimers
jpluimers / clonevm.sh
Created April 17, 2022 09:23
VMware ESXi – Script to clone a VM without vSphere or vCenter. Original: https://grangerx.wordpress.com/2020/09/23/vmware-esxi-script-to-clone-a-vm/
#!/bin/sh
#File: clonevm.sh
#Version: 2020.09.23.A
#Author: www.grangerx.com
#Set debug = true to enable debug echoes.
debug=false
#For format: accepts same, zeroedthick, eagerzeroedthick, thin, rdm:dev, rdmp:dev, or 2gbsparse.
format="thin"
@jpluimers
jpluimers / vm-rename.sh
Last active December 15, 2022 18:08 — forked from Gremgoll/vm-rename
Script to rename a virtual machine in ESXi 6
#!/bin/sh
#
# shell script to rename a virtual machine in ESXi
#set -x
if [ $# -ne 4 ]; then
echo "Usage: $0 VOLNAME DIRNAME OLDNAME NEWNAME
where VOLNAME is the volume name, e.g. datastore1,
DIRNAME is the the name of the directory of the virtual machine,
@Tobi-De
Tobi-De / htmx.md
Last active March 27, 2025 20:15
Simple django CBV using django-htmx

Django-htmx guide setup

Simple guide to setup django-htmx in a django project. In this guide we assume that you already have a django project setup in a virtualenv and you only wish to add django-htmx to your project.

  1. Install the django-htmx package

     pip install django-htmx
    
  2. Add django-htmx to your INSTALLED_APPS: