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.

@vivien
vivien / irccat
Created May 2, 2014 00:38
irccat - Using netcat with an IRC channel
#!/bin/sh
# Copyright 2014 Vivien Didelot <vivien@didelot.org>
# Licensed under the terms of the GNU GPL v3, or any later version.
NICK=irccat42
SERVER=irc.freenode.net
PORT=6667
CHAN="#irccat"
{
@mdutt247
mdutt247 / wordpress-to-laravel.md
Last active June 10, 2026 16:19
Migrate WordPress to Laravel

WordPress → Laravel Migration (Full Seeder + Relationships + SEO + Media)


Author: Madhavendra Dutt
GitHub: https://github.com/mdutt247 Created: 05th March 2026
License: MIT
Stack: Laravel, MySQL, WordPress
Website: MDITech

@tzmartin
tzmartin / m3u8-to-mp4.md
Last active June 10, 2026 16:19
m3u8 stream to mp4 using ffmpeg

1. Copy m3u8 link

Alt text

2. Run command

echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
@alejandro-martin
alejandro-martin / multiple-ssh-keys-git.adoc
Last active June 10, 2026 16:10
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

@aokin1999
aokin1999 / youtube_formats.md
Last active June 10, 2026 16:08 — forked from MartinEesmaa/youtube_formats.md
Youtube Format IDs

Note: I just wanted to organize this on my own and I'm trying to do it right. This is all almost full YouTube ID informations. I've eliminated most useless outdated info and tried to correct many errors on descriptions. Original owner goes to AgentOak, and thanks for most updates to Martin Eesmaa and the incredible internet community. :>

See the credits and also special thanks in below.

Last updated: 19 February 2026

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@cnemri
cnemri / prompt.md
Created June 10, 2026 10:57
Claude Fable 5: Sidi Bousaid 3D prompt

Write a complete, production-ready, single-file HTML/JavaScript application that renders a highly detailed, photo-realistic, navigable 3D scene of the iconic cliffside village of Sidi Bou Said, Tunisia using Three.js.

CRITICAL INSTRUCTIONS — NO LAZY CODE

  • Do NOT use any external asset URLs (no external .gltf, .obj, .jpg, or .png files) as they can break or fail CORS. All textures, heights, and models must be generated dynamically and procedurally within the script (e.g., using HTML Canvas to draw textures, procedural noise algorithms for plaster and stone, or mathematical structures for 3D meshes).
  • Do NOT write placeholder comments, truncated code blocks, "// TODO" markers, or "left as an exercise" shorthand. Every single function, shader, loop, and variable must be written out in its entirety.
  • The output must be a single, copy-pasteable HTML file that runs perfectly immediately when opened in a browser.

TECHNICAL REQUIREMENTS & FEATURES

  1. Libraries: Load Three.js and OrbitControls vi
@horaceho
horaceho / 置身钉内.md
Last active June 10, 2026 16:03
置身钉内・滕雅辛

《置身钉内》

作者:滕雅辛(幽素)
发布:2026年6月5日
全文:7.5万字


1696921482553