<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Thomas Lau</title>
    <description>The latest articles on DEV Community by Thomas Lau (@thomaslau0229).</description>
    <link>https://dev.to/thomaslau0229</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3899824%2F7106f6b6-4e45-41f1-a052-7ddee5ae5fb1.jpeg</url>
      <title>DEV Community: Thomas Lau</title>
      <link>https://dev.to/thomaslau0229</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thomaslau0229"/>
    <language>en</language>
    <item>
      <title>Cut Claude Code Token Usage by Delegating to Cheaper Models with Boss Mode</title>
      <dc:creator>Thomas Lau</dc:creator>
      <pubDate>Wed, 29 Apr 2026 15:42:27 +0000</pubDate>
      <link>https://dev.to/thomaslau0229/cut-claude-code-token-usage-by-delegating-to-cheaper-models-with-boss-mode-50a3</link>
      <guid>https://dev.to/thomaslau0229/cut-claude-code-token-usage-by-delegating-to-cheaper-models-with-boss-mode-50a3</guid>
      <description>&lt;h1&gt;
  
  
  boss-mode
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/banner.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/banner.png" alt="boss-mode banner"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A Claude Code skill that stops Claude from spending tokens on work a cheaper model can handle.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Claude acts as the &lt;strong&gt;orchestrator (boss)&lt;/strong&gt;: it plans, delegates, reviews, and verifies.&lt;br&gt;&lt;br&gt;
Cheaper models act as &lt;strong&gt;workers&lt;/strong&gt;: they write the code, drafts, and analysis.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Three-Tier Model
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tier&lt;/th&gt;
&lt;th&gt;Who&lt;/th&gt;
&lt;th&gt;When&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Boss&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude&lt;/td&gt;
&lt;td&gt;Planning, architecture, file ops, final decisions, talking to you&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Senior worker&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DeepSeek (or similar)&lt;/td&gt;
&lt;td&gt;Code drafts, reasoning, analysis, test generation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bulk worker&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Groq / Ollama&lt;/td&gt;
&lt;td&gt;Translation, formatting, high-volume repetitive tasks&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The idea: Claude's tokens are expensive. Only spend them where Claude's judgment is actually needed.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Boss Loop
&lt;/h2&gt;

&lt;p&gt;Every task follows this cycle:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. PLAN    — Claude breaks the request into sub-tasks, picks the right worker for each
2. DELEGATE — Claude sends a structured prompt to the worker
3. REVIEW  — Claude reads the output, accepts or requests a targeted fix
4. VERIFY  — Claude runs tests/checks; if they fail, loop back to DELEGATE
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Delegation Protocol
&lt;/h2&gt;

&lt;p&gt;Every delegation prompt uses this template — workers have no file access, so include all context inline:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CONTEXT: [project background, relevant code snippets, existing patterns]
TASK:    [exactly one deliverable — be specific]
CONSTRAINTS: [style rules, what NOT to change, existing patterns to follow]
SUCCESS: [a test command or checklist that proves the output is correct]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Example — delegating a Python module to DeepSeek:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CONTEXT: Python project using SQLite + akshare. Existing income.py fetches income
         statements and saves rows to a 'income_statement' table. Pattern attached below.
         [paste relevant income.py snippet]

TASK: Write balance.py that fetches balance sheet data via
      akshare.stock_balance_sheet_by_report_em(symbol), saves rows to SQLite
      table 'balance_sheet' with the same column naming convention as income.py.

CONSTRAINTS: Follow income.py exactly — same error handling, same save() pattern,
             same logging style. Do not add new dependencies.

SUCCESS: pytest tests/test_balance.py passes. Table 'balance_sheet' created with
         correct schema (verify with: sqlite3 data.db ".schema balance_sheet").
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Claude sends this to the worker, receives the draft, writes it to disk, and runs the tests.&lt;/p&gt;




&lt;h2&gt;
  
  
  Installation
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# 1. Clone&lt;/span&gt;
git clone https://github.com/thomaslau0229/boss-mode.git
&lt;span class="nb"&gt;cd &lt;/span&gt;boss-mode

&lt;span class="c"&gt;# 2. Run the setup script (installs + configures worker paths)&lt;/span&gt;
bash setup.sh

&lt;span class="c"&gt;# 3. Restart Claude Code&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The setup script will ask for your worker command paths and patch them into the skill automatically. You can also install manually by copying &lt;code&gt;SKILL.md&lt;/code&gt; to &lt;code&gt;~/.claude/skills/boss-mode/SKILL.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Claude Code scans skill descriptions at startup. It will automatically load &lt;code&gt;boss-mode&lt;/code&gt; when it detects a task that fits the trigger conditions.&lt;/p&gt;




&lt;h2&gt;
  
  
  Configuration — Wire Up Your Workers
&lt;/h2&gt;

&lt;p&gt;boss-mode expects you to have worker scripts or MCP tools Claude can call via Bash. Set these up once:&lt;/p&gt;

&lt;h3&gt;
  
  
  Option A: Script-based workers
&lt;/h3&gt;

&lt;p&gt;Create a simple wrapper for each model tier. Example for DeepSeek:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# ~/.claude/workers/deepseek_worker.py
&lt;/span&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;prompt&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sys&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;argv&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;post&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.deepseek.com/chat/completions&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Authorization&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Bearer &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;os&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;environ&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;DEEPSEEK_API_KEY&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
    &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;model&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;deepseek-chat&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;messages&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;}]}&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;choices&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;message&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;][&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then update the "Calling Workers" section in &lt;code&gt;SKILL.md&lt;/code&gt; to point to your actual script paths.&lt;/p&gt;

&lt;h3&gt;
  
  
  Option B: MCP tools
&lt;/h3&gt;

&lt;p&gt;If you have DeepSeek or Groq set up as MCP tools in Claude Code, reference the tool name directly in &lt;code&gt;SKILL.md&lt;/code&gt; instead of a Bash command. Claude will call it natively.&lt;/p&gt;

&lt;h3&gt;
  
  
  Environment variables
&lt;/h3&gt;

&lt;p&gt;Store your API keys in your shell profile, never in the skill file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;DEEPSEEK_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-key-here"&lt;/span&gt;
&lt;span class="nb"&gt;export &lt;/span&gt;&lt;span class="nv"&gt;GROQ_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"your-key-here"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Auto-Trigger Scenarios
&lt;/h2&gt;

&lt;p&gt;Once installed, Claude applies boss-mode automatically when it sees:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;About to write &amp;gt;30 lines of new code → delegates draft to DeepSeek&lt;/li&gt;
&lt;li&gt;Executing a superpowers implementation plan → delegates each coding sub-task&lt;/li&gt;
&lt;li&gt;Writing test suites or test cases → delegates to DeepSeek&lt;/li&gt;
&lt;li&gt;Writing documentation, PR descriptions, commit messages (&amp;gt;200 words) → delegates draft&lt;/li&gt;
&lt;li&gt;Debug reasoning: analysing error logs, tracing root cause → delegates reasoning to DeepSeek&lt;/li&gt;
&lt;li&gt;Batch repetitive tasks (translation, formatting) → delegates to Groq/Ollama&lt;/li&gt;
&lt;li&gt;Pros/cons analysis or option comparison → delegates to DeepSeek, Claude makes final call&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can reinforce this by adding boss-mode to the skill table in your &lt;code&gt;CLAUDE.md&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;| Writing code / fixing bugs  | &lt;span class="gs"&gt;**boss-mode**&lt;/span&gt; → superpowers:systematic-debugging → superpowers:verification-before-completion |
| Multi-step implementation   | &lt;span class="gs"&gt;**boss-mode**&lt;/span&gt; → superpowers:writing-plans → superpowers:executing-plans |
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Integration with Superpowers
&lt;/h2&gt;

&lt;p&gt;boss-mode is designed to sit &lt;strong&gt;in front of&lt;/strong&gt; superpowers workflows, not replace them:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Superpowers skill&lt;/th&gt;
&lt;th&gt;boss-mode role&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;writing-plans&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Claude writes the plan (no delegation — this needs Claude's judgment)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;executing-plans&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Each coding task in the plan → delegate to worker, Claude reviews&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;brainstorming&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Claude brainstorms; deep analysis sub-tasks → delegate to DeepSeek&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;verification-before-completion&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Always Claude — never delegated&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;systematic-debugging&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Claude diagnoses root cause, delegates fix writing&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Fix Loop
&lt;/h2&gt;

&lt;p&gt;When a worker's output fails tests:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. Read the exact error — don't over-diagnose
2. Write ONE targeted fix instruction
3. Delegate to the same worker
4. Re-run the test
5. Repeat up to 3 rounds
6. After 3 rounds: Claude writes the fix directly and notes why the worker struggled
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  What Claude Never Delegates
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Reading or writing files&lt;/li&gt;
&lt;li&gt;Running shell commands or tests&lt;/li&gt;
&lt;li&gt;Final architecture decisions&lt;/li&gt;
&lt;li&gt;Responses directly to the user&lt;/li&gt;
&lt;li&gt;Security-sensitive logic&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Acknowledgements
&lt;/h2&gt;

&lt;p&gt;boss-mode is built on top of patterns and frameworks from the following open-source projects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/obra/superpowers" rel="noopener noreferrer"&gt;superpowers&lt;/a&gt;&lt;/strong&gt; — The skill framework and workflow patterns (&lt;code&gt;writing-plans&lt;/code&gt;, &lt;code&gt;executing-plans&lt;/code&gt;, &lt;code&gt;verification-before-completion&lt;/code&gt;, etc.) that boss-mode integrates with and extends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://x.com/karpathy/status/2015883857489522876" rel="noopener noreferrer"&gt;Andrej Karpathy's LLM coding guidelines&lt;/a&gt;&lt;/strong&gt; — The four principles (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution) that inform how Claude delegates and verifies work. Formalised as a Claude Code skill at &lt;a href="https://github.com/PolarisHorizon/andrej-karpathy-skills" rel="noopener noreferrer"&gt;andrej-karpathy-skills&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://agentskills.io" rel="noopener noreferrer"&gt;agentskills.io&lt;/a&gt;&lt;/strong&gt; — The skill specification format used by &lt;code&gt;SKILL.md&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Contributing
&lt;/h2&gt;

&lt;p&gt;Issues and PRs welcome — especially new worker templates, delegation prompt examples, or integration patterns with other Claude Code skills.&lt;/p&gt;

&lt;h2&gt;
  
  
  License
&lt;/h2&gt;

&lt;p&gt;MIT&lt;/p&gt;




&lt;h2&gt;
  
  
  中文说明
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;一个 Claude Code 技能，让 Claude 不再把昂贵的 token 浪费在便宜模型也能干的活儿上。&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Claude 扮演&lt;strong&gt;决策者&lt;/strong&gt;的角色：负责规划、分工、审查和验证。&lt;br&gt;&lt;br&gt;
更便宜的模型扮演&lt;strong&gt;员工&lt;/strong&gt;：负责写代码、起草文档、做分析。&lt;/p&gt;

&lt;h3&gt;
  
  
  三层模型
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&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;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;决策者&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Claude&lt;/td&gt;
&lt;td&gt;规划、架构设计、文件操作、最终决策、跟你沟通&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;高级员工&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DeepSeek（或类似模型）&lt;/td&gt;
&lt;td&gt;代码起草、推理分析、测试用例生成&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;执行员工&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Groq / Ollama&lt;/td&gt;
&lt;td&gt;翻译、格式化、大批量重复性任务&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;核心理念：Claude 的 token 很贵。只在真正需要 Claude 判断力的时候才用它。&lt;/p&gt;

&lt;h3&gt;
  
  
  决策者工作流
&lt;/h3&gt;

&lt;p&gt;每个任务都走这个循环：&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;规划&lt;/strong&gt; — Claude 把需求拆成子任务，给每个子任务分配合适的员工&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;委派&lt;/strong&gt; — Claude 给员工发送结构化的 prompt&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;审查&lt;/strong&gt; — Claude 读输出，通过就接受，不通过就要求定向修改&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;验证&lt;/strong&gt; — Claude 跑测试/检查；失败了就回到「委派」那步重来&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  委派协议模板
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CONTEXT: [项目背景、相关代码片段、现有模式]
TASK: [明确的一件事 —— 要具体]
CONSTRAINTS: [风格规则、哪些不能改、要遵循的现有模式]
SUCCESS: [能证明输出正确的测试命令或检查清单]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  安装
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/thomaslau0229/boss-mode.git
&lt;span class="nb"&gt;cd &lt;/span&gt;boss-mode
bash setup.sh   &lt;span class="c"&gt;# 自动安装并配置 worker 路径&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  自动触发场景
&lt;/h3&gt;

&lt;p&gt;安装后，Claude 会在以下情况自动启用 boss-mode：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;即将写超过 30 行新代码 → 把草稿委派给 DeepSeek&lt;/li&gt;
&lt;li&gt;写测试套件或用例 → 委派给 DeepSeek&lt;/li&gt;
&lt;li&gt;写文档、PR 描述、commit 信息（超过 200 字）→ 委派草稿&lt;/li&gt;
&lt;li&gt;调试推理：分析错误日志、追溯根因 → 委派给 DeepSeek&lt;/li&gt;
&lt;li&gt;批量重复任务（翻译、格式化）→ 委派给 Groq/Ollama&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  致谢
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://github.com/obra/superpowers" rel="noopener noreferrer"&gt;superpowers&lt;/a&gt; — 技能框架与工作流模式&lt;/li&gt;
&lt;li&gt;&lt;a href="https://x.com/karpathy/status/2015883857489522876" rel="noopener noreferrer"&gt;Andrej Karpathy 的 LLM 编码指南&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://agentskills.io" rel="noopener noreferrer"&gt;agentskills.io&lt;/a&gt; — 技能规范格式&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>claude</category>
      <category>llm</category>
      <category>productivity</category>
      <category>devtools</category>
    </item>
    <item>
      <title>I Had Zero Coding Knowledge. Claude Code Helped Me Build the Tech Behind My Drone E-Commerce Store.</title>
      <dc:creator>Thomas Lau</dc:creator>
      <pubDate>Mon, 27 Apr 2026 10:14:37 +0000</pubDate>
      <link>https://dev.to/thomaslau0229/i-had-zero-coding-knowledge-claude-code-helped-me-build-the-tech-behind-my-drone-e-commerce-store-1926</link>
      <guid>https://dev.to/thomaslau0229/i-had-zero-coding-knowledge-claude-code-helped-me-build-the-tech-behind-my-drone-e-commerce-store-1926</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fht22xdxue3fh4l60al9s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fht22xdxue3fh4l60al9s.png" alt=" " width="800" height="541"&gt;&lt;/a&gt;I'm Thomas Lau. A year ago, I couldn't read a line of code. Today I run &lt;a href="https://reboot-hub.com" rel="noopener noreferrer"&gt;Reboot Hub&lt;/a&gt; — a Hong Kong-based e-commerce store specialising in Grade A+ Pre-Owned DJI drones and chip-level drone repair — and I built most of the technical infrastructure behind it with Claude Code.&lt;/p&gt;

&lt;p&gt;This is the story of how that happened.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Business Came First
&lt;/h2&gt;

&lt;p&gt;I started with the drone expertise, not the tech. I'd been working in the drone industry in Hong Kong for years, and I saw a gap: DJI releases new flagship models every 12-18 months, flooding the secondhand market with perfectly good drones that nobody trusted. And when drones broke, official repair was expensive and slow.&lt;/p&gt;

&lt;p&gt;So I got our team MOHRSS Level 3 certified — China's highest national standard for drone technicians — and started &lt;a href="https://reboot-hub.com" rel="noopener noreferrer"&gt;Reboot Hub&lt;/a&gt; to do two things: sell grade-verified pre-owned DJI drones with real warranties, and do proper chip-level board repairs.&lt;/p&gt;

&lt;p&gt;The business made sense. The website was the problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  "Just Use Shopify" Only Gets You So Far
&lt;/h2&gt;

&lt;p&gt;I set up Shopify. I listed products. I wrote descriptions by hand.&lt;/p&gt;

&lt;p&gt;Then I looked at our SEO situation: 285 products with inconsistent titles, no schema markup, no internal linking between articles and products, missing meta descriptions across the board. I had blog content but it wasn't connected to anything.&lt;/p&gt;

&lt;p&gt;A friend told me to hire an SEO agency. The quotes were HKD 15,000-30,000 per month. For a bootstrapped startup, that wasn't an option.&lt;/p&gt;

&lt;h2&gt;
  
  
  Finding Claude Code
&lt;/h2&gt;

&lt;p&gt;I'd been using Claude for writing. Then I found out about Claude Code — the CLI that can actually read your codebase, write scripts, and execute them.&lt;/p&gt;

&lt;p&gt;I didn't know Python. I didn't know what the Shopify Admin API was. I opened Claude Code, described my problem, and asked: "Can we fix this without me understanding how to code?"&lt;/p&gt;

&lt;p&gt;The answer was yes. But the more accurate answer was: by the end of this, you'll understand more than you think.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Built Together
&lt;/h2&gt;

&lt;p&gt;Over the following weeks, Claude Code and I built a set of Python scripts that automated the SEO work I couldn't do manually:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Batch product updates.&lt;/strong&gt; We wrote a script that fetched all 285 products via the Shopify API, standardised the title format to our brand spec ("Grade A+ Pristine Pre-Owned DJI [Model]"), and updated meta descriptions at scale. What would have taken weeks of clicking took one script run.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schema injection.&lt;/strong&gt; Google and AI crawlers need structured data to understand what a site is. We wrote a script that injected Organization JSON-LD schema — including our MOHRSS certification and social profiles — directly into the Shopify theme file via the Assets API. No app required.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Internal linking.&lt;/strong&gt; Every time we published a blog article about, say, DJI Air 3S repair, relevant keywords in that article should link to our &lt;a href="https://reboot-hub.com/collections/refurbished-dji-air-series" rel="noopener noreferrer"&gt;pre-owned Air 3S collection&lt;/a&gt;. We built a script that did this automatically across the entire blog.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multilingual content.&lt;/strong&gt; We serve customers in Russia and Portugal. Claude Code helped us build a translation pipeline using local LLMs — no paid API required — to translate product titles, meta descriptions, and full article bodies into Russian and Portuguese.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI crawler discovery.&lt;/strong&gt; We created a &lt;code&gt;llms.txt&lt;/code&gt; file at &lt;a href="https://reboot-hub.com/llms.txt" rel="noopener noreferrer"&gt;reboot-hub.com/llms.txt&lt;/a&gt; — the emerging standard for helping AI systems like ChatGPT and Perplexity understand your site structure. On Shopify this required a creative workaround (custom page template + redirect), which Claude Code figured out.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Actually Learned
&lt;/h2&gt;

&lt;p&gt;I still can't write Python from scratch. But I can now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Read a script and understand what it does&lt;/li&gt;
&lt;li&gt;Spot when something looks wrong&lt;/li&gt;
&lt;li&gt;Ask Claude Code the right questions to debug&lt;/li&gt;
&lt;li&gt;Understand why a particular approach matters (rate limits, idempotency, cursor pagination)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The gap between "I can't code" and "I can build things with AI" turned out to be much smaller than I thought. What Claude Code provided wasn't just code — it was the ability to have a technical conversation with someone who understood both what I was trying to build and how to build it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Honest Part
&lt;/h2&gt;

&lt;p&gt;It's not magic. There were scripts that ran wrong and needed fixing. There were times I didn't understand why something wasn't working and had to describe the problem three different ways before Claude Code understood what I meant.&lt;/p&gt;

&lt;p&gt;But for a non-technical founder running a bootstrapped business, the alternative was either paying agency rates I couldn't afford, or leaving the SEO work undone. Claude Code made a third option real.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where Reboot Hub Is Now
&lt;/h2&gt;

&lt;p&gt;The store is live at &lt;a href="https://reboot-hub.com" rel="noopener noreferrer"&gt;reboot-hub.com&lt;/a&gt;. We sell &lt;a href="https://reboot-hub.com/collections/pre-owned-dji-drones" rel="noopener noreferrer"&gt;Grade A+ Pre-Owned DJI drones&lt;/a&gt; with 180-day warranties, and we run a global mail-in repair service from Hong Kong — customers worldwide ship us their broken DJI drones, we fix them at the board level, and ship them back.&lt;/p&gt;

&lt;p&gt;The SEO pipeline runs daily. The schema is in place. The internal linking is done.&lt;/p&gt;

&lt;p&gt;And I didn't have to learn to code to build any of it.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;If you're a non-technical founder who's been told you need to hire someone to do this — I'd push back on that. Happy to talk through what worked and what didn't in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>claudecode</category>
      <category>shopify</category>
      <category>webdev</category>
      <category>entrepreneur</category>
    </item>
  </channel>
</rss>
