<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Plugins on Marcello Barnaba</title>
		<link>https://sindro.me/tags/plugins/</link>
		<description>Recent content in Plugins on Marcello Barnaba</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sat, 28 Nov 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://sindro.me/tags/plugins/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>watchd: Claude Code sessions that keep listening</title>
				<link>https://sindro.me/posts/2026-11-28-watchd/</link>
				<pubDate>Sat, 28 Nov 2026 00:00:00 +0000</pubDate>
				<guid>https://sindro.me/posts/2026-11-28-watchd/</guid>
				<description>&lt;blockquote&gt;&#xA;&lt;p&gt;🍸 &lt;em&gt;Landed here by accident? One of the agents in this post lives on IRC, which in&#xA;2026 still works just fine: &lt;strong&gt;&lt;a href=&#34;https://grappa.chat/&#34; target=&#34;_blank&#34;&gt;click here and go back to 1995 →&lt;/a&gt;&lt;/strong&gt; —&#xA;and why I keep doing IRC things is written &lt;a href=&#34;https://sindro.me/posts/2026-04-20-grappa-irc-reinventing-irc-for-2026/&#34;&gt;here&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;On a Raspberry Pi at home a handful of Claude Code sessions run in tmux and&#xA;never quit. One is bridged to IRC, one is a study assistant on Telegram, one&#xA;looks after the kids&amp;rsquo; &lt;a href=&#34;https://sindro.me/posts/2026-11-15-batocera-in-home-assistant/&#34;&gt;Batocera box&lt;/a&gt;,&#xA;one triages the alarms of my server. Each of them has to &lt;em&gt;hear&lt;/em&gt; things: a&#xA;message in a channel, a voice note, a disk filling up.&lt;/p&gt;&#xA;&lt;p&gt;Claude Code has a tool for that, &lt;code&gt;Monitor&lt;/code&gt;: run a command, every line it prints&#xA;becomes an event. But a &lt;code&gt;Monitor&lt;/code&gt; expires after half an hour, so a session that&#xA;listens all day re-arms each watch twice an hour, and each re-arm costs a turn&#xA;for nothing. Four streams, four sessions: that&amp;rsquo;s a lot of tokens to stay where&#xA;you already were.&lt;/p&gt;&#xA;&lt;p&gt;So I wrote &lt;a href=&#34;https://github.com/vjt/claude-watchd&#34; target=&#34;_blank&#34;&gt;watchd&lt;/a&gt; with Claude Code: a&#xA;mod, Claude Code&amp;rsquo;s own plugin format with a hooks module, that runs the&#xA;watches for as long as the session lives.&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-it-works&#34; id=&#34;how-it-works&#34;&gt;How it works&lt;a class=&#34;heading-anchor&#34; href=&#34;#how-it-works&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;You don&amp;rsquo;t configure it, you ask. The plugin ships a skill, so in any session:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;watch the nginx error log and tell me about 5xx&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Claude writes the watch, tries the command by hand, checks that it started,&#xA;and keeps it quiet: every line a watch prints is something the model reads,&#xA;so the filtering happens in the command, not in the model. What it writes ends&#xA;up in the project&amp;rsquo;s &lt;code&gt;.claude/watchd.json&lt;/code&gt;:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
