Skip to content

Instantly share code, notes, and snippets.

View nickshek's full-sized avatar

Nick Shek nickshek

View GitHub Profile
@rohitg00
rohitg00 / llm-wiki.md
Last active April 18, 2026 05:13 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@championswimmer
championswimmer / how-ai-agents-are-made.md
Last active April 8, 2026 03:23
How Personal AI Agents and Agent Orchestrators like OpenClaw or GasTown are Made

How Personal AI Agents and Agent Orchestrators like OpenClaw or GasTown are Made

img-01

Over the last few months, projects like Gas Town by Steve Yegge and OpenClaw by Peter Steinberger have made “AI agent orchestrators” feel suddenly mainstream. It is tempting to treat them as a new kind of intelligence, but under the hood they are still a small set of primitives wired together with discipline: an LLM API call, a state loop, tools, memory, and orchestration.

This raises a practical question: what is actually inside an “agent,” and how is it different from ChatGPT (a chat UI over a model) or coding tools like Claude Code (an agentic coding surface)? Gas Town’s README frames it as a “multi‑agent orchest

@gcoda
gcoda / generate.sh
Created August 3, 2017 22:56
Bash script to generate favicon and other icons for website
#!/usr/bin/env bash
# based on
# https://github.com/audreyr/favicon-cheat-sheet
# https://realfavicongenerator.net/faq
# generated text files just for refrence, big sizes based on lighthouse test
SIZES="16 24 32 48 64 120 144 150 152 180 192 256 384 512"
COLOR="FFFFFF"
MANIFEST='"icons": ['
@kurozumi
kurozumi / MY_DB_mysqli_driver.php
Created June 19, 2015 05:20
【CodeIgniter3】MySQLiドライバにINSERT ON DUPLICATE KEY UPDATE 構文によるバッチ処理を追加する
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class MY_DB_mysqli_driver extends CI_DB_mysqli_driver {
final public function __construct($params)
{
parent::__construct($params);
}