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.

@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active June 5, 2026 18:06
How to setup iCloud+ Custom Domain Catch All email with Gmail

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@romanticamaj
romanticamaj / openclaw+sinoapi.md
Last active June 5, 2026 18:05
OpenClaw × 永豐 Shioaji API:query-only 工具的關鍵知識(設計重點 / 踩雷點 / 片段 + 官方範例)

OpenClaw × 永豐 Shioaji API:query-only 工具的關鍵知識

Tags: shioaji, sinotrade, 永豐, trading-api, query-only, python, ai-agent, openclaw

About: 用永豐 Shioaji 做「只查不下單」的個人帳戶查詢(庫存 / 餘額 / 損益 / 報價 / K 棒),並接成 AI agent 的 tool。這份只列設計重點、踩雷點與核心片段——scaffolding(venv / 安裝 / CLI 包裝)請自行對著官方文件補完。資訊量足以讓人或 agent 自己重建出完整專案。


設計核心:把 query-only 當成安全邊界

@adammyhre
adammyhre / SimpleBuildPart.cs
Created April 5, 2026 10:38
A simple Unity survival building system using modular pieces and socket-based snapping for clean placement.
using UnityEngine;
public enum SimpleBuildPieceType { Floor, Wall, Door }
public class SimpleBuildPart : MonoBehaviour {
[SerializeField] SimpleBuildPieceType pieceType = SimpleBuildPieceType.Floor; // identity for occupancy and placer logic
public SimpleBuildPieceType Type => pieceType;
public void SetPieceType(SimpleBuildPieceType value) => pieceType = value;
@ChrisWiles
ChrisWiles / Pantheon.md
Last active June 5, 2026 18:03
Breaking Down the Mind-Bending Finale of *Pantheon* S2E8 “Deep Time”: Dyson Spheres, Nested Simulations & the True Meaning Behind Maddie, Caspian, and SafeSurf’s Journey

Breaking Down the Mind-Bending Finale of Pantheon S2E8 “Deep Time”: Dyson Spheres, Nested Simulations & the True Meaning Behind Maddie, Caspian, and SafeSurf’s Journey

If you’ve just finished watching Season 2, Episode 8 of Pantheon—“Deep Time”—and feel disoriented or grappling with a sudden existential crisis, you’re in good company. For most of its run, the show concentrated on intimate stories: a daughter longing to reconnect with her uploaded father, a brilliant clone wrestling with his identity, and a small group of UIs learning to navigate digital existence. Then, in the final episode, the narrative catapults into a far vaster cosmic framework. We’re not just dealing with corporate conspiracies and personal grief anymore. Suddenly, there are Dyson spheres acting as cosmic-level computers, infinitely nested simulations, and timelines looping back on themselves like intricately folded origami.

The finale thrusts us into territory reminiscent of philosophical sci-fi hallmarks: think the layered dre

@jscott3201
jscott3201 / custom_pub_chat_template_gemma4.jinja
Created May 23, 2026 03:01
A drop-in replacement chat template for google/gemma-4-31B-it tuned for open-source agentic coding harnesses.
{#---------------------------------------------------------------------
custom_pub_chat_template_gemma4.jinja
=====================================
A public, harness-friendly fork of Google's Gemma 4 chat template,
tuned for open-source agentic coding harnesses like:
- anomalyco/opencode (https://github.com/anomalyco/opencode)
- earendil-works/pi (https://github.com/earendil-works/pi)
- openclaw, OpenHarness, similar Claude-Code-style harnesses
WHY THIS FORK EXISTS
@codigoconjuan
codigoconjuan / app.js
Created October 6, 2022 22:32
Validar email
const regex = /^\w+([.-_+]?\w+)*@\w+([.-]?\w+)*(\.\w{2,10})+$/
@aparente
aparente / SKILL.md
Last active June 5, 2026 17:57
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays