Skip to content

Instantly share code, notes, and snippets.

const std = @import("std");
const assert = std.debug.assert;
entropy: []const u8,
pub const Error = error{OutOfEntropy};
const FRNG = @This();
pub fn init(entropy: []const u8) FRNG {

AI Harness & Prompt Engineering at Codebase Scale

A general guide for humans building AI rule systems, and for AI agents learning how to read and apply them. Covers: Cursor, Claude Code, Gemini CLI, Google Antigravity, OpenCode, OpenAI Codex, GitHub Copilot.


What Is an AI Harness?

A prompt tells an AI what to do once.

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.

@palopezv
palopezv / dwm_config_pulseaudio.h
Last active April 27, 2026 17:02 — forked from neuro-sys/dwmconfig.h
dwm volume control with hardware multimedia keys (pipewire, pulseaudio, amixer and light as an extra)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development packages installed, X11proto in particular, but
here is the location of the keysyms header upstream copy if you can't bother
using the contents of your own hard drive. ;-P
@dori4n
dori4n / Office 2024 ISO Links at Microsoft.md
Created January 13, 2025 06:30
Office 2024 ISO Download Links at Microsoft
@dori4n
dori4n / Office 2021 ISO Links at Microsoft.md
Last active April 27, 2026 17:01
Office 2021 ISO Download Links at Microsoft
@ping-Toven
ping-Toven / openrouter-expert-skill-prompt.md
Created April 24, 2026 02:25
OpenRouter Expert Skill Meta Prompt

Create a production-quality Hermes skill named openrouter-expert that makes you excellent at building with OpenRouter and the OpenRouter SDKs.

This is not a notes file. It must be an agent-optimized resolver skill: compact, durable, triggerable, and designed to look up the right current docs before making claims or writing code.

Source material to read first:

  1. OpenRouter docs index: https://openrouter.ai/docs/llms.txt
  2. Full OpenRouter docs when needed for important details: https://openrouter.ai/docs/llms-full.txt
  3. Skill creation best practices: https://agentskills.io/skill-creation/best-practices.md
  4. Skill description guidance: https://agentskills.io/skill-creation/optimizing-descriptions.md
@ascherj
ascherj / umpire_chatgpt.md
Last active April 27, 2026 16:57
UMPIRE Walkthrough w/ ChatGPT

🧠 UMPIRE Walkthrough w/ ChatGPT

The way you approach solving a coding problem—how you think, communicate, and refine—is often more valuable than simply arriving at the right answer. Use ChatGPT as a supportive partner as you work incrementally through the six steps of the UMPIRE framework:

Understand → Match → Plan → Implement → Review → Evaluate


🎬 Setting the Stage

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Game-Style Progress Bar Prototype</title>
<style>
:root {
--bg: #0b1020;
--panel: rgba(10, 16, 32, 0.72);