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.

@miticollo
miticollo / build_frida.sh
Last active December 10, 2025 08:12
How to build frida-server (≥ 16.2.2) for iOS jailbroken devices
#!/usr/bin/env bash
#
# Build Frida DEB.
# register the cleanup function to be called on the EXIT signal
trap cleanup INT
#######################################
# Deletes the temp directory.
# Globals:
@dinosec
dinosec / frida_ios_version.js
Last active September 27, 2024 21:18
How to obtain the mobile device iOS version from a Frida JS script
// How to obtain the mobile device iOS version from a Frida JS script:
//
// (c) 2020 DinoSec (www.dinosec.com)
if (ObjC.available) {
var version = iOSVersion();
console.log("iOS version: " + version);
// return ObjC.classes.NSProcessInfo.processInfo().operatingSystemVersionString().toString();