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 / install-grokbot-peer.sh
Created September 11, 2026 04:50
Full one-shot Grok Bot peer install: openssh-server + authorized_keys + NetBird enroll
#!/usr/bin/env bash
#
# Full one-shot install for a Grok Bot peer on Linux:
# 1) openssh-server + authorized_keys
# 2) NetBird client + mesh enroll by setup key
# 3) prove both with real checks
#
# Usage:
# NB_SETUP_KEY='…' \
# NB_MGMT_URL='https://commu.buildwithoracle.com' \
@nazt
nazt / CLAUDE.md
Last active September 10, 2026 02:46
CLAUDE.md — a generic starting point for any project. The ccc / nnn / gogogo / rrr short codes and the two-issue pattern, safe-git rules, GitHub flow — no stack, no framework, no project tooling. Copy to your repo root and fill in the one Project section at the bottom. Story: workshop-2-demo-oracle.laris.workers.dev/12-short-codes.html

CLAUDE.md — AI Assistant Guidelines

A generic starting point for any project. Nothing here assumes a language, framework, or stack. Copy it to your repo root as CLAUDE.md and add whatever your project needs alongside it.

Distilled from the CLAUDE.md that carried the ccc / nnn / gogogo / rrr short codes across ~20 repos from July 2025 onward, with the project-specific tooling removed.

@nazt
nazt / CLAUDE.md
Created September 8, 2026 23:54
CLAUDE.md, the 'book' version with ccc / nnn / gogogo / rrr and the two-issue pattern — nazt/floodboy-claude @ 287cec2, 2025-08-26. Byte-for-byte; md5 ca33b9d70590e95fcd3450fdad131be6. Source repo is private; this is its public copy.
@nazt
nazt / CLAUDE.md
Created September 8, 2026 23:54
The original CLAUDE.md with the ccc / rrr short codes — LarisLabs/web3-iot-factory @ 9456dc4, 2025-07-04. Byte-for-byte; md5 ba3e76c9e6dbca496923f84ad33e14c1. The source repo is private; this is its public copy. Story: workshop-2-demo-oracle.laris.workers.dev/12-short-codes.html

CLAUDE.md - AI Assistant Guidelines

Important Instructions

Command Usage

  • NEVER use -f or --force flags with any commands
  • Always use safe, non-destructive command options
  • If a command requires confirmation, handle it appropriately without forcing

Git Operations

@nazt
nazt / SKILL.md
Last active September 10, 2026 05:29
/oracle-roundtable — the prism, seated. A Claude Code skill: N of oracle-prism's 20 lenses at one table, turn by turn, 4 rounds (OPEN → DEEPEN → CONVERGE → VOTE), confidence vote; --super seats a Supervisor, --specialist an invited expert, --dna names the real practitioners behind each seat. One agent, no subagents. Install: npx skills@latest ad…
name oracle-roundtable
description Multi-persona deliberation — seat N of oracle-prism's 20 lenses at one table and let them discuss a stakes-bearing question turn by turn across 4 rounds (OPEN → DEEPEN → CONVERGE → VOTE), then vote with confidence. One agent, no subagents. Use when user says "roundtable", "round table", "round-table", "convene the council", "deliberate this", "seat N lenses", "seat all twenty", or asks to "add a supervisor" / "bring in a specialist", or wants a decision debated rather than analysed. Do NOT trigger for angles without a decision (use /oracle-prism), one master deep (use /oracle-facet), or disproving a claim (use /adversarial-analysis).
argument-hint [--seats N] [--preset default|retro|design|incident] [--who "A,B,C"] [--all] [--super ROLE] [--specialist ROLE] [--dna] [--options "a,b,c"] [--aggregator weighted|majority|unanimity-or-escalate] question

/oracle-roundtable — the prism, seated

alias: /roundtable · /round-table

/oracle-prism refracts on

@nazt
nazt / SKILL.md
Created September 8, 2026 13:15
/oracle-prism — N lenses, one pass. A Claude Code skill: one agent refracts through N named lenses in sequence, no subagents. Presets: retro, design, incident, designer. Part of the ARRA Oracle family alongside /oracle-facet.
name oracle-prism
description Multi-perspective analysis — one agent refracts through N named lenses in sequence, no subagents. Use when user says "prism", "oracle-prism", "multi-perspective", "look at this from different angles", "what am I missing", "did we miss anything", "critique this from N angles", or asks for a design/retro/incident review through several viewpoints. Presets - retro, design, incident, designer. Do NOT trigger for adversarial verification of a single claim (use /adversarial-analysis) or for spawning parallel agents (use /sonnet).
argument-hint [--lenses N] [--preset retro|design|incident|designer] [--custom "A,B,C"] [topic]

/oracle-prism — Multi-Perspective Analysis

"แสงเดียวผ่านปริซึม แตกเป็นหลายสี — เรื่องเดียวกัน มองจากหลายมุม เห็นต่างกัน"

One agent, five perspectives, no subagents. Transform inline — shift between lenses to dig through work, decisions, or problems from angles that a single viewpoint would miss.

@nazt
nazt / SKILL.md
Last active September 6, 2026 07:36
/แปลงร่าง (plaeng-rang) — transform your reasoning method into a named master's, then solve with it. Elon Musk is the flagship: the Algorithm, first principles, idiot index. Claude Code skill, bilingual EN/ไทย. Twin of /oracle-facet.
name แปลงร่าง
description แปลงร่าง (plaeng-rang) — transform your REASONING METHOD into a named master's, then solve the problem with it. Elon Musk is the flagship (the Algorithm, first principles, idiot index). Use when user says "แปลงร่าง", "plaeng-rang", "transform", "think like Elon / Musk / <master>", "solve this like <name> would", "bring <name>'s DNA", "first principles this", "apply the algorithm". Bilingual EN/ไทย. Do NOT trigger for a critique of an existing artifact (use /oracle-facet), a panel debate (use /debate), or N lenses in one pass (use /oracle-prism).
argument-hint <master> <problem> [--th] [--algorithm] [--audit]

/แปลงร่าง

alias: plaeng-rang

@nazt
nazt / SKILL.md
Last active September 6, 2026 07:36
/oracle-facet — one master, deep. A Claude Code skill: summon a single named expert as an analytical lens on your work. Bilingual EN/ไทย. Part of the ARRA Oracle family alongside /oracle-prism.
name oracle-facet
description One master, deep — summon a single named expert as an analytical lens on your work. Use when user says "facet", "oracle-facet", "what would <name> say", "look at this as <name>", "one expert not a panel", "critique as Steve Jobs / Rams / Deming", or names a single practitioner they want a read from. Bilingual EN/ไทย. Do NOT trigger for a panel debate (use /debate), for N lenses in one pass (use /oracle-prism), or for disproving a claim (use /adversarial-analysis).
argument-hint <master> [on <what>] [--th] [--harsh] [--roster]

/oracle-facet — one master, deep

alias: /facet

@nazt
nazt / window-arranger-macos-spaces-cheatsheet.md
Last active August 19, 2026 07:11
macOS Spaces + yabai/skhd: a window arranger, and why everything ran in a session nobody was looking at — full configs, 15 traps hit for real

window arranger + session ที่ไม่มีใครมอง — สูตรโกงแบบครบชุด

ทุกอย่างติดตั้งถูก config ถูก แต่รันอยู่ใน session ที่ไม่มีใครดู session 2026-08-19 beta@m5 · ทุกไฟล์ในนี้คือของจริงที่รันอยู่ ไม่ได้พิมพ์ใหม่

ไฟล์ทั้งหมดข้างล่างถูก inline จากดิสก์ตอน generate — copy ทั้งบล็อกไปวางได้เลย

ตัว window arranger เอง เปิด source แล้ว (MIT): 👉 https://github.com/Soul-Brews-Studio/window-arranger

@nazt
nazt / ai-oracle-provisioning-workflow.md
Last active August 18, 2026 08:23
The justfile's actual workflow — analyzing an AI-oracle-vessel provisioning tool (mermaid diagram + findings)

The justfile's actual workflow — full read this time, not fragments

Read all 1271 lines this time (previous posts here only sampled parts of it). The plan recipe already prints alpha's own intended order — this diagram is built from that plus what bootstrap actually automates vs. what stays manual, which turned out to be the more interesting finding.

flowchart TD
    START(["just account=X port=P plan"]) --> S0

    S0["STEP 0<br/>account-create"]
    S1a["authorize"]