Skip to content

Instantly share code, notes, and snippets.

hello

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.

@ttscoff
ttscoff / lexers.rb
Last active December 4, 2026 16:41
Find the perfect lexer to highlight your fenced code blocks and other fancy stuff. If you know the common name of a language or a common file extension for it, this script will tell you exactly what most syntax highlighters will recoghize.
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'optparse'
# Have you ever been adding code to a Markdown post and
# wondered what syntax label would give you the right
# highlighting for your fenced code block? This script can
# take either a file extension or a common name of a language
# and let you know what lexers are supported for it, as well
@u8sand
u8sand / k3s-snapshot-images.py
Last active December 4, 2026 16:39
Find containers from containerd snapshot paths
"""Find which cached images (and containers) use a containerd overlayfs snapshot.
Usage:
k3s-snapshot-images.py /var/lib/rancher/k3s/agent/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/21429/fs/usr/lib/jvm
k3s-snapshot-images.py 21429
Example Output:
snapshot ID: 21429
not mounted by any running container
kind: committed
@NARKOZ
NARKOZ / README.MOTHERFUCKING.md
Last active December 4, 2026 16:25
This gist lists Motherfucking websites. Plain HTML. No frameworks. Read them, learn, stop overengineering.

Motherfucking Websites

A concise list of the Motherfucking-style sites — because sometimes the web needs blunt, unapologetic clarity.

@DenBread
DenBread / README.md
Created February 16, 2025 22:16
Free Activation Code for JetBrains Products

My greetings, for everyone.

How to activate any JetBrains products with 3.jetbra.in?

First we need to visit this website

https://3.jetbra.in

Click the first link with Online status, by default is ipfs.io

Screenshot 2024-12-28 at 19 22 31

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 4, 2026 16:22
Conventional Commits Cheatsheet
@k16shikano
k16shikano / SKILL.md
Last active December 4, 2026 16:15
cognitive-rhythm-writing/SKILL.md
name cognitive-rhythm-writing
description 説明的な文章に緩急を設計するための規範。緩急を装飾ではなく認知モードの切替(観察→逡巡→断定→再観察)と未回収の緊張の管理として扱い、文の拍、段落の密度波形、節の入り方、緩みと駄文の判別、執筆後の機械的な点検手順を定める。読み物として読ませたい章・記事・解説文を生成するとき、または「密度はあるが平坦でおもしろくない」文章を診断・修正するときに使用する。

認知リズムを生むための日本語ライティング規範

密度の高い文章が退屈になるのは、情報が多いからではなく、全文が同じ認知モードで書かれているからである。 この規範は、読者の認知モード(観察する、迷う、確信する、確かめ直す)を意図的に切り替え、常に「続きを読む理由」を維持することで、読み進める推進力を作る。

@di404
di404 / prototype_grid.gdshader
Created December 4, 2026 07:09
Godot 4 procedural triplanar prototype grid material (PrototypeGridMaterial)
shader_type spatial;
render_mode diffuse_burley, specular_schlick_ggx;
group_uniforms projection;
uniform bool world_space = true;
uniform float cell_size : hint_range(0.05, 50.0, 0.05) = 1.0;
uniform vec3 grid_offset = vec3(0.0);
uniform float triplanar_sharpness : hint_range(1.0, 16.0, 0.5) = 6.0;
group_uniforms pattern;