Skip to content

Instantly share code, notes, and snippets.

@rohitg00
rohitg00 / llm-wiki.md
Last active June 8, 2026 22:01 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@h-vance
h-vance / k8s-debug-toolkit.sh
Created May 6, 2026 16:10
Kubernetes Diagnostic Toolkit: High-signal aliases and functions for ephemeral debugging.
#!/bin/bash
# k8s-debug-toolkit.sh
# A collection of high-signal Kubernetes debugging aliases and functions.
alias kgn='kubectl get nodes -o wide'
alias kgp='kubectl get pods -A'
alias kcl='kubectl logs -f'
alias kex='kubectl exec -it'
function kdebug() {
@AKCodez
AKCodez / claude-code-statusline-guide.md
Last active June 8, 2026 21:50
Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts

Claude Code Status Line - Complete Guide: all fields, config, ready-to-use scripts

Claude Code Status Line — Complete Guide

A persistent, customizable bar at the bottom of Claude Code that shows real-time session data.

image

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.

@ajsb85
ajsb85 / EXCELLON.md
Created June 8, 2026 21:40
EXCELLON FORMAT SPECIFICATION

EXCELLON FORMAT SPECIFICATION

Part Programming Commands

This chapter details the part programming codes used to run your Excellon machines automatically.

The CNC-7, like all Excellon machines, has a set of part programming

@loncarales
loncarales / HOWTO.md
Created May 26, 2020 21:14
Extract all certificate chain from .p7b file

Export all certificates into one file

$ base64 -d <P7B_FILE>.p7b | openssl pkcs7 -inform DER -print_certs -out <PEM_FILE>.pem

We'll get three certificates inside <PEM_FILE>.pem file, from top to bottom:

  1. Certificate for the route in PEM format
  2. CA certificate chain for the route validation in PEM format
  3. Root CA certificate in PEM format
@katyo
katyo / Makefile
Last active June 8, 2026 21:40
Excellon Specification
all: excellon.html excellon.pdf
excellon.html: excellon.md
@pandoc $< -o $@
excellon.pdf.md: excellon.md
@cat $< | sed 's/\.png/\.pdf/g' > $@
excellon.pdf: excellon.pdf.md
@pandoc $< --latex-engine=pdflatex -o $@
@xbfool
xbfool / godot-claude-code-guide.md
Created March 16, 2026 09:19
Godot + Claude Code 游戏开发完全指南 — 工具生态、安装、最佳实践、踩坑经验

Godot + Claude Code 游戏开发完全指南

最后更新: 2026-03-16

一、工具生态总览

三层工具栈(可共存)

工具 作用 安装方式
@Pythonation
Pythonation / prompt.md
Last active June 8, 2026 22:27
3 PROMPTS OF CODING AGENTS

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

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

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