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.

@roman-rr
roman-rr / ruflo-audit-gist.md
Last active May 25, 2026 20:53
Ruflo / Claude-Flow Audit: 300+ MCP Tools — 99% Theater, 1% Real, 5x Token Waste

Ruflo / Claude-Flow: 300+ MCP Tools Exposed — 99% Theater, 1% Real, 5x Token Waste

A deep technical audit of the ruflo (@claude-flow/cli) ecosystem — what it claims vs what it actually does.

Investigated 2026-04-04 by spawning 8 research agents across two analysis phases, reading source code from the ruflo GitHub repo, tracing local process execution, and testing every major tool category hands-on.


TL;DR

@gekka
gekka / test.cpp
Created December 19, 2025 12:38
IMFMediaEngine::TransferVideoFrameのテスト
// TransferVideoFrameの第1引数で可能な引数の型
// {C40A00F2-B93A-4D80-AE8C-5A1C634F58E4} IID_IMFSample
// {6F15AAF2-D208-4E89-9AB4-489535D34F9C} IID_ID3D11Texture2D
// {00000121-a8f2-4877-ba0a-fd2b6645fb94} IID_IWICBitmap
// {696442BE-A72E-4059-BC79-5B5C98040FAD} IID_ID3D12Resource
class NotifySink : public IMFMediaEngineNotify
{
public:
@JeremyT2002
JeremyT2002 / qrcode_generator.cpp
Last active May 25, 2026 20:49
QR Code Generator C+
/*
* ÜBERBLICK:
* ---------
* Dieses Programm erzeugt QR-Codes gemäß ISO/IEC 18004 (Thonky-Tutorial).
* Link zum Thonky-Tutorial : https://www.thonky.com/qr-code-tutorial/
* Ablauf: 1) Text im Byte-Mode encodieren
* 2) Reed-Solomon-Fehlerkorrektur anwenden
* 3) QR-Matrix mit Finder Patterns, Timing, Format aufbauen
* 4) Datenbits im Zickzack eintragen
* 5) Maske 0 anwenden
@theking2
theking2 / docker_logs
Created May 3, 2026 06:41
Docker Log sizes
#!/usr/bin/env python3
"""
Docker Container Log Size Calculator
Lists all Docker containers with their log sizes and total log usage.
"""
import subprocess
import json
import sys
from typing import Dict, List, Tuple
@sundowndev
sundowndev / GoogleDorking.md
Last active May 25, 2026 20:41
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@serefayar
serefayar / simple_agent.clj
Created January 28, 2026 10:23
Minimal Agent Engine from Scratch with Clojure
;; ======================================================================
;; File: simple_agent.clj
;; Title: De-mystifying Agentic AI: Building a Minimal Agent Engine from Scratch with Clojure
;; Author: Seref R. Ayar
;; Article: https://serefayar.substack.com/p/minimal-agent-engine-from-scratch-with-clojure
;;
;; ======================================================================
(add-lib 'clj-http/clj-http {:mvn/version "3.12.3"})
(add-lib 'metosin/jsonista {:mvn/version "0.3.7"})
(add-lib 'metosin/malli {:mvn/version "0.13.0"})