Skip to content

Instantly share code, notes, and snippets.

View thanakijwanavit's full-sized avatar
🎯
Focusing

Nic Wanavit thanakijwanavit

🎯
Focusing
View GitHub Profile
@thanakijwanavit
thanakijwanavit / villacoupon3-developer-guide.md
Created April 22, 2026 03:09
VillaCoupon3 — Developer / PM Guide (no credentials)

VillaCoupon3 — Developer / PM Guide

For Aung. This explains how the VillaCoupon3 system is built, deployed, and operated.

Credentials (AWS keys + UAT login) are sent privately. This document has no secrets.


1. Purpose

@thanakijwanavit
thanakijwanavit / villacoupon3-uat.md
Created April 22, 2026 03:03
VillaCoupon3 — UAT Test Guide (no credentials)

VillaCoupon3 — UAT Test Guide

Hi Aung and Mickey — please help test the new coupon admin system.

Login credentials are sent separately (private channel). This document has no passwords.


1. Dashboards / URLs

@thanakijwanavit
thanakijwanavit / gist-delivery-distance-calculator.md
Created April 14, 2026 11:09
Villa Market Delivery Distance Calculator -- API docs, architecture, usage examples, and agent instructions

Villa Market -- Delivery Distance Calculator

What it does

A serverless API that calculates delivery shipping cost from a customer's location to all nearby Villa Market branches. Send your lat/lng, get back eligible branches sorted by distance with delivery cost in THB.

Live API

POST https://km797c84si.execute-api.ap-southeast-1.amazonaws.com/Prod/shipping-cost
@thanakijwanavit
thanakijwanavit / villa_download_links.md
Last active April 7, 2026 01:58
Villa Market Product Description Download Links (expires April 8, 2026)
@thanakijwanavit
thanakijwanavit / README.md
Last active March 5, 2026 06:41
OpenClaw Multi-Agent Team Setup Guide

OpenClaw Multi-Agent Team Setup Guide

A complete guide to setting up a multi-agent AI team with OpenClaw, featuring specialized agents for different domains.

Overview

This setup creates a team of AI agents that can be accessed through a single Telegram interface. Each agent has a distinct personality and expertise.

Team Structure

@thanakijwanavit
thanakijwanavit / README.md
Created March 5, 2026 06:39
OpenClaw Multi-Agent Team Setup Guide - A complete guide to setting up a team of specialized AI agents

OpenClaw Multi-Agent Team Setup Guide A complete guide to setting up a multi-agent AI team with OpenClaw, featuring specialized agents for different domains. ## Overview This setup creates a team of AI agents that can be accessed through a single Telegram interface. Each agent has a distinct personality and expertise. ## Team Structure | Agent | Role | Trigger | Purpose | |-------|------|---------|---------| | Wawa | Central Hub | (default) | Routes conversations, maintains context | | @milo | Strategy Lead | @milo | Strategic planning, OKRs, decisions | | @josh | Business Analyst | @josh | Metrics, pricing, competitive analysis | | @marketing | Marketing | @marketing | Content, trends, social monitoring | | @dev | Developer | @dev | Code, architecture, technical decisions | | @db | Database Guardian | @db | Beads/Dolt management | | @health | Health Expert | @health | Health, wellness, medical guidance | | @config | Config Expert | @config | Config validation, documentation

@thanakijwanavit
thanakijwanavit / gasclaw-k8s-deploy.md
Created March 5, 2026 04:04
Deploying Gasclaw on Kubernetes with Helm

Deploying Gasclaw on Kubernetes (Helm)

Gasclaw runs a Gastown multi-agent workspace managed by OpenClaw on Telegram, with Kimi K2.5 as the LLM backend. This guide deploys it to any Kubernetes cluster using the included Helm chart.

Prerequisites

  • Kubernetes cluster (1.24+)
  • Helm 3
  • kubectl configured for your cluster
  • API keys: Kimi keys, Telegram bot token, Telegram owner ID
@thanakijwanavit
thanakijwanavit / gasclaw-smart-coordinator.md
Created March 4, 2026 03:04
Gasclaw Smart Coordinator: single-bot multi-agent Telegram routing for OpenClaw teams

Gasclaw Smart Coordinator Setup

Single-bot, multi-agent Telegram routing for OpenClaw teams. All messages go to one coordinator who delegates to specialists via per-topic systemPrompt.

Why

OpenClaw doesn't support per-topic bindings (threadId in match.peer is rejected). Creating 10 BotFather bots is overkill. Instead: one bot, one binding, smart routing via systemPrompts.

@thanakijwanavit
thanakijwanavit / gasclaw-villa-prompt.md
Created March 3, 2026 08:20
Setup Gasclaw Maintainer AI to maintain Villa Backend 4 project

PROMPT: Setup Gasclaw Maintainer for Villa Backend 4 Project

MISSION

Configure and run Gasclaw Maintainer AI agent to automatically maintain the Villa Backend 4 project. The maintainer should monitor, fix, and improve the codebase through automated PRs.

PROJECT OVERVIEW

Villa Backend 4 - E-commerce backend for Villa Market

  • Location: Find it with find ~ -type d -name "villa-backend-4" 2>/dev/null
  • Tech stack: Node.js/TypeScript, AWS Lambda, Serverless Framework
@thanakijwanavit
thanakijwanavit / villa-bot-fix-prompt.md
Created March 3, 2026 08:16
Fix Villa Backend 4 + Gasclaw Maintainer Bot - Telegram bot not responding

PROMPT: Fix Villa Backend 4 + Gasclaw Maintainer Bot

CONTEXT

You are taking over a DevOps project that involves migrating "Villa Backend 4" to run inside a Gasclaw Maintainer container with OpenClaw/Telegram bot integration. The previous work is mostly complete but there are lingering issues.

YOUR FIRST TASK - DISCOVER THE ENVIRONMENT

Before doing anything, locate the project:

# Find the gasclaw maintainer directory
find ~ -name "gasclaw" -type d 2>/dev/null | head -5