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.

@gabrielfroes
gabrielfroes / prompt-de1click.md
Last active July 9, 2026 17:48
Prompt Replit para AplicaΓ§Γ£o Web Lista de Links

Crie um SaaS chamado de1.click

O de1.click Γ© uma plataforma em portuguΓͺs do Brasil para criaΓ§Γ£o de pΓ‘ginas de links para redes sociais, semelhante a uma versΓ£o mais simples, rΓ‘pida e objetiva do Linktree.

O pΓΊblico-alvo sΓ£o empresΓ‘rios, freelancers, desenvolvedores, criadores de conteΓΊdo, profissionais de marketing, jovens empreendedores e pessoas que precisam divulgar vΓ‘rios links em um ΓΊnico lugar.

A principal proposta do produto Γ© simplicidade. O usuΓ‘rio deve conseguir criar sua pΓ‘gina pΓΊblica em poucos minutos, com uma experiΓͺncia moderna, mobile first e intuitiva.

O fluxo principal do usuΓ‘rio deve ser:

@fnky
fnky / ANSI.md
Last active July 9, 2026 16:36
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active July 9, 2026 16:29
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# πŸͺ« Low Battery Notifications & Actions
**Version: 3.4**
πŸš€ Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!πŸ”‹βš‘
@TheTechromancer
TheTechromancer / AGENTS.md
Last active July 9, 2026 16:27
A battle-tested AGENTS.md for higher quality code output. Helps avoid "AI slop creep" by keeping your codebase lean and clean.

Agent Guidelines

This document exists to keep the codebase minimal, elegant, and proper.

Modularity Principle

Default to modular. When you design anything with more than one variant β€” or that will plausibly grow one β€” the first question is "what's the unit, and how does the rest of the code stay ignorant of which one it's looking at?" That mindset applies at every scale: from a small enum where one method per variant

# ============================================
# Ghostty Terminal - Complete Configuration
# ============================================
# File: ~/.config/ghostty/config
# Reload: Cmd+Shift+, (macOS)
# View options: ghostty +show-config --default --docs
# --- Typography ---
font-family = "Maple Mono NF CN"
font-size = 14
@divyajyotiuk
divyajyotiuk / get_twitter_bookmarks.py
Last active July 9, 2026 15:48
Python code to get text and link of the bookmarked tweets and save in markdown
import json
import glob
all_bookmarks = []
md_file = open("bookmarks.md", "w+") # saving in markdown file, if no file exists using '+' creates one
files = [file for file in glob.glob("JSONBookmarks/*")] # using glob to read all files from the folder
for file_name in files:
print(file_name)
with open(file_name) as bk:
/*
* Copyright 2026 Kyriakos Georgiopoulos
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software