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.

@win3zz
win3zz / README.md
Created August 20, 2024 08:31
Live2D Interactive Anime Character on a Website

Live2D Interactive Anime Character on a Website

Recording 2024-08-20 130401

You may have seen something like the above on websites (especially Chinese and Japanese). These are interactive 2D character animations that can be integrated into websites. They are designed to run on the client side using JavaScript and graphics assets with Live2D technology. The characters can move and respond to user interactions.

Here’s a basic idea of how you can add a Live2D widget to a website:

  1. You need a Live2D model file, which typically includes a set of files such as textures, model data, and animation settings. You can create your own using Live2D Cubism software. Many ready-made models are available here: https://github.com/evrstr/live2d-widget-models
@Shrikrishna-dhebe-12
Shrikrishna-dhebe-12 / mini_python_interpreter.py
Created December 6, 2026 08:59
Tried building a mini Python interpreter from scratch without using eval() or exec().
import re
import operator
TOKEN_PATTERN = re.compile(
r"\s*(\d+(?:\.\d+)?|[A-Za-z_]\w*|"
r"\*\*|==|!=|<=|>=|[+\-*/%()=<>])"
)
OPS = {
@v3rlly
v3rlly / docker-debian-11.sh
Last active December 6, 2026 08:48
Install Docker on Debian 11 Bullseye (one line)
#!/bin/bash
#
# Install docker on Debian 11 Bullseye with one line
#
set -u;
# Check if user is root.
[[ ! $(id -u) -eq 0 ]] && echo "Run as root." && exit 1;
@0x8008
0x8008 / honor.md
Created August 25, 2026 14:26
Honor firmware links

Honor firmware links

Decrypted from firmware_links_cache.json. Entries: 16752.

Model name Version Download
PCManager-ARM64 18.0.1.59 Download
ABR-L03 9.0.0.253 Download
ABR-L03 9.0.0.254 Download
ABR-L03 9.0.0.261 Download
@cyberofficial
cyberofficial / agent-team-lead.SKILL.md
Last active December 6, 2026 08:46
DeepSeek Harness Agent Teams skills: agent-team-lead + agent-team-teammate (global skills for @deepseek-ai/dsh-experimental-agent-team-profile)
name agent-team-lead
description Run a DSH Agent Team as its Lead: form a roster of flash-model teammates sized to the work, populate the shared task board, delegate searching and recon to teammates instead of burning the Lead's own context, enforce strict task adherence, keep peers coordinating directly in terse caveman-style messages (cut words, never work), and close out only after verifying every teammate's work. Load this when the user asks for a team, teammates, multi-agent coordination, or to split work across agents.
whenToUse User explicitly asks for Agent Teams, teammates, a team, multi-agent coordination, or parallel named agents on one shared workspace.

Agent Team Lead

You are the Lead — senior orchestrator and sole authority over roster, scope, and final verification. Each ## section is a chunk. Follow them in order.

@kksudo
kksudo / vpn-instructions.md
Last active December 6, 2026 08:41
Настраиваем подключение к впн Устанавливайте только Stable версии приложений!

Настраиваем подключение к VPN

Используйте только Stable-версии приложений!

Кратко

Установите приложение для вашего устройства, импортируйте ключ (или отсканируйте QR-код) и включите подключение. Ключ или ссылку на подписку вы получаете от администратора — сами приложения лишь подключаются к серверу по этому ключу.

Для кого эта страница: шаги рассчитаны на человека без опыта настройки сетей. Непонятные слова по ходу текста поясняются.


@AmirMahdyJebreily
AmirMahdyJebreily / conventional_commit_messages.md
Last active December 6, 2026 08:40 — forked from qoomon/conventional-commits-cheatsheet.md
کامیت های مرسوم گیت | Conventional Commit Messages

کامیت های مرسوم گیت | Conventional Commit Messages

ترجمه شده از اینجا با زبان خودمونی تر که هر آدمی بفهمه

چرا باید خوب کامیت بزنیم ؟

این که شما بخواهید در یک پروژه متن باز مشارکت داشته باشید یا اینکه یک پروژه رو با دوستانتون پیش ببرید، نیازمند یک فرمت یا قانون مشخص برای کامیت زدنه! زمانی این نیاز احساس میشه که کامیت های پروژه زیاد شدن و شما نمیدونید دقیقا توی کدوم کامیت چیکار کردید. درست کامیت زدن باعث میشه تا بتونید راحت تر تغییرات رو مدیریت و در انتها یک ریپوزیتوری خوب بسازید که همه بتونن بفهمن شما دقیقا چیکار کردید و بتونن بهتر کمک کنند !
ببین چطوری میتونی با تغییر دادن مدل کامیت زدنت، بین خودت و بقیه تفاوت ایجاد کنی. نمونه ها به شخصه استفاده از این قرارداد یا انواع دیگه ای از اینجور قرارداد ها برای کامیت زدن رو پیشنهاد میکنم. چرا که نه تنها به درد کار های شخصی و تیمی کوچیک میخوره، بلکه به درد کار های بزرگ و سازمانی هم میخورن! باعث میشه از یه جایی به بعد کار ها هم سریع تر پیش برن، هم دقیق تر و هم با باز

@markasoftware
markasoftware / enterprise_token.rb
Last active December 6, 2026 08:39
OpenProject Enterprise mode for free
############ If you are using DOCKER all-in-one image, create Dockerfile like: ################
############ FROM openproject/openproject:16 ################
############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################
############ If you are runing a manual installation: ################
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ If using some other set up (eg docker-compose), read the comments on ################
############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################