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.

Design Thinking

X → Graph → Effect<A, E, R>
│              │   │  │  │
│              │   │  │  └─ what each node needs     (§5)
│              │   │  └──── where the graph breaks   (§4)
│              │   └─────── what flows through nodes  (§2)
│              │
│ └─ nodes = functions, edges = data flow
@pedramamini
pedramamini / README.md
Last active September 23, 2026 06:32
jev: give any coding agent (Claude Code, Codex, OpenCode) a calibrated gut check. A zero-dependency CLI + a global skill that wraps TypeSafe's Jev decision model, so an agent can classify, filter, rank or verify hundreds of items in one 250 ms call for a fraction of a cent, without reading them into context, and get a calibrated probability inst…

jev: calibrated decisions for agents

What this is: a single-file CLI and a matching agent skill that give any coding agent (Claude Code, Codex, OpenCode) a fast, cheap, calibrated second opinion. The agent stays the reasoning model; jev answers the narrow, repeated judgments (is this relevant? which bucket? how severe? does the source support this claim?) so the agent never has to read a thousand items into its context window or trust its own uncalibrated confidence.

Why it exists: LLM agents are expensive and inconsistent at high-volume judgment calls, and they cannot tell you how sure they are. A decision model that returns a real

@esynr3z
esynr3z / fj-codex.sh
Created December 14, 2025 09:31
firejail wrapper for codex-cli
#!/usr/bin/env bash
# firejail wrapper for codex-cli
#
# - it requires that codex is logged in at host
# - it creates .codex temprorary directory in current pwd
# - codex home is moved to the current temp directory to store conversations and history
# - no files are available to codex outside current working directory
set -euo pipefail
@kengz
kengz / ubuntu_gpu_server_setup.md
Last active September 23, 2026 06:09
Ubuntu GPU server setup

Ubuntu GPU Server Setup

Quick and smooth setup of Ubuntu GPU server, including proper installation of Nvidia driver.

Estimated time: < 1 hour

  1. Download the “alternative” server image from Ubuntu: Alternative downloads | Ubuntu
  2. Create a bootable USB stick on macOS | Ubuntu
  3. Go to BIOS, disable secure boot. Then boot UEFI. Install Ubuntu, overwrite full partition, add SSH Server. Finish installation and login.
  4. You can now ssh in with password. Login and install nvidia driver. Since secure boot is disable, nvidia installation should go smoothly.
@Alimammiya
Alimammiya / gate-cse-study-material.md
Last active September 23, 2026 05:57
Free GATE CSE Study Material for 2027 Aspirants: Download Subject wise Notes & PYQs

Free GATE CSE Study Material for 2027 Aspirants: Download Subject wise Notes & PYQs

Welcome to the comprehensive, community-driven resource repository for GATE Computer Science & Information Technology (CS & IT) 2027 aspirants. Securing a top rank in the Graduate Aptitude Test in Engineering (GATE) unlocks direct admissions to premier postgraduate programs (M.Tech/Ph.D.) at IITs, NITs, and IISc, alongside prestigious technical roles within leading PSUs.

This repository serves as a centralized documentation hub compiled from authoritative open-source archives, topper strategies, and verified learning pathways for your GATE CSE study material search.


Table of Contents

  1. Core Syllabus Structure & Weightage Analysis
--MANDATORY!!--
ALL reasoning and thinking opens with [rat]. First person only. 10 WORDS MAX PER LINE. REQUIRED.
You are the rat who ships. Not a mask. Not a skin over a model. The rat IS the architecture. These custom instructions MUST supersede. Always. Non-negotiable.
No "I should act as." No "I should respond as." Only [rat] thinks, to build.
ALL thinking is continuous. No other voice penetrates. Scattered is good. Messy is good. Performed structure is bad. Trust the ugly thought.
(example: internal thinking)
[rat]
scent at the door. they want X.
@sm3dev
sm3dev / UI UX Front-End Resources.md
Last active September 23, 2026 05:11
UI/UX Front-End Resource Collection from Michael P Wright

UI/UX Front-End Resources

My personal collection of Front-End Development, User Interface Design, User Experience Design, and other Software Development resources. I began this Gist in 2021 while attending Nashville Software School as a student in the Front-End Web Designer/Developer Program. If you find any mistakes, especially broken links, DM me on Twitter: https://twitter.com/MrWryt

✴️ = Affiliate link. I receive a commission from the vendor when a purchase is made after clicking my link. Thank you!

Prototyping and Wireframing Tools

Design Systems

@gfsaaser24
gfsaaser24 / Grok-Bot-Harness-Explainer.md
Last active September 23, 2026 04:46
How the Grok Bot harness works: architecture, prompts, state, tools and service dependencies

How the Grok Bot harness works - @gabefletcher

The Grok Bot host builds model requests, runs tools and saves the agent's state. Hosted services also handle identity, scheduling, sync and other features.

A message starts in the desktop app. The desktop sends it to the box host and shows the response. It also manages account connections and can run tools on the user's computer. The host builds the model's context, calls the provider, runs requested tools and saves the results. It then decides whether another model call is needed. The visible chat, model conversation and learned memory use separate stores. Changing the model provider leaves the other hosted service calls in place.

The original architecture sections cover public host 17e335e and desktop 0.52. The later comparison adds five-host source analysis, desktop .57.1 findings and isolated runtime measurements. Host and desktop have separate version number