<?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: Brad Penney</title>
    <description>The latest articles on DEV Community by Brad Penney (@bradpenney).</description>
    <link>https://dev.to/bradpenney</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%2F4070350%2F5521acee-4780-46ae-8123-29c45811728e.jpg</url>
      <title>DEV Community: Brad Penney</title>
      <link>https://dev.to/bradpenney</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bradpenney"/>
    <language>en</language>
    <item>
      <title>Give Your AI CLI a Second Opinion — In a Second Terminal</title>
      <dc:creator>Brad Penney</dc:creator>
      <pubDate>Mon, 10 Aug 2026 01:23:13 +0000</pubDate>
      <link>https://dev.to/bradpenney/give-your-ai-cli-a-second-opinion-in-a-second-terminal-dea</link>
      <guid>https://dev.to/bradpenney/give-your-ai-cli-a-second-opinion-in-a-second-terminal-dea</guid>
      <description>&lt;p&gt;You're mid-incident or mid-debug. You ask an AI CLI to explain a stack trace, and it comes back with a confident, specific, plausible-sounding root cause.&lt;/p&gt;

&lt;p&gt;It's also the only opinion you've got.&lt;/p&gt;

&lt;p&gt;Getting a second opinion used to mean paging a colleague in an incident, or breaking their flow during a debug session. Now it can mean opening a second terminal and asking a different model to critque the answer of the first.&lt;/p&gt;

&lt;h2&gt;
  
  
  The setup
&lt;/h2&gt;

&lt;p&gt;Open two terminals — two windows, two tabs, whatever you already use. Run one AI CLI in each: Claude Code, Codex CLI, Gemini CLI, any combination. The only requirement is that &lt;strong&gt;they're genuinely separate sessions with separate context&lt;/strong&gt; — nothing you tell the first one is visible to the second unless you paste it there yourself.&lt;/p&gt;

&lt;p&gt;(If you already run &lt;code&gt;tmux&lt;/code&gt;, splitting panes instead of alt-tabbing between windows is a nicer way to do this once you're doing it often. Worth knowing about, not required to start.)&lt;/p&gt;

&lt;h2&gt;
  
  
  The critical bit
&lt;/h2&gt;

&lt;p&gt;The easy way to get this wrong is asking the second model the same vague question. Here's what to do, in order:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ask the first session something concrete.&lt;/strong&gt; "Here's a stack trace from the checkout service, what's the likely cause?" — not "what's wrong with this?" Treat the answer as a draft, not a verdict.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paste the real answer into the second session, not a paraphrase.&lt;/strong&gt; "Here's another model's diagnosis of this stack trace. What's missing, or what would you check before trusting it?" A vague question gets a generic response; a concrete claim gets a concrete critique.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weigh disagreement instead of averaging it away.&lt;/strong&gt; If both agree, that's mild evidence, not proof — correlated training data can produce correlated blind spots. If they disagree, that's telling you exactly where the ambiguity in your problem or your data is.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's the whole technique: two independent sessions, and the discipline to paste the answer instead of the question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use for the tough questions, not every question
&lt;/h2&gt;

&lt;p&gt;Cross-examining every question doubles your round-trip time for a fix you were probably going to get right anyway. Use your judgement to know when it's actually worth it: a fix about to touch production is worth it, a syntax question doesn't. That line isn't obvious the first few times — expect to over-check things that didn't need it, and skip it on something that did, before it turns into a habit instead of a rule you have to think through.&lt;/p&gt;

&lt;p&gt;I wrote this up as one step in a longer pathway on debugging with nothing but a terminal (grep, jq, git, and yes, tmux, all building toward this) — if you want the full "when to bother" breakdown: &lt;a href="https://tools.bradpenney.io/efficiency/multiple_ai_clis_tmux/?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=terminal_pathway_teaser" rel="noopener noreferrer"&gt;Multiple AI CLIs, One tmux Session&lt;/a&gt; / &lt;a href="https://www.bradpenney.io/pathways/nothing-but-a-terminal?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=terminal_pathway_teaser" rel="noopener noreferrer"&gt;full pathway&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Has anyone pushed this past two sessions, or cross-examined between more than two vendors' CLIs at once — does the signal hold up past a second opinion, or does it just get noisy?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cli</category>
      <category>productivity</category>
      <category>debugging</category>
    </item>
  </channel>
</rss>
