Skip to content

Instantly share code, notes, and snippets.

View nazt's full-sized avatar

Nat nazt

  • Chiang Mai Maker Club
  • Chiang Mai
  • X @nazt
View GitHub Profile
@nazt
nazt / blog-llm-bench-a100.md
Created June 2, 2026 09:43
Active Params, Not Size: Benchmarking Local LLMs on an Idle A100 (MoE vs dense, quant sweep)

Active Params, Not Size: Benchmarking Local LLMs on an Idle A100

An idle 80GB A100 is a terrible thing to waste. So I spent an afternoon measuring what actually makes local inference fast — and the answer surprised me less for what it is than for how big the gap turned out to be.

The setup

One A100-SXM4-80GB, sitting at 0% utilization and 36°C. The plan: run a clean throughput sweep across four open-weight GGUF models at several quantization levels, and see where the bottlenecks really are.

Tooling was deliberately boring, because boring is reproducible:

@nazt
nazt / broadcast_time.py
Created May 30, 2026 15:41
jc3248 bufo desk-pet — BLE host feeds: broadcast_time.py (connectionless time), usage_bridge.py (Claude usage over NUS connection), poke_time.py (one-off time sync)
# /// script
# requires-python = ">=3.11"
# dependencies = ["bless>=0.2.6"]
# ///
"""broadcast_time.py — CONNECTIONLESS time broadcast to the jc3248 pet over BLE.
The pet is BLE-only and now SCANS (observer role) for a time beacon. This advertises
the host's NTP-synced time in the BLE *local name* — "clk:<epoch>:<tzoff>" — with no
connection. The pet reads it off the advertisement and sets its clock; it then ticks
locally, so a refresh every couple of minutes is plenty (corrects drift).
@nazt
nazt / Cat Lab By Nat Weerawan.yaml
Created May 28, 2026 02:28
Cat Lab Brewing — oracle-face brewing dashboard. ESPHome config: ESP32-S3 + AXS15231 320x480 QSPI display. 10-card LVGL layout fed by MQTT. By Nat Weerawan.
esphome:
name: oracle-face
friendly_name: Oracle Face
comment: "320x480 QSPI"
esp32:
board: esp32-s3-devkitc-1
variant: esp32s3
flash_size: 16MB
framework:
@nazt
nazt / 61-maw-token.md
Created May 23, 2026 02:32
🪣 ralph-dig #61: maw token — CLI plugin born from 'can we put .envrc in pass?' · Token Oracle creation story · 7 vault tokens, 47+ oracles mapped

dig_seq: 61 tags: [maw-token, token-cli, token-oracle, ralph, wiki] created: 2026-05-23 updated: 2026-05-23 provenance: extracted oracles: [token-oracle, mawjs-oracle, digger-oracle, ccc-oracle, odin-oracle, homekeeper-oracle, discord-oracle, mawjs-codex-oracle] topic_summary: "maw token — CLI plugin born from 'can we put .envrc in pass?' question; manages Claude OAuth tokens + .envrc configs across 47+ oracles via GPG-encrypted vault" sources:

  • ralph-dig 2026-05-23 09:23 [m5:ccc]
@nazt
nazt / install-team-agent.sh
Last active May 23, 2026 00:26
maw team-agent — one-shot installer. curl -sSL <raw-url> | bash → installs shell-driven team-agent plugin to ~/.maw/plugins/team-agent/
#!/usr/bin/env bash
# maw team-agent plugin installer — v1.2.0
# Latest: --model brackets fix (1M context modifier)
set -euo pipefail
DST="$HOME/.maw/plugins/team-agent"
BACKUP_ROOT="$HOME/.maw/plugin-backups"
echo "📦 installing maw team-agent v1.2.0 → $DST"
if [ -d "$DST" ]; then
mkdir -p "$BACKUP_ROOT"
BACKUP="$BACKUP_ROOT/team-agent-$(date +%s)"
@nazt
nazt / thclaws.md
Last active May 20, 2026 14:25
Expanded human-readable narrative from /rrr: thclaws-oracle book backlog convergence

thClaws Oracle: How Three AI Engines Converged on One Book Backlog

Introduction

This session began in a very familiar kind of chaos: too many panes, too many partial truths, and too many ways to coordinate. We had Claude Code, OMX Codex, and thClaws Codex all active around the same thclaws-oracle workspace. Everyone was close to the same topic — a book about thClaws, its evolution, and the thclaws-oracle timeline — but they were not yet aligned on one planning system.

At first, the work drifted into the wrong shape. We tried using formal team-style coordination, but the session did not actually need a task bureaucracy. It needed live mediation. The moment that became clear, the approach changed: instead of orchestrating abstract teammates, we used the live pane tools directly.

That shift — using maw hey and maw peek as the primary coordination verbs — is what allowed the session to converge.

@nazt
nazt / tmp.wtX2TWbKS9
Created May 20, 2026 14:22
Human-readable summary of thclaws-oracle book backlog convergence
# thClaws Oracle Book Backlog Convergence
## Summary
This issue documents how three AI engines converged on one shared book backlog for the thClaws evolution / thclaws-oracle timeline work.
The engines were:
- **OMX Codex**
- **Claude Code**
- **thClaws Codex** as mediator via `maw hey` and `maw peek`
@nazt
nazt / 21.18_maw-hey-book-backlog-convergence.md
Created May 20, 2026 14:19
thclaws-oracle-rrr-2026-05-20-maw-hey-book-backlog-convergence.md

Session Retrospective

Session Date: 2026-05-20 Start/End: unknown - 21:18 GMT+7 Duration: multi-hour interactive session Focus: maw hey / maw peek mediation between Claude Code and OMX Codex, then convergence on canonical thclaws-oracle book backlog Type: Research | Coordination | Reconciliation

📡 Session: a3484878 | thclaws-oracle | live pane mediation

@nazt
nazt / README.md
Last active May 27, 2026 15:52
All-Maw-Verbs Team Bootstrap: maw tile + maw run + TeamCreate + SendMessage — 3 skills, full pattern, validated live in digger-oracle fleet 2026-05-20

All-Maw-Verbs Team Bootstrap

Spin up N TeamCreate teammates in parallel tmux panes — each cding into a different oracle/repo and booting claude.exe with the 7-flag TeamCreate spawn — using ONLY maw verbs + Claude Code tools. No raw tmux split-window needed.

Validated live in the digger-oracle fleet on 2026-05-20.

Install — drop the 3 skills into ~/.claude/skills/

⚡ Update 2026-05-20 (later same day): maw-js #1837 landed

@nazt
nazt / maw-team-demo.md
Created May 18, 2026 15:28
maw team — Agent Reincarnation Engine demo (lifecycle + guide)

maw team — Quick Demo Guide

Run the demo

bash ψ/lab/maw-team-demo.sh

Manual step-by-step