Skip to content

Instantly share code, notes, and snippets.

View ccschmitz's full-sized avatar

Chris Schmitz ccschmitz

View GitHub Profile
@ccschmitz
ccschmitz / llm-wiki.md
Created April 13, 2026 16:27 — forked from karpathy/llm-wiki.md
llm-wiki

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.

@ccschmitz
ccschmitz / index.html
Created February 26, 2016 15:54 — forked from phil-pedruco/index.html
Plotting a bell (Gaussian) curve in d3
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Normal Plot</title>
<meta name="description" content="">
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<style type="text/css">
@ccschmitz
ccschmitz / 0_reuse_code.js
Created June 2, 2014 20:43
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ccschmitz
ccschmitz / pivotal_tracker_git_flow.rake
Last active December 18, 2015 23:19 — forked from jondkinney/pivotal_tracker_git_flow.rake
A Rake task that allows you to start/finish stories.
require "rubygems"
require "pivotal-tracker"
namespace :pt do
# In order to use these tasks you'll need to install the pivotal tracker gem:
#
# gem install pivotal-tracker
#
# Then setup your Pivotal Tracker information in your git config file:
#
@ccschmitz
ccschmitz / php.snippets
Created August 17, 2011 19:07 — forked from aaroneaton/php.snippets
CodeIgniter PHP snippets for the VIM plugin SnipMate
# SnipMate is required to use snippets
# Download SnipMate: http://www.vim.org/scripts/script.php?script_id=2540
# Put this file in ~/.vim/snippets/ then restart vim
# This snippet file includes many useful snippets for CodeIgniter. Please feel free to fork and contribute!
snippet php
<?php
${1}
?>
snippet ec
echo "${1:string}"${2};