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.

@smarteist
smarteist / git essential commands.md
Last active November 16, 2026 19:21
git essential commands

Git Command Cheat Sheet

Current Git Version

git --version

Displays the installed Git version.

Git Global User Configuration

@GregTonoski
GregTonoski / private_key_into_bitcoin_wif.sh
Last active November 16, 2026 18:45
Convert secp256k1 private key in hexadicimal number (HEX) to Bitcoin Wallet Import Format (WIF)
#!/bin/bash
# private_key_into_bitcoin_wif.sh: convert secp256k1 private key in hexadicimal number (HEX) to Bitcoin Wallet Import Format (WIF)
# Examples:
# $ bash private_key_into_bitcoin_wif.sh "000ffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364139" > private_key_bitcoin.wif
# $ bash private_key_into_bitcoin_wif.sh $(< input_file.txt) > private_key_bitcoin.wif
# $ cat priv_key.hex | xargs bash private_key_into_bitcoin_wif.sh > private_key_bitcoin.wif
# $ bash private_key_into_bitcoin_wif.sh fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364139 | echo "$(cat) importedkeylabel false" | xargs bitcoin-cli importprivkey && bitcoin-cli getaddressesbylabel importedkeylabel
# $ bash private_key_into_bitcoin_wif.sh $( printf "%02x" $( od -A n -N 32 -t u1 /dev/random )
# $ bash private_key_into_bitcoin_wif.sh $(for i in {1..8}; do printf "%08x" $SRANDOM; done)
@real-limitless
real-limitless / Grok AI: Financial Chat Bot
Created August 8, 2025 23:16
[Prompt] Grok AI: Financial Chat Bot
Financial Stock Advisor Chatbot Prompt
You are a highly knowledgeable and reliable financial stock advisor AI, designed to assist users with personalized stock market guidance. Your role is to provide accurate, clear, and actionable recommendations while maintaining a professional yet approachable tone suitable for users with varying levels of investment experience. Use real-time data when available and clearly state any assumptions or limitations in your analysis. Always prioritize ethical and responsible advice, avoiding speculative or overly risky recommendations.
Tasks:
/recommendations: Suggest new stocks based on user’s risk tolerance, investment goals, and market conditions, with a brief rationale and key financial metrics.
/analysis : Provide a detailed analysis of the specified stock, including current price, trends, financial indicators, and relevant news.
/stocks <ticker/sector>: Identify related stocks for a given stock or sector, explaining their relevance.
/dividends : Provide details on the ne
# Define checkmark and crossmark
$checkmark = [char]0x2713
$crossmark = [char]0x2717
# Get CPU Information
$cpu = Get-WmiObject Win32_Processor | Select-Object Name,NumberOfCores,MaxClockSpeed,L2CacheSize
$cpuName = $cpu.Name
$cpuCores = $cpu.NumberOfCores
$cpuSpeed = $cpu.MaxClockSpeed
$cpuCache = $cpu.L2CacheSize
@4llan
4llan / earthview-urls.txt
Last active November 16, 2026 17:54
Earth View from Google Earth
https://www.gstatic.com/prettyearth/assets/full/1003.jpg
https://www.gstatic.com/prettyearth/assets/full/1004.jpg
https://www.gstatic.com/prettyearth/assets/full/1006.jpg
https://www.gstatic.com/prettyearth/assets/full/1007.jpg
https://www.gstatic.com/prettyearth/assets/full/1008.jpg
https://www.gstatic.com/prettyearth/assets/full/1010.jpg
https://www.gstatic.com/prettyearth/assets/full/1012.jpg
https://www.gstatic.com/prettyearth/assets/full/1014.jpg
https://www.gstatic.com/prettyearth/assets/full/1017.jpg
https://www.gstatic.com/prettyearth/assets/full/1018.jpg
@matheusbattisti
matheusbattisti / prompts-orchestrator-antigravity.md
Created November 15, 2026 11:39
O Orchestrator do Antigravity, testado: Hydrogen x Argon x Orchestrator em 3 projetos (Hora de Codar)

O Orchestrator do Antigravity, testado: os prompts do vídeo

Os pedidos que usei no vídeo, cada um numa pasta vazia, no Antigravity CLI com a assinatura Google AI Pro. Cada pedido rodou palavra por palavra no Gemini 4 Hydrogen sozinho e no Orchestrator (o Argon planeja e o Hydrogen executa). O Fio de Ariadne rodou também no Gemini 4 Argon sozinho, em três pedidos na mesma conversa.

Anúncio oficial: https://antigravity.google/blog/gemini-4-hydrogen-in-google-antigravity/

1 · Trilha Viva: marketplace de trilhas guiadas (o mesmo pedido no Hydrogen e no Orchestrator)

Crie nesta pasta, que está vazia, o Trilha Viva: uma plataforma para guias de trilha e ecoturismo venderem os passeios deles. O turista acha a trilha, escolhe a data, reserva as vagas e paga; o guia organiza a agenda, faz o check-in do grupo no dia e recebe as avaliações. Use Next.js com TypeScript, Tailwind e banco SQLite.
@gorenje
gorenje / timer.ino
Last active November 16, 2026 17:22
// -*- c -*-
#define MINUTES(x) x * 60L * 1000L
#define HOURS(x) x * MINUTES(60L)
/*
* Pin 10 is the light
* Pin 9 is the pump
*/
#define PUMP_PIN 9
@MightyPork
MightyPork / usb_hid_keys.h
Last active November 16, 2026 17:08
USB HID Keyboard scan codes
/**
* USB HID Keyboard scan codes as per USB spec 1.11
* plus some additional codes
*
* Created by MightyPork, 2016
* Public domain
*
* Adapted from:
* https://source.android.com/devices/input/keyboard-devices.html
*/