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.

@hsztan
hsztan / mythos-security-audit-gist.md
Created April 6, 2026 00:31
AI-Powered Codebase Security Audit — 7-phase Claude Code prompts mapped to OWASP 2025. Prepare your codebase before Mythos drops.

AI-Powered Codebase Security Audit — Claude Code Prompts

Context: Anthropic's Claude Mythos (unreleased) found 500+ vulnerabilities in production open-source code that survived decades of expert review. These prompts help you find what traditional scanners miss — using Claude Code.

How to use this

What you need: Claude Code — Anthropic's CLI tool for working with codebases. Free tier available.

Install:

@TheOleloGroup
TheOleloGroup / haw.js
Last active June 30, 2026 20:35 — forked from oreoshake/haw.js
N. Matatall – Balatro Project
/*
Aloha mai e Neil:
Below is a forked gist from your original file that you
provided to me.
I have translated each variable line below. For words that needed to be transcreated, I have made a comment
on that line.
@Pythonation
Pythonation / prompt.md
Last active June 30, 2026 20:28
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@tobek
tobek / get-image-urls.js
Last active June 30, 2026 19:53
Save images from chrome inspector/dev tools network tab
/* open up chrome dev tools (Menu > More tools > Developer tools)
* go to network tab, refresh the page, wait for images to load (on some sites you may have to scroll down to the images for them to start loading)
* right click/ctrl click on any entry in the network log, select Copy > Copy All as HAR
* open up JS console and enter: var har = [paste]
* (pasting could take a while if there's a lot of requests)
* paste the following JS code into the console
* copy the output, paste into a text file
* open up a terminal in same directory as text file, then: wget -i [that file]
*/
@TameemS
TameemS / debloatLDPlayer.md
Last active June 30, 2026 19:45
Debloating LDPlayer

Inspired by this

More of my guides: Debloating MEMu - Debloating Nox (Updated)

This mainly applies to LDPlayer9. They will probably work on the low end options (like LDPlayer5) but not guaranteed.

Debloating LDPlayer

This emulator seems to have less stability issues than MEMu. I think we get the shtick that these emulators do spooky stuff.

  1. Download LDPlayer, preferably an offline version from the version history
@SvenGDK
SvenGDK / Full-Y2JB-YouTube-Block.md
Last active June 30, 2026 19:27
How to fully block YouTube from being updated on the PS5 when using YT2JB.

Simply modifing appinfo.db will not block YouTube from being updated. As soon as you connect to the internet without setting a DNS it will automatically refresh itself to the correct clean state, the icon also switches back to original. This can result in a softlock where you have to set up everyhting again.

In order to properly block YouTube from being updated, you also need to fully update YouTube's parameters after a new installation.

The param.json file of the YouTube app is actually located at 3 positions when installed :

  • At /system_data/priv/appmeta/PPSA01650/param.json
  • At /user/appmeta/PPSA01650/param.json
  • And also inside /system_data/priv/mms/app.db TABLE: tbl_contentinfo COLUMN: AppInfoJson