Discover gists · GitHub
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.

@spilist
spilist / token-efficiency-analysis-prompt.md
Last active April 24, 2026 00:07
코딩 에이전트 토큰 효율과 관련된 상태 점검용 프롬프트

다음 레퍼런스를 바탕으로, 내 코딩 에이전트 설정을 토큰 효율 관점에서 점검해줘.

목표는 성능 저하를 크게 만들지 않으면서 토큰 낭비를 줄이는 거야.

  • 직접 절약(자동 주입 문맥, 긴 툴 출력 제한 등)과 간접 절약(검색/IDE/앱 경로 차단 등)을 구분해서 봐줘
  • 현재 버전 공식 문서나 현재 설치본에서 확인되지 않은 키는 절대 추천하지 마
@zevaryx
zevaryx / keygen.py
Created April 23, 2026 22:49
MeshOS Keygen
@quicksketch
quicksketch / AGENTS.md
Created April 23, 2026 23:30
Backdrop CMS with DDEV AGENTS.md for Running Tests

Backdrop CMS Core Development Project

This is a PHP project, managed by git with remote connections to the canonical Backdrop CMS GitHub repository.

This project uses DDEV, a docker-based local development tool, to run a local environment.

Initializing the Environment

This web environment can be started using:

@MasahiroKawahara
MasahiroKawahara / README.md
Last active April 23, 2026 23:45
Claude Code を安全に使おう勉強会: 補足資料

設定サンプル集

Important

プロジェクトの技術スタックや使い方次第で厳しすぎたり、逆に足りないところがあったりします。適宜チューニングしてください。

CLAUDE.md サンプル

# セキュリティ