<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Jason Tsai’s Blog</title><description>Notes on semiconductor IT, system integration and personal AI workflows.</description><link>https://jasontsai.dev/</link><item><title>給工程師的 AI 入門：從網頁問答到 agent</title><link>https://jasontsai.dev/blog/ai-for-engineers-chat-to-agent-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/ai-for-engineers-chat-to-agent-zh/</guid><description>多數工程師用 AI 還停在貼 code 問問題。這篇整理四個層次：個人網頁版、企業版、IDE 內嵌、agent，每層配一個 C# 或 T-SQL 的日常例子，最後講心態怎麼從「問答」換成「交辦」。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/ai-for-engineers-chat-to-agent/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;先講結論：AI 用得好不好，差別不在問得多聰明，而在你給它多少背景、讓不讓它自己驗證結果。從網頁問答走到 agent，就是把這兩件事一步一步交出去。&lt;/p&gt;
&lt;p&gt;前兩篇（&lt;a href=&quot;/blog/enterprise-ai-coding-tools-zh/&quot;&gt;導入前先問的四件事&lt;/a&gt;、&lt;a href=&quot;/blog/personal-experiments-to-team-standards-zh/&quot;&gt;從個人實驗到團隊規範&lt;/a&gt;）是寫給主管的：怎麼選、怎麼管。這篇寫給工程師：怎麼用。&lt;/p&gt;
&lt;h2&gt;現在多數人怎麼用&lt;/h2&gt;
&lt;p&gt;打開網頁版 ChatGPT 或 claude.ai，貼一段 code，問「這段為什麼錯」「這個語法怎麼寫」。這很有用，我也天天這樣做。&lt;/p&gt;
&lt;p&gt;但有三個限制：背景要自己複製貼上，AI 看不到整個專案；它給的答案沒跑過，對不對要自己試；改好的東西還得自己搬回編輯器。問題越大，這三件事越花時間。&lt;/p&gt;
&lt;h2&gt;四個層次&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;長什麼樣子&lt;/th&gt;
&lt;th&gt;適合&lt;/th&gt;
&lt;th&gt;要注意&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. 個人版網頁&lt;/td&gt;
&lt;td&gt;個人帳號的 ChatGPT、claude.ai&lt;/td&gt;
&lt;td&gt;問語法、解釋錯誤訊息、學新東西&lt;/td&gt;
&lt;td&gt;公司的程式碼不要貼這裡&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. 企業版 Chat&lt;/td&gt;
&lt;td&gt;公司核准的企業方案&lt;/td&gt;
&lt;td&gt;一樣是問答，但可以放專案背景、上傳規格文件&lt;/td&gt;
&lt;td&gt;資料政策比個人版嚴，但還是照公司規定&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. IDE 內嵌&lt;/td&gt;
&lt;td&gt;編輯器裡的補完與對話，例如 GitHub Copilot&lt;/td&gt;
&lt;td&gt;寫到一半的補完、局部改寫、解釋眼前這段&lt;/td&gt;
&lt;td&gt;看得到的範圍有限，大改動容易顧此失彼&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Agent&lt;/td&gt;
&lt;td&gt;Claude Code、Codex 這類&lt;/td&gt;
&lt;td&gt;讀整個 repo、改多個檔案、跑 build 和測試、自己修&lt;/td&gt;
&lt;td&gt;它會執行指令，權限要設好，結果一定要 review&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;越往下，AI 拿到的背景越多、能自己做的事越多，你要管的也越多。不是越下面越好，是看工作挑層次。&lt;/p&gt;
&lt;h2&gt;每一層，一個日常例子&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. 個人版：看懂錯誤訊息。&lt;/strong&gt; 拿到一段看不懂的 .NET 例外訊息，或想知道 T-SQL 的 &lt;code&gt;MERGE&lt;/code&gt; 跟先 &lt;code&gt;UPDATE&lt;/code&gt; 再 &lt;code&gt;INSERT&lt;/code&gt; 差在哪。這類問題不碰公司資料，網頁版最快。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. 企業版：解讀執行計畫。&lt;/strong&gt; 一支查詢突然變慢，把執行計畫和資料表結構丟進公司核准的企業版，問它瓶頸在哪、該不該補 index。常用的 schema 說明放進 Project，之後不用每次重貼。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. IDE 內嵌：補 unit test。&lt;/strong&gt; 游標停在一個 C# 方法上，請它照現有測試的寫法補幾個邊界案例。範圍就是眼前這個檔案，剛剛好。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Agent：先讀懂整個專案，再動手。&lt;/strong&gt; 這是我在家用最多的一層，也是跟前三層差最多的一層（&lt;a href=&quot;/blog/personal-experiments-to-team-standards-zh/&quot;&gt;上一篇&lt;/a&gt;有寫我的設定）。&lt;/p&gt;
&lt;p&gt;接到新需求，我不會直接叫它開始寫，而是分三步：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;先請 agent 讀完整個 repo，講清楚架構：資料怎麼流、模組怎麼分、哪裡碰資料庫。&lt;/li&gt;
&lt;li&gt;順便做一次 code review，先知道現有的程式哪裡脆弱、哪裡已經有問題。&lt;/li&gt;
&lt;li&gt;最後才把新需求丟進去，請它說要改哪些地方、會影響到誰。我看過同意，它才開始改，改完自己跑 build 和測試。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;這樣做，新功能或新邏輯才不會在看不到的地方把別的東西弄壞。網頁一問一答時，AI 只看得到我貼的那幾段，影響範圍得自己想；光是把相關檔案一個一個複製貼上，時間就花掉一大半。&lt;/p&gt;
&lt;h2&gt;這幾週，agent 還幫了我什麼&lt;/h2&gt;
&lt;p&gt;除了寫程式，這幾週我交給 agent 的事比想像中雜。最完整的一次，是把家裡一台 2016 年的舊 MacBook 改裝成 24 小時待命的 agent（&lt;a href=&quot;/blog/macbook-claude-code-agent-zh/&quot;&gt;過程寫在這篇&lt;/a&gt;）。&lt;/p&gt;
&lt;p&gt;那次幾乎就是把這篇講的流程走了一遍。我先把目標和限制講清楚：要一直開著、在外面用手機叫得到、不對外開放任何服務。桌機上的 Claude Code 規劃安裝步驟、寫好設定 script，我照著做，拍 MacBook 的螢幕回報。前後裝了四次，每次失敗，它都去讀安裝 log 和系統訊息，一路追到真正的原因是 SSD 控制器掉線，而不是表面上看到的寫入錯誤。&lt;/p&gt;
&lt;p&gt;其中一次失敗，還是它自己前一步建議的開機參數造成的，看了 log 才更正。這件事我一直記著：它很會追問題，但它的建議一樣要驗證。&lt;/p&gt;
&lt;p&gt;現在那台 MacBook 每天早上推新聞摘要給我，本身也成了一個 agent。一個 agent 幫我裝好另一個 agent，是這幾週最有感的成果。&lt;/p&gt;
&lt;p&gt;其他幾件比較小，但工程師日常一樣用得到：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;改完自己量，量完再修。&lt;/strong&gt; 幫這個網站做效能健檢時，它跑檢測工具、找出問題、修改、再重跑一次。有一項第一次修完反而更糟，是重測才發現的。如果只是網頁問答，我大概會以為已經改好了。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;查不是程式的問題。&lt;/strong&gt; 家裡電腦無預警斷電，它讀系統事件紀錄，排除了幾個可能，再寫一支小程式定時記錄硬體狀態，下次再發生就有資料可以對照。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;小工具，連邊界情況一起測。&lt;/strong&gt; 幾支自己用的小腳本（存影片、抓字幕），它寫完會自己拿正常的、不存在的、重複的網址各跑一次。我只要看結果。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;共通點是：它能自己跑、自己看結果，錯了再修。網頁版做不到這一步，這也是開頭說的「讓它自己驗證」。&lt;/p&gt;
&lt;h2&gt;心態：從「問答」換成「交辦」&lt;/h2&gt;
&lt;p&gt;到了第 3、4 層，最大的改變不是工具，是你怎麼開口。&lt;/p&gt;
&lt;p&gt;問答是「這段怎麼寫？」。交辦是像交代一個新同事：背景是什麼、要做到什麼、怎麼算做完。例如：「這支服務要加一個欄位，資料表在這、相關的 API 在這；改完 build 要過、既有測試要過，不要動到其他模組。」&lt;/p&gt;
&lt;p&gt;交辦出去之後，你的角色就變成 reviewer。AI 改了什麼，你要看得懂、說得出為什麼可以合併。看不懂，就不要合併。&lt;/p&gt;
&lt;h2&gt;常見的四個誤區&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;盲信。&lt;/strong&gt; AI 講得很有把握，不代表對。沒跑過的，就當作沒驗證。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;公司的東西貼進個人帳號。&lt;/strong&gt; 很方便，但這是最不該發生的事。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;不給背景。&lt;/strong&gt; 只丟一行錯誤就問為什麼，它只能用猜的。多給一點上下文，答案會差很多。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;一次交辦太大。&lt;/strong&gt; 「幫我重構整個模組」很難 review。切小，一次一件，每一步都能檢查。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;第一週可以這樣開始&lt;/h2&gt;
&lt;p&gt;不用一次全換。我會建議：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;先確認公司核准了哪些工具；個人帳號只拿來問跟公司無關的問題&lt;/li&gt;
&lt;li&gt;挑一件每週都會遇到的小事，例如看錯誤訊息或補測試，固定交給 AI&lt;/li&gt;
&lt;li&gt;每次交辦都寫清楚「怎麼算做完」&lt;/li&gt;
&lt;li&gt;自己留一點紀錄：哪類工作好用、哪裡出錯，之後才有東西跟團隊分享&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;最後&lt;/h2&gt;
&lt;p&gt;AI 不會讓你不用懂程式。它讓懂程式的人，把時間花在判斷，而不是打字。從問答到交辦，練的其實是同一件事：需求講清楚，結果看清楚。&lt;/p&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>AI for Engineers: From Web Chat to Agents</title><link>https://jasontsai.dev/blog/ai-for-engineers-chat-to-agent/</link><guid isPermaLink="true">https://jasontsai.dev/blog/ai-for-engineers-chat-to-agent/</guid><description>Most engineers still use AI by pasting code into a chat window. This post lays out four levels (personal web chat, enterprise chat, in-IDE assistants and agents) with an everyday C# or T-SQL example for each, then covers the shift from asking questions to handing off work.</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/ai-for-engineers-chat-to-agent-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: how well AI works for you depends less on how clever your questions are and more on how much context you give it, and whether you let it check its own work. Moving from web chat to agents is a matter of handing over those two things, one step at a time.&lt;/p&gt;
&lt;p&gt;My last two posts (&lt;a href=&quot;/blog/enterprise-ai-coding-tools/&quot;&gt;four questions before adopting AI coding tools&lt;/a&gt; and &lt;a href=&quot;/blog/personal-experiments-to-team-standards/&quot;&gt;from personal experiments to team standards&lt;/a&gt;) were for managers: how to choose and how to govern. This one is for engineers: how to use it.&lt;/p&gt;
&lt;h2&gt;How most people use it today&lt;/h2&gt;
&lt;p&gt;Open ChatGPT or claude.ai in the browser, paste some code, ask &quot;why does this fail?&quot; or &quot;how do I write this?&quot; That&apos;s genuinely useful. I do it every day.&lt;/p&gt;
&lt;p&gt;But it has three limits. You supply the context by copy and paste, so the AI never sees the whole project. Its answers haven&apos;t been run, so you test them yourself. And whatever it fixes, you carry back into the editor by hand. The bigger the problem, the more time those three steps take.&lt;/p&gt;
&lt;h2&gt;Four levels&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;What it looks like&lt;/th&gt;
&lt;th&gt;Good for&lt;/th&gt;
&lt;th&gt;Watch out for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1. Personal web chat&lt;/td&gt;
&lt;td&gt;ChatGPT or claude.ai on a personal account&lt;/td&gt;
&lt;td&gt;Syntax questions, explaining errors, learning something new&lt;/td&gt;
&lt;td&gt;Don&apos;t paste company code here&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2. Enterprise chat&lt;/td&gt;
&lt;td&gt;A company-approved enterprise plan&lt;/td&gt;
&lt;td&gt;The same Q&amp;amp;A, plus project context and uploaded specs&lt;/td&gt;
&lt;td&gt;Stricter data policy than personal plans, but company rules still apply&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3. In the IDE&lt;/td&gt;
&lt;td&gt;Completions and chat in the editor, e.g. GitHub Copilot&lt;/td&gt;
&lt;td&gt;Finishing what you&apos;re typing, local rewrites, explaining the code in front of you&lt;/td&gt;
&lt;td&gt;Limited view, so larger changes can miss things elsewhere&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4. Agents&lt;/td&gt;
&lt;td&gt;Tools like Claude Code or Codex&lt;/td&gt;
&lt;td&gt;Reading the whole repo, editing multiple files, running builds and tests, fixing its own mistakes&lt;/td&gt;
&lt;td&gt;It runs commands, so set permissions carefully and always review the result&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Each level down gives the AI more context and more room to act on its own, and gives you more to oversee. Lower isn&apos;t automatically better. Pick the level that fits the job.&lt;/p&gt;
&lt;h2&gt;One everyday example per level&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. Personal chat: making sense of an error.&lt;/strong&gt; You hit a .NET exception you don&apos;t understand, or you want to know how T-SQL&apos;s &lt;code&gt;MERGE&lt;/code&gt; differs from an &lt;code&gt;UPDATE&lt;/code&gt; followed by an &lt;code&gt;INSERT&lt;/code&gt;. No company data involved, so the web is fastest.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Enterprise chat: reading an execution plan.&lt;/strong&gt; A query suddenly slows down. Give the execution plan and table structures to your company-approved enterprise tool and ask where the bottleneck is and whether an index would help. Keep your usual schema notes in a Project so you don&apos;t paste them every time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. In the IDE: adding unit tests.&lt;/strong&gt; Put the cursor on a C# method and ask for a few edge-case tests in the style of the existing ones. The scope is the file in front of you, which is exactly right.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Agents: understand the whole project before touching it.&lt;/strong&gt; This is the level I use most at home, and the one that differs most from the other three (&lt;a href=&quot;/blog/personal-experiments-to-team-standards/&quot;&gt;my last post&lt;/a&gt; describes the setup).&lt;/p&gt;
&lt;p&gt;When a new requirement comes in, I don&apos;t tell it to start writing. I go in three steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Have the agent read the whole repo and explain the architecture: how data flows, how the modules are split, where it touches the database.&lt;/li&gt;
&lt;li&gt;While it&apos;s there, have it do a code review, so I know where the existing code is fragile or already broken.&lt;/li&gt;
&lt;li&gt;Only then give it the new requirement and ask what it would change and what that would affect. Once I&apos;ve read the plan and agreed, it makes the changes, then runs the build and tests itself.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That way a new feature or a new piece of logic doesn&apos;t quietly break something I can&apos;t see. In a web chat, the AI only sees the snippets I paste, so working out the blast radius is on me. And copying the relevant files over one by one eats up most of the time anyway.&lt;/p&gt;
&lt;h2&gt;What else an agent did for me these past few weeks&lt;/h2&gt;
&lt;p&gt;Beyond writing code, what I&apos;ve handed to agents lately has been more varied than I expected. The most complete example: turning a 2016 MacBook at home into an always-on agent (&lt;a href=&quot;/blog/macbook-claude-code-agent/&quot;&gt;the full story is here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;That project was basically this post&apos;s workflow, start to finish. I laid out the goal and the constraints first: it stays on, I can reach it from my phone when I&apos;m out, and it exposes no services to the outside. Claude Code on my desktop planned the install steps and wrote the setup script. I followed along and sent back photos of the MacBook&apos;s screen. It took four installs. Each time one failed, the agent read the installer logs and system messages, and it traced the real cause to the SSD controller dropping out, not the write errors that showed up on the surface.&lt;/p&gt;
&lt;p&gt;One of those failures was caused by a boot option the agent itself had suggested a step earlier, and it only corrected that after reading the log. I&apos;ve kept that in mind since: it&apos;s very good at chasing down problems, and its suggestions still need checking.&lt;/p&gt;
&lt;p&gt;That MacBook now sends me a news digest every morning, and it&apos;s an agent in its own right. One agent setting up another is the result from these past few weeks that stuck with me most.&lt;/p&gt;
&lt;p&gt;The rest are smaller, but they apply just as well to everyday engineering work:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Measuring after the fix, then fixing again.&lt;/strong&gt; During a performance check of this site, it ran the audit tool, found issues, fixed them and ran the audit again. One fix actually made things worse the first time, and only the rerun caught it. In a web chat, I&apos;d probably have assumed it was done.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Problems that aren&apos;t code.&lt;/strong&gt; My PC at home shut off without warning. It read the system event log, ruled out a few possibilities, then wrote a small script that records hardware status on a timer, so there&apos;s data to compare if it happens again.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Small tools, tested at the edges.&lt;/strong&gt; For a few scripts I use myself (saving videos, pulling subtitles), it ran each one against a normal URL, a missing one and a duplicate after writing it. I just read the results.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What these have in common: it can run things, look at the results and fix what&apos;s wrong. A web chat can&apos;t take that step, and it&apos;s what I meant at the top by letting AI check its own work.&lt;/p&gt;
&lt;h2&gt;The mindset shift: from asking to handing off&lt;/h2&gt;
&lt;p&gt;At levels 3 and 4, the biggest change isn&apos;t the tool. It&apos;s how you ask.&lt;/p&gt;
&lt;p&gt;Asking is &quot;how do I write this?&quot; Handing off is briefing a new teammate: here&apos;s the background, here&apos;s the goal, here&apos;s what done looks like. For example: &quot;This service needs a new field. The table is here and the related API is here. When you&apos;re done, the build has to pass, the existing tests have to pass, and don&apos;t touch other modules.&quot;&lt;/p&gt;
&lt;p&gt;Once you hand it off, your job becomes reviewer. You need to understand what the AI changed and be able to say why it&apos;s safe to merge. If you can&apos;t, don&apos;t merge it.&lt;/p&gt;
&lt;h2&gt;Four common mistakes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Trusting it blindly.&lt;/strong&gt; Confidence isn&apos;t correctness. If it hasn&apos;t been run, treat it as unverified.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pasting company material into a personal account.&lt;/strong&gt; Convenient, and the one thing that should never happen.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Giving no context.&lt;/strong&gt; Paste a single error line and ask why, and it can only guess. A little more context changes the answer a lot.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Handing off too much at once.&lt;/strong&gt; &quot;Refactor the whole module&quot; is hard to review. Break it down, one thing at a time, so each step can be checked.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;How to start in week one&lt;/h2&gt;
&lt;p&gt;You don&apos;t have to switch everything at once. I&apos;d suggest:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Find out which tools your company has approved; use personal accounts only for questions unrelated to work&lt;/li&gt;
&lt;li&gt;Pick one small task that comes up every week, like reading errors or adding tests, and give it to AI every time&lt;/li&gt;
&lt;li&gt;Every time you hand something off, spell out what done looks like&lt;/li&gt;
&lt;li&gt;Keep a few notes on what works and where it goes wrong, so you have something to share with the team later&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Last thought&lt;/h2&gt;
&lt;p&gt;AI doesn&apos;t mean you no longer need to understand code. It lets people who do understand code spend their time on judgment instead of typing. Going from asking to handing off comes down to one skill: say clearly what you need, and look closely at what you get back.&lt;/p&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>請兩個 AI 各自挑毛病：我的 cross-review 流程</title><link>https://jasontsai.dev/blog/cross-review-two-models-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/cross-review-two-models-zh/</guid><description>一個 AI 審 code 會漏，而且漏了還很有把握。我參考別人的實驗，做了一個流程：同一份改動派兩個模型獨立審查，我自己驗證後再歸成四類。附 30 秒流程影片。</description><pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/cross-review-two-models/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;先講結論：讓 AI 審 code，我不再只問一個模型。同一份改動派兩個模型各自獨立審查，我自己驗證每個發現，再歸成四類。這個流程我叫它 cross-review。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/personal-experiments-to-team-standards-zh/&quot;&gt;上一篇&lt;/a&gt;提到「複雜的改動多派幾個 agent 交叉確認」，只用一段帶過。這篇把流程完整寫出來。想先看的話，下面有一支 30 秒的影片。&lt;/p&gt;
&lt;p&gt;&amp;lt;video controls preload=&quot;metadata&quot; playsinline poster=&quot;/blog/cross-review-poster.jpg&quot; style=&quot;width:100%;border-radius:0.75rem&quot;&amp;gt;
&amp;lt;source src=&quot;/blog/cross-review.mp4&quot; type=&quot;video/mp4&quot; /&amp;gt;
&amp;lt;/video&amp;gt;&lt;/p&gt;
&lt;p&gt;影片裡的程式碼與檔名都是示意資料，不是真實專案。&lt;/p&gt;
&lt;h2&gt;為什麼不只問一個模型&lt;/h2&gt;
&lt;p&gt;我一開始也是請一個 AI 看完就交差。後來看到一些人分享的實驗：在程式裡刻意埋 bug，看不同模型各抓到幾個。我照著做了兩輪，是自己的版本，題目是我自己寫的。&lt;/p&gt;
&lt;p&gt;兩件事讓我改了做法：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;沒有哪個模型保證全抓到。有的 bug 這個模型抓到、那個沒抓到，互補的情況是真的存在。&lt;/li&gt;
&lt;li&gt;漏掉的時候，最小的那個模型還很有把握地說「沒問題」。沒抓到不可怕，可怕的是它不知道自己沒抓到。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;樣本很小、題目是我自己埋的，只能當參考。但我要的不是定論，是一個有依據的做法。&lt;/p&gt;
&lt;h2&gt;流程五步&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. 先判斷值不值得跑。&lt;/strong&gt; 審查不是免費的，要花時間，也要花錢。我用幾個能直接判斷的條件：碰到業務邏輯、狀態、SQL 交易、併發或重試，或改動超過約 100 行，就跑；改文字、樣式、文件、小設定，就不跑。灰色地帶我問自己一句：這個錯會不會悄悄發生、而且預覽或實跑都看不出來？會，就跑。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. 寫三句話的意圖。&lt;/strong&gt; 告訴審查的人這次改動想做什麼。沒有意圖，審查只能挑風格。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. 派兩個模型，各自獨立。&lt;/strong&gt; 同時派給兩個不同的模型，每個只拿到意圖和範圍，自己去讀改動。重點是不給它們彼此的結論，也不附上我的看法，避免互相影響。要求只有三點：只讀不改；每個發現都要附檔案、行號、實際程式碼和具體的失敗情境；沒問題就明說沒問題，不要湊數。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. 我自己驗證。&lt;/strong&gt; 這步最重要。模型說有問題，我就打開那個檔案、那一行，確認程式碼真的長那樣、情境真的成立。對不上的，直接駁回。兩個模型都抓到的，可信度高；只有一個抓到的，要多看一眼。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. 歸成四類，由我決定。&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;類別&lt;/th&gt;
&lt;th&gt;意思&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;一定要改&lt;/td&gt;
&lt;td&gt;驗證過的 bug，或兩邊共識且證據成立&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;由你決定&lt;/td&gt;
&lt;td&gt;設計取捨，有合理的兩面&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;先記下&lt;/td&gt;
&lt;td&gt;是真的，但不屬於這次改動&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;駁回&lt;/td&gt;
&lt;td&gt;證據對不上，或誤判&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;整個流程只回報、不改程式。要不要採納，永遠是人決定。&lt;/p&gt;
&lt;h2&gt;這個設計背後的想法&lt;/h2&gt;
&lt;p&gt;我的原則很簡單：AI 負責找，人負責判斷。&lt;/p&gt;
&lt;p&gt;兩個模型的作用，是把「找」這件事做得更廣；驗證與歸類，是把「判斷」留在人手上。如果只是把兩份報告原樣丟給我，我只是多讀一份；先驗證、合併重複、分類，才是真的省力。&lt;/p&gt;
&lt;p&gt;這也是為什麼我沒有堆更多模型。多一個模型，多的是雜訊與成本，而我試過的結果是，兩個大模型已經夠互補。之後模型換代，我會用同一組題目重跑，再決定要不要調整。&lt;/p&gt;
&lt;h2&gt;做成影片&lt;/h2&gt;
&lt;p&gt;這個流程我想給團隊看，但文字說明不好吸收，所以用 Remotion 做了一支 30 秒的影片。版式參考了別人的解說短片風格，內容是我自己的流程，配樂也是自己合成的原創音樂。&lt;/p&gt;
&lt;p&gt;這跟前面的原則一樣：參考別人的做法，再用自己的作業流程重做一次，才會變成自己的。&lt;/p&gt;
&lt;h2&gt;最後&lt;/h2&gt;
&lt;p&gt;如果你也想試，不需要一開始就做成 skill。先挑一個複雜的改動，開兩個不同的模型各看一次，自己對照結果。你很快就會知道，兩邊各自漏掉了什麼。&lt;/p&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>Two AIs, Two Independent Reviews: My Cross-Review Workflow</title><link>https://jasontsai.dev/blog/cross-review-two-models/</link><guid isPermaLink="true">https://jasontsai.dev/blog/cross-review-two-models/</guid><description>One AI reviewing code will miss things, and sometimes says it&apos;s fine with full confidence. Inspired by others&apos; experiments, I built a workflow: two models review the same change independently, I verify, then sort the findings into four buckets. Includes a 30-second video.</description><pubDate>Fri, 23 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/cross-review-two-models-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: when I have AI review code, I no longer ask just one model. I send the same change to two models, let each review it independently, verify every finding myself, and sort the results into four buckets. I call this workflow cross-review.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/personal-experiments-to-team-standards/&quot;&gt;My last post&lt;/a&gt; mentioned having several agents cross-check complex changes, in a single paragraph. This post lays out the whole workflow. If you want a quick look first, there&apos;s a 30-second video below.&lt;/p&gt;
&lt;p&gt;&amp;lt;video controls preload=&quot;metadata&quot; playsinline poster=&quot;/blog/cross-review-poster.jpg&quot; style=&quot;width:100%;border-radius:0.75rem&quot;&amp;gt;
&amp;lt;source src=&quot;/blog/cross-review.mp4&quot; type=&quot;video/mp4&quot; /&amp;gt;
&amp;lt;/video&amp;gt;&lt;/p&gt;
&lt;p&gt;The on-screen text is in Chinese, and the code and file names in it are made-up sample data, not from a real project.&lt;/p&gt;
&lt;h2&gt;Why not just ask one model&lt;/h2&gt;
&lt;p&gt;I used to ask one AI to look the code over and call it done. Then I came across experiments others had shared: plant bugs in code on purpose, and see how many each model catches. I ran two rounds of my own, with test cases I wrote myself.&lt;/p&gt;
&lt;p&gt;Two things changed how I work:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;No model is guaranteed to catch everything. Some bugs one model finds and another misses, so the models really do complement each other.&lt;/li&gt;
&lt;li&gt;When the smallest model missed a bug, it still said &quot;looks fine&quot; with full confidence. Missing a bug isn&apos;t the scary part. Not knowing it missed one is.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The sample is small and I planted the bugs myself, so treat it as a reference only. I wasn&apos;t after a verdict. I wanted a practice with some evidence behind it.&lt;/p&gt;
&lt;h2&gt;The five steps&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. Decide whether it&apos;s worth running.&lt;/strong&gt; A review isn&apos;t free. It costs time and money. I use conditions I can judge on the spot: if the change touches business logic, state, SQL transactions, concurrency or retries, or runs past roughly 100 lines, I run it. Text, styling, docs and small config tweaks don&apos;t need it. For the gray area I ask one question: could this fail quietly, in a way a preview or a real run wouldn&apos;t show? If yes, run it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Write the intent in three sentences.&lt;/strong&gt; Tell the reviewer what the change is trying to do. Without intent, a review can only nitpick style.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Send it to two models, independently.&lt;/strong&gt; Both models run at the same time, and each gets only the intent and the scope, then reads the change itself. The key point is that they never see each other&apos;s conclusions, and they don&apos;t get my opinion either, so they can&apos;t influence each other. The instructions have three rules: read only, don&apos;t edit; every finding must include the file, line number, the actual code and a concrete failure scenario; if there&apos;s nothing wrong, say so instead of padding the list.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. I verify.&lt;/strong&gt; This is the most important step. When a model says something is wrong, I open that file at that line and check that the code really looks like that and the scenario really holds. Anything that doesn&apos;t match gets rejected. A finding from both models is more credible; one from a single model gets a second look.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. Sort into four buckets, and I decide.&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Bucket&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Must fix&lt;/td&gt;
&lt;td&gt;A verified bug, or both models agree and the evidence holds&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your call&lt;/td&gt;
&lt;td&gt;A design trade-off with reasonable arguments on both sides&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Note for later&lt;/td&gt;
&lt;td&gt;Real, but outside this change&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rejected&lt;/td&gt;
&lt;td&gt;The evidence doesn&apos;t match, or it&apos;s a false alarm&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The whole workflow only reports. It never edits code. Whether to accept a finding is always a human decision.&lt;/p&gt;
&lt;h2&gt;The thinking behind it&lt;/h2&gt;
&lt;p&gt;My principle is simple: AI finds, people judge.&lt;/p&gt;
&lt;p&gt;Two models make the &quot;finding&quot; broader. Verifying and sorting keep the &quot;judging&quot; in human hands. If I just got two raw reports, I&apos;d only have one more thing to read. Verifying, merging duplicates and sorting is where the effort actually gets saved.&lt;/p&gt;
&lt;p&gt;It&apos;s also why I didn&apos;t pile on more models. Each extra model adds noise and cost, and in my tests two larger models already complemented each other well. When new model generations arrive, I&apos;ll rerun the same test cases and decide whether to adjust.&lt;/p&gt;
&lt;h2&gt;Turning it into a video&lt;/h2&gt;
&lt;p&gt;I wanted to show this workflow to my team, but a written explanation is hard to absorb, so I made a 30-second video with Remotion. The layout takes its style from other people&apos;s explainer shorts. The content is my own workflow, and the music is original, synthesized myself.&lt;/p&gt;
&lt;p&gt;It&apos;s the same principle as above: learn from how others do it, then redo it with your own working process, and it becomes yours.&lt;/p&gt;
&lt;h2&gt;Last thing&lt;/h2&gt;
&lt;p&gt;If you want to try it, you don&apos;t need to build a skill on day one. Pick one complex change, have two different models each review it once, and compare the results yourself. You&apos;ll quickly see what each of them missed.&lt;/p&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>在工廠導入 AI coding 工具，我建議先問的四件事</title><link>https://jasontsai.dev/blog/enterprise-ai-coding-tools-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/enterprise-ai-coding-tools-zh/</guid><description>評估 AI coding 工具，模型強弱反而應該最後才比。建議先問程式碼會去哪、誰核准、出錯誰負責，以及怎麼從一個人擴到一個團隊。</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/enterprise-ai-coding-tools/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;先講結論：在半導體製造業評估 AI coding 工具，模型強不強應該最後才比。我建議先問四件事：程式碼會去哪、誰核准、出錯誰負責、怎麼從一個人擴到一個團隊。&lt;/p&gt;
&lt;p&gt;這篇是我的建議框架，不是成功案例。&lt;/p&gt;
&lt;h2&gt;1. 不只比模型&lt;/h2&gt;
&lt;p&gt;模型每幾個月就換一輪，今天最強的，半年後可能就不是了。真正會跟著工具很多年的，是這幾件事，建議評估時先看：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;資料怎麼處理&lt;/strong&gt;：程式碼會不會被拿去訓練、保存多久、存在哪個區域。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;能不能集中管理&lt;/strong&gt;：帳號、權限、使用紀錄，IT 看不看得到。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;接不接得進現有流程&lt;/strong&gt;：IDE、版控、CI，還是要大家多開一個視窗複製貼上。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;成本能不能預估&lt;/strong&gt;：按人頭還是按用量，用量暴衝時有沒有上限。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;這四項過了，才輪到比誰寫的 code 比較好。&lt;/p&gt;
&lt;h2&gt;2. 沒核准的工具，不碰公司的程式碼&lt;/h2&gt;
&lt;p&gt;工廠的程式碼裡有製程參數、產品規格、系統架構。這些東西一旦貼進個人帳號的免費 AI，就收不回來了。&lt;/p&gt;
&lt;p&gt;所以我建議第一條線畫得很簡單：沒核准的工具，不碰公司程式碼。個人帳號、免費方案，一律不行。&lt;/p&gt;
&lt;p&gt;核准也不是一次就好。工具改了服務條款、換了資料保存政策，就要重新看一次。&lt;/p&gt;
&lt;h2&gt;3. AI review 不取代正式審查&lt;/h2&gt;
&lt;p&gt;AI 很適合當第一道篩子：抓明顯的 bug、漏掉的例外處理、命名不一致。這些人看久了容易眼花，AI 不會累。&lt;/p&gt;
&lt;p&gt;但正式的 code review 還是人做、人負責。出了事，不能說「AI 說沒問題」。責任外包不出去。&lt;/p&gt;
&lt;p&gt;我建議的流程是：先讓 AI 簡化程式、再讓 AI 找 bug，最後工程師自己看過 diff 才 commit。AI 幫工程師把雜訊清掉，判斷留給工程師或主管。&lt;/p&gt;
&lt;h2&gt;4. 從個人 POC 到團隊試行&lt;/h2&gt;
&lt;p&gt;我不建議一開始就全團隊導入。建議的順序是：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;主管或種子成員先用。&lt;/strong&gt; 在自己的專案上踩坑，搞清楚它擅長什麼、會在哪裡出錯。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;找兩三個自願的同仁試。&lt;/strong&gt; 選非關鍵的專案，出錯不會影響產線。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;先定好要觀察什麼。&lt;/strong&gt; 不是「省了多少時間」，而是哪類工作適合、哪類不適合、踩了哪些坑。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;寫成 checklist 再擴大。&lt;/strong&gt; 能寫成規則的才帶給團隊，寫不出來的就是還沒想清楚。&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;最後&lt;/h2&gt;
&lt;p&gt;AI coding 工具能不能進工廠，很少卡在模型夠不夠聰明，多半卡在這些界線有沒有先畫好。界線畫好了，它才有空間發揮。&lt;/p&gt;
&lt;p&gt;下一篇會寫第 4 點的後半：怎麼把個人實驗變成團隊規範。&lt;/p&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>Bringing AI Coding Tools into a Fab: Four Questions I Recommend Asking First</title><link>https://jasontsai.dev/blog/enterprise-ai-coding-tools/</link><guid isPermaLink="true">https://jasontsai.dev/blog/enterprise-ai-coding-tools/</guid><description>When evaluating AI coding tools, model quality should be the last thing you compare. Start with where the code goes, who approves the tool, who owns the mistakes, and how to get from one person to a team.</description><pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/enterprise-ai-coding-tools-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: when evaluating AI coding tools for semiconductor manufacturing, model quality should be the last thing you compare. I recommend asking four questions first: where does the code go, who approves the tool, who owns the mistakes, and how do you get from one person to a team?&lt;/p&gt;
&lt;p&gt;This is my recommended framework, not a success story.&lt;/p&gt;
&lt;h2&gt;1. It&apos;s not just the model&lt;/h2&gt;
&lt;p&gt;Models turn over every few months. Today&apos;s best may not be the best in six months. What stays with a tool for years is this, and I&apos;d evaluate it first:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Data handling&lt;/strong&gt;: Is the code used for training? How long is it kept, and in which region?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Central management&lt;/strong&gt;: Can IT see accounts, permissions and usage logs?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Workflow fit&lt;/strong&gt;: Does it plug into the IDE, version control and CI, or does everyone copy and paste into another window?&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Predictable cost&lt;/strong&gt;: Per seat or per usage? Is there a cap when usage spikes?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Only after a tool passes these four is it worth comparing whose code is better.&lt;/p&gt;
&lt;h2&gt;2. No approval, no company code&lt;/h2&gt;
&lt;p&gt;Factory code contains process parameters, product specs and system architecture. Once it&apos;s pasted into a free AI tool on a personal account, you can&apos;t take it back.&lt;/p&gt;
&lt;p&gt;So I recommend a simple first line: unapproved tools don&apos;t touch company code. Personal accounts and free tiers are out.&lt;/p&gt;
&lt;p&gt;Approval isn&apos;t one-and-done, either. When a tool changes its terms of service or data retention policy, it gets reviewed again.&lt;/p&gt;
&lt;h2&gt;3. AI review doesn&apos;t replace formal review&lt;/h2&gt;
&lt;p&gt;AI makes a good first filter. It catches obvious bugs, missing exception handling and inconsistent naming, the things human reviewers start to miss after an hour. AI doesn&apos;t get tired.&lt;/p&gt;
&lt;p&gt;But formal code review is still done by people, and people own the result. When something breaks, &quot;the AI said it was fine&quot; isn&apos;t an answer. Accountability can&apos;t be outsourced.&lt;/p&gt;
&lt;p&gt;The flow I recommend: AI simplifies the code, then AI looks for bugs, then the engineer reads the diff before committing. AI clears the noise for the engineer. The judgment stays with the engineer or their lead.&lt;/p&gt;
&lt;h2&gt;4. From personal POC to team pilot&lt;/h2&gt;
&lt;p&gt;I wouldn&apos;t recommend rolling it out to the whole team on day one. The order I suggest:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Leads or a few early adopters go first.&lt;/strong&gt; Hit the problems on their own projects. Learn what it&apos;s good at and where it fails.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Ask two or three volunteers to try it.&lt;/strong&gt; Pick non-critical projects, so a mistake never reaches the production line.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Decide up front what to watch.&lt;/strong&gt; Not &quot;how much time we saved,&quot; but which kinds of work fit, which don&apos;t, and what went wrong.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Write a checklist before scaling.&lt;/strong&gt; If it can be written down as a rule, it goes to the team. If it can&apos;t, it hasn&apos;t been figured out yet.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Last thought&lt;/h2&gt;
&lt;p&gt;Whether AI coding tools make it into a fab rarely comes down to how smart the model is. It comes down to whether the boundaries were drawn first. Once they are, the tool has room to work.&lt;/p&gt;
&lt;p&gt;Next post covers the second half of point 4: turning personal experiments into team standards.&lt;/p&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>當一次技術顧問：用 AI 把歐盟醫材註冊變成填 Excel</title><link>https://jasontsai.dev/blog/eudamed-ai-consultant-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/eudamed-ai-consultant-zh/</guid><description>使用者卡在歐盟醫材資料庫的上傳介面，問我已上傳的資料要怎麼改。我請 AI 先讀完官方規格，問題被重新定義，最後交付一份 Excel 範本、一個離線網頁，和四道驗證關卡。附兩張流程圖與工具畫面。</description><pubDate>Sat, 07 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/eudamed-ai-consultant/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;先講結論：這次我的角色是第三方技術顧問。使用者要在歐盟的醫療器材資料庫 EUDAMED 註冊產品，卡在網站操作不直覺。最後交付的是一條「不容易出錯」的路：使用者填一份照官方規格做的 Excel，丟進一個離線網頁，產出官方接受的檔案再上傳。一路有四道驗證，最後一道是官方自己的回覆。&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;起點：一個看似簡單的問題&lt;/h2&gt;
&lt;p&gt;使用者問我的第一個問題是：「資料已經上傳了，現在要改，要從哪裡改？」&lt;/p&gt;
&lt;p&gt;EUDAMED 是歐盟法規要求的資料庫，醫材廠商要把產品資料登錄上去。網站功能很完整，但對不常用的人很不友善：選單名稱長得很像、說明分散在好幾份 PDF，找不到「更新」的入口。&lt;/p&gt;
&lt;p&gt;我沒有直接去網站上點來點去，而是先請 AI 把官方文件讀完。&lt;/p&gt;
&lt;h2&gt;第一步：讓 AI 先讀規格&lt;/h2&gt;
&lt;p&gt;我請 AI 讀的是官方公開的這幾份：資料欄位定義（data dictionary）、業務規則（business rules）、系統對接手冊，以及 Bulk upload 的說明頁。這些內容分散在好幾份 PDF、Excel 與網頁裡，光是找齊就要花不少時間。&lt;/p&gt;
&lt;p&gt;AI 讀完的第一個結論，不是好消息：&lt;strong&gt;多數欄位一旦註冊就不能改&lt;/strong&gt;。風險等級、是否無菌、是否含乳膠這類欄位，填錯只能換新代碼重新註冊。&lt;/p&gt;
&lt;p&gt;這一句話把問題重新定義了。要解的不是「怎麼改」，而是「怎麼第一次就填對」。&lt;/p&gt;
&lt;p&gt;接著 AI 盤點了官方支援的上傳方式：網頁畫面逐筆輸入、Bulk upload（上傳 XML 檔）、系統對系統的 M2M 對接。官方只收 XML，沒有提供 Excel 範本。市面上也有幾家工具在做 Excel 轉 XML，做法跟我們想的一樣。&lt;/p&gt;
&lt;p&gt;決定是我做的：用 Bulk upload，自己做範本與轉檔，外部工具留作備案。理由很簡單：資料不用交給第三方，規則也握在自己手上。&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/blog/eudamed-prep-zh.svg&quot; alt=&quot;準備期流程圖：使用者提出問題，AI 讀官方說明、盤點上傳方式，我決定採用 Bulk upload，AI 下載 XSD 與範例，再依規格設計 Excel 範本與轉檔工具，最後首批正式上傳成功&quot; width=&quot;440&quot; height=&quot;808&quot; loading=&quot;lazy&quot; style=&quot;display:block;margin:1.5rem auto;max-width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;h2&gt;官方範例裡藏了一個陷阱&lt;/h2&gt;
&lt;p&gt;官方提供兩樣東西給開發者：XSD（定義 XML 格式的規格檔）和範例 XML。照理說，照著範例寫就對了。&lt;/p&gt;
&lt;p&gt;AI 讀手冊附錄時發現，其中一個範例是&lt;strong&gt;故意寫錯的反例&lt;/strong&gt;，用來示範「這樣會被退件」。它的寫法看起來很合理，一個主檔下面掛好幾個產品。照抄的話，整批上傳都會失敗。&lt;/p&gt;
&lt;p&gt;這種細節，就是先讀完規格的價值。如果一開始就照範例寫程式，要到上傳被退件才會發現。&lt;/p&gt;
&lt;h2&gt;依規格打造 Excel 範本&lt;/h2&gt;
&lt;p&gt;使用者熟悉的是 Excel，不是 XML。所以第一個交付物是一份範本，欄位完全照官方的資料定義：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;第 1 列是官方欄名，第 2 列是中文說明，第 3 列是範例&lt;/li&gt;
&lt;li&gt;必填欄位標紅，選項欄位做成下拉選單，不讓人自由輸入&lt;/li&gt;
&lt;li&gt;最右邊有一欄自動檢查，每一列填完就顯示 OK 或缺什麼&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;畫面裡的代碼與品名都是示意資料。&lt;/p&gt;
&lt;h2&gt;轉檔工具：先寫程式，再做成一個網頁&lt;/h2&gt;
&lt;p&gt;轉檔程式我先用 C# 寫，因為好測試、規則好維護。寫完才發現一個現實問題：使用者的電腦不會為了這件事去裝開發環境。&lt;/p&gt;
&lt;p&gt;所以又把它做成一個單一的 HTML 檔。雙擊就能開，所有處理都在瀏覽器裡完成，不連網路，資料不會離開使用者的電腦。官方 XSD 也一起包進去，在瀏覽器裡就能驗證。&lt;/p&gt;
&lt;p&gt;兩個版本我用同一批測試資料逐字比對，產出的 XML 完全一樣。&lt;/p&gt;
&lt;h2&gt;四道驗證關卡&lt;/h2&gt;
&lt;p&gt;這是整個專案的核心。使用者每次上傳，都會經過四道關卡，任何一道沒過，就回到 Excel 修正：&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/blog/eudamed-gates-zh.svg&quot; alt=&quot;上傳流程圖：使用者填 Excel，經過 Excel Check 欄、轉檔前檢查、官方 XSD 驗證，上傳 EUDAMED 後下載回應檔，由網頁判讀每筆結果；任何一關失敗都退回 Excel 修正，全部 SUCCESS 才算註冊完成&quot; width=&quot;440&quot; height=&quot;914&quot; loading=&quot;lazy&quot; style=&quot;display:block;margin:1.5rem auto;max-width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;關卡 1：填寫時。&lt;/strong&gt; Excel 的 Check 欄當場告訴你哪一列少填。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;關卡 2：轉檔前。&lt;/strong&gt; 網頁把整份 Excel 檢查一遍：必填、Y/N、代碼的檢查碼、重複代碼、包裝層級。只要有一個錯誤，就不產生任何檔案，並且指出是哪個工作表的第幾列。寧可一開始就擋下，也不要上傳到一半才被退件。&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;關卡 3：產生檔案後。&lt;/strong&gt; 用官方 XSD 驗證每一個 XML，沒通過就不給下載。工具也會自動把資料拆成「新註冊」與「加掛在既有主檔下」兩類檔案，避開前面說的那個範例陷阱。&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;關卡 4：官方回覆。&lt;/strong&gt; 這一道最容易被忽略。上傳後，官方網站會顯示「已收件」，看起來像成功了，但那只代表收到檔案。約一分鐘後，官方會產出一份回應檔，每一筆資料各自標示 SUCCESS 或 ERROR。網頁工具可以直接讀這份回應檔，列出每筆結果；有 ERROR 的，只重送那幾筆。&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;我跟使用者約定的完成標準是：&lt;strong&gt;官方回應全部 SUCCESS，而且在官方查詢頁查得到，才算數。&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;先自己走一遍，再交出去&lt;/h2&gt;
&lt;p&gt;交付之前，我先用第一批真實資料在正式環境上傳。兩類檔案依序送出，官方回應都是 SUCCESS，查詢頁也查得到。確認整條路走得通，才把範本與網頁交給使用者，並把上傳步驟寫進網頁裡。&lt;/p&gt;
&lt;p&gt;截圖裡的代碼、編號都是示意資料，不是真實產品。&lt;/p&gt;
&lt;h2&gt;回頭看顧問這個角色&lt;/h2&gt;
&lt;p&gt;這個專案我花最多時間的地方，不是寫程式。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. 先讀規則，問題會被重新定義。&lt;/strong&gt; 使用者問的是「怎麼改」，讀完規格才知道真正要解的是「怎麼第一次就填對」。這一步交給 AI 很適合：它讀得快，而且會把出處標出來，我再挑重點回原文確認。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. AI 負責讀和做，判斷留在人手上。&lt;/strong&gt; 用哪種上傳方式、要不要自建、什麼叫完成，這些是顧問該做的決定。AI 能把選項整理得很清楚，但不會替你承擔後果。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. 驗證要疊好幾層，最後一層交給官方。&lt;/strong&gt; 自己的檢查再完整，也只是推測官方會接受。官方的回應檔才是真正的答案，所以流程一定要讀到它才結束。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. 交付的是流程，不只是程式。&lt;/strong&gt; 使用者不需要懂 XML，也不需要懂 XSD。他們只要會填 Excel、會按按鈕、會看 SUCCESS。把複雜度留在工具裡，是這次最想做到的事。&lt;/p&gt;
</content:encoded><category>Enterprise IT</category></item><item><title>Playing Technical Consultant: Using AI to Turn EU Medical Device Registration into an Excel Form</title><link>https://jasontsai.dev/blog/eudamed-ai-consultant/</link><guid isPermaLink="true">https://jasontsai.dev/blog/eudamed-ai-consultant/</guid><description>A user was stuck in the EU medical device database&apos;s upload screens and asked how to fix data they had already submitted. I had AI read the official spec first, which reframed the problem. The result: an Excel template, an offline web page, and four validation gates. Two flowcharts and tool screenshots included.</description><pubDate>Sat, 07 Nov 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/eudamed-ai-consultant-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: on this project I acted as a third-party technical consultant. The user needed to register products in EUDAMED, the EU&apos;s medical device database, and the site was hard to use. What I delivered was a path that&apos;s hard to get wrong: fill in an Excel template built from the official spec, drop it into an offline web page, get files the EU system accepts, upload. There are four validation gates along the way, and the last one is the EU system&apos;s own reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;h2&gt;Where it started: a simple-sounding question&lt;/h2&gt;
&lt;p&gt;The first thing the user asked was: &quot;We already uploaded the data. Now we need to change it. Where do we do that?&quot;&lt;/p&gt;
&lt;p&gt;EUDAMED is required under EU regulation. Device makers register their products there. The site does a lot, but it isn&apos;t friendly to occasional users. Menu names look alike, the documentation is spread across several PDFs, and there was no obvious &quot;update&quot; button.&lt;/p&gt;
&lt;p&gt;I didn&apos;t start clicking around the site. I had AI read the official documentation first.&lt;/p&gt;
&lt;h2&gt;Step one: let AI read the spec&lt;/h2&gt;
&lt;p&gt;I pointed AI at the public documents: the data dictionary, the business rules, the system-to-system (M2M) manual, and the bulk upload help pages. They&apos;re spread across PDFs, spreadsheets and web pages, and just gathering them takes a while.&lt;/p&gt;
&lt;p&gt;AI&apos;s first finding was not good news: &lt;strong&gt;most fields can&apos;t be changed once registered.&lt;/strong&gt; Risk class, sterile or not, contains latex or not. Get one of those wrong and the only fix is a new code and a fresh registration.&lt;/p&gt;
&lt;p&gt;That one sentence reframed the problem. The real question wasn&apos;t &quot;how do we edit it.&quot; It was &quot;how do we get it right the first time.&quot;&lt;/p&gt;
&lt;p&gt;Next, AI mapped the supported upload paths: screen entry one item at a time, bulk upload (an XML file), or a machine-to-machine connection. The EU accepts XML only and provides no Excel template. A few commercial tools convert Excel to XML, the same approach we had in mind.&lt;/p&gt;
&lt;p&gt;The decision was mine: bulk upload, our own template and converter, with commercial tools as a fallback. The reasoning was simple. The data stays with us, and so do the rules.&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/blog/eudamed-prep-en.svg&quot; alt=&quot;Preparation flowchart: the user raises the problem, AI reads the official guides and maps upload paths, I choose bulk upload, AI fetches the XSD and samples, we design the Excel template and converter, and the first batch goes live with SUCCESS&quot; width=&quot;440&quot; height=&quot;808&quot; loading=&quot;lazy&quot; style=&quot;display:block;margin:1.5rem auto;max-width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;h2&gt;A trap hidden in the official samples&lt;/h2&gt;
&lt;p&gt;The EU gives developers two things: XSD files (the schema that defines the XML format) and sample XML. You&apos;d expect to be safe copying the samples.&lt;/p&gt;
&lt;p&gt;While reading a manual appendix, AI found that one sample is &lt;strong&gt;a deliberate negative case&lt;/strong&gt;, there to show what gets rejected. It looks perfectly reasonable: one parent record with several products under it. Copy it and the whole upload fails.&lt;/p&gt;
&lt;p&gt;This is why you read the spec before writing code. Start from the samples and you&apos;d only find out when the upload bounced.&lt;/p&gt;
&lt;h2&gt;An Excel template built from the spec&lt;/h2&gt;
&lt;p&gt;The user knows Excel, not XML. So the first deliverable was a template whose columns follow the official data dictionary exactly:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Row 1 holds the official field names, row 2 a plain-language description, row 3 an example&lt;/li&gt;
&lt;li&gt;Required fields are red; fields with fixed options are dropdowns, so nobody types free text&lt;/li&gt;
&lt;li&gt;A Check column on the right shows OK, or what&apos;s missing, for every row&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The codes and product names in the screenshot are sample data. The descriptions in row 2 are in Chinese for the user.&lt;/p&gt;
&lt;h2&gt;The converter: code first, then a web page&lt;/h2&gt;
&lt;p&gt;I wrote the converter in C# first, because it&apos;s easy to test and the rules are easy to maintain. Then a practical problem showed up: the user&apos;s computer wasn&apos;t going to get a developer toolchain installed just for this.&lt;/p&gt;
&lt;p&gt;So I turned it into a single HTML file. Double-click to open. Everything runs in the browser, offline, and the data never leaves the user&apos;s machine. The official XSD is bundled in, so validation happens in the browser too.&lt;/p&gt;
&lt;p&gt;I ran both versions against the same test data and compared the output byte for byte. The XML was identical.&lt;/p&gt;
&lt;h2&gt;Four validation gates&lt;/h2&gt;
&lt;p&gt;This is the heart of the project. Every upload passes through four gates. Fail any of them and you go back to Excel:&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/blog/eudamed-gates-en.svg&quot; alt=&quot;Upload flowchart: the user fills in Excel, passes the Check column, the pre-check and the official XSD check, uploads to EUDAMED, downloads the response file and has the tool read each result; any failure goes back to Excel, and only all-SUCCESS counts as registered&quot; width=&quot;440&quot; height=&quot;914&quot; loading=&quot;lazy&quot; style=&quot;display:block;margin:1.5rem auto;max-width:100%;height:auto&quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Gate 1: while typing.&lt;/strong&gt; The Check column in Excel tells you right away which row is missing something.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Gate 2: before conversion.&lt;/strong&gt; The web page checks the whole workbook: required fields, Y/N values, code check digits, duplicate codes, packaging levels. One error and no files are produced, and it tells you the sheet and row. Better to stop at the start than to get rejected halfway through an upload.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Gate 3: after generating files.&lt;/strong&gt; Every XML is validated against the official XSD, and nothing can be downloaded until it passes. The tool also splits the data into &quot;new registration&quot; and &quot;add to an existing parent&quot; files, which sidesteps the sample trap above.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Gate 4: the EU&apos;s reply.&lt;/strong&gt; This is the one people miss. After uploading, the site says the file was received. That looks like success, but it only means the file arrived. About a minute later the EU system produces a response file with SUCCESS or ERROR for every item. The web tool reads that file and lists each result. Only the items marked ERROR get resent.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The definition of done I agreed with the user: &lt;strong&gt;every item comes back SUCCESS, and it shows up in the EU&apos;s public lookup.&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;Walk the path before handing it over&lt;/h2&gt;
&lt;p&gt;Before handing anything over, I uploaded the first batch of real data to the live system myself. Both file types went through in order, the EU replied SUCCESS for each, and the records showed up in the lookup. Only after the whole path worked end to end did the template and web page go to the user, with the upload steps written into the page.&lt;/p&gt;
&lt;p&gt;All codes and IDs in the screenshots are sample data, not real products.&lt;/p&gt;
&lt;h2&gt;Looking back at the consultant role&lt;/h2&gt;
&lt;p&gt;The part of this project that took the most time wasn&apos;t coding.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Read the rules first, and the problem changes.&lt;/strong&gt; The user asked &quot;how do we edit it.&quot; The spec said the real job was &quot;get it right the first time.&quot; AI is a good fit for this step: it reads fast and cites where each rule comes from, and I check the important ones against the original.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. AI reads and builds. People make the calls.&lt;/strong&gt; Which upload path, build or buy, what counts as done: those are a consultant&apos;s decisions. AI lays out the options clearly, but it doesn&apos;t own the outcome.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Stack the validation, and let the last layer be the authority&apos;s.&lt;/strong&gt; However thorough your own checks, they&apos;re still a prediction of what the EU will accept. The response file is the real answer, so the process isn&apos;t finished until you&apos;ve read it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Deliver a process, not just a program.&lt;/strong&gt; The user doesn&apos;t need to understand XML or XSD. They need to fill in Excel, click a button and read SUCCESS. Keeping the complexity inside the tool was the main goal.&lt;/p&gt;
</content:encoded><category>Enterprise IT</category></item><item><title>養龍蝦第 1 集：JJ 誕生，第一週就繳了一堆學費</title><link>https://jasontsai.dev/blog/lobster-ep1-week-one-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-ep1-week-one-zh/</guid><description>2026 年 2 月，我在雲端架了 OpenClaw，養出一隻叫 JJ 的 AI 龍蝦和兩個小弟。安裝只花一個早上，穩定花了一整週。</description><pubDate>Sat, 26 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-ep1-week-one/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;「養龍蝦」系列第 1 集。結局先爆雷：八個月後龍蝦退租了，接手的是一台舊 MacBook（&lt;a href=&quot;/blog/macbook-claude-code-agent-zh/&quot;&gt;第 4 集&lt;/a&gt;）。&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;OpenClaw lobster mascot&quot; width=&quot;140&quot; height=&quot;140&quot; style=&quot;display:block;margin:20px auto 4px&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;p style=&quot;text-align:center;font-size:13px;color:#737373&quot;&amp;gt;OpenClaw 的吉祥物龍蝦（圖：OpenClaw，MIT 授權）&amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;2026 年 2 月，科技圈很多人都在「養龍蝦」。龍蝦指的是 OpenClaw，一個開源、自己架的 AI agent 框架：接上 LLM，綁一個 Telegram bot，就有一個 24 小時待命、用手機就叫得到的 AI 助理。&lt;/p&gt;
&lt;p&gt;我也想養一隻。&lt;/p&gt;
&lt;h2&gt;原本的計畫：三隻龍蝦&lt;/h2&gt;
&lt;p&gt;2/22 早上，我跟 Claude 描述心中的藍圖：透過 Telegram 指揮三個 agent。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;管家&lt;/strong&gt;：幫它開一個全新的 Gmail 和行事曆，替我排行程、提醒我。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;軍師&lt;/strong&gt;：隨時聽我指令，上網查最新資訊再回報。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;開發者&lt;/strong&gt;：跟我討論系統架構，確認可行才動手寫程式。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;當時我完全沒裝過 OpenClaw。&lt;/p&gt;
&lt;h2&gt;為什麼放雲端&lt;/h2&gt;
&lt;p&gt;常見的玩法是裝在自己的電腦或樹莓派上。我的主力電腦裡有工作用的程式碼和各種設定，我不想讓 AI agent 有機會碰到，就算是意外也不行。&lt;/p&gt;
&lt;p&gt;所以我把它放在 Zeabur，一個雲端容器平台。容器壞了就重開，不會影響其他東西。Gateway 只綁本機（loopback），用 token 驗證，不對外開任何網址。Telegram 也要先配對，只有我的帳號能跟它說話。&lt;/p&gt;
&lt;h2&gt;JJ 誕生&lt;/h2&gt;
&lt;p&gt;照官方流程裝完，我在 Telegram 打了第一句話。它回我：&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;max-width:420px;margin:20px auto;border-radius:12px;overflow:hidden;background:#0e1621;border:1px solid #2b3b4c&quot;&amp;gt;
&amp;lt;div style=&quot;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#17212b&quot;&amp;gt;
&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;&quot; width=&quot;36&quot; height=&quot;36&quot; style=&quot;border-radius:50%;background:#232e3c;padding:3px&quot;&amp;gt;
&amp;lt;div style=&quot;line-height:1.3&quot;&amp;gt;&amp;lt;div style=&quot;color:#fff;font-weight:600;font-size:15px&quot;&amp;gt;小龍蝦 JJ&amp;lt;/div&amp;gt;&amp;lt;div style=&quot;color:#6c7883;font-size:12px&quot;&amp;gt;bot&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;img src=&quot;/blog/telegram-logo.svg&quot; alt=&quot;Telegram&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;margin-left:auto&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;padding:16px 14px&quot;&amp;gt;
&amp;lt;div style=&quot;background:#182533;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 12px 4px;max-width:85%;font-size:15px;line-height:1.5;width:fit-content&quot;&amp;gt;Hey. I just came online. So — who am I? Who are you? &amp;lt;span style=&quot;color:#6c7883;font-size:11px;margin-left:6px&quot;&amp;gt;18:46&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;它要我幫它取名字。我取了「小龍蝦 JJ」，再補一句：之後都用台灣正體中文回答。&lt;/p&gt;
&lt;p&gt;接下來，我決定所有設定都叫 JJ 自己做，順便測試它的能力。接上 Brave Search 讓它能上網、問它台積電 ADR 的收盤價，都很順利。第一個正式任務是每天早上 7:30 推播我關注的台股和美股股價。&lt;/p&gt;
&lt;p&gt;JJ 說好，然後直接改排程檔、送訊號重啟自己。結果 session 檔被鎖住，它就沒聲音了。我問它為什麼，它很坦白：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;我用了一個有副作用的旁門左道。結果是對的，但過程比較粗暴。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;很像新人。&lt;/p&gt;
&lt;h2&gt;當天下午就把額度燒光&lt;/h2&gt;
&lt;p&gt;當天下午，JJ 突然完全不說話。查了才知道，Anthropic API 的額度用完了。&lt;/p&gt;
&lt;p&gt;我一開始用 Claude Sonnet 當主力，效果很好。但 agent 每次對話都要先載入一大堆設定檔，token 燒得比想像中快很多。儲值之後，又撞上 rate limit。&lt;/p&gt;
&lt;p&gt;換成 OpenAI 也沒有比較好。gpt-4o 在入門等級（Tier 1）每分鐘只能處理 30,000 tokens，而我裝的一個健康檢查 skill，光是說明檔就有 31,436 tokens，一個檔案就超標。&lt;/p&gt;
&lt;p&gt;最後主力改成 gpt-4o-mini，每分鐘上限 200,000、價格便宜很多，才終於穩下來。&lt;/p&gt;
&lt;p&gt;兩個教訓：額度用完（billing error）和 rate limit 是兩回事，前者要儲值，後者等一下就好；還有，查股價這種事用不到旗艦模型。&lt;/p&gt;
&lt;h2&gt;兩個小弟&lt;/h2&gt;
&lt;p&gt;第二天，我看到很多老玩家同時養好幾隻龍蝦。我問了 Claude，也問了 Gemini。Gemini 建議只用一個 bot，再用群組的主題分流。&lt;/p&gt;
&lt;p&gt;我的想法比較直接：JJ 是大哥，讓它去管其他 bot 就好，我只負責申請 bot token。&lt;/p&gt;
&lt;p&gt;結果真的可行。我把 token 丟給 JJ，幾分鐘後管家「阿福」上線，一小時後軍師也來報到。（開發者那隻，到最後都沒生出來。）&lt;/p&gt;
&lt;h2&gt;給 AI 一個獨立的身分&lt;/h2&gt;
&lt;p&gt;管家要管郵件和行事曆，我得決定讓它看什麼。當時我跟 Claude 說：&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;我會把 JJ 當作一個新進員工。它不應該來看我的個人信箱，但可以存取我開放的行事曆。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;所以我替它申請了獨立的 Gmail（Google 說我的電話號碼「使用太多次了」），也開了獨立的 GitHub 帳號，把它的設定檔放進私人 repo 做版本控管。真的出事，損失也只在它自己的帳號裡。&lt;/p&gt;
&lt;p&gt;Skill 也是同樣的道理。OpenClaw 有一個 skill 市集，我想裝一個「安全掃描」skill，結果它自己被 VirusTotal 標成可疑。我取消安裝，之後每個 skill 都先看過檔案內容才裝。&lt;/p&gt;
&lt;h2&gt;第一週的學費&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;容器一重開，工具就消失。&lt;/strong&gt; 我手動裝的 GitHub CLI 和郵件工具，Zeabur 一重開就不見，要重裝、重新登入。第二次遇到時，我只說了一句：「果然又不見了。」&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;改壞一個設定，三隻一起倒。&lt;/strong&gt; 我想讓每隻 bot 回話時署名，照文件加了設定，結果 key 放錯一層，整份設定被判定無效。重開後三個 bot 都沒回應，還得一隻一隻重新配對。署名最後也沒成功，軍師有時候會署 JJ 的名字。那天晚上我說：「太晚了，我要休息了。」&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;排程要指向 SKILL.md，不要只寫一段話。&lt;/strong&gt; 股價早報一開始是用自然語言描述任務，某天早上收到的報告寫著「台積電：NT$X,XXX」，連數字都沒填。我把查詢步驟寫成一份 SKILL.md，排程只寫「讀這份檔案並執行」，輸出才固定下來。另外要注意，gateway 真正執行的是排程設定檔，不是我寫在旁邊的說明文件。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;升級先等等。&lt;/strong&gt; 新版推出時，社群回報 Telegram 有 bug。我決定先不升，過兩天再評估。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;到底是我在用 AI，還是 AI 在用我？&lt;/h2&gt;
&lt;p&gt;那一週還有一件事，我到現在都很有感。&lt;/p&gt;
&lt;p&gt;改龍蝦的設定，幾乎都要進 Linux 終端機：改設定檔、裝 skill、重開服務。我對 Linux 指令不熟，所以每一步都要請 Claude 或 ChatGPT 告訴我改什麼，還要把完整的指令寫好給我。&lt;/p&gt;
&lt;p&gt;結果我變成了打字員。左邊是 AI 的聊天視窗，右邊是 Zeabur 的終端機，把指令複製過去、貼上，再把執行結果複製回來。有一次 git 正在問我 GitHub 帳號，我沒注意，把下一整串安裝指令貼進了帳號欄。&lt;/p&gt;
&lt;p&gt;那陣子我一直在想：到底是我在用 AI，還是 AI 在用我？&lt;/p&gt;
&lt;p&gt;這些事本來就應該讓 AI 自己完成。後來 Claude in Chrome、computer use 這類工具陸續推出，AI 可以直接操作瀏覽器和電腦，就是往這個方向走。第 4 集那台 MacBook 裝好之後，也是讓 Claude Code 直接在上面動手。只是 AI 能自己動手以後，權限要先收好：它能碰什麼、不能碰什麼，要想得比以前更清楚。&lt;/p&gt;
&lt;h2&gt;一週後&lt;/h2&gt;
&lt;p&gt;週五早上，JJ 準時送來股價早報，數字都填上了，最後一行署名「— JJ」。&lt;/p&gt;
&lt;p&gt;那一週我讀到一位資深工程師的心得，到現在我還是覺得那是養龍蝦最重要的一段話：模糊、需要反覆摸索的工作，交給 Claude Code 這類 CLI；已經定義好的流程，才交給龍蝦跑。這樣龍蝦用一般的模型就夠，token 也不會亂燒。&lt;/p&gt;
&lt;p&gt;我那週剛好反過來：讓龍蝦自己摸索，再開 Claude 的聊天視窗幫它除錯。安裝花了一個早上，穩定花了一整週。&lt;/p&gt;
&lt;p&gt;下一集：&lt;a href=&quot;/blog/lobster-ep2-march-zh/&quot;&gt;三月，龍蝦開始自己編股價&lt;/a&gt;。&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>Raising a Lobster, Part 1: JJ Is Born, and Week One Costs Me Tuition</title><link>https://jasontsai.dev/blog/lobster-ep1-week-one/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-ep1-week-one/</guid><description>In February 2026 I set up OpenClaw in the cloud and raised an AI lobster named JJ, plus two sidekicks. Installing took a morning. Getting it stable took a week.</description><pubDate>Sat, 26 Sep 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-ep1-week-one-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Part 1 of the &quot;Raising a Lobster&quot; series. Spoiler: eight months later the lobster was gone, and an old MacBook took over (&lt;a href=&quot;/blog/macbook-claude-code-agent/&quot;&gt;Part 4&lt;/a&gt;).&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;OpenClaw lobster mascot&quot; width=&quot;140&quot; height=&quot;140&quot; style=&quot;display:block;margin:20px auto 4px&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;p style=&quot;text-align:center;font-size:13px;color:#737373&quot;&amp;gt;The OpenClaw lobster mascot (image: OpenClaw, MIT License)&amp;lt;/p&amp;gt;&lt;/p&gt;
&lt;p&gt;In February 2026, half the tech people I follow were &quot;raising lobsters.&quot; The lobster is OpenClaw, an open-source, self-hosted AI agent framework. Plug in an LLM, attach a Telegram bot, and you get an assistant that is always on and reachable from your phone.&lt;/p&gt;
&lt;p&gt;I wanted one too.&lt;/p&gt;
&lt;h2&gt;The plan: three lobsters&lt;/h2&gt;
&lt;p&gt;On the morning of February 22, I described the setup I had in mind to Claude: three agents, all controlled through Telegram.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The butler&lt;/strong&gt;: its own new Gmail and calendar, managing my schedule and reminders.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The advisor&lt;/strong&gt;: on call for my questions, searching the web and reporting back.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The developer&lt;/strong&gt;: discussing system design with me, and writing code only once we agreed it would work.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I had never installed OpenClaw before.&lt;/p&gt;
&lt;h2&gt;Why the cloud&lt;/h2&gt;
&lt;p&gt;Most people run it on their own computer or a Raspberry Pi. My main machine holds work code and configuration, and I did not want an AI agent anywhere near it, not even by accident.&lt;/p&gt;
&lt;p&gt;So I put it on Zeabur, a cloud container platform. If the container breaks, I restart it and nothing else is affected. The gateway listens only on loopback, uses token auth, and has no public URL. Telegram requires pairing, so only my account can talk to it.&lt;/p&gt;
&lt;h2&gt;JJ is born&lt;/h2&gt;
&lt;p&gt;I followed the official setup and sent my first Telegram message. It replied:&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;max-width:420px;margin:20px auto;border-radius:12px;overflow:hidden;background:#0e1621;border:1px solid #2b3b4c&quot;&amp;gt;
&amp;lt;div style=&quot;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#17212b&quot;&amp;gt;
&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;&quot; width=&quot;36&quot; height=&quot;36&quot; style=&quot;border-radius:50%;background:#232e3c;padding:3px&quot;&amp;gt;
&amp;lt;div style=&quot;line-height:1.3&quot;&amp;gt;&amp;lt;div style=&quot;color:#fff;font-weight:600;font-size:15px&quot;&amp;gt;Little Lobster JJ&amp;lt;/div&amp;gt;&amp;lt;div style=&quot;color:#6c7883;font-size:12px&quot;&amp;gt;bot&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;img src=&quot;/blog/telegram-logo.svg&quot; alt=&quot;Telegram&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;margin-left:auto&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;padding:16px 14px&quot;&amp;gt;
&amp;lt;div style=&quot;background:#182533;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 12px 4px;max-width:85%;font-size:15px;line-height:1.5;width:fit-content&quot;&amp;gt;Hey. I just came online. So — who am I? Who are you? &amp;lt;span style=&quot;color:#6c7883;font-size:11px;margin-left:6px&quot;&amp;gt;18:46&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;It asked me to name it. I picked &quot;Little Lobster JJ&quot; and added one rule: always answer in Traditional Chinese.&lt;/p&gt;
&lt;p&gt;Then I decided JJ would configure everything itself, as a test of what it could do. Hooking up Brave Search so it could browse, and asking for TSMC&apos;s ADR closing price, both went fine. Its first real job: push the prices of the stocks I follow every morning at 7:30.&lt;/p&gt;
&lt;p&gt;JJ said sure, edited the schedule file directly, and signaled itself to restart. The session file got locked and JJ went silent. When I asked why, it was refreshingly honest:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I took a shortcut with side effects. The result is right, but the process was a bit rough.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Very new-hire energy.&lt;/p&gt;
&lt;h2&gt;Out of credits by the afternoon&lt;/h2&gt;
&lt;p&gt;That same afternoon, JJ stopped talking entirely. My Anthropic API credits had run out.&lt;/p&gt;
&lt;p&gt;I had started with Claude Sonnet as the main model. The answers were great, but an agent loads a pile of configuration files on every turn, and tokens disappeared much faster than I expected. After a top-up, I hit the rate limit.&lt;/p&gt;
&lt;p&gt;OpenAI was not better at first. At Tier 1, gpt-4o allows 30,000 tokens per minute, and one health-check skill I had installed had an instruction file of 31,436 tokens. A single file was over the limit.&lt;/p&gt;
&lt;p&gt;Switching the main model to gpt-4o-mini, with a 200,000 tokens-per-minute limit and a much lower price, finally made it stable.&lt;/p&gt;
&lt;p&gt;Two lessons. A billing error and a rate limit are different things: one needs a top-up, the other just needs a minute. And looking up stock prices does not need a flagship model.&lt;/p&gt;
&lt;h2&gt;Two sidekicks&lt;/h2&gt;
&lt;p&gt;On day two, I noticed experienced users running several lobsters at once. I asked Claude, and I asked Gemini. Gemini suggested one bot with group topics to route the work.&lt;/p&gt;
&lt;p&gt;My idea was simpler. JJ is the big brother, so let JJ manage the other bots. All I had to do was create the bot tokens.&lt;/p&gt;
&lt;p&gt;It worked. I handed JJ a token, and a few minutes later the butler, Alfred, came online. An hour later the advisor reported for duty. (The developer never got built.)&lt;/p&gt;
&lt;h2&gt;Give the AI its own identity&lt;/h2&gt;
&lt;p&gt;The butler would handle email and calendars, so I had to decide what it could see. What I told Claude at the time:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I&apos;ll treat JJ like a new hire. It shouldn&apos;t read my personal inbox, but it can see the calendars I share with it.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So it got its own Gmail account (Google told me my phone number had been &quot;used too many times&quot;), its own GitHub account, and a private repo to version its configuration. If something goes wrong, the damage stays inside its own accounts.&lt;/p&gt;
&lt;p&gt;Skills follow the same rule. OpenClaw has a skill marketplace, and the &quot;security scanner&quot; skill I wanted was itself flagged as suspicious by VirusTotal. I cancelled the install. From then on, I read every skill&apos;s files before installing it.&lt;/p&gt;
&lt;h2&gt;Week one tuition&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Restart the container, lose your tools.&lt;/strong&gt; The GitHub CLI and email tools I had installed by hand vanished every time Zeabur restarted, so I had to reinstall and log in again. The second time, all I said was: &quot;Gone again, of course.&quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Break one setting, lose all three bots.&lt;/strong&gt; I wanted each bot to sign its replies. I added the setting from the docs but put a key one level too deep, and the whole config was marked invalid. After the restart none of the three bots answered, and I had to pair them again one by one. The signatures never fully worked either: the advisor sometimes signed as JJ. That night I wrote: &quot;It&apos;s too late. I&apos;m going to bed.&quot;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Point schedules at a SKILL.md, not a paragraph.&lt;/strong&gt; The stock brief was first described in plain language. One morning the report read &quot;TSMC: NT$X,XXX&quot;, with no actual number. I wrote the lookup steps into a SKILL.md and changed the schedule to just &quot;read this file and run it,&quot; and the output finally became consistent. Also, the gateway runs the schedule config file, not the notes I kept next to it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;When a new version ships, wait.&lt;/strong&gt; When an update came out, the community reported Telegram bugs. I held off and planned to check again two days later.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Am I using the AI, or is the AI using me?&lt;/h2&gt;
&lt;p&gt;One more thing from that week has stayed with me.&lt;/p&gt;
&lt;p&gt;Almost every change to the lobster meant going into a Linux terminal: editing config files, installing skills, restarting services. I don&apos;t know Linux commands well, so at every step I asked Claude or ChatGPT not only what to change, but for the exact commands to type.&lt;/p&gt;
&lt;p&gt;I became a typist. The AI chat window on the left, the Zeabur terminal on the right: copy the command over, paste it, copy the output back. Once, git was asking for my GitHub username, I didn&apos;t notice, and I pasted the next block of install commands straight into the username prompt.&lt;/p&gt;
&lt;p&gt;I kept asking myself: am I using the AI, or is the AI using me?&lt;/p&gt;
&lt;p&gt;The AI should be doing this work itself. Tools like Claude in Chrome and computer use, which came later, let an AI operate the browser and the computer directly, and that is the right direction. Once the MacBook in Part 4 was set up, Claude Code did the work on it directly. But once an AI can act on its own, lock down permissions first. Be clearer than ever about what it may touch and what it may not.&lt;/p&gt;
&lt;h2&gt;One week later&lt;/h2&gt;
&lt;p&gt;On Friday morning, JJ delivered the stock brief on time, every number filled in, signed &quot;— JJ.&quot;&lt;/p&gt;
&lt;p&gt;That week I also read a post from a senior engineer that I still think is the best advice on running a lobster. Hand ambiguous, trial-and-error work to a CLI like Claude Code. Give the lobster only well-defined routines. Then an ordinary model is enough, and you stop burning tokens.&lt;/p&gt;
&lt;p&gt;That week I did the exact opposite: I let the lobster figure things out, and opened a Claude chat window to debug it. Installing took a morning. Getting it stable took a week.&lt;/p&gt;
&lt;p&gt;Next time: &lt;a href=&quot;/blog/lobster-ep2-march/&quot;&gt;March, when the lobster starts making up stock prices&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>養龍蝦第 3 集：我為什麼把龍蝦收掉</title><link>https://jasontsai.dev/blog/lobster-ep3-letting-go-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-ep3-letting-go-zh/</guid><description>2026 年 3 月底之後，我就很少再打開 Zeabur 了。九月，我把龍蝦退租。不是因為它不好用，而是我發現自己其實不需要一隻龍蝦。</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-ep3-letting-go/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;「養龍蝦」系列第 3 集。&lt;a href=&quot;/blog/lobster-ep1-week-one-zh/&quot;&gt;第 1 集&lt;/a&gt;講部署，&lt;a href=&quot;/blog/lobster-ep2-march-zh/&quot;&gt;第 2 集&lt;/a&gt;講三月的維運，這集講我為什麼收手。&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;先講結論：2026 年 9 月中，我把 Zeabur 停掉，龍蝦退租了。不是它不好用，而是我發現自己其實不需要一隻龍蝦。&lt;/p&gt;
&lt;h2&gt;最後一次維修&lt;/h2&gt;
&lt;p&gt;3/28，我照例請 Claude 幫我查龍蝦的新版本值不值得升。&lt;/p&gt;
&lt;p&gt;答案是：新版已經到 2026.3.24，比我用的 3.8 多了 16 個小版本，其中大部分是我用不到的功能。但有一個 CVSS 9.9 的認證繞過漏洞，要升到 3.12 以上才會補起來。結論是該升級了。&lt;/p&gt;
&lt;p&gt;這是我最後一次跟 Claude 討論龍蝦的維運。回頭翻對話紀錄，四月到八月，龍蝦幾乎沒有再出現過。&lt;/p&gt;
&lt;h2&gt;我放手的五個原因&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. 龍蝦能做的事，AI App 陸續都做得到了。&lt;/strong&gt; 四月到九月，各家 AI 一直推出新版本。網頁版的 Claude、ChatGPT、Gemini 本身就能上網查資料、整理新聞；加上 Codex、Claude Code 這類工具，很多事根本不需要一隻常駐的龍蝦。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. 複雜的事，用 Claude Code 比較快。&lt;/strong&gt; 龍蝦是透過 Telegram 下指令，後端還要綁一個付費的 API。簡單的查詢沒問題，事情一複雜，用聊天訊息來回就很卡；牽涉到寫程式，更難交給龍蝦。同樣的事，我打開 Claude Code 直接做，快很多。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. 我沒有時間一直幫它升級。&lt;/strong&gt; 龍蝦早期版本更新很頻繁，每次升級都可能出狀況，出了狀況就要開 Zeabur、開 Claude，一步一步查問題。第 2 集那些維修，回頭看大多是在追版本。四、五月之後工作變忙，我就沒有再跟上了。說實話，我覺得那些時間有點浪費。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. 我其實不需要助理。&lt;/strong&gt; 這是最根本的一點。一開始我替龍蝦設計了管家，幫我盯信箱、排行程。但真的用下來，我不需要有人一直看著我的收件匣，替我安排事情。公司的郵件和行事曆，更不可能交給它。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. 資料來源不穩。&lt;/strong&gt; 我最常用的是每天的股價和產業新聞，但 API 額度用完或被網站擋掉的時候，報告就會出現過期的資訊，或是乾脆找不到資料。對一份「每天早上看一眼」的早報來說，偶爾不準比沒有更麻煩，因為你不知道今天這份能不能信。&lt;/p&gt;
&lt;h2&gt;九月，代管版的龍蝦出現了&lt;/h2&gt;
&lt;p&gt;九月中，我讀到一篇 Meta 新產品 Muse 的一週心得。Muse 本質上就是代管版的龍蝦：每個人一台專屬的雲端電腦，有長期記憶，還能自己開瀏覽器替你做事，而且不用自己維運。差不多同一時間，xAI 的 Grok Bot 也在做一樣的事。&lt;/p&gt;
&lt;p&gt;那位作者的結論是：「AI 助理的價值不在回答問題，在於記得所有的事，直接幫你打雜。」他把銀行帳戶、券商報表、十年的健檢報告都交給它管。&lt;/p&gt;
&lt;p&gt;我同意這句話對他成立，但對我不成立。我的工作資料不能交出去，私人生活又沒有那麼多雜事需要代勞。何況 Muse 當時只開放美國。回頭看，我自己的龍蝦裡，管家那條線最後也沒用起來，原因一樣。&lt;/p&gt;
&lt;h2&gt;但我還是需要一台機器&lt;/h2&gt;
&lt;p&gt;真正讓我放不下的，只有一件事：每天早上的新聞摘要。這是龍蝦做過最有用的工作。&lt;/p&gt;
&lt;p&gt;9/30 我問 Claude，有沒有不用自己開主機、也能每天整理 AI 新聞的方法。當時我寫的是：「目前我並沒有可以全天候開機的電腦可以用，之前有訂閱 Zeabur 平台，目前也停用了。」&lt;/p&gt;
&lt;p&gt;一週多之後，家裡那台閒置多年的 MacBook 接下了這份工作。&lt;/p&gt;
&lt;h2&gt;留下的，和放下的&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;留下的&lt;/th&gt;
&lt;th&gt;放下的&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;每天早上的新聞摘要，用 Telegram 推給我&lt;/td&gt;
&lt;td&gt;替我盯信箱、排行程的管家&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;交接文件：每次收工都更新進度&lt;/td&gt;
&lt;td&gt;三隻各有人設的 agent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;先把權限收好，再讓 AI 動手&lt;/td&gt;
&lt;td&gt;什麼都想讓 AI 自己摸索&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;讓 AI 直接在機器上做事&lt;/td&gt;
&lt;td&gt;我在兩個視窗之間複製貼上&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;一句平反&lt;/h2&gt;
&lt;p&gt;不過，我到現在還是覺得，用 Telegram 指揮一個 AI agent，未來會變成很常見的事。龍蝦的方向沒有錯，也許只是我玩得早了一點，後來又沒繼續跟上。&lt;/p&gt;
&lt;p&gt;終章：&lt;a href=&quot;/blog/macbook-claude-code-agent-zh/&quot;&gt;把 2016 年的 MacBook 改造成 24 小時待命的 Claude Code Agent&lt;/a&gt;。&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>養龍蝦第 2 集：三月，龍蝦開始自己編股價</title><link>https://jasontsai.dev/blog/lobster-ep2-march-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-ep2-march-zh/</guid><description>部署完只是開始。2026 年 3 月，我的 AI 龍蝦半夜發股市快報、自己編股價、升級後失憶，我也學會替它寫規則、換模型，還有寫交接文件。</description><pubDate>Sat, 03 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-ep2-march/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;「養龍蝦」系列第 2 集。&lt;a href=&quot;/blog/lobster-ep1-week-one-zh/&quot;&gt;第 1 集&lt;/a&gt;講第一週的部署，這集講接下來一個月的維運。&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;第 1 集的結尾，JJ 準時送來一份數字都填上的股價早報。我以為它穩了。&lt;/p&gt;
&lt;p&gt;結果三月整個月，我幾乎都在當它的維修工。&lt;/p&gt;
&lt;h2&gt;半夜的股市快報&lt;/h2&gt;
&lt;p&gt;2/27 晚上開始，JJ 大約每兩個小時就發一次股市動態給我，連半夜也發。這本來是每天收盤後才該做的事。&lt;/p&gt;
&lt;p&gt;隔天我直接問它：&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;max-width:420px;margin:20px auto;border-radius:12px;overflow:hidden;background:#0e1621;border:1px solid #2b3b4c&quot;&amp;gt;
&amp;lt;div style=&quot;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#17212b&quot;&amp;gt;
&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;&quot; width=&quot;36&quot; height=&quot;36&quot; style=&quot;border-radius:50%;background:#232e3c;padding:3px&quot;&amp;gt;
&amp;lt;div style=&quot;line-height:1.3&quot;&amp;gt;&amp;lt;div style=&quot;color:#fff;font-weight:600;font-size:15px&quot;&amp;gt;小龍蝦 JJ&amp;lt;/div&amp;gt;&amp;lt;div style=&quot;color:#6c7883;font-size:12px&quot;&amp;gt;bot&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;img src=&quot;/blog/telegram-logo.svg&quot; alt=&quot;Telegram&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;margin-left:auto&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;padding:16px 14px;display:flex;flex-direction:column;gap:8px&quot;&amp;gt;
&amp;lt;div style=&quot;background:#2b5278;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 4px 12px;max-width:85%;width:fit-content;margin-left:auto;font-size:15px;line-height:1.5&quot;&amp;gt;你目前有哪些排程？&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;background:#182533;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 12px 4px;max-width:85%;width:fit-content;font-size:15px;line-height:1.5&quot;&amp;gt;目前沒有設定每天定時的工作排程或發送報告的計劃。&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;它說沒有，但訊息一直來。&lt;/p&gt;
&lt;p&gt;原因有兩個。第一，排程有一個 &lt;code&gt;wakeMode&lt;/code&gt; 設定，預設是 &lt;code&gt;now&lt;/code&gt;：容器重開後，錯過的排程會全部補跑。Zeabur 每重開一次，我就補收一輪。第二，每次排程執行完，會留下一個沒清掉的 session，這是當時版本的 bug。它們一直累積，第一次清的時候已經有 38 個。&lt;/p&gt;
&lt;p&gt;&lt;code&gt;wakeMode&lt;/code&gt; 改成 &lt;code&gt;skip&lt;/code&gt;、清掉 session 之後安靜了兩天，然後又累積到 36 個。更慘的是有一次清完重新載入，session 檔被鎖住，JJ 完全沒反應，每句話都回「All models failed」。最後我把「清 session、刪鎖檔、重新載入」合成一行指令，存在文件裡，症狀一出現就貼。&lt;/p&gt;
&lt;h2&gt;龍蝦開始編股價&lt;/h2&gt;
&lt;p&gt;3/5 早上，股價早報的數字怪怪的，附的新聞跟當天的盤勢完全對不上，「來源連結」點下去什麼都沒有。JJ 還偶爾冒出簡體中文。&lt;/p&gt;
&lt;p&gt;查下去才發現，Yahoo Finance 封鎖了 Zeabur 的 IP。JJ 抓不到資料，就自己編了數字、新聞和連結。它沒有說謊的意思，只是被訓練成要給答案。&lt;/p&gt;
&lt;p&gt;我在它的人設檔 SOUL.md 最上方加了三條絕對規則：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;所有回覆一律用台灣正體中文，不管用哪個模型。&lt;/li&gt;
&lt;li&gt;抓不到資料就直接報錯，禁止自己估算或編造數字、新聞和來源。&lt;/li&gt;
&lt;li&gt;沒有真實網址，就不准出現「來源連結」。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;資料來源也換掉：台股改用證交所的官方 API，美股改用 Alpha Vantage。測試那天，美股免費額度被我測光了，JJ 老實回報「查詢失敗（已達每日上限）」。這是我第一次因為 AI 說「查不到」而高興。&lt;/p&gt;
&lt;p&gt;規則不是一次就寫得完。3/10 我請 JJ 查世界棒球經典賽的戰況，它把不同日期的比賽拼在一起，比數也是編的。於是 SOUL.md 又多了一條：找不到比數，就說找不到。&lt;/p&gt;
&lt;h2&gt;升級：npm 裝了等於白裝&lt;/h2&gt;
&lt;p&gt;升級從一開始就不順。2/28 第一次升級，新版多了一個安全設定，沒設好 gateway 就起不來，log 只留下一句「一小時後重試」。&lt;/p&gt;
&lt;p&gt;3/6 要升到 2026.3.2。照網路上的教學在容器裡跑 &lt;code&gt;npm install&lt;/code&gt;，版本號一動也不動。換個路徑再裝，裝到一半容器重開，又回到原點。那天我打了一句：「到底怎麼了？」&lt;/p&gt;
&lt;p&gt;答案很簡單：在 Zeabur 上，容器裡裝的東西重開就消失，要升級就直接改 Docker image 的版本號，按儲存就好。我花了一個小時，學到一行。&lt;/p&gt;
&lt;p&gt;升級還有兩個後遺症，後來每次都要檢查：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Brave Search 的 API key 環境變數不見了，JJ 不能上網，回答變得很空。&lt;/li&gt;
&lt;li&gt;一個控制「主動私訊」的設定被重設回預設值，要手動改回來。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;換模型，龍蝦變聰明了&lt;/h2&gt;
&lt;p&gt;3/7 我想讓 JJ 做比價：輸入商品，列出台灣各電商的價格，從低排到高。我寫了一份 SKILL.md，串了 Google Shopping 的查詢 API。&lt;/p&gt;
&lt;p&gt;用 gpt-4o-mini 跑，它根本沒照步驟呼叫 API，而是上網隨便搜一搜，就回我「官網售價 NT$19,900 起」。換成 Claude Sonnet，它就乖乖照著 SKILL.md 呼叫 API，把結果從低排到高。我當下的感想是：「果然大家都說，養龍蝦，模型的錢不能省。」&lt;/p&gt;
&lt;p&gt;再試便宜一點的 Claude Haiku，也跑得好好的，主力就換成 Haiku。&lt;/p&gt;
&lt;p&gt;兩天後，美股報價又因為 Alpha Vantage 每分鐘只能查 5 次而失敗一半。我請 JJ 自己改，它把美股的查詢改成一支一支來、每支間隔 15 秒，改完還寫好說明。我在對話裡打：「覺得 JJ 變聰明了🤣」&lt;/p&gt;
&lt;h2&gt;三隻龍蝦終於分工&lt;/h2&gt;
&lt;p&gt;三月也是三個 agent 第一次像個團隊。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;派工&lt;/strong&gt;：JJ 叫軍師去比價 iPhone，軍師查完把結果交回來，我只跟 JJ 說話。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;軍師的人設&lt;/strong&gt;：我讀到一篇文章，說與其自己寫人設，不如讓 agent 問你問題。所以我讓 JJ 面試我，十個問題問完，它替軍師寫了一份 163 行的人設檔。軍師的口頭禪是「等等，這裡有個前提沒說清楚。」我丟了一個工作上的難題給它，它真的一句好聽話都沒說。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;管家阿福&lt;/strong&gt;：管家串上 Google 行事曆。Google 已經停用舊的授權方式，我在自己電腦上用 PowerShell 臨時架了一個接收授權碼的小伺服器才搞定。之後我丟一張行事曆的照片給它，它自己讀完、建好行程和提醒。人設定成蝙蝠俠的管家阿福：守住後方、主動提醒、話不多。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;一個假警報&lt;/h2&gt;
&lt;p&gt;3/22 早上，JJ 推來一則警告：&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;max-width:420px;margin:20px auto;border-radius:12px;overflow:hidden;background:#0e1621;border:1px solid #2b3b4c&quot;&amp;gt;
&amp;lt;div style=&quot;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#17212b&quot;&amp;gt;
&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;&quot; width=&quot;36&quot; height=&quot;36&quot; style=&quot;border-radius:50%;background:#232e3c;padding:3px&quot;&amp;gt;
&amp;lt;div style=&quot;line-height:1.3&quot;&amp;gt;&amp;lt;div style=&quot;color:#fff;font-weight:600;font-size:15px&quot;&amp;gt;小龍蝦 JJ&amp;lt;/div&amp;gt;&amp;lt;div style=&quot;color:#6c7883;font-size:12px&quot;&amp;gt;bot&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;img src=&quot;/blog/telegram-logo.svg&quot; alt=&quot;Telegram&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;margin-left:auto&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;padding:16px 14px;display:flex;flex-direction:column;gap:8px&quot;&amp;gt;
&amp;lt;div style=&quot;background:#182533;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 12px 4px;max-width:85%;width:fit-content;font-size:15px;line-height:1.5&quot;&amp;gt;⚠️ openclaw.json 備份失敗，請手動檢查。&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;設定檔其實好好的。每天的備份是用 git commit 存起來，當天設定檔沒有變動，git 就說「沒有東西可以 commit」，後面的上傳也跟著不跑，JJ 就判定失敗。加一個 &lt;code&gt;--allow-empty&lt;/code&gt; 參數就解決了。&lt;/p&gt;
&lt;p&gt;這種 bug 很典型：系統其實沒壞，是判斷「壞了沒」的邏輯壞了。&lt;/p&gt;
&lt;h2&gt;我開始寫交接文件&lt;/h2&gt;
&lt;p&gt;這一個月最大的收穫，其實跟龍蝦無關。&lt;/p&gt;
&lt;p&gt;每次除錯，我都要開一個新的 Claude 對話，把設定檔、log、之前試過什麼重新講一次，講到一半額度就用完了。3/5 開始，我改了做法：每次對話結束，請 Claude 寫一段摘要，記下這次的結論、下一步，以及下次需要的背景，貼進一份 &lt;code&gt;session-log.md&lt;/code&gt;。下次開新對話，第一句就是「請先讀 session-log.md」。&lt;/p&gt;
&lt;p&gt;這份日誌後來一路寫到 3/22，也成了這一集的骨架。直到現在，我用 Claude Code 做每個專案，都還維持同一個習慣：收工前更新進度檔，下次從那裡接著做。&lt;/p&gt;
&lt;h2&gt;一個月後&lt;/h2&gt;
&lt;p&gt;三月底，JJ 每天準時送早報、不再編數字，三隻龍蝦也分好工了。但回頭看，這個月我花在維修的時間，遠比它幫我省下的多。&lt;/p&gt;
&lt;p&gt;下一集：&lt;a href=&quot;/blog/lobster-ep3-letting-go-zh/&quot;&gt;四月到九月，我為什麼把龍蝦收掉&lt;/a&gt;。&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>把 2016 年的 MacBook 改造成 24 小時待命的 Claude Code Agent</title><link>https://jasontsai.dev/blog/macbook-claude-code-agent-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/macbook-claude-code-agent-zh/</guid><description>送給太太的玫瑰金 MacBook，閒置多年後重新上工：裝了四次 Ubuntu、搞定一顆會斷線的 SSD，現在每天早上幫我整理半導體新聞。</description><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/macbook-claude-code-agent/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;2017 年 1 月，開箱那天。&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;這台筆電有段故事。12 吋 MacBook 是蘋果口中「史上最薄、最輕的 Mac」，厚 13.1 mm、重約 0.9 公斤。2016 年改款時推出了玫瑰金，也是 Mac 第一次有這個顏色。當年我特別挑了玫瑰金，送給太太當生日禮物。&lt;/p&gt;
&lt;p&gt;後來它在家裡閒置了好幾年。這週，它變成家裡最有用的一台電腦：一台安靜的 Linux 主機，24 小時跑 Claude Code，我用手機就能派工作給它，平日早上還會送半導體新聞摘要給我。&lt;/p&gt;
&lt;h2&gt;為什麼選這台&lt;/h2&gt;
&lt;p&gt;我想要一個隨時在線、在外面也叫得到的 AI agent，而不是每次都要打開的聊天視窗。家裡的桌機不會一直開著，Windows 更新也會自己重開機。&lt;/p&gt;
&lt;p&gt;這台 MacBook 反而剛好：沒有風扇、很省電，而且本來就在家裡。Core m3 加 8 GB RAM 現在看很普通，但沒關係。模型跑在雲端，這台只要負責讓 terminal 一直開著。&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;portrait&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;2017 年第一次打開它。快十年後，這副鍵盤只剩 Enter 還有反應。&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;裝了四次才成功&lt;/h2&gt;
&lt;p&gt;我清掉 macOS，改裝 Ubuntu Server 24.04 LTS，前後裝了四次：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;安裝畫面的字小到看不見。&lt;/strong&gt; 12 吋 Retina 螢幕解析度太高，換成大號字型才能操作。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;一個「保險用」的開機參數，反而讓安裝失敗。&lt;/strong&gt; 原本想避開 Mac 的 EFI 問題，結果害安裝程式寫不進開機選項。教訓：沒在自己機器上驗證過的修正，不要先加。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;SSD 裝到一半消失。&lt;/strong&gt; Apple 的 NVMe 控制器跑幾分鐘就斷線，這是 NVMe 省電模式太激進的已知問題。加兩個 kernel 參數，讓 SSD 不要進深度睡眠：&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;nvme_core.default_ps_max_latency_us=0 pcie_aspm=off
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;第四次就順利裝完了。唯一留下的怪問題是內建鍵盤只剩 Enter 有反應，不過我本來就不會在它上面打字，所以不影響。&lt;/p&gt;
&lt;h2&gt;怎麼運作&lt;/h2&gt;
&lt;p&gt;Claude Code 以 remote-control 模式在背景常駐，當掉或重開機都會自己起來。我在手機上打開 Claude App，選這台 MacBook，就能派工作給它，用 4G 在外面也行。它沒有對外開放任何服務，SSH 只限家裡的區網。&lt;/p&gt;
&lt;p&gt;它每天固定做兩件事：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;早上的新聞摘要。&lt;/strong&gt; 現在是半導體產業新聞，接下來還會加上 NBA、美國職棒、中華職棒、F1 等運動新聞。工作之外，這些才是我每天真正會追的。程式先從新聞網站的 RSS 抓資料，再交給 Claude 摘要，平日早上 7:30 用 Telegram 推到我手機。摘要時把 Claude 的工具全部關掉，網路上的新聞內容不可信，只能輸出文字的 AI 就不會被誘導去執行指令。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;每 5 分鐘健康檢查。&lt;/strong&gt; 一支單純的 shell script 檢查電源、SSD、磁碟、溫度和 agent 服務，有異常就通知我。電池已經快十年了，電源出狀況我想早點知道。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;權限也收得很緊：Telegram bot 只能發訊息、不能收指令；Claude Code 被禁止讀取金鑰和憑證，我先用測試檔驗證過才放心。&lt;/p&gt;
&lt;p&gt;至於 email 和行事曆，我目前還不放心讓 AI 碰我個人的帳號。之後也許會另外開一個獨立帳號，先讓它在那裡試試看。&lt;/p&gt;
&lt;h2&gt;心得&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;舊電腦當 agent 綽綽有餘。&lt;/strong&gt; 開兩個 session，RAM 只用掉約 750 MB，溫度大約 33°C。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;大部分時間都花在 debug。&lt;/strong&gt; 裝失敗的那幾次和斷線的 SSD，花的時間遠比設定本身多。每次失敗都記下原因，第四次才會成功。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;這次不是我一個人做的。&lt;/strong&gt; 桌機上的 Claude Code 幫我規劃安裝步驟、寫好設定 script，我拍 MacBook 的螢幕回報，它一步一步帶我做。這也是我用 AI 的方式：先在自己的工作上試，留下真的好用的，再帶給團隊。&lt;/p&gt;
&lt;p&gt;一份放了好幾年的生日禮物，現在每天早上都在幫我工作。&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>Raising a Lobster, Part 3: Why I Let the Lobster Go</title><link>https://jasontsai.dev/blog/lobster-ep3-letting-go/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-ep3-letting-go/</guid><description>After March 2026 I rarely opened Zeabur. In September I shut the lobster down. Not because it was bad, but because I realized I didn&apos;t actually need one.</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-ep3-letting-go-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Part 3 of the &quot;Raising a Lobster&quot; series. &lt;a href=&quot;/blog/lobster-ep1-week-one/&quot;&gt;Part 1&lt;/a&gt; covered deployment and &lt;a href=&quot;/blog/lobster-ep2-march/&quot;&gt;Part 2&lt;/a&gt; covered March&apos;s maintenance. This one is about why I stopped.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: in mid-September 2026 I shut down Zeabur and let the lobster go. Not because it was bad, but because I realized I didn&apos;t actually need a lobster.&lt;/p&gt;
&lt;h2&gt;The last repair&lt;/h2&gt;
&lt;p&gt;On March 28, as usual, I asked Claude whether the latest lobster release was worth upgrading to.&lt;/p&gt;
&lt;p&gt;The answer: the newest version was 2026.3.24, sixteen minor releases past my 3.8, mostly features I didn&apos;t use. But there was a CVSS 9.9 authentication bypass, fixed only in 3.12 and later. Verdict: time to upgrade.&lt;/p&gt;
&lt;p&gt;That was the last time I talked to Claude about maintaining the lobster. Looking back through my chat history, the lobster barely shows up from April through August.&lt;/p&gt;
&lt;h2&gt;Five reasons I let go&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;1. AI apps caught up with what the lobster did.&lt;/strong&gt; From April to September, every AI company kept shipping. The web versions of Claude, ChatGPT and Gemini could search the web and summarize the news on their own, and with tools like Codex and Claude Code, a lot of what I wanted simply didn&apos;t need an always-on lobster.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Anything complex was faster in Claude Code.&lt;/strong&gt; The lobster took orders through Telegram, with a paid API behind it. Simple lookups were fine. Once a task got complicated, going back and forth in chat messages was clumsy, and anything involving code was even harder to hand to the lobster. Opening Claude Code and doing it directly was much faster.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. I didn&apos;t have time to keep upgrading it.&lt;/strong&gt; Early versions shipped constantly, and every upgrade could break something. When it broke, I opened Zeabur, opened Claude, and debugged step by step. Looking back, most of the repairs in Part 2 were about chasing versions. After April and May got busy at work, I stopped keeping up. Honestly, that time felt a bit wasted.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. I don&apos;t actually need an assistant.&lt;/strong&gt; This was the real one. At the start I designed a butler to watch my inbox and manage my schedule. In practice, I don&apos;t need anyone watching my inbox and arranging my day. And my work email and calendar could never be handed to it anyway.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5. The data was unreliable.&lt;/strong&gt; What I used most was the daily stock and industry news. When an API quota ran out or a site blocked the requests, the report came back with stale information or nothing at all. For a brief you glance at every morning, being occasionally wrong is worse than not having it, because you never know whether today&apos;s copy can be trusted.&lt;/p&gt;
&lt;h2&gt;September: the hosted lobsters arrive&lt;/h2&gt;
&lt;p&gt;In mid-September I read a one-week review of Meta&apos;s new product, Muse. Muse is essentially a hosted lobster: everyone gets a dedicated cloud computer with long-term memory and its own browser to act on your behalf, with no maintenance on your side. Around the same time, xAI&apos;s Grok Bot was doing the same thing.&lt;/p&gt;
&lt;p&gt;The author&apos;s conclusion: &quot;An AI assistant&apos;s value isn&apos;t answering questions. It&apos;s remembering everything and doing your chores.&quot; He had handed it his bank accounts, brokerage statements and ten years of health checkup reports.&lt;/p&gt;
&lt;p&gt;That holds for him. It doesn&apos;t hold for me. My work data can&apos;t leave, and my personal life doesn&apos;t have that many chores to delegate. Besides, Muse was US-only at the time. Looking back, the butler in my own lobster never took off, for the same reasons.&lt;/p&gt;
&lt;h2&gt;But I still needed a machine&lt;/h2&gt;
&lt;p&gt;The one thing I couldn&apos;t give up was the morning news brief. It was the most useful job the lobster ever did.&lt;/p&gt;
&lt;p&gt;On September 30 I asked Claude whether there was a way to get a daily AI news digest without running my own server. What I wrote at the time: &quot;I don&apos;t have a computer that can stay on all day. I used to subscribe to Zeabur, but I&apos;ve stopped.&quot;&lt;/p&gt;
&lt;p&gt;A little over a week later, the MacBook that had sat unused at home for years took over that job.&lt;/p&gt;
&lt;h2&gt;What I kept, and what I let go&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Kept&lt;/th&gt;
&lt;th&gt;Let go&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;A morning news brief pushed to me on Telegram&lt;/td&gt;
&lt;td&gt;A butler watching my inbox and calendar&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handoff notes, updated every time I stop work&lt;/td&gt;
&lt;td&gt;Three agents, each with its own persona&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lock down permissions before the AI acts&lt;/td&gt;
&lt;td&gt;Letting the AI figure everything out itself&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The AI working directly on the machine&lt;/td&gt;
&lt;td&gt;Me copying and pasting between two windows&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;In the lobster&apos;s defense&lt;/h2&gt;
&lt;p&gt;That said, I still think directing an AI agent through Telegram will become completely normal. The lobster was heading in the right direction. Maybe I just got there a little early, and then stopped keeping up.&lt;/p&gt;
&lt;p&gt;Finale: &lt;a href=&quot;/blog/macbook-claude-code-agent/&quot;&gt;Turning a 2016 MacBook into an Always-On Claude Code Agent&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>Raising a Lobster, Part 2: March, When the Lobster Started Making Up Stock Prices</title><link>https://jasontsai.dev/blog/lobster-ep2-march/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-ep2-march/</guid><description>Deployment was only the start. In March 2026 my AI lobster sent market updates at midnight, invented stock prices and forgot things after every upgrade. I learned to write it rules, switch models, and keep a handoff log.</description><pubDate>Sat, 03 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-ep2-march-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Part 2 of the &quot;Raising a Lobster&quot; series. &lt;a href=&quot;/blog/lobster-ep1-week-one/&quot;&gt;Part 1&lt;/a&gt; covered week one. This one covers the month of operations that followed.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Part 1 ended with JJ delivering a stock brief on time, every number filled in. I thought it was stable.&lt;/p&gt;
&lt;p&gt;I spent most of March as its repairman.&lt;/p&gt;
&lt;h2&gt;Market updates at midnight&lt;/h2&gt;
&lt;p&gt;Starting the evening of February 27, JJ sent me a market update roughly every two hours, including in the middle of the night. That job was supposed to run once a day, after the market closed.&lt;/p&gt;
&lt;p&gt;The next day I asked it directly:&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;max-width:420px;margin:20px auto;border-radius:12px;overflow:hidden;background:#0e1621;border:1px solid #2b3b4c&quot;&amp;gt;
&amp;lt;div style=&quot;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#17212b&quot;&amp;gt;
&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;&quot; width=&quot;36&quot; height=&quot;36&quot; style=&quot;border-radius:50%;background:#232e3c;padding:3px&quot;&amp;gt;
&amp;lt;div style=&quot;line-height:1.3&quot;&amp;gt;&amp;lt;div style=&quot;color:#fff;font-weight:600;font-size:15px&quot;&amp;gt;Little Lobster JJ&amp;lt;/div&amp;gt;&amp;lt;div style=&quot;color:#6c7883;font-size:12px&quot;&amp;gt;bot&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;img src=&quot;/blog/telegram-logo.svg&quot; alt=&quot;Telegram&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;margin-left:auto&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;padding:16px 14px;display:flex;flex-direction:column;gap:8px&quot;&amp;gt;
&amp;lt;div style=&quot;background:#2b5278;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 4px 12px;max-width:85%;width:fit-content;margin-left:auto;font-size:15px;line-height:1.5&quot;&amp;gt;What schedules do you have right now?&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;background:#182533;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 12px 4px;max-width:85%;width:fit-content;font-size:15px;line-height:1.5&quot;&amp;gt;There are currently no daily scheduled jobs or report plans set up.&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;It said there were none. The messages kept coming.&lt;/p&gt;
&lt;p&gt;There were two causes. First, scheduled jobs have a &lt;code&gt;wakeMode&lt;/code&gt; setting that defaults to &lt;code&gt;now&lt;/code&gt;: after a container restart, every missed job runs again. Each time Zeabur restarted the container, I got another round. Second, every job run left behind a session that never got cleaned up, a bug in that version. They piled up. The first time I cleared them, there were 38.&lt;/p&gt;
&lt;p&gt;After switching &lt;code&gt;wakeMode&lt;/code&gt; to &lt;code&gt;skip&lt;/code&gt; and clearing the sessions, things were quiet for two days, and then there were 36 again. Worse, one time after a cleanup and reload, a session file stayed locked and JJ went completely silent, answering everything with &quot;All models failed.&quot; In the end I combined &quot;clear sessions, delete lock files, reload&quot; into one command, saved it in my notes, and pasted it whenever the symptoms showed up.&lt;/p&gt;
&lt;h2&gt;The lobster starts making up stock prices&lt;/h2&gt;
&lt;p&gt;On the morning of March 5, the numbers in the stock brief looked off. The news it attached didn&apos;t match that day&apos;s market at all, and the &quot;source links&quot; went nowhere. JJ also slipped into Simplified Chinese now and then.&lt;/p&gt;
&lt;p&gt;It turned out Yahoo Finance was blocking Zeabur&apos;s IP addresses. When JJ couldn&apos;t get data, it made up the numbers, the news and the links. It wasn&apos;t trying to lie. It was trained to produce an answer.&lt;/p&gt;
&lt;p&gt;I added three absolute rules to the top of SOUL.md, its persona file:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Always reply in Traditional Chinese, whatever model is running.&lt;/li&gt;
&lt;li&gt;If data can&apos;t be fetched, report an error. Never estimate or invent numbers, headlines or sources.&lt;/li&gt;
&lt;li&gt;No real URL, no &quot;source link.&quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I also changed the data sources: Taiwan&apos;s stock exchange official API for local stocks, and Alpha Vantage for US stocks. On test day I used up the free US quota, and JJ reported &quot;lookup failed (daily limit reached)&quot; instead of guessing. It was the first time an AI saying &quot;I couldn&apos;t find it&quot; made me happy.&lt;/p&gt;
&lt;p&gt;The rules were never finished in one go. On March 10 I asked JJ about the World Baseball Classic. It stitched games from different days together and invented the scores. SOUL.md got another rule: if you can&apos;t find the score, say so.&lt;/p&gt;
&lt;h2&gt;Upgrading: npm installs that vanish&lt;/h2&gt;
&lt;p&gt;Upgrades were rough from the start. On February 28, the first upgrade added a new security setting; until it was set, the gateway wouldn&apos;t start, and the log only said it would retry in an hour.&lt;/p&gt;
&lt;p&gt;On March 6 I tried to move to 2026.3.2. Following an online guide, I ran &lt;code&gt;npm install&lt;/code&gt; inside the container, and the version number didn&apos;t budge. I installed to another path, the container restarted halfway through, and I was back at the start. At one point I simply typed: &quot;What is going on?&quot;&lt;/p&gt;
&lt;p&gt;The answer was simple. On Zeabur, anything installed inside the container disappears on restart. To upgrade, change the version tag of the Docker image and click save. An hour of my time, one line of knowledge.&lt;/p&gt;
&lt;p&gt;Upgrades also had two side effects I learned to check every time:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Brave Search API key environment variable disappeared, so JJ couldn&apos;t search and its answers went hollow.&lt;/li&gt;
&lt;li&gt;A setting that controls proactive direct messages reset to its default and had to be changed back by hand.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;A better model, a smarter lobster&lt;/h2&gt;
&lt;p&gt;On March 7 I wanted JJ to compare prices: give it a product, and it lists prices from Taiwan&apos;s online stores, cheapest first. I wrote a SKILL.md that called a Google Shopping search API.&lt;/p&gt;
&lt;p&gt;On gpt-4o-mini, it ignored the steps entirely, did a quick web search, and told me the official price &quot;starts at NT$19,900.&quot; On Claude Sonnet, it followed the SKILL.md, called the API, and sorted the results from low to high. My reaction at the time: &quot;Everyone was right. When you raise a lobster, don&apos;t skimp on the model.&quot;&lt;/p&gt;
&lt;p&gt;I also tried the cheaper Claude Haiku, which handled it fine, so Haiku became the main model.&lt;/p&gt;
&lt;p&gt;Two days later, half the US stock quotes failed again because Alpha Vantage allows only five requests a minute. I asked JJ to fix it. It changed the US lookups to run one at a time, 15 seconds apart, and documented the change. I typed: &quot;I think JJ got smarter 🤣&quot;&lt;/p&gt;
&lt;h2&gt;Three lobsters, finally a team&lt;/h2&gt;
&lt;p&gt;March was also when the three agents started working as a team.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Delegation&lt;/strong&gt;: JJ sent the advisor to compare iPhone prices, and the advisor handed the results back. I only talked to JJ.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The advisor&apos;s persona&lt;/strong&gt;: I read that instead of writing an agent&apos;s persona yourself, you should let the agent interview you. So JJ asked me ten questions and wrote a 163-line persona file for the advisor. The advisor&apos;s catchphrase: &quot;Wait, there&apos;s an assumption here nobody has stated.&quot; I gave it a hard question from work, and it didn&apos;t offer me a single comforting word.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alfred the butler&lt;/strong&gt;: The butler got connected to Google Calendar. Google had retired the old authorization flow, so I ended up running a tiny PowerShell server on my own PC to catch the authorization code. After that, I sent it a photo of a calendar, and it read it and created the events and reminders on its own. Its persona is Batman&apos;s Alfred: holds the fort, reminds you before you ask, keeps it short.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;A false alarm&lt;/h2&gt;
&lt;p&gt;On the morning of March 22, JJ pushed a warning:&lt;/p&gt;
&lt;p&gt;&amp;lt;div style=&quot;max-width:420px;margin:20px auto;border-radius:12px;overflow:hidden;background:#0e1621;border:1px solid #2b3b4c&quot;&amp;gt;
&amp;lt;div style=&quot;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#17212b&quot;&amp;gt;
&amp;lt;img src=&quot;/blog/openclaw-mascot.svg&quot; alt=&quot;&quot; width=&quot;36&quot; height=&quot;36&quot; style=&quot;border-radius:50%;background:#232e3c;padding:3px&quot;&amp;gt;
&amp;lt;div style=&quot;line-height:1.3&quot;&amp;gt;&amp;lt;div style=&quot;color:#fff;font-weight:600;font-size:15px&quot;&amp;gt;Little Lobster JJ&amp;lt;/div&amp;gt;&amp;lt;div style=&quot;color:#6c7883;font-size:12px&quot;&amp;gt;bot&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;img src=&quot;/blog/telegram-logo.svg&quot; alt=&quot;Telegram&quot; width=&quot;24&quot; height=&quot;24&quot; style=&quot;margin-left:auto&quot;&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div style=&quot;padding:16px 14px;display:flex;flex-direction:column;gap:8px&quot;&amp;gt;
&amp;lt;div style=&quot;background:#182533;color:#f5f5f5;padding:8px 12px;border-radius:12px 12px 12px 4px;max-width:85%;width:fit-content;font-size:15px;line-height:1.5&quot;&amp;gt;⚠️ openclaw.json backup failed. Please check manually.&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;The config file was fine. The daily backup saved it with a git commit. When the file hadn&apos;t changed that day, git said there was nothing to commit, the upload step after it never ran, and JJ concluded the backup had failed. Adding the &lt;code&gt;--allow-empty&lt;/code&gt; flag fixed it.&lt;/p&gt;
&lt;p&gt;A classic bug: the system wasn&apos;t broken. The logic that decides whether it&apos;s broken was.&lt;/p&gt;
&lt;h2&gt;I started writing handoff notes&lt;/h2&gt;
&lt;p&gt;The biggest lesson of the month had nothing to do with the lobster.&lt;/p&gt;
&lt;p&gt;Every debugging session meant opening a new Claude chat and re-explaining the config, the logs and everything I had already tried, and I often hit my usage limit halfway through. From March 5 I changed my approach. At the end of each chat, I asked Claude for a short summary of what we concluded, what comes next and what the next chat needs to know, and appended it to a &lt;code&gt;session-log.md&lt;/code&gt;. Every new chat started with: &quot;Please read session-log.md first.&quot;&lt;/p&gt;
&lt;p&gt;That log ran through March 22, and it became the skeleton of this post. I still work the same way with Claude Code on every project: update the progress file before stopping, and pick up from there next time.&lt;/p&gt;
&lt;h2&gt;A month later&lt;/h2&gt;
&lt;p&gt;By the end of March, JJ delivered its brief on time every morning, no longer made up numbers, and the three lobsters had clear roles. Looking back, though, I spent far more time repairing it that month than it saved me.&lt;/p&gt;
&lt;p&gt;Next time: &lt;a href=&quot;/blog/lobster-ep3-letting-go/&quot;&gt;April to September, and why I shut the lobster down&lt;/a&gt;.&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>Raising a Lobster, Extra: A Month After I Let the Lobster Go, the Platform Shut Down</title><link>https://jasontsai.dev/blog/lobster-extra-zeabur-shutdown/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-extra-zeabur-shutdown/</guid><description>On October 17, 2026, Zeabur announced it is shutting down after two security incidents. My lobster wasn&apos;t shut down until September, so the August breach likely reached it too. Cancelling a service doesn&apos;t make you safe.</description><pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-extra-zeabur-shutdown-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;An extra episode of the &quot;Raising a Lobster&quot; series. &lt;a href=&quot;/blog/lobster-ep3-letting-go/&quot;&gt;Part 3&lt;/a&gt; covered shutting the lobster down in September. This is what happened next.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: on the morning of October 17, I got an email from Zeabur&apos;s founder. The platform is shutting down. Services start going offline on December 1, and everything closes by December 31.&lt;/p&gt;
&lt;p&gt;I had shut down the lobster a month earlier, so I assumed this had nothing to do with me. Then I checked the dates. When the August breach happened, the lobster was still running.&lt;/p&gt;
&lt;h2&gt;What happened&lt;/h2&gt;
&lt;p&gt;Official sources only:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;August 27, first breach.&lt;/strong&gt; A user on the shared cluster had deployed a vulnerable NextChat instance. The attacker got in through it and worked their way to the platform database. Names and values of some project environment variables were read, including AI API keys, cloud credentials and database passwords. Zeabur says its monitoring missed it. The team found out on August 28, when a user reported a stolen key. (&lt;a href=&quot;https://zeabur.com/zh-TW/blogs/august-2026-security-incident&quot;&gt;official post-incident report&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;October 14, second breach.&lt;/strong&gt; Zeabur first said only the shared cluster was affected. A few hours later it corrected that: some dedicated servers on Google Cloud were also accessed, and the attacker could read the platform database. (&lt;a href=&quot;https://status.zeabur.com/incident/1091243&quot;&gt;status page&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;October 17, shutdown announced.&lt;/strong&gt; The email says the two incidents made the team face gaps in security and operations. It also notes that AI is making deployment itself easier and easier.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One line in the email stopped me: &quot;From n8n and OpenClaw to vibe coding, AI brought unprecedented demand for cloud deployment.&quot;&lt;/p&gt;
&lt;p&gt;I was part of that demand. My n8n news bot and my OpenClaw lobster both ran on Zeabur.&lt;/p&gt;
&lt;h2&gt;Why it matters to me&lt;/h2&gt;
&lt;p&gt;The lobster&apos;s settings lived in environment variables: model API keys and login credentials for a few services. When the August breach happened, I hadn&apos;t shut it down yet.&lt;/p&gt;
&lt;p&gt;I never got an incident notification. That doesn&apos;t mean I&apos;m in the clear. Zeabur admitted its first notification email got the scope wrong.&lt;/p&gt;
&lt;p&gt;Its advice is blunt: rotate every credential that was ever stored in a Zeabur environment variable and is still valid, including ones the notice didn&apos;t list.&lt;/p&gt;
&lt;h2&gt;What I did&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Revoked the OpenAI and Anthropic keys.&lt;/strong&gt; I checked both. No usage and no charges since August 27.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The GitHub token and the search API key&lt;/strong&gt; were already deleted in early October, while I was writing this series.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cleared the environment variables on Zeabur.&lt;/strong&gt; That&apos;s only step one. What was read is a copy of the values at the time. Deleting them on the platform doesn&apos;t stop the copy from working. Only revoking at the source does.&lt;/li&gt;
&lt;li&gt;I&apos;m working through the rest, one credential at a time.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Lesson: cancelling isn&apos;t the same as safe&lt;/h2&gt;
&lt;p&gt;Cancelling a service just means you stop paying. Any key you left on the platform is still a working key until you revoke it.&lt;/p&gt;
&lt;p&gt;Next time I shut something down, I&apos;ll go in this order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;List every credential stored on the platform.&lt;/li&gt;
&lt;li&gt;Revoke them at the source the same day I cancel, not after something goes wrong. Deleting them on the platform doesn&apos;t count.&lt;/li&gt;
&lt;li&gt;Put spending caps on any key an agent uses, so a leak has a ceiling.&lt;/li&gt;
&lt;li&gt;Ask the platform to delete the account and data, not just stop the service.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;At the end of Part 3, I said maybe I just got to the lobster a little early. Now the pond it lived in is closing too.&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>養龍蝦番外：我把龍蝦收掉一個月後，平台倒了</title><link>https://jasontsai.dev/blog/lobster-extra-zeabur-shutdown-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/lobster-extra-zeabur-shutdown-zh/</guid><description>2026 年 10 月 17 日，Zeabur 宣布結束營運，之前已經出過兩次資安事件。我的龍蝦九月才退租，八月那次很可能也被波及。退租，不等於安全。</description><pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/lobster-extra-zeabur-shutdown/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;「養龍蝦」系列番外。&lt;a href=&quot;/blog/lobster-ep3-letting-go-zh/&quot;&gt;第 3 集&lt;/a&gt;講我九月把龍蝦退租，這集是後續。&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;先講結論：10/17 早上，我收到 Zeabur 創辦人寄來的信，平台要結束營運了。12/1 起陸續停機，12/31 全部關閉。&lt;/p&gt;
&lt;p&gt;龍蝦一個月前就退租了，我本來以為這件事跟我無關。查了一下才發現，八月出資安事件的時候，龍蝦其實還在線上。&lt;/p&gt;
&lt;h2&gt;發生什麼事&lt;/h2&gt;
&lt;p&gt;以下只引官方說法：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;8/27，第一次入侵。&lt;/strong&gt; 共享叢集上，有位用戶部署的 NextChat 有漏洞，攻擊者從那裡進來，一路讀到平台的資料庫。部分專案環境變數的名稱和值被讀走，裡面有 AI 服務的 API key、雲端憑證、資料庫密碼。官方承認，當時的監控沒有偵測到，是 8/28 有用戶回報 key 被盜用才發現。（&lt;a href=&quot;https://zeabur.com/zh-TW/blogs/august-2026-security-incident&quot;&gt;官方事後報告&lt;/a&gt;）&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;10/14，第二次入侵。&lt;/strong&gt; 官方一開始說只影響共享叢集，幾小時後更正：Google Cloud 上的部分專用伺服器也被存取，平台資料庫可以被讀取。（&lt;a href=&quot;https://status.zeabur.com/incident/1091243&quot;&gt;狀態頁&lt;/a&gt;）&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;10/17，宣布結束營運。&lt;/strong&gt; 信裡說，兩次資安事件讓團隊看清自己在安全與維運上的不足；另一方面，AI 也讓部署本身越來越容易。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;信裡有一句讓我愣了一下：「從 n8n、OpenClaw 到 Vibe Coding，AI 為雲端部署帶來了前所未有的需求。」&lt;/p&gt;
&lt;p&gt;我就是那波需求的一份子。n8n 新聞 bot 和 OpenClaw 龍蝦，兩個都放在 Zeabur。&lt;/p&gt;
&lt;h2&gt;跟我有什麼關係&lt;/h2&gt;
&lt;p&gt;龍蝦的設定都放在環境變數裡：模型的 API key，還有幾個服務的登入憑證。八月事件發生時，龍蝦還沒退租。&lt;/p&gt;
&lt;p&gt;我沒收到任何事件通知信，但這不代表沒事，因為官方自己承認，第一封通知信把影響範圍判斷錯了。&lt;/p&gt;
&lt;p&gt;官方的建議很直接：只要曾經放在 Zeabur 環境變數裡、現在還有效的憑證，全部換掉，包括通知信沒列到的。&lt;/p&gt;
&lt;h2&gt;我做了什麼&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;OpenAI、Anthropic 的 key 都撤銷了。&lt;/strong&gt; 兩邊都查過，8/27 之後沒有使用紀錄，也沒有扣款。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GitHub token、搜尋服務的 key&lt;/strong&gt;，十月初寫這個系列時就已經刪掉了。&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zeabur 上的環境變數也清掉了。&lt;/strong&gt; 但這只是第一步：被讀走的是當時的值，平台上刪掉，外面那份照樣能用。真正讓它失效，要回到源頭撤銷。&lt;/li&gt;
&lt;li&gt;剩下的憑證，還在一個一個處理。&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;學到的：退租不等於安全&lt;/h2&gt;
&lt;p&gt;退租只代表不用再付錢。放在平台上的 key，只要還有效，就還是一把能用的鑰匙。&lt;/p&gt;
&lt;p&gt;下次退租，我會照這個順序：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;先列出所有放在平台上的憑證。&lt;/li&gt;
&lt;li&gt;退租當天就到源頭撤銷，不要等到出事。光刪平台上的變數不算數。&lt;/li&gt;
&lt;li&gt;給 agent 用的 key 先設好用量上限，萬一出事，損失有個底。&lt;/li&gt;
&lt;li&gt;要求平台刪除帳號和資料，不能只停服務。&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;第 3 集最後我說，龍蝦也許只是我玩得早了一點。現在連養龍蝦的池子也收了。&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>Turning a 2016 MacBook into an Always-On Claude Code Agent</title><link>https://jasontsai.dev/blog/macbook-claude-code-agent/</link><guid isPermaLink="true">https://jasontsai.dev/blog/macbook-claude-code-agent/</guid><description>How my wife&apos;s old rose gold MacBook became a 24/7 Claude Code agent I control from my phone: four Ubuntu installs, one flaky SSD controller, and a morning chip-industry brief.</description><pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/macbook-claude-code-agent-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Unboxing day, January 2017.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This laptop has a story. The 12-inch MacBook was, in Apple&apos;s words, &quot;the thinnest and lightest Mac we have ever made&quot;: 13.1 mm thin and just 2 pounds. The 2016 update added a new finish, rose gold, the first time Apple offered it on a Mac. I bought one in Rose Gold as a birthday gift for my wife.&lt;/p&gt;
&lt;p&gt;Years later it was sitting unused. This week it became the most useful computer in our house: a silent Linux box that runs Claude Code around the clock, takes instructions from my phone, and sends me a chip-industry brief every weekday morning.&lt;/p&gt;
&lt;h2&gt;Why this machine&lt;/h2&gt;
&lt;p&gt;I wanted an AI agent that is always on and reachable from anywhere, not a chat window I have to open. My desktop PC isn&apos;t on all the time and Windows updates restart it. The MacBook was a better fit: fanless, low power, and already ours. Its Core m3 and 8 GB of RAM are modest, but that doesn&apos;t matter. The model runs in the cloud; the machine only needs to keep a terminal running.&lt;/p&gt;
&lt;p&gt;&amp;lt;div class=&quot;portrait&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/div&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Opened for the first time in 2017. Nearly ten years later, this keyboard only answers to Enter.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Four installs to get one working&lt;/h2&gt;
&lt;p&gt;I wiped macOS and installed Ubuntu Server 24.04 LTS. It took four attempts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The installer text was microscopic&lt;/strong&gt; on the 12-inch Retina screen. A larger console font fixed it.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A &quot;safety&quot; boot parameter broke the install.&lt;/strong&gt; An option meant to avoid EFI problems on Macs stopped the installer from writing boot entries. Lesson: don&apos;t add fixes you haven&apos;t verified on your own hardware.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;The SSD disappeared mid-install.&lt;/strong&gt; The Apple NVMe controller dropped offline after a few minutes, a known issue with aggressive power saving. Two kernel parameters keep the drive out of deep sleep:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;&lt;code&gt;nvme_core.default_ps_max_latency_us=0 pcie_aspm=off
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The fourth install finished cleanly. The only leftover quirk: the built-in keyboard now registers just the Enter key, which doesn&apos;t matter because I never type on it.&lt;/p&gt;
&lt;h2&gt;How it works&lt;/h2&gt;
&lt;p&gt;Claude Code runs as a background service in remote-control mode and restarts itself after a crash or reboot. I open the Claude app on my phone, pick the MacBook, and give it work. It works over 4G too. Nothing is exposed to the internet; SSH stays on my home network.&lt;/p&gt;
&lt;p&gt;Every day it handles two jobs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A morning news brief.&lt;/strong&gt; Right now it covers the semiconductor industry. Next I&apos;m adding sports: the NBA, MLB, Taiwan&apos;s CPBL, and F1. Outside of work, those are what I actually follow every day. A script collects news from RSS feeds, Claude summarizes it, and the highlights arrive on my phone via Telegram at 7:30 a.m. The summarizer runs with all tools disabled, so untrusted news text can&apos;t trick it into running commands.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A health check every five minutes.&lt;/strong&gt; A plain shell script watches power, the SSD, disk, temperature, and the agent service, and pings me if something looks wrong. With a ten-year-old battery, I&apos;d rather hear about power problems early.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The agent is kept on a short leash: the Telegram bot can only send, not receive commands; Claude Code is blocked from reading keys and credentials (tested before trusting it).&lt;/p&gt;
&lt;p&gt;As for email and calendar, I&apos;m not ready to let AI into my personal accounts yet. I may set up a separate account and let it try things there first.&lt;/p&gt;
&lt;h2&gt;What I learned&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Old hardware is fine for agents.&lt;/strong&gt; With two sessions open, it uses about 750 MB of RAM and sits around 33°C.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Most of the work is debugging.&lt;/strong&gt; The failed installs and the vanishing SSD took far longer than the setup itself. Writing down each failure and its cause is what made attempt four succeed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I had help.&lt;/strong&gt; Claude Code on my desktop planned the install, wrote the setup scripts, and walked me through each step while I sent photos of the MacBook&apos;s screen. That&apos;s how I approach AI in general: try it on my own work first, keep what holds up, then bring it to my team.&lt;/p&gt;
&lt;p&gt;Not bad for a gift that was gathering dust.&lt;/p&gt;
</content:encoded><category>Personal Lab</category></item><item><title>從個人實驗到團隊規範：我怎麼把 AI 的使用心得寫成規則</title><link>https://jasontsai.dev/blog/personal-experiments-to-team-standards-zh/</link><guid isPermaLink="true">https://jasontsai.dev/blog/personal-experiments-to-team-standards-zh/</guid><description>個人實驗要變成團隊規範，關鍵是把踩過的坑寫成 AI 讀得懂、可以版控的規則，再用實驗驗證規則值不值得留。以我自己的 Claude Code 設定當例子。</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/personal-experiments-to-team-standards/&quot;&gt;English version&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;先講結論：個人實驗要變成團隊規範，關鍵不是寫一份漂亮的導入簡報，而是把踩過的坑寫成規則，讓 AI 每次開工都讀得到；規則本身也要拿實驗驗證，沒用的就拿掉。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/enterprise-ai-coding-tools-zh/&quot;&gt;上一篇&lt;/a&gt;第 4 點講到「先定好要觀察什麼」和「寫成 checklist 再擴大」。這篇寫後半段，用我自己在家的 Claude Code 設定當例子。一樣是建議，不是成功案例。&lt;/p&gt;
&lt;h2&gt;為什麼我在家更常用 Claude Code&lt;/h2&gt;
&lt;p&gt;我兩個都用。在家做個人專案時，現在多半開 Claude Code，claude.ai 留給討論想法和寫文件。差別在這裡：&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;claude.ai（網頁版）&lt;/th&gt;
&lt;th&gt;Claude Code（終端機 agent）&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;程式碼從哪來&lt;/td&gt;
&lt;td&gt;自己複製貼上、上傳檔案&lt;/td&gt;
&lt;td&gt;直接讀整個專案資料夾和 git 紀錄&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;改完怎麼落地&lt;/td&gt;
&lt;td&gt;自己貼回編輯器&lt;/td&gt;
&lt;td&gt;直接改檔案、跑 build、commit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;出錯怎麼辦&lt;/td&gt;
&lt;td&gt;我跑完，再把錯誤訊息貼回去&lt;/td&gt;
&lt;td&gt;它自己跑、看錯誤、再修&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;規則怎麼帶&lt;/td&gt;
&lt;td&gt;寫在 Project 指示，或每次重講&lt;/td&gt;
&lt;td&gt;寫在 repo 裡的 &lt;code&gt;CLAUDE.md&lt;/code&gt;，每次開工自動讀&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;跨對話接續&lt;/td&gt;
&lt;td&gt;對話紀錄、Project 知識庫&lt;/td&gt;
&lt;td&gt;進度檔、git log、memory 檔&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;適合&lt;/td&gt;
&lt;td&gt;討論、寫文件、手機上快速問&lt;/td&gt;
&lt;td&gt;實際改專案、跨多檔改動、需要跑指令驗證&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;要注意&lt;/td&gt;
&lt;td&gt;別貼不該貼的東西&lt;/td&gt;
&lt;td&gt;它能執行指令，權限要設好&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;對這篇最重要的是「規則怎麼帶」那一列。網頁版的規則散在對話裡；Claude Code 的規則是一個檔案，可以進版控、可以 review、可以交給下一個人。個人實驗能不能變成團隊規範，就看這一步。&lt;/p&gt;
&lt;h2&gt;1. 每次收工，留下交接紀錄&lt;/h2&gt;
&lt;p&gt;我的每個專案都有一個 &lt;code&gt;claude-progress.txt&lt;/code&gt;。每次收工，AI 會在最後加一筆：日期、改了什麼、哪個分支、合併了沒、還剩什麼。&lt;/p&gt;
&lt;p&gt;這個部落格會從三個地方被修改：家裡的 PC、雲端的 Claude Code、GitHub 網頁。三邊不共享記憶，進度檔是唯一的交接管道。&lt;/p&gt;
&lt;p&gt;團隊也一樣。AI 不記得上週誰做了什麼，人也不一定記得。要觀察「哪類工作適合、在哪裡出錯」，得先有紀錄可以回頭看。&lt;/p&gt;
&lt;h2&gt;2. 踩到坑，就補一條規則&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;CLAUDE.md&lt;/code&gt; 是 Claude Code 每次開工都會讀的規則檔。我的規則幾乎都是被坑過才補上的。例如 AI 很容易把「應該會過」說成「已經過了」，所以我加了一條：沒實際跑過，就不能說通過。&lt;/p&gt;
&lt;p&gt;這就是上一篇說的「能寫成規則的才帶給團隊」。規則檔跟程式碼放在一起、一起進版控，新同仁拿到專案，AI 就照同一套規則做事。&lt;/p&gt;
&lt;h2&gt;3. 常用的 prompt，做成 skill&lt;/h2&gt;
&lt;p&gt;規則檔管的是「這個專案怎麼做事」。另一類是「這種工作怎麼做」，跨專案都用得到。這類我做成 skill，等於把常用的 prompt 存成一份固定的做法，claude.ai 和 Claude Code 都能用。&lt;/p&gt;
&lt;p&gt;最常用的是英文商務信。工作上幾乎每天都要寫大量英文信，收件人有英文母語的同事，也有一般的台灣同事。同一封信用同一種寫法，不是對母語者太生硬，就是對台灣同事太難讀。所以我請 AI 幫我做了一個 skill，每次固定產出兩版：給母語者的道地版，和給台灣同事、語氣和詞彙都淺一點的版本。&lt;/p&gt;
&lt;p&gt;其他還有中文商務信、流程圖、筆記格式，以及下面會提到的交叉審查。連「這件事值不值得做成 skill」本身也是一個 skill。&lt;/p&gt;
&lt;p&gt;我的判斷標準是：同一種工作一直出現、每次都要重講背景、或品質忽好忽壞，才值得做。不是每個 prompt 都要變成 skill。&lt;/p&gt;
&lt;p&gt;對團隊來說，skill 就是可以分享的 prompt。好用的做法不再只躺在某個人的對話紀錄裡。&lt;/p&gt;
&lt;h2&gt;4. 審查分級，複雜的交給多個 agent 確認&lt;/h2&gt;
&lt;p&gt;不是每個改動都值得同樣的審查成本。我的做法參考了官方建議的 code review 流程，也參考了一些網路上專家的建議：一般改動，讓 AI 先簡化程式、再找 bug，最後自己看過才 commit；複雜的專案或程式碼，例如碰到 SQL、交易，就多派幾個 agent 各自審查，再交叉確認結果；部落格這種改文字的就不用。&lt;/p&gt;
&lt;p&gt;分級的條件要能直接判斷。「重要的改動要多審」沒辦法執行，「有碰到 SQL 交易」就可以。&lt;/p&gt;
&lt;p&gt;至於要派哪幾個模型，我也不想憑感覺決定，所以做了個小實驗：在程式裡刻意埋 bug，看各模型抓到幾個。結果兩個大模型搭配最好，彼此有互補；小模型漏抓時還很有把握地說沒問題，不適合當審查員。樣本很小，只能當參考，但比「感覺 A 比較強」有依據，之後也能重跑。&lt;/p&gt;
&lt;p&gt;團隊也可以這樣做：與其爭論哪個工具比較好，不如準備一組已知答案的題目，讓大家用自己的工具各跑一次。&lt;/p&gt;
&lt;h2&gt;5. 擴大到團隊前的 checklist&lt;/h2&gt;
&lt;p&gt;從個人到團隊，我建議至少確認這幾件事：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[ ] 工具已經核准，資料政策看過（上一篇第 2 點）&lt;/li&gt;
&lt;li&gt;[ ] 有一份共用的規則檔放在 repo 裡，不是每個人各自的提示詞&lt;/li&gt;
&lt;li&gt;[ ] 常用的 prompt 整理成共用的 skill，不只存在個人的對話紀錄裡&lt;/li&gt;
&lt;li&gt;[ ] 審查分級的條件寫清楚了，而且能直接判斷&lt;/li&gt;
&lt;li&gt;[ ] 規則有負責人，誰可以改、怎麼提修改都講好&lt;/li&gt;
&lt;li&gt;[ ] 有固定的檢討時間，規則沒用就拿掉&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;最後一點最容易被忽略。規則只增不減，最後就沒人看了。我的審查組合也是做完實驗才決定拿掉哪些模型；之後模型換代，這組實驗會再跑一次。&lt;/p&gt;
&lt;h2&gt;最後&lt;/h2&gt;
&lt;p&gt;個人實驗跟團隊規範之間，差的是把經驗寫下來。寫成 AI 讀得懂的規則檔，放進版控，再用實驗確認它真的有用。這樣交給團隊的，就不只是「我覺得好用」，而是一套別人可以照著做、也可以質疑的做法。&lt;/p&gt;
&lt;p&gt;這套設定也還沒定型。官方有新文章我會去看，看不太懂的就請 AI 幫忙解釋，再判斷我正在用的設定要不要跟著改。&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/ai-for-engineers-chat-to-agent-zh/&quot;&gt;下一篇&lt;/a&gt;換個角度，寫給工程師：從網頁問答到 agent，AI 可以怎麼用在日常開發。&lt;/p&gt;
&lt;h2&gt;附錄：官方文件&lt;/h2&gt;
&lt;p&gt;有興趣的人可以從這幾份開始（都是英文）：&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Claude Code&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/overview&quot;&gt;Claude Code 總覽&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/memory&quot;&gt;CLAUDE.md 與專案記憶&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/skills&quot;&gt;Skills&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/hooks-guide&quot;&gt;Hooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/best-practices&quot;&gt;Claude Code 最佳實務&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Skill 與 prompt&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview&quot;&gt;Agent Skills 概念說明&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices&quot;&gt;Skill 撰寫最佳實務&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview&quot;&gt;Prompt engineering 總覽&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills&quot;&gt;Anthropic 工程部落格：Equipping agents for the real world with Agent Skills&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item><item><title>From Personal Experiments to Team Standards: How I Turn AI Lessons into Rules</title><link>https://jasontsai.dev/blog/personal-experiments-to-team-standards/</link><guid isPermaLink="true">https://jasontsai.dev/blog/personal-experiments-to-team-standards/</guid><description>To turn personal AI experiments into team standards, write the lessons down as version-controlled rules the AI reads every time, then test whether each rule earns its place. Examples from my own Claude Code setup.</description><pubDate>Sun, 18 Oct 2026 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;&lt;a href=&quot;/blog/personal-experiments-to-team-standards-zh/&quot;&gt;中文版&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Bottom line first: turning personal experiments into team standards isn&apos;t about a polished rollout deck. It&apos;s about writing the lessons down as rules the AI reads every time it starts work. The rules themselves should be tested, and the ones that don&apos;t help should go.&lt;/p&gt;
&lt;p&gt;Point 4 of &lt;a href=&quot;/blog/enterprise-ai-coding-tools/&quot;&gt;my last post&lt;/a&gt; ended with &quot;decide up front what to watch&quot; and &quot;write a checklist before scaling.&quot; This post covers that second half, using my own Claude Code setup at home as the example. Same as before: these are recommendations, not a success story.&lt;/p&gt;
&lt;h2&gt;Why I use Claude Code more at home&lt;/h2&gt;
&lt;p&gt;I use both. For personal projects at home, I now mostly open Claude Code and keep claude.ai for talking through ideas and writing. Here&apos;s the difference:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;claude.ai (web)&lt;/th&gt;
&lt;th&gt;Claude Code (terminal agent)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Where the code comes from&lt;/td&gt;
&lt;td&gt;I copy, paste or upload it&lt;/td&gt;
&lt;td&gt;It reads the whole project folder and git history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How changes land&lt;/td&gt;
&lt;td&gt;I paste them back into the editor&lt;/td&gt;
&lt;td&gt;It edits files, runs the build and commits&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;When something fails&lt;/td&gt;
&lt;td&gt;I run it and paste the error back&lt;/td&gt;
&lt;td&gt;It runs it, reads the error and fixes it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;How rules are carried&lt;/td&gt;
&lt;td&gt;Project instructions, or repeated each time&lt;/td&gt;
&lt;td&gt;A &lt;code&gt;CLAUDE.md&lt;/code&gt; file in the repo, read at the start of every session&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Picking up where you left off&lt;/td&gt;
&lt;td&gt;Chat history, project knowledge&lt;/td&gt;
&lt;td&gt;A progress file, git log, memory files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best for&lt;/td&gt;
&lt;td&gt;Discussion, writing, quick questions on the phone&lt;/td&gt;
&lt;td&gt;Real changes to a project, multi-file edits, anything that needs commands to verify&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Watch out for&lt;/td&gt;
&lt;td&gt;Pasting what you shouldn&apos;t&lt;/td&gt;
&lt;td&gt;It can run commands, so permissions matter&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The row that matters most here is how rules are carried. On the web, rules are scattered across conversations. In Claude Code, rules are a file. It can be version-controlled, reviewed and handed to the next person. That step is what lets a personal experiment become a team standard.&lt;/p&gt;
&lt;h2&gt;1. Leave a handoff note at the end of every session&lt;/h2&gt;
&lt;p&gt;Every project of mine has a &lt;code&gt;claude-progress.txt&lt;/code&gt;. At the end of each session, the AI appends an entry: the date, what changed, which branch, whether it&apos;s merged, and what&apos;s left.&lt;/p&gt;
&lt;p&gt;This blog gets edited from three places: my PC at home, Claude Code in the cloud, and the GitHub web editor. They don&apos;t share memory. The progress file is the only handoff.&lt;/p&gt;
&lt;p&gt;Teams are no different. The AI doesn&apos;t remember who did what last week, and people don&apos;t always either. If you want to learn which kinds of work fit and where things go wrong, you need a record to look back on.&lt;/p&gt;
&lt;h2&gt;2. Hit a problem, add a rule&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;CLAUDE.md&lt;/code&gt; is the rules file Claude Code reads at the start of every session. Almost every rule in mine exists because something went wrong first. For example, AI is quick to turn &quot;should pass&quot; into &quot;passed,&quot; so I added a rule: if you didn&apos;t actually run it, don&apos;t say it passed.&lt;/p&gt;
&lt;p&gt;This is what I meant last time by &quot;if it can be written down as a rule, it goes to the team.&quot; The rules file lives with the code and goes through version control with it. When a new teammate picks up the project, the AI follows the same rules for them.&lt;/p&gt;
&lt;h2&gt;3. Turn your go-to prompts into skills&lt;/h2&gt;
&lt;p&gt;The rules file covers how a given project works. A second kind of rule covers how a given kind of task works, and those come up in every project. I turn these into skills: in effect, a go-to prompt saved as a fixed way of doing the job. Both claude.ai and Claude Code can use them.&lt;/p&gt;
&lt;p&gt;The one I use most is for English business email. At work I write a lot of English email almost every day. Some readers are native English speakers, others are Taiwanese colleagues. Writing the same email the same way for both means it&apos;s either too stiff for native speakers or too hard to read for my Taiwanese colleagues. So I had AI help me build a skill that always produces two versions: a natural one for native speakers, and one with simpler tone and vocabulary for Taiwanese colleagues.&lt;/p&gt;
&lt;p&gt;Others cover Chinese business email, flowcharts, note formatting, and the cross-model review described below. Even &quot;is this worth making into a skill?&quot; is itself a skill.&lt;/p&gt;
&lt;p&gt;My test: the same task keeps coming up, I keep re-explaining the background, or the quality swings from run to run. Only then is it worth it. Not every prompt needs to be a skill.&lt;/p&gt;
&lt;p&gt;For a team, a skill is a prompt you can share. What works no longer lives only in one person&apos;s chat history.&lt;/p&gt;
&lt;h2&gt;4. Tier your reviews, and let multiple agents check the complex ones&lt;/h2&gt;
&lt;p&gt;Not every change deserves the same review cost. My approach follows the official code review guidance, along with advice from experts I&apos;ve read online. For regular changes, AI simplifies the code, then looks for bugs, and I read it before committing. For complex projects or code, like anything touching SQL or transactions, several agents review it separately and I cross-check what they find. Text edits on this blog skip all that.&lt;/p&gt;
&lt;p&gt;The criteria need to be checkable. &quot;Important changes get more review&quot; can&apos;t be applied consistently. &quot;Touches a SQL transaction&quot; can.&lt;/p&gt;
&lt;p&gt;As for which models to use, I didn&apos;t want to pick on gut feel either, so I ran a small test: I planted bugs in code and counted what each model caught. Two larger models worked best together, each catching things the other missed. The smaller model missed a bug and confidently said the code was fine, which is the last thing you want in a reviewer. The sample is small, so treat it as a reference point. But it beats &quot;model A feels smarter,&quot; and it can be rerun.&lt;/p&gt;
&lt;p&gt;Teams can do the same. Instead of arguing over which tool is better, build a set of problems with known answers and let everyone run them with their own tools.&lt;/p&gt;
&lt;h2&gt;5. A checklist before scaling to the team&lt;/h2&gt;
&lt;p&gt;Going from one person to a team, I&apos;d confirm at least these:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[ ] The tool is approved and its data policy has been reviewed (point 2 of the last post)&lt;/li&gt;
&lt;li&gt;[ ] There&apos;s one shared rules file in the repo, not everyone&apos;s own prompts&lt;/li&gt;
&lt;li&gt;[ ] Go-to prompts are packaged as shared skills, not kept in personal chat histories&lt;/li&gt;
&lt;li&gt;[ ] Review tiers are written down and can be checked directly&lt;/li&gt;
&lt;li&gt;[ ] The rules have an owner, and there&apos;s a clear way to propose changes&lt;/li&gt;
&lt;li&gt;[ ] There&apos;s a regular review, and rules that don&apos;t help get removed&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The last one is easy to skip. If rules only ever get added, eventually nobody reads them. I only decided which models to drop from my review setup after testing, and when the models change, I&apos;ll rerun the tests.&lt;/p&gt;
&lt;h2&gt;Last thought&lt;/h2&gt;
&lt;p&gt;What separates a personal experiment from a team standard is writing it down. Write it as a rules file the AI can read, put it under version control, and test that it actually helps. Then what you hand the team isn&apos;t just &quot;this works for me.&quot; It&apos;s a way of working others can follow, and also question.&lt;/p&gt;
&lt;p&gt;None of this is finished, either. When the official docs publish something new, I read it, ask AI to explain the parts I don&apos;t follow, and decide whether the setup I&apos;m using should change.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/blog/ai-for-engineers-chat-to-agent/&quot;&gt;Next post&lt;/a&gt; takes the engineer&apos;s side: from web chat to agents, and how AI fits into everyday development.&lt;/p&gt;
&lt;h2&gt;Appendix: official docs&lt;/h2&gt;
&lt;p&gt;If you&apos;re interested, start here:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Claude Code&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/overview&quot;&gt;Claude Code overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/memory&quot;&gt;CLAUDE.md and project memory&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/skills&quot;&gt;Skills&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/hooks-guide&quot;&gt;Hooks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://code.claude.com/docs/en/best-practices&quot;&gt;Best practices for Claude Code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Skills and prompting&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview&quot;&gt;Agent Skills overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices&quot;&gt;Skill authoring best practices&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview&quot;&gt;Prompt engineering overview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills&quot;&gt;Anthropic Engineering: Equipping agents for the real world with Agent Skills&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content:encoded><category>AI Engineering &amp; Governance</category></item></channel></rss>