<?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: Odi Paneth</title>
    <description>The latest articles on DEV Community by Odi Paneth (@odiph).</description>
    <link>https://dev.to/odiph</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%2F4261252%2Fc75b7877-794e-4f71-83be-6d4f501bada4.png</url>
      <title>DEV Community: Odi Paneth</title>
      <link>https://dev.to/odiph</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/odiph"/>
    <language>en</language>
    <item>
      <title>How a desktop-only app's website can handle phone visitors, with no backend</title>
      <dc:creator>Odi Paneth</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:13:14 +0000</pubDate>
      <link>https://dev.to/odiph/how-a-desktop-only-apps-website-can-handle-phone-visitors-with-no-backend-3eie</link>
      <guid>https://dev.to/odiph/how-a-desktop-only-apps-website-can-handle-phone-visitors-with-no-backend-3eie</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://claudictive.com/blog/desktop-app-phone-visitors" rel="noopener noreferrer"&gt;claudictive.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A phone visitor on a desktop-only app's website is not a lost download if you give them a way to bring the link to their PC. On claudictive.com, a phone sees up to four buttons instead of the Windows download: email it to yourself, share it, a calendar reminder, and copy link. None needs a backend or collects anything new.&lt;/p&gt;

&lt;p&gt;I build Claudictive, an in-game overlay for Claude Code, with Claude Code itself. It runs in games like World of Warcraft, League of Legends or Valorant, and it installs only on a Windows PC, through Overwolf. This is the short story of what we show people who find it on their phone, and why we skipped the obvious email form.&lt;/p&gt;

&lt;h2&gt;
  
  
  What happens when someone opens a Windows app's website on their phone?
&lt;/h2&gt;

&lt;p&gt;They hit a dead end. The big button says download for Windows, a phone can't do anything useful with a Windows installer, and nothing on the page works on a phone.&lt;/p&gt;

&lt;p&gt;I noticed it while looking at the site's own analytics and conversion. The write-ups I found solve the reverse problem: a desktop visitor and a mobile app. &lt;a href="https://www.branch.io/resources/blog/optimizing-desktop-web-to-app-conversions/" rel="noopener noreferrer"&gt;Branch&lt;/a&gt; recommends a "text me the app" page, and Mozilla's &lt;a href="https://dokk.org/documentation/mozilla-bedrock/2022-12-20/send-to-device/" rel="noopener noreferrer"&gt;Send to Device&lt;/a&gt; widget is a form that emails a download link from a desktop browser to a phone. Both send the message from the site's side, through a server.&lt;/p&gt;

&lt;p&gt;For our direction, phone visitor and desktop app, very little is written. The nearest thing is old redirect advice: in 2014 &lt;a href="https://mobiforge.com/?p=8156" rel="noopener noreferrer"&gt;mobiForge quoted Google&lt;/a&gt; as saying "if there is no corresponding mobile page for a desktop page, then there should be no redirection at all". So the phone visitor stays on the real page, and the page has to offer them something.&lt;/p&gt;

&lt;h2&gt;
  
  
  Should you collect their email and send the link yourself?
&lt;/h2&gt;

&lt;p&gt;That was option 2 in our decision record (ADR-031): collect an email address and mail the download link from our side. It looks like one form. Built safely, it is a lot more:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a transactional email provider and a verified sending domain;&lt;/li&gt;
&lt;li&gt;abuse controls on a form that sends mail to any address someone types in, which means rate limits and a bot check;&lt;/li&gt;
&lt;li&gt;a new section in the privacy page, because we would now hold email addresses;&lt;/li&gt;
&lt;li&gt;a retention rule for how long we keep them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Option 1 was to let the visitor send the link to themselves with the phone's own tools. I picked option 1. I wanted the method that would "reduce the privacy risks as far as possible", and I wanted something quick, relatively. An email form adds a new kind of data and a new thing to defend. The phone already has a mail app, a share sheet, a calendar and a clipboard.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you send a download link to your PC with no backend?
&lt;/h2&gt;

&lt;p&gt;On a touch phone, each download button on the homepage, the use-case pages and the blog posts is replaced by a small panel. It reads: "On your phone? Claudictive installs on a Windows PC. Send yourself the link and grab it when you're back at your desk." The homepage hero swaps its download button for one that jumps to the panel in the &lt;a href="https://claudictive.com/#download" rel="noopener noreferrer"&gt;download section&lt;/a&gt;.&lt;/p&gt;

&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd91a4a7aka902fdhv23n.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd91a4a7aka902fdhv23n.jpg" alt="The claudictive.com download section on a phone: the &amp;quot;On your phone?&amp;quot; note and four buttons to email the link, share it, set an 8pm reminder or copy it" width="585" height="930"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The live download section at phone size (Chrome's phone emulation).&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The panel picks phones with a media query, so a desktop with a mouse never sees it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;matchMedia&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'(hover: none) and (pointer: coarse)'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;matches&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The buttons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;email_me_the_link&lt;/code&gt;&lt;/strong&gt;: a &lt;code&gt;mailto:&lt;/code&gt; link with no recipient. The visitor's own mail app opens with the subject and the link filled in, they type their own address and send it themselves. The address never touches our site.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;share_to_another_app&lt;/code&gt;&lt;/strong&gt;: the phone's share sheet (&lt;code&gt;navigator.share&lt;/code&gt;), for sending the link to a notes app, a chat with yourself, or anything else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;remind_me_at_8pm&lt;/code&gt;&lt;/strong&gt;: downloads a one-event calendar file (&lt;code&gt;.ics&lt;/code&gt;) with the link in it and an alarm at the start time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;copy_link&lt;/code&gt;&lt;/strong&gt;: copies the link to the clipboard.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Only the email button always shows. Share, the calendar reminder and copy appear only where the browser supports them. That matters, because a &lt;code&gt;mailto:&lt;/code&gt; link needs a mail app set up on the phone, and on a phone without one, whichever of the other three the browser supports are still there.&lt;/p&gt;

&lt;p&gt;The core of the email and the reminder is a few lines of plain JavaScript:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// mailto with no recipient: the visitor picks their own address.&lt;/span&gt;
&lt;span class="s1"&gt;'mailto:?subject='&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;encodeURIComponent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;TITLE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s1"&gt;'&amp;amp;body='&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nf"&gt;encodeURIComponent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="c1"&gt;// 20:00 local today, or tomorrow when it is already 19:00 or later.&lt;/span&gt;
&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getHours&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;=&lt;/span&gt; &lt;span class="mi"&gt;19&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getDate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&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;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getDate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getFullYear&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;getMonth&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;day&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&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="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The reminder uses floating local time, so it goes off at 8pm wherever the visitor is. I picked 8pm by thinking about my own routine and when I'm usually in front of the computer. From 7pm on, it is set for the next evening instead.&lt;/p&gt;

&lt;p&gt;If the script fails for any reason, the page keeps its normal download button. Claude Code built the panel and the unit tests, which run it in a fake DOM and check the mailto and calendar-file builders. The parts only a real phone can prove, the mail app taking the &lt;code&gt;mailto:&lt;/code&gt; and the calendar opening the reminder, I checked by hand on my own phone on the live site.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do you count, and what stays on the phone?
&lt;/h2&gt;

&lt;p&gt;We count the tap, and we don't count it as a download. The buttons send us nothing else. The &lt;a href="https://claudictive.com/privacy" rel="noopener noreferrer"&gt;privacy page&lt;/a&gt; says it this way: "On a phone this also covers the send-it-to-yourself buttons (email, share, calendar reminder, copy link): we only count the click. Your email address, your contacts and what you share stay in your own apps and never reach us."&lt;/p&gt;

&lt;p&gt;That sentence was added to the privacy page in the same change as the panel. No new kind of data, no new storage, no new section.&lt;/p&gt;

&lt;h2&gt;
  
  
  When would we build the email form after all?
&lt;/h2&gt;

&lt;p&gt;It is still an option. If the panel shows that people really want the link mailed to them, option 2 is written down with everything it needs. Until then, the phone's own tools do the job, and there is nothing new to protect.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ux</category>
      <category>mobile</category>
      <category>analytics</category>
    </item>
    <item>
      <title>Why I built Claudictive: Claude Code in my game, without babysitting it</title>
      <dc:creator>Odi Paneth</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:12:52 +0000</pubDate>
      <link>https://dev.to/odiph/why-i-built-claudictive-claude-code-in-my-game-without-babysitting-it-13d1</link>
      <guid>https://dev.to/odiph/why-i-built-claudictive-claude-code-in-my-game-without-babysitting-it-13d1</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://claudictive.com/blog/why-claudictive" rel="noopener noreferrer"&gt;claudictive.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Claudictive is a free Windows overlay that lets you code with an AI agent while you play. Your own Claude Code session keeps running, and when it asks a question or wants an approval, that shows up in your game and you answer it there, without alt-tabbing out. I built it because I did not want to keep babysitting my agent.&lt;/p&gt;

&lt;p&gt;This is the first post on this blog, so it is about the why, not the how. Claudictive is my own independent project: Anthropic and Overwolf did not make it and do not endorse it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does Claudictive exist?
&lt;/h2&gt;

&lt;p&gt;It started with Total War: Shogun 2. As I told Claude when it interviewed me for this blog:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I wanted to play Shogun 2, specifically. I had no second screen, and clicking off screen made the game lose focus and minimize.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;At the time I was building a small feedback tool for vibe coders, in long Claude Code sessions.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I wanted to just stop so I could play, especially when these sessions take a lot of time.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I wanted to step away and play, but the sessions kept needing me.&lt;/p&gt;

&lt;h2&gt;
  
  
  What goes wrong when you leave Claude Code working and go play?
&lt;/h2&gt;

&lt;p&gt;It stops and waits for you. Before Claudictive existed, I left a session working and played a League of Legends match.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;After the game I saw it had barely thought, and had asked something basic that was completely missed.&lt;/p&gt;

&lt;p&gt;I mainly got angry. I wanted things to work for me, and now I needed to keep babysitting my agent. That's the premise that led me to build Claudictive in the first place.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I had also tried letting long work run on its own:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;At the beginning I tried some long-running work strategies using get-shit-done, but it didn't work. Even in Yolo mode, permissions, asks and questions were a constant issue, several every session. That's where the idea came up, last year. I was also sure I'd find a generic solution, but none existed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So I started building one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does "full control" mean in Claudictive?
&lt;/h2&gt;

&lt;p&gt;The advice I found about babysitting an AI agent is about cutting down the prompts. Claudictive does not take the questions away; it brings them to where you are. My definition:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Claude Code is in your game, fully. That's what full control is.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In what ships today, that means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is the session you already have open. What you send in game runs there, and your terminal shows it live.&lt;/li&gt;
&lt;li&gt;You answer Claude's questions in game. The terminal still works too, and whichever you answer first wins.&lt;/li&gt;
&lt;li&gt;You allow or deny a command or file edit from a small pill with a hotkey, without opening the chat.&lt;/li&gt;
&lt;li&gt;When you close the game, Claudictive hands the session back to your terminal.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is more on how this looks on the &lt;a href="https://claudictive.com/claude-code-in-game" rel="noopener noreferrer"&gt;Claude Code in your game&lt;/a&gt; page.&lt;/p&gt;

&lt;h2&gt;
  
  
  What should coding with an AI agent while you play feel like?
&lt;/h2&gt;

&lt;p&gt;Here is what I want from it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Out of sight while you're focused on the game, and it appears when you're waiting and Claude needs you.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Overwolf draws the overlay inside the game, so it works in fullscreen, in games like World of Warcraft, Valorant or Dota 2. Most of the time it is a small pill you can click through. When Claude needs you, it tells you, you answer, and you go back to the match.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is Claudictive for?
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Claudictive is for me, honestly, and for anyone else who's experiencing things like I do: people who want to experience the game but still make sure their Claude is working efficiently.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Why it matters to me, as a vibe coder:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I just want to dev as fast as I can as a vibe coder, and I want to make sure everything is going smoothly.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What success looks like to me:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;When people open it and answer questions from in game without alt-tabbing.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What principles is Claudictive built on?
&lt;/h2&gt;

&lt;p&gt;These are the four principles I build by today:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;It is your own Claude Code session.&lt;/strong&gt; Claudictive attaches to the Claude Code you already use, with your own sign-in and your own plan or API key. It has no account or connection to Claude of its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Nothing changes without your OK.&lt;/strong&gt; Before Claudictive adds anything to your Claude Code setup, a screen lists exactly what, and nothing is written until you choose Allow. The questions and approvals your session stops for still come to you. You can reverse most of it again from the hub.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your data stays on your PC.&lt;/strong&gt; Your conversations, session history and match summaries are kept on your machine, and your messages reach Claude through your own Claude Code, as always. Claudictive sends nothing to me unless you opt in to analytics or crash reports, or send a bug report. Ads are served by Overwolf. Details are in the &lt;a href="https://claudictive.com/privacy" rel="noopener noreferrer"&gt;privacy policy&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is free.&lt;/strong&gt; Claudictive is free today and ad-supported. Your Claude usage stays on your own plan or API key.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Privacy is a habit more than a feature. When I picked how this website handles phone visitors, my rule was:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I choose the method that would reduce the privacy risks as far as possible. And I wanted something quick, relatively.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What was it like building it with Claude Code?
&lt;/h2&gt;

&lt;p&gt;Claudictive is created with Claude Code, over about eight months. I decide what to build, test builds in game and approve every release. Claude writes the code, investigates bugs and proposes options.&lt;/p&gt;

&lt;p&gt;The moment that stands out:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Eating my own dog food on this was amazing. Shipping code for Claudictive from the overlay for the first time was phenomenal. It took so long to stabilize that I never thought I could do it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A tool for using Claude Code in game, shipped from in game. If you want to try it, it is a free download from the &lt;a href="https://claudictive.com/" rel="noopener noreferrer"&gt;Claudictive home page&lt;/a&gt;.&lt;/p&gt;

&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F33009hzc0pjfmpwnicf4.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F33009hzc0pjfmpwnicf4.jpg" alt="The Claudictive overlay asking for approval to run npm test, with Allow and Deny, over a Total War: Shogun 2 campaign map" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustration: the Claudictive overlay over my own Total War: Shogun 2 screenshot. Not a live capture.&lt;/em&gt; A real capture from an Oda campaign is on the &lt;a href="https://claudictive.com/games/total-war-shogun-2" rel="noopener noreferrer"&gt;Claude Code in Shogun 2&lt;/a&gt; page.&lt;/p&gt;

</description>
      <category>claude</category>
      <category>gaming</category>
      <category>productivity</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to tell when Claude Code is waiting on your answer</title>
      <dc:creator>Odi Paneth</dc:creator>
      <pubDate>Mon, 23 Nov 2026 20:12:19 +0000</pubDate>
      <link>https://dev.to/odiph/how-to-tell-when-claude-code-is-waiting-on-your-answer-37k6</link>
      <guid>https://dev.to/odiph/how-to-tell-when-claude-code-is-waiting-on-your-answer-37k6</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://claudictive.com/blog/claude-code-question-alerts" rel="noopener noreferrer"&gt;claudictive.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To know when Claude Code is waiting on your answer, add a &lt;a href="https://code.claude.com/docs/en/hooks" rel="noopener noreferrer"&gt;&lt;code&gt;PreToolUse&lt;/code&gt; hook&lt;/a&gt; with the matcher &lt;code&gt;AskUserQuestion&lt;/code&gt;: it fires the moment Claude asks, before the picker appears. Add &lt;code&gt;PermissionRequest&lt;/code&gt; for approvals and &lt;code&gt;Stop&lt;/code&gt; for a finished turn. The harder part is an alert you notice and can act on while you are somewhere else.&lt;/p&gt;

&lt;p&gt;I build Claudictive, an in-game overlay for Claude Code, with Claude Code itself. The first half of this post is the hook setup anyone can use. The second half is what went wrong for us, and what Claude and I changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I get an alert when Claude Code asks a question?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;AskUserQuestion&lt;/code&gt; is the tool Claude calls when it wants you to pick from options. The &lt;a href="https://code.claude.com/docs/en/hooks" rel="noopener noreferrer"&gt;hooks reference&lt;/a&gt; describes it as asking "the user one to four multiple-choice questions", and it reaches &lt;code&gt;PreToolUse&lt;/code&gt; like any other tool call.&lt;/p&gt;

&lt;p&gt;People asked for this signal in several issues. &lt;a href="https://github.com/anthropics/claude-code/issues/13024" rel="noopener noreferrer"&gt;Issue 13024&lt;/a&gt; and &lt;a href="https://github.com/anthropics/claude-code/issues/10168" rel="noopener noreferrer"&gt;issue 10168&lt;/a&gt; both asked for a hook that fires when Claude is waiting on you; 13024 is titled "Add hook for when Claude is waiting for user input". On 2026-08-17 a Claude Code maintainer closed both as completed, with this answer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a &lt;code&gt;PreToolUse&lt;/code&gt; hook with matcher &lt;code&gt;AskUserQuestion&lt;/code&gt; "fires the moment Claude calls it, before the picker appears";&lt;/li&gt;
&lt;li&gt;the &lt;code&gt;PermissionRequest&lt;/code&gt; hook fires immediately when Claude asks for a permission, unlike &lt;code&gt;Notification&lt;/code&gt; with &lt;code&gt;permission_prompt&lt;/code&gt;, which waits about six seconds;&lt;/li&gt;
&lt;li&gt;the &lt;code&gt;Stop&lt;/code&gt; hook covers a finished turn.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A minimal setup in &lt;code&gt;settings.json&lt;/code&gt;, built from the shape in the docs:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"PreToolUse"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"matcher"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"AskUserQuestion|ExitPlanMode"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"your-question-alert"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"PermissionRequest"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"your-approval-alert"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"Stop"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"hooks"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"your-done-alert"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two details from the docs that matter here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A matcher made only of letters, digits and &lt;code&gt;|&lt;/code&gt; is a list of exact tool names, so &lt;code&gt;AskUserQuestion|ExitPlanMode&lt;/code&gt; also catches plan approvals. The docs list both tools as ones that "require user interaction".&lt;/li&gt;
&lt;li&gt;A group with no matcher runs for every event of that type.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why doesn't the Notification hook tell you about questions?
&lt;/h2&gt;

&lt;p&gt;Because no &lt;code&gt;Notification&lt;/code&gt; type is documented for a foreground &lt;code&gt;AskUserQuestion&lt;/code&gt;. The hooks reference lists more than a dozen types. Among them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;permission_prompt&lt;/code&gt;: Claude needs an approval "and the prompt has waited about six seconds".&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;idle_prompt&lt;/code&gt;: "Claude finished responding about 60 seconds ago and you haven't typed since".&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;agent_needs_input&lt;/code&gt;: a background session starts waiting on your input while agent view is open in a terminal, plus a few other waits such as an agent team teammate's terminal setup question.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;elicitation_dialog&lt;/code&gt; and &lt;code&gt;elicitation_url_dialog&lt;/code&gt;: an MCP server waiting on your input.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these is described as firing for a foreground &lt;code&gt;AskUserQuestion&lt;/code&gt;. &lt;code&gt;Stop&lt;/code&gt; does not settle it either: its input carries &lt;code&gt;stop_hook_active&lt;/code&gt;, &lt;code&gt;last_assistant_message&lt;/code&gt;, &lt;code&gt;background_tasks&lt;/code&gt; and &lt;code&gt;session_crons&lt;/code&gt;, and nothing says whether the turn ended on a question. &lt;a href="https://github.com/anthropics/claude-code/issues/93872" rel="noopener noreferrer"&gt;Issue 93872&lt;/a&gt;, "No hook signal distinguishes 'turn complete' from 'turn ended awaiting a user answer/selection'", asks for exactly that field. It was open with no maintainer reply when I checked on 2026-11-14.&lt;/p&gt;

&lt;p&gt;User reports about &lt;code&gt;Notification&lt;/code&gt; and questions also disagree with each other. &lt;a href="https://github.com/anthropics/claude-code/issues/74052" rel="noopener noreferrer"&gt;Issue 74052&lt;/a&gt; reported questions firing &lt;code&gt;Notification&lt;/code&gt; as &lt;code&gt;permission_prompt&lt;/code&gt;. &lt;a href="https://github.com/anthropics/claude-code/issues/51882" rel="noopener noreferrer"&gt;Issue 51882&lt;/a&gt; and &lt;a href="https://github.com/anthropics/claude-code/issues/59908" rel="noopener noreferrer"&gt;issue 59908&lt;/a&gt; reported no &lt;code&gt;Notification&lt;/code&gt; at all, and &lt;a href="https://github.com/anthropics/claude-code/issues/66704" rel="noopener noreferrer"&gt;issue 66704&lt;/a&gt; reported no &lt;code&gt;Stop&lt;/code&gt; while a question waits. All four were closed for inactivity, not fixed. With reports going both ways, I would not build a question alert on &lt;code&gt;Notification&lt;/code&gt; or &lt;code&gt;Stop&lt;/code&gt;. &lt;code&gt;PreToolUse&lt;/code&gt; is the documented signal, and it is immediate.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do I tell "Claude asked me something" from "Claude is done"?
&lt;/h2&gt;

&lt;p&gt;Treat them as two different events, and only make noise for the first.&lt;/p&gt;

&lt;p&gt;Claudictive already reads each session's transcript to show the session in the overlay, so its poller looks for the question there, as our choice: when the last assistant turn holds an &lt;code&gt;AskUserQuestion&lt;/code&gt; tool call, the session is waiting on you. The check in the shipped code is short:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;hasAskUser&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;blocks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;some&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;
    &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'tool_use'&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt;
    &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'AskUserQuestion'&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'ask_user'&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="s1"&gt;'AskUser'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hasAskUser&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s1"&gt;'needs-input'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Subagent turns land in the same transcript, marked &lt;code&gt;isSidechain: true&lt;/code&gt;, so the poller skips them when it looks for the last line. Otherwise a subagent finishing would make the session look idle.&lt;/p&gt;

&lt;p&gt;Each wait then carries a reason: &lt;code&gt;question&lt;/code&gt; when the transcript shows an &lt;code&gt;AskUserQuestion&lt;/code&gt;, &lt;code&gt;notification&lt;/code&gt; when it is Claude Code's idle "waiting for your input" prompt. Only &lt;code&gt;question&lt;/code&gt; raises the in-game chip and the chime. A finished turn is not urgent; a question blocks the whole run.&lt;/p&gt;

&lt;p&gt;There is one more gate: the alert only plays while the game is running and focused and the overlay is shown, so the overlay hotkey silences it. That version was verified in game before it was committed.&lt;/p&gt;

&lt;p&gt;If you build on hooks instead, the same split works: set your alert in &lt;code&gt;PreToolUse&lt;/code&gt; for &lt;code&gt;AskUserQuestion&lt;/code&gt;, and clear it in &lt;code&gt;PostToolUse&lt;/code&gt; with the same matcher, which the docs say runs after the tool succeeds, so after the question is answered. A declined or escaped question never reaches &lt;code&gt;PostToolUse&lt;/code&gt;, so give the alert a fallback too, such as clearing it on your next prompt (&lt;code&gt;UserPromptSubmit&lt;/code&gt;) or after a timeout.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why does a missed question cost so much?
&lt;/h2&gt;

&lt;p&gt;This is where Claudictive started. I wanted to play, specifically Total War: Shogun 2, and I had no second screen. Clicking off the game made it lose focus and minimize. At the time I was building a small feedback tool for vibe coders, and the Claude Code sessions took a long time. I wanted to step away and play while they ran, but they kept needing me.&lt;/p&gt;

&lt;p&gt;I tried long-running setups first, including the get-shit-done (GSD) workflow, even in YOLO mode. It did not work: permissions, asks and questions were a constant issue, several every session. That is where the idea came up, last year. I was sure I would find a generic solution, and there was none I could find.&lt;/p&gt;

&lt;p&gt;Once, before Claudictive existed, I came back from a League of Legends match and found Claude had barely started. It had asked something basic and waited, and I had missed it completely. Mostly I got angry: I wanted things to work for me, and "now I need to keep babysitting my agent".&lt;/p&gt;

&lt;p&gt;Why question alerts matter to me, in one line: "I just want to dev asap as a vibe coder, I want to make sure everything is going smoothly."&lt;/p&gt;

&lt;h2&gt;
  
  
  What went wrong: a 22-minute wait nobody saw
&lt;/h2&gt;

&lt;p&gt;Later, with Claudictive already running, one of my sessions sat on a question for 22 minutes.&lt;/p&gt;

&lt;p&gt;The poller had detected the question. Nothing showed it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the session pill's only cue was a 1 px border, because the pill's &lt;code&gt;!important&lt;/code&gt; box-shadow overrode the pulse animation;&lt;/li&gt;
&lt;li&gt;the status line said "CLI busy", which reads as "leave it alone";&lt;/li&gt;
&lt;li&gt;no chip or chime listened for the waiting state at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The fix Claude and I shipped routes a waiting question into the same alert as a permission request: a "Claude has a question" chip that names the project, the same chime schedule, and no Allow or Deny hint. It clears when the question is answered, when the session exits, or after an hour. The status line now says "Waiting for you", and the pulse moved to a pseudo-element so the pill's own shadow cannot hide it.&lt;/p&gt;

&lt;p&gt;The lesson: detection was fine. The display was not. If you build your own alert, check that it is visible from where you actually are, not just that it fires.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can you answer a Claude Code question without the terminal?
&lt;/h2&gt;

&lt;p&gt;Yes, and the docs now say how. A &lt;code&gt;PreToolUse&lt;/code&gt; hook can answer an &lt;code&gt;AskUserQuestion&lt;/code&gt; itself: it returns &lt;code&gt;permissionDecision: "allow"&lt;/code&gt; together with an &lt;code&gt;updatedInput&lt;/code&gt; that echoes the original &lt;code&gt;questions&lt;/code&gt; array and adds an &lt;code&gt;answers&lt;/code&gt; object mapping each question's text to the chosen label. The docs are explicit that "Returning &lt;code&gt;"allow"&lt;/code&gt; alone is not sufficient for these tools." &lt;code&gt;PermissionRequest&lt;/code&gt; hooks need the same &lt;code&gt;updatedInput&lt;/code&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"hookSpecificOutput"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"hookEventName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"PreToolUse"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"permissionDecision"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"updatedInput"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"questions"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"question"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Which framework?"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"header"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Framework"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"options"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"React"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"label"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Vue"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"multiSelect"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"answers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"Which framework?"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"React"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We hit the "allow is not enough" wall in an early Claudictive build: an allow from our approval path could not dismiss the question dialog, so the question sat unanswerable in the terminal. Claudictive now takes a different route. With your consent, it uses a small Claude Code mod, and when the overlay is driving a session, the mod hooks the &lt;code&gt;AskUserQuestion&lt;/code&gt; tool call itself. It races the terminal dialog against the overlay's answer and returns the pick as the tool's result. Whichever side you answer first wins. The mod never denies a question, and if anything on its side fails, you get the normal terminal dialog.&lt;/p&gt;

&lt;p&gt;In the overlay the question shows as a card with its options. You click one, type its number, or type your own words in the chat box. The chip also tells you where to answer: "answer here" when the session is driven from the overlay, "answer in your terminal" when it is not. The same flow covers permissions; the details are on the page for &lt;a href="https://claudictive.com/claude-code-permissions-in-game" rel="noopener noreferrer"&gt;approving Claude Code permissions in game&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The overlay is not tied to one game: it runs in games Overwolf supports, like World of Warcraft, Valorant or Fortnite, not only the two I play.&lt;/p&gt;

&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fydkglgf2oszqzfjw3mkg.jpg" 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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fydkglgf2oszqzfjw3mkg.jpg" alt="A Claude Code question card in the Claudictive overlay: &amp;quot;Claude is waiting for you&amp;quot;, the question and three numbered options, over a Total War: Shogun 2 campaign map" width="800" height="785"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Real capture from a development build: Claudictive over my Total War: Shogun 2 campaign, on a demo project. A file path is blurred.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  With several Claude Code sessions, which one is asking?
&lt;/h2&gt;

&lt;p&gt;Once every terminal had its own tab in the game, a new gap showed up. I found it in an in-game test in Total War: Shogun 2, and my note from that test was: "tab A1 has a permission/question request, but I am in tab B, have a UI component that should grab my attention as well as the chime".&lt;/p&gt;

&lt;p&gt;There were two candidates: a line above the tabs, or the waiting tab itself. I judged the line poor UX and picked the tab. Now, when a tab with a question or an approval is not the one you are looking at, it turns amber and pulses (it stays static if your system asks for reduced motion). Its chime keeps going until you open that tab, answer it, or it expires.&lt;/p&gt;

&lt;p&gt;The same change fixed two chime bugs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;typing in tab B counted as activity and silenced the request from tab A, though typing elsewhere is no answer;&lt;/li&gt;
&lt;li&gt;a question counted as "on screen" whenever the chat was expanded on any tab, so it never chimed. Now it only counts on its own tab.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Claude is a co-author on the commits behind the question chip, the question card, answering from the overlay and the amber tab. The in-game tests were mine, and so was the call on the amber tab. More on the alert types is on the &lt;a href="https://claudictive.com/claude-code-notifications" rel="noopener noreferrer"&gt;Claude Code notifications&lt;/a&gt; page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist: building your own question alert
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Hook &lt;code&gt;PreToolUse&lt;/code&gt; with matcher &lt;code&gt;AskUserQuestion&lt;/code&gt;, and add &lt;code&gt;ExitPlanMode&lt;/code&gt; if you want plan approvals too. Use &lt;code&gt;PermissionRequest&lt;/code&gt; for approvals and &lt;code&gt;Stop&lt;/code&gt; for a finished turn.&lt;/li&gt;
&lt;li&gt;Do not rely on &lt;code&gt;Notification&lt;/code&gt; for questions. No documented type covers them, and user reports disagree.&lt;/li&gt;
&lt;li&gt;Keep "Claude asked me something" separate from "Claude is done". Alert loudly on the first, quietly or not at all on the second.&lt;/li&gt;
&lt;li&gt;Make the alert visible where you are. Ours was detected and drawn as a 1 px border.&lt;/li&gt;
&lt;li&gt;To answer from somewhere else, return &lt;code&gt;"allow"&lt;/code&gt; with &lt;code&gt;updatedInput&lt;/code&gt; that echoes &lt;code&gt;questions&lt;/code&gt; and adds &lt;code&gt;answers&lt;/code&gt;. &lt;code&gt;"allow"&lt;/code&gt; alone leaves the dialog open.&lt;/li&gt;
&lt;li&gt;Clear the alert in &lt;code&gt;PostToolUse&lt;/code&gt; when the question is answered, and add a fallback (your next prompt, or a timeout) for a question you decline or escape, since &lt;code&gt;PostToolUse&lt;/code&gt; only runs after a successful tool call. Claudictive's chip also clears when the session exits or after an hour.&lt;/li&gt;
&lt;/ul&gt;

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