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 / 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
@thanakijwanavit
thanakijwanavit / gastown-knowledge-base.md
Created February 28, 2026 02:38
Gas Town β€” Complete Knowledge Base (architecture, accounts, tools, workflows, patterns)

Gas Town β€” Complete Knowledge Base

Everything an agent (or human) needs to know about the Gas Town multi-agent orchestration system. Last updated: 2026-02-28


Table of Contents

@thanakijwanavit
thanakijwanavit / gist-index.md
Last active March 1, 2026 23:51
Gas Town β€” Gist Registry (start here)

Gas Town β€” Gist Registry

Central index for all Gas Town public resources. Start here.

How This Is Organized

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚   This Index Gist    β”‚  ← You are here
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
@thanakijwanavit
thanakijwanavit / agent-setup.md
Last active March 1, 2026 23:51
Gas Town β€” Kimi Code Tools (ais CLI, kimi-account, credit checker, orchestrator skill)

Agent Setup Guide

How to configure Claude Code, Kimi Code, and OpenClaw instances for orchestrated multi-agent work.


1. Claude Code Sub-Agents

Install Plugins

@thanakijwanavit
thanakijwanavit / agent-setup.md
Last active March 1, 2026 23:51
Gas Town β€” Claude Code Tools (ais CLI, credit checker, orchestrator skill, tmux guide)

Agent Setup Guide

How to configure Claude Code, Kimi Code, and OpenClaw instances for orchestrated multi-agent work.


1. Claude Code Sub-Agents

Install Plugins

@thanakijwanavit
thanakijwanavit / CONTRIBUTING.md
Created February 25, 2026 14:38
Villa Market Backend - Contributor Guide (100+ concurrent contributors)

Contributing to Villa Market Backend

100 contributors working in parallel? No problem. Each service is independent β€” pick an issue, claim it, ship it.

Quick Start (5 minutes)

# Fork, clone, setup
git clone git@github.com:YOUR_USERNAME/villa-backend-4.git
cd villa-backend-4
@thanakijwanavit
thanakijwanavit / magnus_gym_faz.md
Last active February 18, 2026 06:59
magnus gym faq

FAQ.md - Magnus's Gyms - Frequently Asked Questions

GENERAL

Q: Where are your gyms located?

A: We have three locations β€” two in Bangkok and one in Tokyo. Our Bangkok branches are the Main location (24/7 self-service) and our Premium location opening May 2026. The Tokyo location details are available upon request.

Q: What are your opening hours?

A:

  • Branch 1 (Main): Open 24/7 β€” climb whenever suits you
@thanakijwanavit
thanakijwanavit / kimigas-v2-update.md
Created February 11, 2026 07:07
KimiGas Engine v2.0.0 β€” Update Instructions for Gas Town agents

KimiGas Engine v2.0.0 β€” Update Instructions

What Changed

kimigas was rewritten from a kimi-cli wrapper to a Claude Code wrapper using Kimi's native Anthropic-compatible endpoint. This fixes hooks, tools, MCP, and all Gas Town protocol.

Before (broken): kimigas β†’ kimi-cli (no hooks, no .claude/settings.json support) After (working): kimigas β†’ claude with ANTHROPIC_BASE_URL=https://api.kimi.com/coding/

How It Works