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.

@MahdiAkrami01
MahdiAkrami01 / _README.md
Last active November 23, 2026 14:10
Sync Bitwarden SSH Agent Keys & Git Commit Signing

πŸ” Sync Bitwarden SSH Agent Keys & Git Commit Signing

Export public SSH keys from the Bitwarden SSH Agent, build IdentitiesOnly host blocks in ~/.ssh/config, and configure automatic per-host Git SSH commit signing (~/.gitconfig).


πŸ’‘ Why Use This Script?

  1. Prevent Too many authentication failures: When you store multiple SSH keys in Bitwarden, the SSH client offers every key to the server. Exporting .pub files to ~/.ssh/keys/ and setting IdentitiesOnly yes forces SSH to send only the matching key for each host.
  2. Automatic Per-Host Commit Signing: Git does not read ~/.ssh/config when it signs commits. This script creates includeIf "hasconfig:remote.*.url:..." rules in ~/.gitconfig so Git automatically signs commits with the exact SSH key that matches your repository's remote server.
@dexhorthy
dexhorthy / the-no-ai-slop-manifesto.md
Last active November 23, 2026 14:09
The No AI Slop Manifesto

No AI Slop: A Manifesto

Written by the speakers and attendees of AIE Code Summit 2026

In 2001, 17 software engineers and leaders got together at a ski lodge in Snowbird, Utah to understand the biggest challenge of their time: heavyweight, documentation-driven software development processes.

Out of this we got the Agile Manifesto, four values and twelve principles that changed how most of the industry builds software.

Today we convene to build our own manifesto - the No AI Slop manifesto.

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
@calvindomenico
calvindomenico / go2rtc-unifi-talkback.md
Last active November 23, 2026 14:08
Two-way talk (UniFi Protect) on 4 cameras via go2rtc #2340 β€” build notes + Home Assistant setup

Updated 2026-11-04: sections 3 and 4 now show the stream and card config we actually run, plus a security note. The earlier version showed separate video and talk streams and didn't give a card config.

What this gets you

Native two-way talk ("talkback") on UniFi Protect cameras through go2rtc and Home Assistant, using the unifi-talkback: source added by #2340. No more exec:ffmpeg-to-raw-RTP hacks. This opens an actual UniFi Protect talkback session via the Protect API, so it only activates the camera's speaker when you actually push audio to it. Passive viewing never triggers the speaker.

We rebuilt go2rtc from v1.9.15 + #2340 and verified it across 4 cameras (2Γ— UniFi Protect G4 Doorbell Pro and 2Γ— UniFi Protect G4 Instant, behind a UniFi console/controller), with two-way talk passing an overall audio check across all 4 devices. Writing up the exact steps in case it saves someone else the trial and error.

Needs a PR build for now. #2340 isn't merged yet, so this means building go2r

@bartleboeuf
bartleboeuf / Dockerfile
Created November 22, 2026 15:00
Strand-Decider CPU in Docker
FROM public.ecr.aws/docker/library/python:3.14-slim
RUN pip install --no-cache-dir "strands-decider[cpu]"
ARG DECISION_MODEL="StrandsAgents/strands-decider-2B-hobson-v21"
ENV DECISION_MODEL=${DECISION_MODEL}
RUN strands-decider ask ${DECISION_MODEL} \
--state "Help! My payouts have been failing for 3 days! " \
--choice "Which team should handle this?=billing,sales,retail" --device cpu
EXPOSE 8099
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
@esmaeelE
esmaeelE / XFCE Hide-Show Desktop icons
Last active November 23, 2026 14:00
Run bash script to switch between show/hide desktop icons
#!/bin/bash
OUTPUT="$(xfconf-query -c xfce4-desktop -p '/desktop-icons/style' -a)"
if [ "$OUTPUT" -eq "0" ]; then
echo "Show Desktop icons"
xfconf-query -c xfce4-desktop -np '/desktop-icons/style' -t 'int' -s '2'
elif [ "$OUTPUT" -eq "2" ];
then
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@xhit
xhit / uuidv7.php
Last active November 23, 2026 13:54
UUIDv7 in PHP
<?php
// uuidv7 see https://www.rfc-editor.org/rfc/rfc9562#name-uuid-version-7
function uuidv7() {
// current timestamp in ms
$timestamp = intval(microtime(true) * 1000);
return sprintf(
'%02x%02x%02x%02x-%02x%02x-%04x-%04x-%012x',
// first 48 bits are timestamp based