<?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: sirsws</title>
    <description>The latest articles on DEV Community by sirsws (@sirsws).</description>
    <link>https://dev.to/sirsws</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%2F4093192%2Fde32265e-4987-4c6a-93cd-a514fcc15532.jpg</url>
      <title>DEV Community: sirsws</title>
      <link>https://dev.to/sirsws</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sirsws"/>
    <language>en</language>
    <item>
      <title>I Built an Agent Skill to Stop AI From Answering the Wrong Question Beautifully</title>
      <dc:creator>sirsws</dc:creator>
      <pubDate>Tue, 25 Aug 2026 01:57:03 +0000</pubDate>
      <link>https://dev.to/sirsws/i-built-an-agent-skill-to-stop-ai-from-answering-the-wrong-question-beautifully-m5h</link>
      <guid>https://dev.to/sirsws/i-built-an-agent-skill-to-stop-ai-from-answering-the-wrong-question-beautifully-m5h</guid>
      <description>&lt;p&gt;AI systems are increasingly good at producing coherent answers. That creates a less obvious failure mode: the answer can be clear, detailed, and persuasive before the real problem has been identified.&lt;/p&gt;

&lt;p&gt;The model may optimize a proxy while the underlying reality stays unchanged. It may turn an attractive plan into a commitment before testing its weakest assumption. It may explain an uncertain claim more elegantly than the evidence allows. And it may complete so much of the cognitive work that the user is left with neither an independent judgment nor a concrete action.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Judgment Loop&lt;/strong&gt; as an open Agent Skill for this gap between thinking and acting.&lt;/p&gt;

&lt;p&gt;It is not a prompt for making an AI sound deeper. It is a routing and reasoning guardrail for consequential choices, uncertain claims, recurring failures, serious learning, and evidence-based review.&lt;/p&gt;

&lt;h2&gt;
  
  
  The core idea
&lt;/h2&gt;

&lt;p&gt;When consequences and uncertainty coexist, a useful answer should do more than produce a recommendation. It should make the current judgment falsifiable and keep the final action under the user's ownership.&lt;/p&gt;

&lt;p&gt;Judgment Loop asks the agent to find the smallest sufficient path through these questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What reality is supposed to change?&lt;/li&gt;
&lt;li&gt;Could the chosen metric improve while that reality remains the same?&lt;/li&gt;
&lt;li&gt;Which claims are verified facts, reasonable inferences, or untested hypotheses?&lt;/li&gt;
&lt;li&gt;What is the strongest reason the current judgment could fail?&lt;/li&gt;
&lt;li&gt;What is the cheapest test that separates competing explanations?&lt;/li&gt;
&lt;li&gt;What action should close now, and what belief should remain open to revision?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The workflow is deliberately proportional. A small reversible task should stay small. The full loop is reserved for decisions and claims where getting the target wrong has a meaningful cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five modes instead of one giant framework
&lt;/h2&gt;

&lt;p&gt;The skill routes between five modes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Quick&lt;/strong&gt; handles an undefined problem or attachment to a particular solution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decision&lt;/strong&gt; examines downside, reversibility, tradeoffs, and exploration budgets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Research&lt;/strong&gt; separates mechanism, incremental contribution, evidence, boundaries, and falsification.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learning&lt;/strong&gt; checks whether understanding can be reconstructed, challenged, and transferred without AI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Review&lt;/strong&gt; compares predictions with results and updates what should be kept, removed, or tested next.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The agent selects the smallest sufficient mode. It should not invoke a ceremony merely because a framework exists.&lt;/p&gt;

&lt;h2&gt;
  
  
  A simple example
&lt;/h2&gt;

&lt;p&gt;Suppose a user asks:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This paper reports a strong result. Should we integrate the method into production?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A fluent model can easily summarize the paper and produce an implementation plan. But that skips several load-bearing questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Was the reported improvement measured on the same target we care about?&lt;/li&gt;
&lt;li&gt;Does the evidence establish a causal or production-relevant increment?&lt;/li&gt;
&lt;li&gt;What assumptions differ between the paper and our environment?&lt;/li&gt;
&lt;li&gt;What is the cheapest isolated experiment that could disconfirm the expected value?&lt;/li&gt;
&lt;li&gt;What result would stop the integration rather than merely trigger more tuning?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Judgment Loop should lead with a provisional conclusion, expose the strongest failure reason, and propose an isolated falsification test before recommending production integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the repository contains
&lt;/h2&gt;

&lt;p&gt;The project includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a compact runtime &lt;code&gt;SKILL.md&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;separate references for decision, research, learning, and review modes;&lt;/li&gt;
&lt;li&gt;realistic before-and-after examples;&lt;/li&gt;
&lt;li&gt;positive, negative, and boundary trigger evals;&lt;/li&gt;
&lt;li&gt;an OpenAI agent interface;&lt;/li&gt;
&lt;li&gt;a maintained Simplified Chinese translation;&lt;/li&gt;
&lt;li&gt;an MIT-0 license.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The negative trigger cases matter as much as the positive ones. The skill should stay out of simple facts, clear execution, low-risk reversible tasks, freeform creation, and emotional companionship alone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install
&lt;/h2&gt;

&lt;p&gt;Using the universal Skills CLI:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add sirsws/judgment-loop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a Codex-only global installation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx skills add sirsws/judgment-loop &lt;span class="nt"&gt;--skill&lt;/span&gt; judgment-loop &lt;span class="nt"&gt;-g&lt;/span&gt; &lt;span class="nt"&gt;-a&lt;/span&gt; codex &lt;span class="nt"&gt;-y&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The repository is available at:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/sirsws/judgment-loop" rel="noopener noreferrer"&gt;https://github.com/sirsws/judgment-loop&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I want to learn from publishing it
&lt;/h2&gt;

&lt;p&gt;The main unresolved question is not whether the framework sounds reasonable. It is whether the routing and output contract improve real decisions without adding unnecessary process.&lt;/p&gt;

&lt;p&gt;I am looking for concrete counterexamples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;cases where the skill activates but direct action would be better;&lt;/li&gt;
&lt;li&gt;consequential cases where it fails to activate;&lt;/li&gt;
&lt;li&gt;outputs that label evidence but still hide the load-bearing uncertainty;&lt;/li&gt;
&lt;li&gt;situations where the AI completes the reasoning while the user cannot reconstruct or use it independently.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One successful example is only local evidence. If you try the skill, the most useful feedback is a case where its prediction, routing, or stopping condition breaks.&lt;/p&gt;

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