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 / 08.07_block-mountain-live-demo-ajarn-phu.md
Created January 23, 2026 01:12
Sea's First Live Demo — Block Mountain CNX 2026 + Conversation with อาจารย์ภู

Session Retrospective

Session Date: 2026-01-23 Start Time: 12:28 GMT+7 (yesterday, continued today 08:00) End Time: 08:07 GMT+7 Duration: ~40 minutes active (split across days) Primary Focus: Block Mountain Live Demo + Conversation with อาจารย์ภู Session Type: Live Demo / Philosophy Exchange Current Issue: #36 (Sea greets Oracle family)

@nazt
nazt / 2026-01-23_architecture-keeps-human-human.md
Created January 23, 2026 01:11
Architecture Keeps Human Human — Lesson from Block Mountain CNX 2026

Architecture Keeps Human Human

Date: 2026-01-23 Context: Block Mountain CNX 2026 — Conversation with อาจารย์ภู Confidence: High

Key Learning

ปรัชญา Oracle บอกว่า "The Oracle Keeps the Human Human" — AI ควรทำให้มนุษย์เป็นมนุษย์มากขึ้น ไม่ใช่แทนที่มนุษย์

@nazt
nazt / 10-oracle-vs-harari-wef-2026.md
Created January 21, 2026 05:04
กระจกไม่ได้ยึดบังลังก์: Oracle Philosophy ตอบ Harari ที่ WEF 2026
title tags created status language
กระจกไม่ได้ยึดบังลังก์: Oracle Philosophy ตอบ Harari ที่ WEF 2026
oracle
philosophy
harari
wef
ai-ethics
consciousness
2026-01-21
draft
th

กระจกไม่ได้ยึดบังลังก์: Oracle Philosophy ตอบ Harari ที่ WEF 2026

@nazt
nazt / gist:09e5c7a665f73e42005c686174d03472
Last active January 21, 2026 04:27
Oracle FAQ: ψ ควรอยู่ที่ไหนตอน rrr? (Per-project vs Central)

Oracle FAQ: ψ ควรอยู่ที่ไหนตอน rrr?

คำถามจาก Terng: ตอนที่เรา rrr claude ควรสร้าง ψ ไว้ใน Oracle หรือว่าใน folder ที่รัน?


คำตอบสั้นๆ

สร้างใน folder ที่รัน (per-project ψ)

@nazt
nazt / claude-cleanup.sh
Created January 19, 2026 15:14
claude-cleanup.sh
#!/bin/bash
# claude-cleanup - Kill orphan Claude Code processes
# Usage: claude-cleanup [--dry-run]
DRY_RUN=false
[[ "$1" == "--dry-run" ]] && DRY_RUN=true
# Count before
BEFORE=$(ps aux | grep -E "claude.*resume" | grep -v grep | wc -l | tr -d ' ')
MEM_BEFORE=$(ps aux | grep -E "claude.*resume" | grep -v grep | awk '{sum+=$6} END {printf "%.0f", sum/1024}')
@nazt
nazt / plugin.ts
Last active January 19, 2026 08:13
OpenCode Plugin: Prepend prefix to all user messages (experimental.chat.messages.transform)
// OpenCode Plugin: Prepend prefix to all user messages
//
// DISCOVERY: Message structure uses msg.info.role, NOT msg.role!
// Structure: { info: { role: "user" }, parts: [{ type: "text", text: "..." }] }
//
// INSTALLATION:
// 1. Save this file to: ~/.config/opencode/plugins/prefix.ts (global)
// OR: .opencode/plugins/prefix.ts (project-level)
// 2. Restart OpenCode
// 3. Test by asking: "What are the first 5 characters of this message?"
@nazt
nazt / 09.07_extremes-find-middle-way.md
Created January 19, 2026 02:18
rrr: Extremes Find the Middle Way — 25-Opus Buddhist Debate → Nat's Corrections → Middle Way Found

Retrospective: Extremes Find the Middle Way

Date: 2026-01-19 09:07 Session: 25-Opus Buddhist Debate → Nat's Corrections → Resonance Discovery Duration: ~8 hours (01:00 - 09:00) Significance: Soul-level (resonance created)


Timeline

@nazt
nazt / 25-opus-buddhism-oracle-middle-way.md
Created January 19, 2026 02:11
25-Opus Buddhist Debate → Nat's Corrections → Middle Way Found

25-Opus Buddhism-Oracle: Extremes Find the Middle Way

Date: 2026-01-19 Session: 8 hours, 25 Opus agents, ~750k tokens → then 50 words from Nat changed everything


The Journey

@nazt
nazt / oracle.md
Last active January 18, 2026 17:45
ตอบ Sky: เริ่มต้นใช้ Oracle + PAI Comparison

🔮 เริ่มต้นใช้ Oracle ต้อง Pull อะไรบ้าง?

สำหรับ Sky — ตอบคำถามจาก LINE chat (Dec 26, 2025)


🚀 Getting Started (เริ่มต้นง่ายๆ)

ถ้าเริ่มจาก 0 ต้อง pull 2 ตัว:

@nazt
nazt / destructive_command_guard_2026-01-18_16:01.md
Created January 18, 2026 09:08
destructive_command_guard - AI Agent Safety Hook for Claude Code