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.

@Hogeyama
Hogeyama / .envrc
Created April 2, 2026 13:31
NixOS + Playwright CLI demo
use flake
PATH_add node_modules/.bin
@phuaky
phuaky / astra-gpt-6-use-cases.md
Last active September 13, 2026 02:55
Astra / GPT-6: 366 reported use cases, category counts, source tweets, and research limitations (13 Sep 2026)

Astra / GPT-6: 366 reported projects and workflows

Research snapshot: 13 September 2026 at 05:41 Singapore time.

XRAI retained 23,858 distinct text-bearing tweet IDs by this cutoff. The previous audit contained 235 cases. Reviewing 347 newly retained Astra/GPT-6 candidates added 131 distinct projects or workflows, producing this single consolidated list of 366 reported projects or workflows.

These are reports in retained tweets, not independently verified successes or production deployments. Attached media, linked demos, accuracy, revenue, and production use were not independently checked. Apparent reposts and same-project follow-ups are merged where identifiable.

Category counts

(?i)((access_key|access_token|admin_pass|admin_user|algolia_admin_key|algolia_api_key|alias_pass|alicloud_access_key|amazon_secret_access_key|amazonaws|ansible_vault_password|aos_key|api_key|api_key_secret|api_key_sid|api_secret|api.googlemaps AIza|apidocs|apikey|apiSecret|app_debug|app_id|app_key|app_log_level|app_secret|appkey|appkeysecret|application_key|appsecret|appspot|auth_token|authorizationToken|authsecret|aws_access|aws_access_key_id|aws_bucket|aws_key|aws_secret|aws_secret_key|aws_token|AWSSecretKey|b2_app_key|bashrc password|bintray_apikey|bintray_gpg_password|bintray_key|bintraykey|bluemix_api_key|bluemix_pass|browserstack_access_key|bucket_password|bucketeer_aws_access_key_id|bucketeer_aws_secret_access_key|built_branch_deploy_key|bx_password|cache_driver|cache_s3_secret_key|cattle_access_key|cattle_secret_key|certificate_password|ci_deploy_password|client_secret|client_zpk_secret_key|clojars_password|cloud_api_key|cloud_watch_aws_access_key|cloudant_password|cloudflare_api_key|cloudflare_auth_k
@moisseev
moisseev / TB_Chat_auth.md
Last active September 13, 2026 02:48
Using Thunderbird's Chat to connect to IRC servers requiring authentication

There are two ways to authenticate on IRC server:

  1. Identify nick with NickServ;
  2. Using the PASS command in the IRC protocol (not supported in the Thunderbird UI).

If your server or bouncer requires [2], set the following preferences as string values:

messenger.account.accountN.options.serverPassword
messenger.account.accountN.options.username
@ndraiman
ndraiman / ssh_into_wsl2.md
Last active September 13, 2026 02:42
SSH Into WSL2

Guide: How to SSH Into WSL2

Install WSL2 SSH server

  1. Open your wsl ubuntu terminal

  2. install open-ssh server

    sudo apt update 

sudo apt install openssh-server

@acmerfight
acmerfight / pi-vs-opencode-report-zh.md
Last active September 13, 2026 02:33
Pi vs OpenCode: The Definitive Factual Report — Evidence-based deep comparison of two open-source AI coding agents (2026-05-06)

Pi vs OpenCode

两大开源 AI 编码 Agent 的事实性深度对比
数据截至 2026-05-06 | 基于 GitHub 源码、npm 数据、Exa 搜索、7+ 篇独立评测交叉验证


@brenogazzola
brenogazzola / gist:0f8d2dc191e217d5ce6e9293fa34e640
Created July 15, 2026 20:03
Rails + PostgreSQL Performance Audit Playbook
# Rails + PostgreSQL Performance Audit Playbook
A field-tested method for finding what's actually burning your database CPU, built for a
Rails monolith on managed PostgreSQL (Cloud SQL / RDS / etc.). It assumes no APM — just
`pg_stat_statements`, `pg_stat_activity`, and discipline. It pairs well with an LLM: point
one at this file plus your query results and let it do the attribution; the queries below
are ordered so a human can run them and paste results back.
## The core idea
@nateberkopec
nateberkopec / claude-code-review-workflow-report.md
Created September 8, 2026 23:50
Claude Code 2.1.220: the hidden JavaScript code-review workflow, its stages, and its activation conditions

The built-in code-review workflow in Claude Code 2.1.220

1. Result

Claude Code 2.1.220 contains a built-in JavaScript workflow named code-review.

The program registers this workflow with hidden: true. The workflow is inside the installed executable. It is not the public Markdown code-review plugin.

The workflow has five stages:

@ossa-ma
ossa-ma / tropes.md
Last active September 13, 2026 02:27
AI Writing Tropes to Avoid — tropes.fyi by ossama.is

AI Writing Tropes to Avoid

Add this file to your AI assistant's system prompt or context to help it avoid common AI writing patterns. Source: tropes.fyi by ossama.is


Word Choice

"Quietly" and Other Magic Adverbs