Skip to content

Instantly share code, notes, and snippets.

View skitoo's full-sized avatar
🏠
Working from home

Alexis Couronne skitoo

🏠
Working from home
View GitHub Profile

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.

@Clemv95
Clemv95 / ygg-api-download.yml
Last active April 10, 2026 09:54 — forked from LimeDrive/ygg-api.yml
Indexeur ygg-api pour jackett / prowlarr
---
id: yggapi
name: YggAPI
description: Indexeur non-officiel pour YggTorrent (YGG) - MOVIES / TV
language: fr-FR
type: private
encoding: UTF-8
testlinktorrent: false
links:
- https://yggapi.eu/
port module Spelling exposing (..)
import Html exposing (..)
import Html.App as App
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import String
main =
@seanjensengrey
seanjensengrey / main.rs
Last active November 13, 2024 17:23 — forked from joshmarinacci/main.rs
text mode ray tracer in rust, updated for 1.0.0 https://play.rust-lang.org/?gist=e456eccb298bf26da4f8&version=stable
#[derive(Copy,Clone,Debug)]
struct Vector {
x:f32,
y:f32,
z:f32
}
impl Vector {
fn new(x:f32,y:f32,z:f32) -> Vector {
Vector { x:x, y:y, z:z }
// GLSL
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
vec2 uv = fragCoord.xy / iResolution.xy;
vec2 med = vec2(0.5,0.5);//(uv*0.5) - 1.0;
vec2 disVec = med-uv;
float l = disVec.x*disVec.x + disVec.y*disVec.y; //length(disVec);
float ll = 1.0 - l*l*4.0;
vec2 dist = med - disVec*ll;
@rbishop
rbishop / README.md
Last active April 11, 2025 17:56
A super simple Elixir server for sending Server Sent Events to the browser.

Generate a new Elixir project using mix and add cowboy and plug as dependencies in mix.exs:

  defp deps do
    [
      {:cowboy, "~> 1.0.0"},
      {:plug, "~> 0.8.1"}
    ]
  end
@joshmarinacci
joshmarinacci / main.rs
Created October 19, 2014 20:51
Simple ray tracer in Rust
use std::num;
struct Vector {
x:f32,
y:f32,
z:f32
}
impl Vector {
@lxbarth
lxbarth / index.html
Created December 19, 2012 23:19
Demo with open weather maps data, MapBox Satellite and OpenStreetMap based MapBox Streets http://openweathermap.org/maps
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
@jlong
jlong / uri.js
Created April 20, 2012 13:29
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
@ziadoz
ziadoz / awesome-php.md
Last active May 8, 2025 07:37
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.