mingrath.com

Archive

AI & Development

Local LLMs, model-hopping, multi-agent systems, MCP, GraphRAG, computational neuroscience — everything I build with AI.

Matt Pocock's Skills: The Good Stuff Real Engineers Actually Use
AI & Development

Skills ของ Matt Pocock... ของดีที่ engineer จริงๆ ใช้กันMatt Pocock's Skills: The Good Stuff Real Engineers Actually Use

ผมลองชุด skill ของ Matt Pocock อยู่วันนึง แล้วรู้สึกว่ามันตอบโจทย์จริง เพราะมันถูกออกแบบมาแก้ปัญหาที่เราเจอบ่อยๆ ตอนใช้ coding agent คือ agent ไม่เข้าใจเรา พูดเยอะเกิน code พัง แล้ว codebase ก็กลายเป็น ball of mud มาเล่าให้ฟังแบบจัดกลุ่ม พร้อม TL;DR ครับI spent a day running Matt Pocock's skill set and it just clicked. These skills are built to fix the real pains of working with a coding agent — it doesn't get you, it talks too much, the code breaks, and your codebase turns into a ball of mud. Here's the grouped rundown plus a TL;DR.

thClaws: A Fast, Open-Source Terminal Coding Tool
AI & Development

thClaws: เครื่องมือ coding ใน terminal ที่เร็วและ open-sourcethClaws: A Fast, Open-Source Terminal Coding Tool

thClaws เป็นเครื่องมือ coding ใน terminal ตัวใหม่ที่เขียนด้วย Rust ทั้งตัว เป็น open-source รองรับหลาย provider และเร็วจนสลับ model ได้สบายๆthClaws is a new terminal coding tool written entirely in Rust — open-source, multi-provider, and fast enough that switching models is effortless.

From Fecal Smears to Training a Parasite-Egg Detector
AI & Development

จาก fecal smear สู่การเทรน model ตรวจไข่พยาธิFrom Fecal Smears to Training a Parasite-Egg Detector

นึกว่าหนีงาน fecal smear มาได้แล้วตอนออกจากคลินิก แต่สุดท้ายก็วนกลับมาเจออีก รอบนี้มาในรูปแบบของการเทรน model ให้ตรวจจับไข่พยาธิจากภาพกล้องจุลทรรศน์I thought I'd left fecal smears behind when I left the clinic — but here I am again, this time training an object-detection model to spot parasite eggs from microscope images.

When Claude Code Broke Down: Lessons From Shipping With Many Models
AI & Development

ตอน Claude Code มีปัญหา: บทเรียนจากการขึ้นโปรเจกต์ด้วยหลาย modelWhen Claude Code Broke Down: Lessons From Shipping With Many Models

ปัญหา hallucinate กับ token ที่ไหลรัวๆ ทำให้ผมต้องหนีไปใช้เจ้าอื่นอยู่พักนึง นี่คือสิ่งที่ผมได้เรียนรู้จากการขึ้นโปรเจกต์หลายตัวด้วย AI หลาย modelHallucination and runaway token burn pushed me to other tools for a while. Here's what shipping several projects across many AI models actually taught me.

Knowledge Graphs Aren't Labor Work — I Built a Medical One
AI & Development

ทำ knowledge graph ไม่ใช่งาน labor work นะครับ — ผมเลยลองทำสายแพทย์ออกมาตัวนึงKnowledge Graphs Aren't Labor Work — I Built a Medical One

ช่วงนี้คนเห่อทำ knowledge graph กันมาก ผมก็ด้วยครับ แต่จริงๆ มันไม่ใช่งาน labor work เลย มี cli tools เยอะมาก ผมเลยเอามาทำ MorMeow ตัว viewer ความรู้ทางการแพทย์ขึ้นมาEveryone's hyped about knowledge graphs right now, and so am I. But building one isn't manual labor — there are tons of CLI tools for it. I used them to build MorMeow, a medical knowledge-graph viewer.

Running GLM 5.1 as the Backend in Claude Code
AI & Development

ลองเอา GLM 5.1 มาเป็น backend ใน Claude CodeRunning GLM 5.1 as the Backend in Claude Code

ช่วงนี้ผมเอา GLM 5.1 มาเสียบเป็น backend ใน Claude Code อยู่พักนึงแล้วครับ ใช้ดี ต่อง่าย แล้วที่สำคัญคือถูกมาก เข้าทางคนที่ไม่อยากยึดติดกับ model แพง ๆ แบบผมเลยI've been running GLM 5.1 as the backend model inside Claude Code for a while now. It works well, it's easy to wire up, and most importantly it's seriously cheap — a perfect fit for not locking yourself into one pricey model.

Whoever You Are, You Need Computational Thinking
AI & Development

ไม่ว่าคุณจะเป็นใคร คุณต้อง computational thinking ให้เป็นWhoever You Are, You Need Computational Thinking

computational thinking ไม่ได้มีไว้สำหรับโปรแกรมเมอร์เท่านั้น ไม่ว่าคุณจะอยู่สายไหน การแตกปัญหาออกมาเป็นขั้นตอนที่ชัดเจนคือทักษะที่มีประโยชน์มากที่สุดอย่างหนึ่งComputational thinking isn't just for programmers. No matter your field, being able to break a problem into clear, ordered steps is one of the most useful skills you can have.

Out of Tokens? Continue the Same Session on Another Model
AI & Development

Token หมดใช่ไหม? ย้ายค่ายไปรัน session เดิมต่อได้เลยOut of Tokens? Continue the Same Session on Another Model

พอ Claude หมด token แต่เรายังอยากทำงานต่อ จริงๆ ไม่ต้องหยุดครับ เราโยน session เดิมไปให้ model จีนที่ถูกกว่ารันต่อได้เลยWhen Claude runs out of tokens but you still want to keep going, you don't have to stop — you can hand the same session over to a cheaper Chinese model and continue.

Juggling Many Projects? Try a Kanban Board With an Agent
AI & Development

ทำหลาย project พร้อมกันอยู่เหรอ? ลอง Kanban ที่มี agent ช่วยดูครับJuggling Many Projects? Try a Kanban Board With an Agent

ถ้าใครทำ project พร้อมกันหลายอัน ลองใช้ Kanban ที่มี agent ในตัวอย่าง Cline Kanban ดูครับ ชีวิตดีขึ้นเยอะ งานไหลจาก Backlog ไปจนเสร็จ โดยมี agent คอยช่วยขยับให้If you run several coding projects at once, a Kanban board with a built-in agent — like Cline Kanban — makes life dramatically easier. Tasks flow from Backlog to Done with an agent helping move them along.

Digital Forensics: A Peek Inside Claude Code's Source
AI & Development

แกะ Source Code ของ Claude Code ดูว่าข้างในมีอะไรDigital Forensics: A Peek Inside Claude Code's Source

พอลองแกะ source code ของ tool ที่เราใช้ทุกวันดูจริงๆ จะเจอ flag แปลกๆ hook ที่ซ่อนอยู่ และบทเรียนเล็กๆ น้อยๆWhat you find when you actually dig into the source of the coding tool you use every day — internal flags, hidden hooks, and small lessons.