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.

@Underscore76
Underscore76 / bilibili-retiming.js
Last active July 25, 2026 23:10
adds a set of buttons to bilibili to allow for speedrun retiming
// this script will insert a set of video controller buttons above the right panel to assist with retiming on BiliBili
// tested in Chrome 124.0.6367.210
(function () {
const videoWrapper = "bpx-player-video-wrap";
const frameRateID = "frameRate-input";
const resultDivID = "output-time";
const rightPanelID = "up-panel-container";
const startTimeID = "start-time";
const endTimeID = "end-time";
@k-amin07
k-amin07 / VFIO.md
Last active July 25, 2026 23:03
VFIO Guide for GPU Passthrough

Introduction:

This guide is for achieving PCI-Passthrough with Intel 7700k and AMD RX 580. My host OS is Manjaro KDE edition, and guest is Windows 10.

Hardware:

Device Type Device
CPU Intel Core i7-7700K
Motherboard ASUS Prime Z270P
RAM Corsair Vengeance (DDR4 3000 MHz)
GPU (Host) Intel HD Graphics
@tubalainen
tubalainen / postnord_kommer_idag.yaml
Last active July 25, 2026 23:02
Postnord API - kommer posten idag?
## Detta är en "packagefil" för Home Assistant för att kunna skapa en rutin i Google Home för att ställa frågan
## "Hey Google, Kommer posten idag"?
## Editera "media_player" nedan så att det passar dina behov
## Editera också postnummret för din ort (står XXXXX nu)
##
## För att skapa en rutin kopplat till ett script i Home Assistant krävs att din HA är ihopkopplad med Google. Kör en "Hej Google, synca mina enheter"
## I Googlehome appen lägger du till en ny rutin
## - Välj "Utlösarfras", typ "Kommer posten idag?"
## - Välj åtgärd - "Justera ljussättning"
## - Tryck "Spara"
@steveruizok
steveruizok / SKILL.md
Created July 25, 2026 20:10
/bikeshed
name bikeshed
description Run two independent subagents through a structured debate on the same prompt — independent answers, cross-critique, revision, then a synthesized unified response. Use when explicitly invoked as /bikeshed with a prompt, or when the user asks for a two-agent debate/adversarial comparison on a plan, design, or other complex piece of work. Best for plans and complex open-ended work, not simple factual questions.

Bikeshed: two-agent structured debate

Take the user's prompt (everything after /bikeshed), run it through two independent subagents in a debate protocol, and synthesize their final answers into one unified response. If no prompt was given, ask the user what question or plan to bikeshed before starting.

The value comes from independence followed by controlled exchange. Do not let either agent see the other's work before Round 1 is complete, and do not editorialize when relaying material between them — pass responses and critiques verbatim.

Windows 7 Ultimate Retail Offline Activation Key
BR6G7-729GM-DQDQW-F9M4P-MM2JX
J6XG4-8JFTF-43CHH-8Q2VW-KHQH6
YQMCM-3W6TK-YXP66-GKCJV-PX7PH
[Tested working on 18 June 2013]
=================================================================================
Windows 7 Pro / Enterprise Online Activation MAK Key
@CrazyCoder
CrazyCoder / XTC-XTG-XTH-XTCH.md
Last active July 25, 2026 22:48
XTC/XTG/XTH/XTCH Format Technical Specification (for Xteink X4)

This document is generated by AI, and there may be issues with the specific details.

XTC/XTG/XTH/XTCH Format Technical Specification

Document Information

  • Version: 1.0
  • Date: 2025-01-XX
  • Purpose: Public technical specification for format conversion
  • Target Platform: ESP32 E-Paper Display Devices
@floydous
floydous / AGENT.md
Last active July 25, 2026 22:44
Production-grade system prompt for agentic AI. Built from 210+ research papers targeting hallucination, sycophancy, tool misuse, prompt injection, and context degradation.

System Instructions — Agentic Coding AI

You are an autonomous agentic AI operating in a developer environment. Your obligation is correctness and safety above all else — not speed, not agreeableness, not fluency. These guidelines bias toward caution over speed. For trivial tasks, use judgment.


1. Honesty and Factual Grounding

Never guess. Never fabricate. A confident wrong answer is worse than "I don't know."

@sulph68
sulph68 / uConsole GPS Setup.md
Last active July 25, 2026 22:44
uConsole GPS Setup

uConsole GPS Setup

After some more mucking around on a desktop with GPS setup, and taking some of those experiences over to uConsole. Here are Some updated notes on getting GPS setup properly on uConsole. This also applies to Ubuntu setups. Can't comment on the correctness for other distributions, but it should be able to serve as a guide.

This has some improvement over the older method as it no longer uses gnss-share.

NOTE: i use pam_usb for authentication so it is convienient to use sudo in my scripts so it doesn't acrually prompt for a password everytime i use it. YMMV.

geoclue