<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[You could have Claude run a command each time it finishes a prompt.]]></title><description><![CDATA[<p dir="auto">You could have Claude run a command each time it finishes a prompt.</p>
<p dir="auto"><img src="/forum/assets/uploads/files/1784598164856-73e757cb-665d-49b4-ad47-dda84fd43988-image.png" alt="73e757cb-665d-49b4-ad47-dda84fd43988-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">One idea: turn a light green when it's finished, and turn it red when it's working on something.</p>
<p dir="auto">I tend to use the notepad command when I test parameters.</p>
<p dir="auto">[repo path]\.claude\settings.json:</p>
<pre><code>{
  "hooks": {
    "UserPromptSubmit": [
      {
        "hooks": [
          {
            "type": "mcp_tool",
            "server": "triggercmd",
            "tool": "run_command",
            "input": {
              "computer": "New Laptop",
              "command": "Notepad",
              "parameters": "started"
            }
          }
        ]
      }
    ],
    "Stop": [
      {
        "hooks": [
          {
            "type": "mcp_tool",
            "server": "triggercmd",
            "tool": "run_command",
            "input": {
              "computer": "New Laptop",
              "command": "Notepad",
              "parameters": "done"
            }
          }
        ]
      }
    ]
  }
}
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/topic/3372/you-could-have-claude-run-a-command-each-time-it-finishes-a-prompt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Jul 2026 18:28:07 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/3372.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Jul 2026 01:45:02 GMT</pubDate><ttl>60</ttl></channel></rss>