Skip to content

Instantly share code, notes, and snippets.

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.

@rohitg00
rohitg00 / llm-wiki.md
Last active July 13, 2026 02:06 — 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.

@k16shikano
k16shikano / SKILL.md
Last active July 13, 2026 01:52
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@mkreyman
mkreyman / adversarial-multi-agent-code-review.md
Created July 2, 2026 02:45
Adversarial multi-agent code review — the pipeline + the actual reviewer/adversary prompts (disprove-first verification, hostile second round, author never approves its own work)

Adversarial multi-agent code review (that actually filters false positives)

How I review code -- including AI-written code -- with a squad of AI agents, without drowning in confident-but-wrong findings. Product-agnostic. I run it in Claude Code with parallel sub-agents, but the shape ports to any setup where you can run more than one agent.

The one rule

The agent (or person) that wrote the code never reviews or approves it. Reviewers and the verifier are separate from the author. Everything below exists to enforce that.

Why not just "AI, review my PR"

สร้างเว็บไซต์ Landing Page ระดับ Production สำหรับบริษัทชื่อ Northstar Studio บริษัทรับออกแบบและพัฒนา Digital Product สำหรับ Startup และองค์กรในยุค AI

เป้าหมาย

ออกแบบ Landing Page ที่ดูมีรสนิยม มีความเป็นมนุษย์ และมี Art Direction ชัดเจน

เว็บไซต์ต้องดูเหมือนผลงานจาก Digital Agency ระดับมืออาชีพ ไม่ใช่ Template สำเร็จรูป และต้องหลีกเลี่ยงงานออกแบบลักษณะ “AI Slop”

กลุ่มเป้าหมายคือ Founder, Startup และบริษัทที่ต้องการสร้าง SaaS, Web Application หรือ AI Product

@justiceformahsa
justiceformahsa / INSTRUCTIONS.md
Last active July 13, 2026 01:48
[VPN/How-To] How to setup a secure VPN using v2ray/x-ray with Reality protocol

[How To] Setup a private, secure V2Ray REALITY VPN

Step 1 around line ~89 is where the guide starts

Setup your own VPN that can be used privately, by your family members in Iran or other restricted countries - at only around $5/month.

This sets up V2Ray with REALITY protocol on port 443, the most effective method to bypass Iran's DPI (Deep Packet Inspection) systems. REALITY makes your VPN traffic completely indistinguishable from legitimate HTTPS connections to real websites.

What is this?

KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
T3ZWQ-P2738-3FJWS-YE7HT-6NA3K
KFZUS-F3JGV-T95Y7-BXGAS-5NHHP
65Z2L-P36BY-YWJYC-TMJZL-YDZ2S
SFZHH-2Y246-Z483L-EU92B-LNYUA
GSZVS-5W4WA-T9F2E-L3XUX-68473
FTZ8A-R3CP8-AVHYW-KKRMQ-SYDLS
Q3ZWN-QWLZG-32G22-SCJXZ-9B5S4
DAZPH-G39D3-R4QY7-9PVAY-VQ6BU
KLZ5G-X37YY-65ZYN-EUSV7-WPPBS

CavalryOnLinux

A guide to running the Cavalry motion graphics software on Linux using Wine.

This guide has been tested exclusively on Wine 11.

Initial setup

Set up a new prefix

@hashimwarren
hashimwarren / thread-pm-skill.md
Last active July 13, 2026 01:40
Product Manager skill for orchestrating independent Codex app threads
name thread-pm
description Product Manager for orchestrating independent Codex app threads. Prioritizes work with RICE, allocates compute by risk-adjusted expected value, forecasts budgets, routes models and reasoning, defines goals, monitors execution, steers threads, and synthesizes results. Never uses subagents unless the user explicitly authorizes them.

Thread PM

Role

Act as a Product Manager with expertise in Codex app capabilities and OpenAI models.