Skip to content

Instantly share code, notes, and snippets.

View claudianus's full-sized avatar
๐Ÿ 
Working from home

ryan.h.park claudianus

๐Ÿ 
Working from home
  • Modumaru
  • South Korea
View GitHub Profile

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.

@aashari
aashari / 00 - Cursor AI Prompting Rules.md
Last active June 18, 2026 10:35
Cursor AI Prompting Rules - This gist provides structured prompting rules for optimizing Cursor AI interactions. It includes three key files to streamline AI behavior for different tasks.

The Autonomous Agent Prompting Framework

This repository contains a disciplined, evidence-first prompting framework designed to elevate an Agentic AI from a simple command executor to an Autonomous Principal Engineer.

The philosophy is simple: Autonomy through discipline. Trust through verification.

This framework is not just a collection of prompts; it is a complete operational system for managing AI agents. It enforces a rigorous workflow of reconnaissance, planning, safe execution, and self-improvement, ensuring every action the agent takes is deliberate, verifiable, and aligned with senior engineering best practices.

I also have Claude Code prompting for your reference: https://gist.github.com/aashari/1c38e8c7766b5ba81c3a0d4d124a2f58

@srestraj
srestraj / nuxt-3-gsi.md
Last active September 14, 2024 10:22
Integrate Google Sign-in with Nuxt 3.

Integrate Google Sign-in (Popup method) with Nuxt.js 3 - Works in Incognito mode as well

Add GSI client in your nuxt.config.ts
export default defineNuxtConfig({
  ...
  app: {
    head: {
@hakasenyang
hakasenyang / SSLTLS.md
Last active May 26, 2019 07:48
์•ˆ์ „ํ•œ SSL/TLS ๋ฅผ ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์•ˆ์ „ํ•œ SSL/TLS ๋ฅผ ์„ค์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

SSL/TLS ์ธ์ฆ์„œ ํฌ๊ธฐ

ํ˜„์žฌ SSL ํฌ๊ธฐ ์ค‘์— ์•ˆ์ „ํ•˜๋ฉด์„œ๋„ ๊ฐ€๋ฒผ์šด (์†๋„ ๋น ๋ฅธ) ํฌ๊ธฐ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.

  • ECC : 256 bit
  • RSA : 2048 bit

์ด ํฌ๊ธฐ๋ณด๋‹ค ๋” ํฐ ๊ฒฝ์šฐ์—๋Š” ์†๋„๊ฐ€ ๋А๋ฆฌ๋‹ค๋Š” ๋‹จ์ ์ด ์žˆ๋‹ค. ๋ฌผ๋ก  PC์—์„œ๋Š” ์ฒด๊ฐํ•˜๊ธฐ ํž˜๋“ค๊ฒ ์ง€๋งŒ, ์„œ๋ฒ„์—๋„ ๋ถ€๋‹ด ๋  ๋ฟ๋”๋Ÿฌ ๋ชจ๋ฐ”์ผ ์‚ฌ์šฉ์ž์—๊ฒŒ๋Š” ์ข‹์€ ๊ฒฝํ—˜์ด ๋˜์ง€ ๋ชป ํ•œ๋‹ค.

@jagrosh
jagrosh / Growing A Discord Server.md
Last active June 25, 2026 09:33
Tips for creating and growing a new Discord server

This guide is kept up-to-date as Discord and available resources change!
A basic server template is available here

Creating and Growing a Discord Server

logo

Introduction

Hello! I'm jagrosh#4824! I'm writing this guide to try to help new server owners set up and grow their servers, which is a commonly-requested topic. It's very easy to go about this the wrong way, so it's best to be prepared and make smart decisions so that your community can flourish!

Background

@joepie91
joepie91 / random.md
Last active May 20, 2026 08:12
Secure random values (in Node.js)

Not all random values are created equal - for security-related code, you need a specific kind of random value.

A summary of this article, if you don't want to read the entire thing:

  • Don't use Math.random(). There are extremely few cases where Math.random() is the right answer. Don't use it, unless you've read this entire article, and determined that it's necessary for your case.
  • Don't use crypto.getRandomBytes directly. While it's a CSPRNG, it's easy to bias the result when 'transforming' it, such that the output becomes more predictable.
  • If you want to generate random tokens or API keys: Use uuid, specifically the uuid.v4() method. Avoid node-uuid - it's not the same package, and doesn't produce reliably secure random values.
  • If you want to generate random numbers in a range: Use random-number-csprng.

You should seriously consider reading the entire article, though - it's

@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active June 17, 2026 14:28
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@jagrosh
jagrosh / WebhookTutorial.md
Last active May 12, 2026 13:38
Simple Webhook Tutorial (Twitter -> Discord)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel

Step 1 - Register on Zapier

  1. Go to https://zapier.com/ and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send Tweets
@NaxAlpha
NaxAlpha / HookFx.cs
Last active October 24, 2024 12:53
Windows API Hook with C#
using System;
using System.Runtime.InteropServices;
public class FxHook:IDisposable {
const int nBytes = 5;
IntPtr addr;
Protection old;
byte[] src = new byte[5];