<?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: Harish Ravi</title>
    <description>The latest articles on DEV Community by Harish Ravi (@harish-here).</description>
    <link>https://dev.to/harish-here</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4167108%2F0c6d57c7-788e-45a9-a1a4-9083c6419d55.jpg</url>
      <title>DEV Community: Harish Ravi</title>
      <link>https://dev.to/harish-here</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harish-here"/>
    <language>en</language>
    <item>
      <title>I route Claude Code steps by decision type, not difficulty</title>
      <dc:creator>Harish Ravi</dc:creator>
      <pubDate>Wed, 07 Oct 2026 04:05:32 +0000</pubDate>
      <link>https://dev.to/harish-here/i-route-claude-code-steps-by-decision-type-not-difficulty-47n0</link>
      <guid>https://dev.to/harish-here/i-route-claude-code-steps-by-decision-type-not-difficulty-47n0</guid>
      <description>&lt;p&gt;In my Claude Code sessions, 69% of the output came from the top models (Opus, Fable), including reading a changelog, applying an edit I'd already decided on, and running tests.&lt;/p&gt;

&lt;p&gt;"Hard task → strong model" didn't fix it. Difficulty is the wrong signal: once a refactor is decided, applying it needs no judgment, however complex the code. What worked was routing by the kind of decision a step needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Decision already made, just read or execute:&lt;/strong&gt; Haiku&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One local choice, like fixing a flaky test:&lt;/strong&gt; Sonnet&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Next step depends on what it discovers:&lt;/strong&gt; Opus&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verdict before a merge:&lt;/strong&gt; an Opus reviewer with no edit tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I built this as &lt;strong&gt;advisor-mode&lt;/strong&gt; in a plugin called &lt;strong&gt;maddog&lt;/strong&gt;. Your main session splits the goal and sends each piece to a subagent (a separate Claude instance with its own context) on the right model. Only a short result comes back, and the main session checks it before accepting. Merges and pushes need your go-ahead. That's a rule the agents follow, backed by a hook in subagents, not a hard lock.&lt;/p&gt;

&lt;p&gt;My numbers, from my own 49 advisor-mode sessions against 30 sessions without it over the same weeks (output tokens, not cost or quality):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;57% of output ran on Haiku or Sonnet, against 31% without it.&lt;/li&gt;
&lt;li&gt;Output per session rose about 60%, while top-model output stayed flat (~124K tokens both). So it's more work routed to cheap models, not a smaller bill.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In my use, small changes cost more to dispatch than to just do, and Haiku fails on tasks that only look mechanical.&lt;/p&gt;

&lt;p&gt;The plugin also has &lt;strong&gt;section-by-section&lt;/strong&gt;, which reviews a skill or agent file with you one section at a time.&lt;/p&gt;

&lt;p&gt;Video (~100 s): &lt;a href="https://youtu.be/b_mFbVY5jzk" rel="noopener noreferrer"&gt;https://youtu.be/b_mFbVY5jzk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; in Claude Code, run &lt;code&gt;/plugin&lt;/code&gt; and search "maddog" on the Discover tab, then start with &lt;code&gt;/maddog:advisor-mode &amp;lt;your task&amp;gt;&lt;/code&gt;. Run the main session on Sonnet or above. MIT, repo: &lt;a href="https://github.com/Harish-here/maddog" rel="noopener noreferrer"&gt;https://github.com/Harish-here/maddog&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Do you route work across models, or run everything on one?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>productivity</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
