Skip to content

Instantly share code, notes, and snippets.

View Moikapy's full-sized avatar
💭
Everyday I'm Coding! 🐱‍👓

Warren Gates Moikapy

💭
Everyday I'm Coding! 🐱‍👓
View GitHub Profile
@Moikapy
Moikapy / llm-wiki.md
Created May 1, 2026 19:50 — 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.

Kapy-Script Design Spec

Date: 2026-04-30 Status: Draft Authors: 0xKobold


1. Language Overview & Philosophy

## Settings file was created by plugin YourCustomRace v1.0.0
## Plugin GUID: me.chilemiao.plugin.YourCustomRace
[config]
# Setting type: Int32
# Default value: 0
extraRaceSlot = 0
# Setting type: String
{
"$id": "1",
"dict": {
"$id": "2",
"MainText": {
"$id": "3",
"anchor": 1,
"userAnchor": 7,
"pivot": 7,
"id": "MainText",
## Settings file was created by plugin YourCustomClass v1.0.0
## Plugin GUID: me.chilemiao.plugin.YourCustomClass
[config]
# Setting type: Int32
# Default value: 0
extraClassSlot = 0
# Setting type: String
@Moikapy
Moikapy / basic.json
Created October 15, 2023 01:43
ComfyUI Workflows
{
"last_node_id": 7,
"last_link_id": 14,
"nodes": [
{
"id": 3,
"type": "KSampler (Efficient)",
"pos": [
236,
57
<head>
<style>
#qrcode {
width:160px;
height:160px;
margin-top:15px;
}
</style>
</head>
<div>
var qrcode = new QRCode("qrcode");
function makeCode () {
var elText = document.getElementById("text");
if (!elText.value) {
console.log("Input a text");
elText.focus();
return;
}

This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.

✅ did:3:bafyreigmlewpuvs2mut5gtril46gz2muqmywzqtmartbvnbttzj4kyyexm ✅

Create your profile today to start building social connection and trust online at https://3Box.io/

@Moikapy
Moikapy / #MOI-Snippets.md
Last active March 27, 2020 21:49
JavaScript Snippets to help with Development