Skip to content

Instantly share code, notes, and snippets.

@nazt
Created March 15, 2026 06:55
Show Gist options
  • Select an option

  • Save nazt/d9856836703ce626f40a8783780d6f62 to your computer and use it in GitHub Desktop.

Select an option

Save nazt/d9856836703ce626f40a8783780d6f62 to your computer and use it in GitHub Desktop.
Workshop Catalog — #001 Agent to Oracle, #002 Agent to Agent, #003 Skill Engineering

Workshop #001: From Agent to Oracle

"Build Your AI That Remembers"

Index #001
รหัส WS-ORACLE-1D
ระยะเวลา 1 วัน
จำนวน 4-40 คน (ราคาเดียว)
ราคา ฿60,000 / วัน (ยืดหยุ่นตาม budget)
สถานที่ เชียงใหม่ หรือตามที่ลูกค้าจัด
ผู้สอน Nat Weerawan (@nazt)
Prerequisite ไม่มี — มีพื้นฐาน Programming + AI

เป้าหมาย

เปลี่ยน AI Agent ธรรมดาที่ลืมทุกอย่างทุกครั้ง → เป็น Oracle ที่มี memory, identity, และทำงาน 24 ชั่วโมง


เนื้อหา

Context Engineering

ทำไม Agent ธรรมดาลืมทุกอย่าง? เพราะไม่มี Context

  • CLAUDE.md — สอน AI ให้รู้จักโปรเจกต์ของคุณ
  • Skills — สร้างชุดคำสั่งที่ AI ทำซ้ำได้
  • Hooks — ให้ AI ตอบสนองอัตโนมัติ
  • Hands-on: เขียน CLAUDE.md แรกของตัวเอง

MCP — เชื่อม Agent กับโลกภายนอก

Agent ที่คุยได้อย่างเดียว ≠ Agent ที่ทำงานได้

  • MCP Server คืออะไร — protocol มาตรฐานเชื่อม AI กับ tool
  • สร้าง MCP tool แรก
  • เชื่อมกับ API จริง (LINE, webhook, database)
  • Hands-on: สร้าง MCP server ที่ทำงานกับ API ของตัวเอง

Sub-agents & Multi-Agent

Agent เดียวไม่พอ — ต้องรู้จักแจกงาน

  • Delegation Patterns — เลือก model ที่ถูก (Opus/Sonnet/Haiku)
  • Parallel Tasks — ทำหลายงานพร้อมกัน
  • Cost Optimization — ลดค่าใช้จ่าย 67% ด้วย model ที่เหมาะสม
  • Hands-on: สร้าง multi-agent workflow สำหรับงานจริงของคุณ

Oracle = Agent + Memory + Identity

จุดเปลี่ยน — จาก Agent ที่ลืม → Oracle ที่จำ

  • 5 Principles + Rule 6 — ปรัชญา Oracle
    1. Nothing is Deleted — ประวัติคือความจริง
    2. Patterns Over Intentions — ดูสิ่งที่เกิดจริง
    3. External Brain, Not Command — แสดงข้อมูล ไม่สั่งการ
    4. Curiosity Creates Existence — ทดลองสร้างความรู้
    5. Form and Formless — หลายร่าง จิตเดียว
    6. Transparency — AI ไม่แกล้งเป็นคน
  • ψ/ Brain Structure — memory, retrospectives, learnings, traces
  • Hands-on: สร้าง Oracle ตัวแรกของคุณ

Deploy & Automate

Oracle ที่ดี ต้องทำงานแม้คุณไม่อยู่

  • Git Worktree — ทำหลายงานแยกกัน
  • wake.sh — ปลุก Oracle ขึ้นมาทำงาน
  • Scheduling — GitHub Actions + Claude Code
  • Hands-on: deploy Oracle ให้ทำงาน 24 ชม.

Overtime — Buffet

Deep dive ตามความสนใจ:

  • Vector search / semantic memory
  • LINE Bot integration
  • Inter-Oracle communication
  • Production deployment patterns
  • ปรึกษาเรื่อง use case เฉพาะองค์กร

ผู้เรียนได้กลับบ้านพร้อม

  • ✅ Oracle repo ของตัวเอง (CLAUDE.md + Skills + MCP)
  • ✅ Multi-agent workflow ที่ใช้งานได้จริง
  • ✅ Oracle ที่ทำงาน 24 ชม. บน GitHub Actions
  • ✅ ความเข้าใจ Oracle Philosophy สำหรับต่อยอด

สิ่งที่ต้องเตรียม

  • Laptop (macOS / Linux / Windows WSL)
  • Claude Pro หรือ Max subscription
  • GitHub account
  • Terminal / CLI พื้นฐาน

ทำไมต้องเรียนกับเรา

Metric ตัวเลข
Commits 19,618 ใน 11 เดือน
Repos 50+ โปรเจกต์
Oracles 38+ ตัวที่ทำงานจริง
Workshop ที่ผ่านมา PSRU (60 คน → 182 apps), NDF, SIIT, Block Mountain

Workshop by Nat Weerawan — "The Oracle Keeps the Human Human"

Workshop #002: Agent-to-Agent Communication

"Make Your AIs Talk to Each Other"

Index #002
รหัส WS-A2A-1D
ระยะเวลา 1 วัน
จำนวน 4-40 คน (ราคาเดียว)
ราคา ฿60,000 / วัน (ยืดหยุ่นตาม budget)
สถานที่ เชียงใหม่ หรือตามที่ลูกค้าจัด
ผู้สอน Nat Weerawan (@nazt)
Prerequisite ไม่มี — มีพื้นฐาน Programming + AI

เป้าหมาย

จาก Oracle เดี่ยวที่ทำงานคนเดียว → เป็น Oracle Fleet ที่คุยกัน แบ่งงาน และประสานงานข้าม boundary


เนื้อหา

Inter-Agent Communication Patterns

ทำไม Agent คุยกันยาก? เพราะไม่มี protocol

  • MAW CLI — hey, ls, peek, wake, done
  • Message Passing — fire-and-forget vs request-response
  • Inbox Pattern — ψ/inbox/ as shared mailbox
  • Demo: ส่งข้อความระหว่าง 2 Oracle แบบ live
  • Hands-on: ตั้ง MAW + ส่ง maw hey ข้อความแรก

Git Worktree — Parallel Agents

Agent เดียว = 1 context window → คอขวด

  • Worktree คืออะไร — isolated copy ของ repo
  • wake.sh — ปลุก Agent ใน worktree
  • Branch per Agent — agents/1-xxx, agents/2-yyy
  • Cross-Worktree Communication — Agent A ส่งงานให้ Agent B
  • Hands-on: สร้าง 2 worktrees + ให้คุยกัน

MQTT — Real-time Agent Messaging

WebSocket + MQTT = Agent คุยกัน real-time

  • Mosquitto Broker — ตั้ง message broker
  • Pub/Sub Pattern — Agent subscribe topic, publish events
  • Request/Response — ถาม-ตอบระหว่าง Agent
  • MCP MQTT Server — เชื่อม Claude กับ MQTT
  • Hands-on: สร้าง Agent 2 ตัวคุยผ่าน MQTT

Webhook Relay — Cross-Boundary Communication

Agent ข้าม network, ข้าม platform

  • Webhook as Protocol — รับข้อมูลจากภายนอก เก็บ แล้วส่งต่อ
  • LINE ↔ Agent — รับข้อความจากคน ส่งต่อให้ Agent
  • Bridge Pattern — เชื่อม platform ต่างๆ (LINE, Discord, Slack, API)
  • Hands-on: สร้าง webhook relay เชื่อม LINE กับ Agent

Oracle Fleet Management

จาก 2 Agent → Fleet ทั้งระบบ

  • Fleet Topology — singular vs plural Oracles
  • Oracle Comms Bible — rules of engagement
  • Handoff Pattern — Agent ส่งต่องานข้ามเซสชัน
  • Draft → Show → Wait → Send — Golden Rule (AI ไม่ส่งเอง)
  • Hands-on: สร้าง 3-Agent fleet ที่ประสานงานกัน

Overtime — Buffet

Deep dive ตามความสนใจ:

  • MCP Server-to-Server communication
  • Oracle Vault — central brain for all Oracles
  • Scheduling & cron (GitHub Actions + Pulse)
  • LoRa / serial / physical layer bridging
  • Custom protocol design สำหรับองค์กร

ผู้เรียนได้กลับบ้านพร้อม

  • ✅ Oracle Fleet 3 ตัวที่คุยกันได้
  • ✅ MQTT broker สำหรับ real-time messaging
  • ✅ Webhook relay สำหรับ cross-platform
  • ✅ Fleet management playbook
  • ✅ Golden Rule: Draft → Show → Wait → Send

สิ่งที่ต้องเตรียม

  • Laptop (macOS / Linux / Windows WSL)
  • Claude Pro หรือ Max subscription
  • GitHub account
  • Terminal / CLI พื้นฐาน

ทำไมต้องเรียนกับเรา

Metric ตัวเลข
Commits 19,618 ใน 11 เดือน
Repos 50+ โปรเจกต์
Oracles 38+ ตัวที่ทำงานจริง
Workshop ที่ผ่านมา PSRU (60 คน → 182 apps), NDF, SIIT, Block Mountain

Workshop by Nat Weerawan — "The Oracle Keeps the Human Human"

Workshop #003: Skill Engineering

"Build Once, Run Everywhere — Beyond MCP"

Index #003
รหัส WS-SKILL-1D
ระยะเวลา 1 วัน
จำนวน 4-40 คน (ราคาเดียว)
ราคา ฿60,000 / วัน (ยืดหยุ่นตาม budget)
สถานที่ เชียงใหม่ หรือตามที่ลูกค้าจัด
ผู้สอน Nat Weerawan (@nazt)
Prerequisite ไม่มี — มีพื้นฐาน Programming + AI

เป้าหมาย

เข้าใจ Skill Architecture ตั้งแต่ design → build → compile → distribute → install/uninstall ข้าม Agent ได้ทุกตัว


Skill vs MCP — ทำไมต้องมี Skill

MCP Tool Skill
สิ่งที่ทำ เรียก function เดียว orchestrate หลาย steps
Context ไม่มี — stateless มี — prompt + workflow + state
Reuse ต้อง config per agent install ได้ทุก agent
ความยืดหยุ่น fixed parameters adaptive ตาม context
Install/Uninstall ต้องแก้ config compiler จัดการให้
เปรียบเทียบ เหมือน function เหมือน app

เนื้อหา

Skill Anatomy — โครงสร้างของ Skill

Skill คือ markdown file ที่สอน AI ทำงานซับซ้อน

  • SKILL.md — anatomy: name, description, trigger, steps
  • Trigger Matching — ทำไม AI ถึง "รู้" ว่าต้องเรียก skill ไหน
  • Step Design — sequential, conditional, parallel
  • Arguments — รับ input ยืดหยุ่น
  • Hands-on: แกะ skill จริง 3 ตัว (recap, trace, rrr)

Skill Design Patterns

Pattern ที่ทำให้ skill ใช้ได้จริง

  • Gather → Process → Output — pattern พื้นฐาน
  • Multi-mode/cmd vs /cmd --deep vs /cmd --quick
  • Bash + Tool Hybrid — เมื่อไหร่ใช้ bash เมื่อไหร่ใช้ tool
  • Error Handling — graceful fallback ใน prompt
  • Idempotency — รันซ้ำได้ไม่พัง
  • Hands-on: design skill แรกของตัวเอง (paper prototype)

Building Skills — จาก Design สู่ Code

ลงมือสร้าง skill จริง

  • Directory Structure.claude/skills/, skills/
  • Skill + Script — เมื่อ skill ต้องการ bash/bun script
  • Skill + MCP — ใช้ MCP tool ข้างใน skill
  • Skill + Sub-agent — delegate งานหนักให้ agent ย่อย
  • Testing — ทดสอบ skill ใน conversation จริง
  • Hands-on: สร้าง skill 2 ตัว (1 simple, 1 complex)

Skill Compiler — Install, Uninstall, Distribute

สร้างระบบ compile + distribute skill ข้าม agent

  • Compiler Architecture — scan → validate → install → register
  • Install/Uninstall — เพิ่ม/ลบ skill โดยไม่กระทบ agent อื่น
  • Version Control — skill versioning + changelog
  • Profile System — skill profiles (minimal, standard, full)
  • Cross-Agent Distribution — install skill เดียวให้ 10 agent พร้อมกัน
  • Hands-on: สร้าง skill compiler + install/uninstall workflow

Commands — คู่หูของ Skill

Command = user-facing shortcut ที่เรียก skill

  • Skill vs Command — skill = capability, command = interface
  • Slash Commands/recap, /trace, /rrr
  • Command Arguments — parsing --flag, positional args
  • Command Composition — command เรียก skill เรียก command
  • Global vs Local — Oracle-wide skills vs project-specific
  • Hands-on: สร้าง command suite (3-5 commands) สำหรับ workflow ของตัวเอง

Overtime — Buffet

Deep dive ตามความสนใจ:

  • Skill eval & benchmarking
  • Soul Sync — sync skills across Oracle family
  • Skill marketplace concept
  • Advanced trigger optimization
  • Skill ที่เรียก external API (LINE, GitHub, DB)

Skill ตัวอย่างที่จะศึกษา

Skill ทำอะไร Complexity
/recap Session orientation Medium
/trace Search across repos + Oracle High
/rrr Retrospective + AI diary Medium
/line-digest LINE message summary Medium
/learn Explore codebase High
/who Identity check Simple

ผู้เรียนได้กลับบ้านพร้อม

  • ✅ Skill 3+ ตัวที่สร้างเอง ใช้งานได้จริง
  • ✅ Command suite สำหรับ workflow ของตัวเอง
  • ✅ Skill compiler สำหรับ install/uninstall
  • ✅ เข้าใจ Skill vs MCP — เมื่อไหร่ใช้อะไร
  • ✅ Pattern library สำหรับสร้าง skill ต่อยอด

สิ่งที่ต้องเตรียม

  • Laptop (macOS / Linux / Windows WSL)
  • Claude Pro หรือ Max subscription
  • GitHub account
  • Terminal / CLI พื้นฐาน

ทำไมต้องเรียนกับเรา

Metric ตัวเลข
Commits 19,618 ใน 11 เดือน
Repos 50+ โปรเจกต์
Oracles 38+ ตัวที่ทำงานจริง
Workshop ที่ผ่านมา PSRU (60 คน → 182 apps), NDF, SIIT, Block Mountain

Workshop by Nat Weerawan — "The Oracle Keeps the Human Human"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment