<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Claude Code – Hans Scharler</title>
	<atom:link href="https://nothans.com/tag/claude-code/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Fri, 27 Nov 2026 19:22:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/cropped-settings.png?fit=32%2C32&#038;ssl=1</url>
	<title>Claude Code – Hans Scharler</title>
	<link>https://nothans.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114568856</site>	<item>
		<title>Claude Code and Artifacts: Markdown for Agents, HTML for Humans</title>
		<link>https://nothans.com/markdown-for-agents-html-for-humans</link>
					<comments>https://nothans.com/markdown-for-agents-html-for-humans#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Fri, 27 Nov 2026 19:22:06 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[ai agents]]></category>
		<category><![CDATA[artifacts]]></category>
		<category><![CDATA[Claude Code]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=6736</guid>

					<description><![CDATA[My open-items list was perfect for Claude Code and hard for me to answer. Now it's a board with buttons, Claude does the work, and you can grab the skill.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">For a few days, Claude Code and I worked through a long list of fixes for this blog and for CheerLights: search, broken pages, email, old tutorials. The list lived in a Markdown file called <code>open-items.md</code>.</p>



<p class="wp-block-paragraph">That file was perfect for the agent. One fact per line, easy to search, easy to update in place, and the next session could pick up where the last one stopped.</p>



<p class="wp-block-paragraph">For me, not so much. It grew past 100 lines, the decisions were buried in paragraphs, and the only way to answer one was to type it into the chat.</p>



<p class="wp-block-paragraph">So I asked Claude a question. What if you made an artifact of the open items, with form fields and buttons, and then processed whatever I answered? Is that a good use of artifacts?</p>



<p class="wp-block-paragraph">It was.</p>



<h2 id="the-board" class="wp-block-heading">The board</h2>



<p class="wp-block-paragraph">Claude turned the list into a page: one card per decision, two to four answer buttons, a notes field, and a status pill. The answers save to a small data store behind the page, so they&#8217;re there on my phone and my desktop. When I&#8217;m done, I tell Claude &#8220;process the board.&#8221; It reads what I answered, does the work, and writes back on each card what it did and what it checked.</p>



<p class="wp-block-paragraph">My first answer was &#8220;Commit and push.&#8221;</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="750" height="641" data-attachment-id="6732" data-permalink="https://nothans.com/claude-code-artifact-board-first-answer" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?fit=930%2C795&amp;ssl=1" data-orig-size="930,795" data-comments-opened="0" data-image-title="Claude Code artifact board: first answer" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?fit=750%2C641&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?resize=750%2C641&#038;ssl=1" alt="The open items board for nothans.com and CheerLights: 23 items waiting on Hans, 1 answered, 10 in Claude's queue. The Commit and push card has its button selected, saved, and marked Answered, waiting for Claude." class="wp-image-6732" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?w=930&amp;ssl=1 930w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?resize=300%2C256&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?resize=768%2C657&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-first-answer.png?resize=750%2C641&amp;ssl=1 750w" sizes="(max-width: 750px) 100vw, 750px" /></figure>



<h2 id="what-one-afternoon-looked-like" class="wp-block-heading">What one afternoon looked like</h2>



<p class="wp-block-paragraph">Some of what the board got done on the first day, each from one tap and sometimes a short note:</p>



<ul class="wp-block-list">
<li>I picked a home page description. Claude set it in Jetpack, cleared the caches, and checked the live page.</li>



<li>I said remove the ads. Claude turned off the ad code and checked three pages for anything left over.</li>



<li>I said redirect an old ThingSpeak page, retitle a 2019 post that said refunds were still being paid, and add a note to four posts about custom GPTs going away. All done and checked live.</li>



<li>I said test the Raspberry Pi tutorial on my Pi before publishing. Claude ran it end to end on the Pi and found that the current MQTT library prints an error after every message. The data still arrived, but anyone following the tutorial would think it broke. It rewrote the script, retested it, and then asked me &#8220;Publish?&#8221; again, because the code had changed since I read it.</li>



<li>A DMARC report showed Gmail rejecting every email my newsletter sent. Two DNS records hadn&#8217;t made the move to Cloudflare. I said add them, and they were back in minutes.</li>
</ul>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" decoding="async" width="750" height="442" data-attachment-id="6733" data-permalink="https://nothans.com/claude-code-artifact-board-after-processing" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?fit=899%2C530&amp;ssl=1" data-orig-size="899,530" data-comments-opened="0" data-image-title="Claude Code artifact board after processing" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?fit=750%2C442&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?resize=750%2C442&#038;ssl=1" alt="The same board after Claude processed the answers: 13 waiting, 0 answered and not processed, 15 in Claude's queue, and 11 cards on the Done tab." class="wp-image-6733" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?w=899&amp;ssl=1 899w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?resize=300%2C177&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?resize=768%2C453&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-after-processing.png?resize=750%2C442&amp;ssl=1 750w" sizes="(max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph">The part I like most is when it stops and asks. When an answer is fuzzy, the card comes back with a question instead of a guess. When the facts change, like the Pi test, it says so and asks again.</p>



<h2 id="a-place-for-new-things" class="wp-block-heading">A place for new things</h2>



<p class="wp-block-paragraph">A few hours in, I wanted somewhere to drop new work, not just answer old work. So the board grew an intake: &#8220;Something new,&#8221; with my usual kinds of work as buttons. Blog post idea, project, research, news, YouTube, make a video. When Claude processes the board, each one goes where that kind of work lives, and the card says where.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" decoding="async" width="750" height="717" data-attachment-id="6734" data-permalink="https://nothans.com/claude-code-artifact-board-intake" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?fit=898%2C859&amp;ssl=1" data-orig-size="898,859" data-comments-opened="0" data-image-title="Claude Code artifact board intake form" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?fit=750%2C717&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?resize=750%2C717&#038;ssl=1" alt="The board with its Something new form at the top: buttons for Blog post idea, Project, Research, News, YouTube, and Make a video, then fields for a title, a link, and notes, and an Add to Claude's queue button." class="wp-image-6734" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?w=898&amp;ssl=1 898w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?resize=300%2C287&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?resize=768%2C735&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-artifact-board-intake.png?resize=750%2C717&amp;ssl=1 750w" sizes="(max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph">The board isn&#8217;t just where I answer the agent anymore. It&#8217;s where new work starts.</p>



<h2 id="markdown-for-agents-html-for-humans" class="wp-block-heading">Markdown for agents, HTML for humans</h2>



<p class="wp-block-paragraph">The Markdown file didn&#8217;t go away. It&#8217;s still the agent&#8217;s memory, and Claude keeps it in step with the board every time it processes. The board is my front door.</p>



<p class="wp-block-paragraph">I keep seeing this split. This blog serves <code>llms.txt</code> and an MCP endpoint for agents, and the same posts as web pages for people. README files are turning into front doors for people, while files like <code>AGENTS.md</code> carry the detail an agent needs. The same work needs two surfaces now: one an agent can read and write, and one a person can look at and click.</p>



<p class="wp-block-paragraph">The formats matter less to me than the loop. The human side takes input, and the agent side processes it when asked. It&#8217;s a to-do list where one side has buttons and the other has an API.</p>



<h2 id="try-it-agent-board" class="wp-block-heading">Try it: Agent Board</h2>



<p class="wp-block-paragraph">I turned it into a Claude Code skill called Agent Board. One skill, two modes. Create mode turns a Markdown list into a board. Process mode works your answers. It comes with the rules that made it work on my board: an answer only covers its own card, anything outward-facing like publishing needs a plain yes, and Claude writes back what it checked, not just what it did.</p>



<p class="wp-block-paragraph">It&#8217;s on GitHub at <a href="https://github.com/nothans/agent-board">github.com/nothans/agent-board</a>. Copy the skill into your Claude Code skills folder, then ask Claude to make you a board from your own list.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/markdown-for-agents-html-for-humans/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6736</post-id>	</item>
		<item>
		<title>DFS Fantasy Football Optimization (Agentic AI + MATLAB Optimization Toolbox)</title>
		<link>https://nothans.com/dfs-fantasy-football-optimization-agentic-ai-matlab-optimization-toolbox</link>
					<comments>https://nothans.com/dfs-fantasy-football-optimization-agentic-ai-matlab-optimization-toolbox#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Sun, 27 Sep 2026 15:26:13 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[Codex]]></category>
		<category><![CDATA[fantasy football]]></category>
		<category><![CDATA[matlab]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5732</guid>

					<description><![CDATA[I rebuilt my 2022 MATLAB daily fantasy football optimizer: a function library, an explorer app, tests, a section for coding agents, and the right objective for tournaments.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Four seasons ago I wrote a post about <a href="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups">winning (or doing better) at daily fantasy football with MATLAB</a>. The pitch was simple: DFS is an optimization problem wearing a jersey, so let the Optimization Toolbox pick your lineup. Sixty lines of MATLAB, one salary cap, one answer.</p>



<p class="wp-block-paragraph">That post still works, and the script still runs. But it taught the wrong objective for half the contests people play. And it assumed the person running it was you, pasting code into a Live Script. Both of those changed, so I rebuilt the thing.</p>



<p class="wp-block-paragraph">The repo is the same one: <a href="https://github.com/nothans/dfs-optimizer">github.com/nothans/dfs-optimizer</a>. It now has a function library, an app for exploring the options, a test suite, and a section for coding agents. In 2026 the &#8220;user&#8221; of a tool like this is as likely to be Claude Code or OpenAI Codex with a MATLAB session open as it is to be a human with a mouse. This post is the new tutorial.</p>



<h2 id="what-the-2022-script-got-right-and-what-it-got-wrong" class="wp-block-heading">What the 2022 script got right, and what it got wrong</h2>



<p class="wp-block-paragraph">The 2022 model was one binary variable per player and a handful of linear constraints: one QB, one defense, two to three running backs, three to four receivers, one to two tight ends, nine players total, salary under the cap. Maximize projected points. That is still the core, and the new code returns the identical lineup on the same data. There is a test that proves it.</p>



<p class="wp-block-paragraph">What it got wrong is subtler. &#8220;Maximize projected points&#8221; is the correct objective for a <strong>cash game</strong>, a 50/50 or a double-up, where you&#8217;re paid if you finish in the top half. You want the highest floor, and the highest projection is a decent proxy.</p>



<p class="wp-block-paragraph">It&#8217;s the wrong objective for a <strong>tournament</strong> (a GPP, guaranteed prize pool), where a few thousand entries compete for a top-heavy payout and the winner needs a top-1% finish. In a tournament, the highest-projected lineup is the lineup everyone else has too. You want ceiling and you want to be different. That means correlated players (a QB and his receiver score on the same plays), lower-owned players (so a hit separates you from the field), and more than one lineup.</p>



<h2 id="get-the-data" class="wp-block-heading">Get the data</h2>



<p class="wp-block-paragraph">The projections still come from <a href="https://www.dailyfantasyfuel.com/nfl/projections/">Daily Fantasy Fuel</a>. Pick the DraftKings or FanDuel tab, clear any filters, let the whole table load, then click <strong>Download CSV</strong> and save the file. The button exports the rows on screen, so a filtered view gives you a filtered file. The header looks like this:</p>



<pre class="wp-block-code"><code>first_name, last_name, position, injury_status, week, game_date, slate, team, opp,
spread, over_under, implied_team_score, salary, L5_dvp_rank, L5_fppg_avg,
L10_fppg_avg, szn_fppg_avg, ppg_projection, value_projection, ownership_projection</code></pre>



<p class="wp-block-paragraph">That last column matters. Projected ownership is what makes the tournament levers work, and the 2022 post ignored it.</p>



<p class="wp-block-paragraph">You don&#8217;t need to import the file by hand anymore. The loader reads it directly, drops anyone marked out, and keeps every original column:</p>



<pre class="wp-block-code"><code>players = dfs.loadProjections("DFF_NFL_cheatsheet.csv");</code></pre>



<p class="wp-block-paragraph">If you don&#8217;t have a download handy, the repo ships a synthetic 13-game slate in the same header, with made-up names, so every example below runs as-is, and you&#8217;ll meet a few of those names again before this is over.</p>



<h2 id="the-app-in-five-clicks" class="wp-block-heading">The app, in five clicks</h2>



<p class="wp-block-paragraph">Open MATLAB in the repo folder (or click the <strong>Open in MATLAB Online</strong> badge on the README) and run:</p>



<pre class="wp-block-code"><code>DFSOptimizerApp</code></pre>



<p class="wp-block-paragraph">It opens on the sample slate. Levers on the left, results on the right.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="469" data-attachment-id="5725" data-permalink="https://nothans.com/01-app-opens-on-sample-slate" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?fit=1280%2C800&amp;ssl=1" data-orig-size="1280,800" data-comments-opened="0" data-image-title="01-app-opens-on-sample-slate" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?fit=750%2C469&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?resize=750%2C469&#038;ssl=1" alt="DFS optimizer app on the sample slate: levers sidebar on the left, empty Lineups tab reading &quot;No lineups yet. Press Optimize.&quot;" class="wp-image-5725" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?resize=750%2C469&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/01-app-opens-on-sample-slate.png?w=1280&amp;ssl=1 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph"><strong>Click one: the Cash game preset, then Optimize.</strong> This is the 2022 script with a face. One lineup, maximum projection, no stacking, ownership ignored. On the sample slate it lands at 176.4 projected points and a summed ownership of 192%, which is a polite way of saying &#8220;everyone has these players.&#8221;</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="469" data-attachment-id="5726" data-permalink="https://nothans.com/02-cash-lineup" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?fit=1280%2C800&amp;ssl=1" data-orig-size="1280,800" data-comments-opened="0" data-image-title="02-cash-lineup" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?fit=750%2C469&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?resize=750%2C469&#038;ssl=1" alt="Cash game preset result: one DraftKings lineup at 176.4 projected points, $50,000 salary, 192% summed ownership, and its nine players" class="wp-image-5726" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?resize=750%2C469&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/02-cash-lineup.png?w=1280&amp;ssl=1 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph"><strong>Click two: the Tournament preset, then Optimize.</strong> Now the sidebar asks for a QB stack (one receiver or tight end from the QB&#8217;s own team), a bring-back (one skill player from the opponent), and no defense against your own QB. It also wants a small penalty on projected ownership and twenty lineups, where nobody appears in more than half and every pair differs by at least three players. A progress bar counts them off, about a quarter second each.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="469" data-attachment-id="5727" data-permalink="https://nothans.com/03-gpp-portfolio" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?fit=1280%2C800&amp;ssl=1" data-orig-size="1280,800" data-comments-opened="0" data-image-title="03-gpp-portfolio" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?fit=750%2C469&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?resize=750%2C469&#038;ssl=1" alt="Tournament preset result: 20 lineups with points, salary, ownership, QB, and stack columns, plus the roster of lineup 1" class="wp-image-5727" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?resize=750%2C469&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/03-gpp-portfolio.png?w=1280&amp;ssl=1 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph">Click any row to see the roster. The summed ownership drops into the 70 to 150 range and the QB column shows the portfolio spreading across three or four quarterbacks instead of one.</p>



<p class="wp-block-paragraph"><strong>Click three: lock and exclude.</strong> The Player pool tab is the whole slate with two checkbox columns. Tick <strong>Lock</strong> on a player you believe in and <strong>Exclude</strong> on one you don&#8217;t, and every solve from then on honors it.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="469" data-attachment-id="5728" data-permalink="https://nothans.com/04-lock-and-exclude" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?fit=1280%2C800&amp;ssl=1" data-orig-size="1280,800" data-comments-opened="0" data-image-title="04-lock-and-exclude" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?fit=750%2C469&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude-1024x640.png?resize=750%2C469&#038;ssl=1" alt="Player pool tab listing the slate's quarterbacks with Lock and Exclude checkbox columns, one player locked and one excluded" class="wp-image-5728" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?resize=750%2C469&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/04-lock-and-exclude.png?w=1280&amp;ssl=1 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph"><strong>Click four: Exposure.</strong> This is the chart I wanted in 2022 and didn&#8217;t have. Your exposure per player across the twenty lineups, next to the field&#8217;s projected ownership. The gap is leverage. A player you have at 40% who the field has at 2% is where a tournament gets won or lost.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="469" data-attachment-id="5729" data-permalink="https://nothans.com/05-exposure-vs-field" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?fit=1280%2C800&amp;ssl=1" data-orig-size="1280,800" data-comments-opened="0" data-image-title="05-exposure-vs-field" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?fit=750%2C469&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?resize=750%2C469&#038;ssl=1" alt="Exposure tab: bars of your exposure versus projected field ownership across 20 lineups, and a salary vs projected points scatter" class="wp-image-5729" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?resize=750%2C469&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/05-exposure-vs-field.png?w=1280&amp;ssl=1 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph"><strong>Click five: Simulate.</strong> A projection is a mean, not a promise. The Monte Carlo tab draws fifty (or five hundred) noisy versions of the projections, re-solves the lineup for each one, and counts who made it. A player who&#8217;s optimal in 60% of the draws is a play. A player who&#8217;s optimal only at the exact point estimate is a coin flip with a good agent.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="469" data-attachment-id="5730" data-permalink="https://nothans.com/06-monte-carlo" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?fit=1280%2C800&amp;ssl=1" data-orig-size="1280,800" data-comments-opened="0" data-image-title="06-monte-carlo" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?fit=750%2C469&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?resize=750%2C469&#038;ssl=1" alt="Monte Carlo tab: chart of how often each player is optimal across 50 projection draws, next to projected field ownership" class="wp-image-5730" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?resize=1024%2C640&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?resize=300%2C188&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?resize=768%2C480&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?resize=750%2C469&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/09/06-monte-carlo.png?w=1280&amp;ssl=1 1280w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph">There&#8217;s a sixth button, <strong>Copy as code</strong>, and it&#8217;s the one I use most. It writes your current sidebar as a function call and puts it on the clipboard, so a session in the app turns into a script you can rerun next week:</p>



<pre class="wp-block-code"><code>players = dfs.loadProjections("data/sample_DFF_NFL.csv");
&#91;lineups, summary, exposure] = dfs.generateLineups(players, 20, ...
    Site="DraftKings", SalaryCap=50000, OwnershipWeight=0.05, StackSize=1, BringBack=1, ...
    AvoidQBvsDST=true, MaxExposure=0.5, MinUnique=3, Randomness=0.1, Seed=1);</code></pre>



<h2 id="the-levers-one-constraint-each" class="wp-block-heading">The levers, one constraint each</h2>



<p class="wp-block-paragraph">The app is a thin layer over a package called <code>+dfs</code>, and every lever is a name-value option on <code>dfs.optimizeLineup</code>. Each one is a single linear constraint on the same binary variables the 2022 script used. Plain words first, then the code, lever by lever.</p>



<p class="wp-block-paragraph"><strong>Stack.</strong> For every quarterback in the pool, &#8220;the number of his own receivers and tight ends you pick is at least k times whether you picked him.&#8221; When you don&#8217;t pick him the right side is zero and the constraint sleeps. When you do, it demands k partners. No big-M tricks, one row per QB.</p>



<pre class="wp-block-code"><code>L = dfs.optimizeLineup(players, StackSize=2);</code></pre>



<p class="wp-block-paragraph"><strong>Bring-back.</strong> The same shape, aimed at the opponent&#8217;s skill players. It bets on a shootout.</p>



<pre class="wp-block-code"><code>L = dfs.optimizeLineup(players, StackSize=1, BringBack=1);</code></pre>



<p class="wp-block-paragraph"><strong>No QB against your own defense.</strong> A pairwise exclusion: QB plus the opposing defense is at most one. Your defense scores when his offense fails. Do not root against yourself.</p>



<pre class="wp-block-code"><code>L = dfs.optimizeLineup(players, AvoidQBvsDST=true);</code></pre>



<p class="wp-block-paragraph"><strong>Ownership penalty.</strong> Instead of maximizing projection, maximize projection minus lambda times projected ownership. On the sample slate, a lambda of 0.05 with a two-man game stack gives up 3.8 points and sheds 23 points of summed ownership.</p>



<pre class="wp-block-code"><code>&#91;L, info] = dfs.optimizeLineup(players, OwnershipWeight=0.05);</code></pre>



<p class="wp-block-paragraph"><strong>Exposure and uniqueness.</strong> When you build twenty lineups in a row, each new solve gets two extra rules: players at their exposure cap sit out, and &#8220;the overlap with every earlier lineup is at most nine minus u players.&#8221;</p>



<pre class="wp-block-code"><code>&#91;lineups, summary, exposure] = dfs.generateLineups(players, 20, MaxExposure=0.4, MinUnique=3);</code></pre>



<p class="wp-block-paragraph"><strong>FanDuel.</strong> Different cap, a four-per-team limit, three-team minimum. One word.</p>



<pre class="wp-block-code"><code>L = dfs.optimizeLineup(players, Site="FanDuel");</code></pre>



<p class="wp-block-paragraph">If you like your math in one block, this is the whole model:</p>



<pre class="wp-block-code"><code>maximize    sum_i (p_i - lambda * o_i) x_i
subject to  sum_i x_i = 9
            1 QB, 1 DST, 2-3 RB, 3-4 WR, 1-2 TE
            sum_i s_i x_i &lt;= cap
            players from at least 2 games            (DraftKings)
            at most 4 per team, at least 3 teams     (FanDuel)
            partners of QB q  &gt;= k * x_q             (stack)
            opponents of QB q &gt;= b * x_q             (bring-back)
            x_q + DST facing q &lt;= 1                  (no QB vs DST)
            overlap with earlier lineup &lt;= 9 - u     (uniqueness)
            x_i in {0, 1}</code></pre>



<p class="wp-block-paragraph">The FLEX spot isn&#8217;t a variable. It&#8217;s the slack between each position&#8217;s base count and its maximum, pinned by the total of nine. That trick was in the 2022 script and it&#8217;s still the reason the model stays at one variable per player.</p>



<p class="wp-block-paragraph">The academic version, stacking constraints included, is Hunter, Vielma and Zaman&#8217;s <a href="https://arxiv.org/abs/1604.01455">&#8220;Picking Winners in Daily Fantasy Sports Using Integer Programming&#8221;</a> from MIT. The levers above are the practical subset every serious optimizer ends up with.</p>



<h2 id="trust-then-verify" class="wp-block-heading">Trust, then verify</h2>



<p class="wp-block-paragraph">Two things happen after every solve, and both are new.</p>



<p class="wp-block-paragraph">First, the code checks the solver&#8217;s exit flag and refuses to hand you a lineup the solver didn&#8217;t actually finish. Second, the lineup goes through <code>dfs.validateLineup</code>, a function that knows nothing about the solver. It counts positions, adds salary, checks the games and teams, and complains in plain English if anything is off. If the solver and the validator ever disagree, you get an error, not a lineup.</p>



<p class="wp-block-paragraph">There are 22 tests. The one I care about most feeds the same slate to the 2022 formulation and the new one and asserts they return the same players and the same 176.4 points. The model got a lot of new rules, but the old answer didn&#8217;t move.</p>



<h2 id="the-other-user-a-coding-agent" class="wp-block-heading">The other user: a coding agent</h2>



<p class="wp-block-paragraph">MathWorks ships the <a href="https://github.com/matlab/matlab-agentic-toolkit">MATLAB Agentic Toolkit</a>. It does two things. It installs the MATLAB MCP Server, which gives a coding agent (Claude Code, GitHub Copilot, Codex, Gemini CLI, Amp) a live MATLAB session it can run code in, lint with, and test through. And it installs skills: curated MathWorks knowledge so the agent writes idiomatic MATLAB and stops inventing toolbox functions.</p>



<p class="wp-block-paragraph">I used two of those skills to build the refresh. <code>matlab-solve-optimization</code> is where &#8220;check the exit flag, then validate independently&#8221; comes from. <code>matlab-build-app</code> is where the app&#8217;s layout comes from (it calls the sidebar-plus-display shape an Explorer, and it&#8217;s right). The skills read like design documents from someone who has built a lot of MATLAB apps and solved a lot of optimization problems, which is what they are.</p>



<p class="wp-block-paragraph">Setting it up takes three steps:</p>



<ol class="wp-block-list">
<li>Download <a href="https://github.com/matlab/agentic-toolkit-installer">agenticToolkitInstaller.mltbx</a>, open it in MATLAB, and run <code>setupAgenticToolkit("install")</code>. Pick the skill groups you want; for this repo that&#8217;s Math and Optimization, MATLAB App Building, and MATLAB Core. (The installer is shared with the Simulink Agentic Toolkit, which is why the download lives in that repo&#8217;s releases.)</li>



<li>In MATLAB, run <code>shareMATLABSession()</code> so the agent works in the session you can see.</li>



<li>Open the repo in your agent. There&#8217;s an <code>AGENTS.md</code> (and a <code>CLAUDE.md</code> for Claude Code) that gives it the map, the rules for changes, and prompts that work.</li>
</ol>



<p class="wp-block-paragraph">Then you stop clicking and start asking. This is a real exchange from my session, with the agent driving MATLAB through the MCP server:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Me:</strong> Load the sample slate, build 20 DraftKings tournament lineups with a 2-man stack, 40% max exposure and 3 unique players per pair, and tell me the five players where my exposure is furthest above projected ownership.</p>



<p class="wp-block-paragraph"><strong>Agent:</strong> Built 20 lineups (164.2 to 173.1 projected points, summed ownership 106% to 187%). Your biggest leverage plays:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Name</th><th>Pos</th><th>Team</th><th>Exposure</th><th>Field</th><th>Leverage</th></tr></thead><tbody><tr><td>Nico Ironwood</td><td>WR</td><td>IND</td><td>40%</td><td>1.7%</td><td>+38.3</td></tr><tr><td>Cameron Quillon</td><td>WR</td><td>DEN</td><td>40%</td><td>7.5%</td><td>+32.5</td></tr><tr><td>Gideon Okafor</td><td>WR</td><td>LAR</td><td>40%</td><td>7.7%</td><td>+32.3</td></tr><tr><td>Elliot Ashcombe</td><td>TE</td><td>MIA</td><td>40%</td><td>8.7%</td><td>+31.3</td></tr><tr><td>Xavi Fenwick</td><td>WR</td><td>NO</td><td>40%</td><td>11.7%</td><td>+28.3</td></tr></tbody></table></figure>
</blockquote>



<p class="wp-block-paragraph">The names are fake because the slate is synthetic. The workflow isn&#8217;t. The agent called <code>dfs.generateLineups</code>, sorted the exposure table by leverage, and showed me the top five. Then I asked it to add a rule I had been meaning to write for a year (cap the players from any one game), and it added the constraint, a validator clause, and a test, ran the suite, and reported 23 of 23.</p>



<p class="wp-block-paragraph">The README&#8217;s &#8220;getting started&#8221; section used to be steps for a person. Now the useful section is a list of prompts, each of which is a claim the agent can check by running the code.</p>



<h2 id="the-caveats-because-its-still-football" class="wp-block-heading">The caveats, because it&#8217;s still football</h2>



<p class="wp-block-paragraph">Projections are still projections. The optimizer is only as good as the numbers you feed it, and the numbers are a mean over a game that hasn&#8217;t happened.</p>



<p class="wp-block-paragraph">The Monte Carlo view uses per-position volatility guesses (quarterbacks are steadier than tight ends, defenses are chaos) that I picked, not measured. They&#8217;re labeled as working values in the code. Replace them with your own standard deviations if you have them; the simulator will use a <code>StdDev</code> column if it finds one.</p>



<p class="wp-block-paragraph">The stacking wisdom is what the DFS sites and the MIT paper agree on, but the correlation numbers you see quoted around the internet are site-reported, not something I verified. Treat the levers as structure, not as guarantees.</p>



<p class="wp-block-paragraph">And the sample slate&#8217;s players don&#8217;t exist. Please do not roster Nico Ironwood.</p>



<h2 id="go-build-one" class="wp-block-heading">Go build one</h2>



<p class="wp-block-paragraph">The code is MIT-licensed at <a href="https://github.com/nothans/dfs-optimizer">github.com/nothans/dfs-optimizer</a> and on <a href="https://www.mathworks.com/matlabcentral/fileexchange/117835-dfs-fantasy-football-lineup-optimizer">MATLAB File Exchange</a>. The <a href="https://nothans.com/win-at-dfs-by-optimizing-your-fantasy-football-lineups">2022 post</a> is still there if you want to optimize a lineup.</p>



<p class="wp-block-paragraph">Download a slate, run the Tournament preset, look at the exposure chart, and then argue with it. Let me know what your lineup looked like, and send a pull request if you teach it a new trick.</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/dfs-fantasy-football-optimization-agentic-ai-matlab-optimization-toolbox/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5732</post-id>	</item>
		<item>
		<title>Claude Code and Agent Skills for Electron App Development: Your Desktop App Just Got a Cheat Code</title>
		<link>https://nothans.com/claude-code-and-agent-skills-for-electron-app-development-your-desktop-app-just-got-a-cheat-code</link>
					<comments>https://nothans.com/claude-code-and-agent-skills-for-electron-app-development-your-desktop-app-just-got-a-cheat-code#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 02 Mar 2026 00:14:19 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Agent Skills]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[Compound Engineering]]></category>
		<category><![CDATA[ElectronJS]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5336</guid>

					<description><![CDATA[Claude Code agent skills and subagents for Electron app development, like electron-scaffold and electron-pro, with install steps and how to write your own.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I&#8217;ve been thinking about <a href="https://nothans.com/compound-engineering-what-if-every-project-made-the-next-one-easier">Compound Engineering</a> a lot lately. This is the idea that every project should make the next one easier. And right now, there&#8217;s no better example of that than what&#8217;s happening with Claude Code, Agent Skills, and Electron app development.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="600" data-attachment-id="5967" data-permalink="https://nothans.com/claude-code-skills-electron-featured-v2-5x4-1" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?fit=2000%2C1600&amp;ssl=1" data-orig-size="2000,1600" data-comments-opened="0" data-image-title="Claude Code skills for Electron apps" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?fit=750%2C600&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=750%2C600&#038;ssl=1" alt="Claude Code skills for Electron apps: a desktop app window with skill cards beside it" class="wp-image-5967" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?w=2000&amp;ssl=1 2000w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=300%2C240&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=1024%2C819&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=768%2C614&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=1536%2C1229&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=750%2C600&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=1320%2C1056&amp;ssl=1 1320w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/11/claude-code-skills-electron-featured-v2-5x4-1.png?resize=80%2C64&amp;ssl=1 80w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph">Here&#8217;s the irony that got me started down this rabbit hole. Anthropic&#8217;s own Claude desktop app? It&#8217;s an Electron app. Boris Cherny from the Claude Code team <a href="https://news.ycombinator.com/item?id=47104973">confirmed it on Hacker News</a>. The framework that everyone loves to hate is still the pragmatic choice. That tension tells you something important about where we actually are with AI-assisted development.</p>



<h2 id="the-groundhog-day-problem-electron-edition" class="wp-block-heading">The Groundhog Day Problem (Electron Edition)</h2>



<p class="wp-block-paragraph">Every Electron project starts the same way. You configure <code>BrowserWindow</code> with <code>contextIsolation: true</code> and <code>nodeIntegration: false</code>. You write a preload script with <code>contextBridge.exposeInMainWorld</code>. You set up IPC channels. You configure Content Security Policy headers. You wrestle with <code>electron-builder.yml</code>. You set up code signing. You do this from memory, or you copy-paste from your last project, or you spend an hour on Stack Overflow re-finding the patterns you already know.</p>



<p class="wp-block-paragraph">I called this the Groundhog Day Problem in my Compound Engineering post. Sixty to eighty percent of what you do on a new project, you&#8217;ve already done before. And yet, every time, you start from scratch.</p>



<p class="wp-block-paragraph">Agent Skills fix this. They aren’t templates, and templates are dead things. Skills are living context that Claude Code loads on demand when it recognizes you&#8217;re doing Electron work.</p>



<h2 id="what-are-agent-skills-the-60second-version" class="wp-block-heading">What Are Agent Skills? (The 60-Second Version)</h2>



<p class="wp-block-paragraph">If you haven&#8217;t been following the Agent Skills story, here&#8217;s the short version.</p>



<p class="wp-block-paragraph">A skill is a folder with a <code>SKILL.md</code> file. It contains YAML frontmatter (name, description) and markdown instructions that Claude follows when the skill activates. Anthropic released Agent Skills as an <a href="https://agentskills.io">open standard</a> in December 2025, and it&#8217;s been adopted by over 26 platforms: Claude Code, OpenAI Codex, Gemini CLI, GitHub Copilot, Cursor, VS Code, and more.</p>



<p class="wp-block-paragraph">The key design principle is progressive disclosure. Only the skill&#8217;s name and description load at startup, roughly 30 to 50 tokens per skill. The full <code>SKILL.md</code> loads only when triggered. Reference files and scripts load only when needed during execution. This means you can have dozens of skills installed without bloating your context window.</p>



<p class="wp-block-paragraph">Think of it like an onboarding guide for a new team member, except the new team member is an AI agent that reads and follows instructions instantly.</p>



<h2 id="the-electron-skill-stack" class="wp-block-heading">The Electron Skill Stack</h2>



<p class="wp-block-paragraph">There&#8217;s already a growing ecosystem of skills and subagents built for Electron development. These are the ones worth knowing about, with the install steps for each.</p>



<h3 id="1-electronscaffold" class="wp-block-heading">1. electron-scaffold</h3>



<p class="wp-block-paragraph"><strong>What it does:</strong> Scaffolds production-ready Electron apps with security hardening baked in from the start. It handles the architecture decisions (Electron Forge vs. Vite vs. electron-builder), sets up proper IPC patterns with <code>contextBridge</code>, configures CSP headers, enables context isolation, sets up auto-updates, integrates native menus, and generates the full project structure with TypeScript support.</p>



<p class="wp-block-paragraph"><strong>Why it matters:</strong> This is the security-first scaffolding that most tutorials skip. It encodes the difference between a toy Electron app and one that&#8217;s ready for distribution.</p>



<p class="wp-block-paragraph"><strong>How to install:</strong></p>



<p class="wp-block-paragraph">Using the Vercel skills CLI (works across Claude Code, Codex, Cursor, and others):</p>



<pre class="wp-block-code"><code>npx skills add chrisvoncsefalvay/claude-skills --skill electron-scaffold</code></pre>



<p class="wp-block-paragraph">Or manually: download <a href="https://github.com/chrisvoncsefalvay/claude-skills/raw/main/electron-scaffold.zip">electron-scaffold.zip</a> from the author&#8217;s <a href="https://github.com/chrisvoncsefalvay/claude-skills">GitHub repo</a>, extract the ZIP, and drop the folder into <code>~/.claude/skills/</code>.</p>



<p class="wp-block-paragraph">For Claude.ai users, go to <a href="https://claude.ai/settings/capabilities">claude.ai/settings/capabilities</a>, find the Skills section, and upload the downloaded ZIP.</p>



<h3 id="2-electronpro-subagent" class="wp-block-heading">2. electron-pro (Subagent)</h3>



<p class="wp-block-paragraph"><strong>What it does:</strong> This isn&#8217;t a skill. It&#8217;s a full subagent. Think of it as a senior Electron developer persona with deep expertise in Electron 27+ and native OS integrations. It follows a phased approach: understanding your requirements, designing secure architecture, implementing with a full security checklist (context isolation, CSP, IPC validation, code signing), and packaging for multi-platform distribution.</p>



<p class="wp-block-paragraph"><strong>Why it matters:</strong> It&#8217;s the difference between asking Claude to &#8220;make an Electron app&#8221; and having a dedicated Electron specialist with a checklist that covers everything from memory budgets to auto-update rollback strategies.</p>



<p class="wp-block-paragraph"><strong>How to install:</strong></p>



<p class="wp-block-paragraph">Download the subagent file directly from <a href="https://github.com/VoltAgent/awesome-claude-code-subagents/blob/main/categories/01-core-development/electron-pro.md">VoltAgent&#8217;s repository</a> and save it to your agents directory:</p>



<pre class="wp-block-code"><code>mkdir -p ~/.claude/agents
curl -o ~/.claude/agents/electron-pro.md \
  https:&#47;&#47;raw.githubusercontent.com/VoltAgent/awesome-claude-code-subagents/main/categories/01-core-development/electron-pro.md</code></pre>



<p class="wp-block-paragraph">Or use the built-in agent installer in Claude Code by typing <code>/agents</code> and creating a new agent from the file.</p>



<h3 id="3-fullstack-electron-skill-partmeai" class="wp-block-heading">3. Full-Stack Electron Skill (partme-ai)</h3>



<p class="wp-block-paragraph"><strong>What it does:</strong> A comprehensive Electron reference skill organized to mirror the official Electron documentation structure. It covers everything: main process, renderer process, IPC communication, <code>BrowserWindow</code> management, menus, tray icons, native integrations, packaging with ASAR, electron-builder configuration, code signing, auto-updates, debugging, memory profiling, crash reporting, and security best practices including sandboxing and CSP.</p>



<p class="wp-block-paragraph"><strong>Why it matters:</strong> This is the one that turns Claude Code into something like having the entire Electron docs loaded as contextual intelligence. Instead of searching docs, Claude just <em>knows</em> the right patterns.</p>



<p class="wp-block-paragraph"><strong>How to install:</strong></p>



<p class="wp-block-paragraph">The skill has since left the partme-ai GitHub repo, so the skills CLI no longer finds it. LobeHub still serves a copy:</p>



<pre class="wp-block-code"><code>mkdir -p ~/.claude/skills/partme-ai-full-stack-skills-electron &amp;&amp; \
curl -fsSL "https://market.lobehub.com/api/v1/skills/partme-ai-full-stack-skills-electron/download" \
  -o /tmp/electron-skill.zip &amp;&amp; \
unzip -o /tmp/electron-skill.zip \
  -d ~/.claude/skills/partme-ai-full-stack-skills-electron</code></pre>



<h3 id="4-electrons-own-claudemd" class="wp-block-heading">4. Electron&#8217;s Own CLAUDE.md</h3>



<p class="wp-block-paragraph"><strong>What it does:</strong> The Electron framework itself ships a <code>CLAUDE.md</code> in its repository. This teaches Claude Code the Electron project&#8217;s structure: where the C++ shell code lives, how TypeScript implementations map to API modules, how to work with the 159+ Chromium patches and 48+ Node.js patches, and the build workflow using <code>@electron/build-tools</code>. It even includes a dedicated &#8220;Electron Chromium Upgrade&#8221; skill for Chromium version bumps.</p>



<p class="wp-block-paragraph"><strong>Why it matters:</strong> This is a real-world example of a major open source project using <code>CLAUDE.md</code> to encode institutional knowledge. If you&#8217;re contributing to Electron itself, or if you want inspiration for structuring your own project&#8217;s <code>CLAUDE.md</code>, this is the gold standard.</p>



<p class="wp-block-paragraph"><strong>How to access:</strong> No installation needed. It&#8217;s in the <a href="https://github.com/electron/electron/blob/main/CLAUDE.md">Electron repo</a>. But the pattern is what matters. Your own Electron app should have a <code>CLAUDE.md</code> at the project root that teaches Claude Code about your specific architecture, IPC channel naming conventions, and build setup.</p>



<h3 id="5-electron-fsd-react-19" class="wp-block-heading">5. Electron FSD + React 19</h3>



<p class="wp-block-paragraph"><strong>What it does:</strong> A specialized skill for building Electron apps using Feature-Sliced Design architecture combined with React 19 patterns. It enforces a clean separation of concerns across the three-process model (Main, Preload, Renderer) while implementing strict FSD layer responsibilities. Covers modern React patterns like the <code>use()</code> hook and <code>useActionState</code>.</p>



<p class="wp-block-paragraph"><strong>Why it matters:</strong> If your Electron app is a React app (and let&#8217;s be honest, a lot of them are), this skill bridges the gap between &#8220;generic Electron best practices&#8221; and &#8220;how to actually structure a complex React-based desktop application.&#8221;</p>



<p class="wp-block-paragraph"><strong>How to install:</strong></p>



<p class="wp-block-paragraph">Available on <a href="https://mcpmarket.com/tools/skills/electron-fsd-development">MCPMarket</a>. Download the skill ZIP and extract it:</p>



<pre class="wp-block-code"><code>mkdir -p ~/.claude/skills/electron-fsd-development
# Extract the downloaded ZIP into the directory above</code></pre>



<p class="wp-block-paragraph">Or upload it directly as a skill in Claude.ai settings.</p>



<h2 id="building-your-own-electron-skills" class="wp-block-heading">Building Your Own Electron Skills</h2>



<p class="wp-block-paragraph">The pre-built skills get you started, but the real compounding happens when you build your own. You already have the knowledge. It&#8217;s locked in your head.</p>



<p class="wp-block-paragraph">That IPC channel naming convention you use across every project? That&#8217;s a skill. Your <code>electron-builder.yml</code> that took you a weekend to get right? That&#8217;s a skill. The way you structure preload scripts for your team? Skill.</p>



<p class="wp-block-paragraph">Here&#8217;s what a simple custom Electron skill looks like:</p>



<pre class="wp-block-code"><code>---
name: my-electron-conventions
description: Project conventions for Electron IPC channels,
  preload patterns, and build configuration. Use when creating
  new IPC handlers, preload scripts, or modifying build config.
---

# Electron Project Conventions

## IPC Channel Naming
- Use colon-separated namespaces: `app:get-version`, `file:open`
- Prefix with `dialog:` for user-facing dialogs
- Prefix with `store:` for persistent data operations

## Preload Script Pattern
- One preload file per window type
- Always use `contextBridge.exposeInMainWorld`
- Never expose raw `ipcRenderer`

## Build Configuration
- Target: DMG for macOS, NSIS for Windows, AppImage for Linux
- Always enable `hardenedRuntime` on macOS
- Auto-updater points to GitHub Releases</code></pre>



<p class="wp-block-paragraph">Save that to <code>~/.claude/skills/my-electron-conventions/SKILL.md</code> and it&#8217;s active globally across all your projects. Or put it in your project&#8217;s <code>.claude/skills/</code> directory to scope it to one repo.</p>



<p class="wp-block-paragraph">Since this follows the Agent Skills open standard, it also works in Codex, Cursor, Gemini CLI, and anywhere else that supports the spec.</p>



<h2 id="what-happens-when-you-actually-use-them" class="wp-block-heading">What Happens When You Actually Use Them</h2>



<p class="wp-block-paragraph">Stephan Miller <a href="https://www.stephanmiller.com/electron-project-from-scratch-with-claude-code/">documented building an Electron writing app</a> from scratch with Claude Code: 16 hours and $80 in API costs. His biggest lesson? Planning saves time. He had to stop and refactor his <code>CLAUDE.md</code> because the project outgrew his initial architecture.</p>



<p class="wp-block-paragraph">Skills encode that planning. They front-load the decisions so you don&#8217;t have to make them again. With the Electron skills loaded, Claude Code doesn&#8217;t just generate code. It generates <em>correct</em> code with context isolation enabled, CSP headers configured, proper IPC patterns, and a project structure that scales.</p>



<p class="wp-block-paragraph">This is the compound engineering flywheel in action. Project 1, you build everything from scratch and learn the hard way. By project 3, your skills are doing the heavy lifting. By project 5, you describe what you want and the system drafts the first 70% with security baked in. You refine, you polish, you add the creative spark.</p>



<h2 id="the-meta-question-should-ai-kill-electron" class="wp-block-heading">The Meta Question: Should AI Kill Electron?</h2>



<p class="wp-block-paragraph">Drew Breunig <a href="https://www.dbreunig.com/2026/02/21/why-is-claude-an-electron-app.html">wrote a post</a> asking why Anthropic doesn&#8217;t use Claude to build a native desktop app instead. If coding agents are so good, why not generate native apps for each platform from a spec and test suite?</p>



<p class="wp-block-paragraph">The answer is pragmatic. Agents excel at the first 90% of development, but that last 10% (edge cases, real-world testing, ongoing support) is still hard. And with three different native apps, your bug surface area triples. Electron still makes sense for most teams.</p>



<p class="wp-block-paragraph">But here&#8217;s what skills change about the equation: they make Electron <em>better</em>. The security hardening that would normally be forgotten? A skill remembers it. The IPC patterns that would normally be sloppy? A skill enforces them. The packaging configuration that would normally be a weekend of trial and error? A skill has it pre-encoded.</p>



<p class="wp-block-paragraph">Agent Skills don&#8217;t make Electron obsolete. They make Electron apps that feel like they were built by a team that actually cares about security and native integration.</p>



<h2 id="start-the-flywheel" class="wp-block-heading">Start the Flywheel</h2>



<p class="wp-block-paragraph">Here&#8217;s your homework. This week, install one of the Electron skills I listed above. Or better yet, write one. Take that <code>electron-builder.yml</code> you&#8217;ve tweaked fifty times. That preload script pattern you copy from project to project. That IPC naming convention that lives in your team&#8217;s heads.</p>



<p class="wp-block-paragraph">Codify it. Make it a <code>SKILL.md</code>. Drop it in <code>~/.claude/skills/</code>. Watch what happens on the next project.</p>



<p class="wp-block-paragraph">If you want to get started quickly, here are all the install commands in one place:</p>



<pre class="wp-block-code"><code># electron-scaffold (security-first scaffolding)
npx skills add chrisvoncsefalvay/claude-skills --skill electron-scaffold

# Full-Stack Electron reference (partme-ai, from LobeHub)
mkdir -p ~/.claude/skills/partme-ai-full-stack-skills-electron &amp;&amp; curl -fsSL "https://market.lobehub.com/api/v1/skills/partme-ai-full-stack-skills-electron/download" -o /tmp/electron-skill.zip &amp;&amp; unzip -o /tmp/electron-skill.zip -d ~/.claude/skills/partme-ai-full-stack-skills-electron

# electron-pro subagent
mkdir -p ~/.claude/agents &amp;&amp; curl -o ~/.claude/agents/electron-pro.md \
  https:&#47;&#47;raw.githubusercontent.com/VoltAgent/awesome-claude-code-subagents/main/categories/01-core-development/electron-pro.md

# Your own custom skill
mkdir -p ~/.claude/skills/my-electron-conventions
# Then create SKILL.md with your conventions</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/claude-code-and-agent-skills-for-electron-app-development-your-desktop-app-just-got-a-cheat-code/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5336</post-id>	</item>
		<item>
		<title>Happy Birthday, Claude Code. The Agentic Coding Platform Turns One.</title>
		<link>https://nothans.com/happy-birthday-claude-code-the-agentic-coding-platform-turns-one</link>
					<comments>https://nothans.com/happy-birthday-claude-code-the-agentic-coding-platform-turns-one#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 18 Feb 2026 16:26:03 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Agentic Coding]]></category>
		<category><![CDATA[Anthropic]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[GenAI]]></category>
		<category><![CDATA[Generative AI]]></category>
		<category><![CDATA[Sonnet]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5321</guid>

					<description><![CDATA[Happy birthday, Claude Code. A year after the February 24, 2025 research preview, how the agentic coding tool changed my year, and the card I made it.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">One year ago, we heard rumors about a new language model from Anthropic. It turned out to be <a href="https://www.anthropic.com/news/claude-3-7-sonnet">Sonnet 3.7</a>. But Anthropic pulled, wait, there&#8217;s more, and dropped <em>Claude Code</em> as a Research Preview.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="422" data-attachment-id="5324" data-permalink="https://nothans.com/happy-birthday-claude-code-the-agentic-coding-platform-turns-one/image-90" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?fit=1920%2C1080&amp;ssl=1" data-orig-size="1920,1080" data-comments-opened="0" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?fit=750%2C422&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=750%2C422&#038;ssl=1" alt="Claude Code research preview welcome screen in a terminal with large orange block letters and Login successful, press Enter" class="wp-image-5324" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=1536%2C864&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=750%2C422&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=480%2C270&amp;ssl=1 480w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?resize=1320%2C743&amp;ssl=1 1320w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-2.png?w=1920&amp;ssl=1 1920w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">Claude Code Research Preview: February 24, 2025</figcaption></figure>
</div>


<p class="wp-block-paragraph">Claude Code might be the most significant event of 2025 in the field of AI. For me, it changed the course of the year and led me to unthinkable places. I followed every twist and turn and stayed on top of the wave. What an amazing tool that delivers on its promise. It amplifies and scales your ability, keeps you moving forward, and leads to some serious compounding.</p>



<figure class="wp-block-image size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="422" data-attachment-id="5322" data-permalink="https://nothans.com/happy-birthday-claude-code-the-agentic-coding-platform-turns-one/image-88" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?fit=1920%2C1080&amp;ssl=1" data-orig-size="1920,1080" data-comments-opened="0" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?fit=750%2C422&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=750%2C422&#038;ssl=1" alt="Roadmap curve: Claude assists in 2024, Claude collaborates in 2025, and Claude pioneers in 2027" class="wp-image-5322" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=1024%2C576&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=1536%2C864&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=750%2C422&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=480%2C270&amp;ssl=1 480w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?resize=1320%2C743&amp;ssl=1 1320w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image.png?w=1920&amp;ssl=1 1920w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">We are here.</figcaption></figure>



<p class="wp-block-paragraph">An overlooked impact of AI is its compounding nature. From the first prompt, where everything is wrong. But, slowly, you learn, you figure out how to harness. At some point, you forget about the first hallucination, and you are in a new spot. When I talk to others, I can immediately tell where they are on the curve by how they talk about these tools. A scary thing, though, is how far behind you can get, and that you might not be able to catch up to those who have started. If you do anything this month, go down the bumpy road and get on the other side.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" width="718" height="1024" data-attachment-id="5323" data-permalink="https://nothans.com/happy-birthday-claude-code-the-agentic-coding-platform-turns-one/image-89" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?fit=864%2C1232&amp;ssl=1" data-orig-size="864,1232" data-comments-opened="0" data-image-title="Happy Birthday, Claude Code" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?fit=718%2C1024&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?resize=718%2C1024&#038;ssl=1" alt="Pixel art birthday card: an orange creature in a party hat above the words Happy Birthday, Claude Code" class="wp-image-5323" style="width:396px;height:auto" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?resize=718%2C1024&amp;ssl=1 718w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?resize=210%2C300&amp;ssl=1 210w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?resize=768%2C1095&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?resize=750%2C1069&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2026/02/image-1.png?w=864&amp;ssl=1 864w" sizes="auto, (max-width: 718px) 100vw, 718px" /><figcaption class="wp-element-caption">It&#8217;s the least I could do&#8230; I made you a card.</figcaption></figure>
</div>


<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/happy-birthday-claude-code-the-agentic-coding-platform-turns-one/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5321</post-id>	</item>
		<item>
		<title>Introducing Clause Code &#8212; The Christmas Themed Coding Agent That You&#8217;ve Been Waiting For</title>
		<link>https://nothans.com/introducing-clause-code</link>
					<comments>https://nothans.com/introducing-clause-code#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 06 Nov 2025 01:59:47 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[cheerlights]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Claude Code]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5236</guid>

					<description><![CDATA[Clause Code is the Christmas-themed coding agent I built to learn the Anthropic SDK: festive terminal output, Santa and Grinch modes, and advent challenges.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Part of riding the Generative AI wave is learning how to build my own tools. I have been using Claude Code since February, and it occurred to me that I have never built my own coding agent. Anthropic provides all of the pieces of the puzzle: APIs, SDKs, and Python Packages. And since I always try to be funny&#8230; I thought it would be funny to create Clause Code&#8230; see how funny I am? <em>See</em>!?</p>



<p class="wp-block-paragraph">So, Clause Code is my attempt to learn the Anthropic SDK and add a little Christmas magic to coding.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><a href="https://github.com/nothans/clause-code"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="794" data-attachment-id="5237" data-permalink="https://nothans.com/introducing-clause-code/image-70" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-3.png?fit=765%2C810&amp;ssl=1" data-orig-size="765,810" data-comments-opened="0" data-image-title="Clause Code Screenshot" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-3.png?fit=750%2C794&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-3.png?resize=750%2C794&#038;ssl=1" alt="Clause Code v1.0.0 welcome screen in PowerShell with an ASCII Christmas tree, Claude Sonnet 4.5 model, and getting-started tips" class="wp-image-5237" style="width:765px;height:auto" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-3.png?w=765&amp;ssl=1 765w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-3.png?resize=283%2C300&amp;ssl=1 283w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-3.png?resize=750%2C794&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption"><a href="https://github.com/nothans/clause-code">Clause Code</a></figcaption></figure>
</div>


<h2 id="why-dont-i-just-let-clause-code-tell-you-about-clause-code" class="wp-block-heading">Why don&#8217;t I just let <em>Clause Code</em> tell you about <em>Clause Code</em>?</h2>



<p class="wp-block-paragraph">Clause Code transforms your coding workflow into a delightful holiday experience. Every interaction features festive ASCII art, and cheerful status messages like &#8220;Sleighing…&#8221; and &#8220;Jingling…&#8221; while Claude thinks. It&#8217;s like having Santa&#8217;s workshop right in your terminal!</p>



<p class="wp-block-paragraph">Clause Code automatically detects when Claude generates code and extracts it into the right files. Just ask &#8220;Create a Flask app with authentication&#8221; and watch as it generates and writes app.py, auth.py, requirements.txt and more &#8211; all organized in your project folder. No more copy-pasting from chat windows!</p>



<p class="wp-block-paragraph">Beautiful Syntax Highlighting Code is rendered with rich syntax highlighting using the Monokai theme, making every snippet easy to read and understand. Whether it&#8217;s Python, JavaScript, Rust, or any other language, your code looks gorgeous in the terminal. </p>



<h2 id="clause-code-modes" class="wp-block-heading">Clause Code Modes</h2>



<ul class="wp-block-list">
<li>Santa Mode <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f385.png" alt="🎅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> &#8211; Full festive experience with maximum holiday cheer (/santa)</li>



<li>Grinch Mode <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2699.png" alt="⚙" class="wp-smiley" style="height: 1em; max-height: 1em;" /> &#8211; Minimal, professional output when you need to focus (/grinch)</li>



<li>December Advent Calendar <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f381.png" alt="🎁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> &#8211; Throughout December, use /advent to unlock daily coding challenges with a festive twist. It&#8217;s like an advent calendar for developers &#8211; a new challenge each day! </li>
</ul>



<p class="wp-block-paragraph">I did learn a lot building this coding agent. For one, I learned how Anthropic is building these cool terminal apps. I totally missed that developers were making terminal apps. I discovered Textualize/rich (<a href="https://github.com/Textualize/rich">https://github.com/Textualize/rich</a>) and other techniques that make the terminal interactive. </p>



<h2 id="how-to-use-clause-code" class="wp-block-heading">How To Use Clause Code</h2>



<ul class="wp-block-list">
<li>Copy <a href="https://github.com/nothans/clause-code">Clause Code</a> to your machine, navigate to that folder, and set your Anthropic API Key</li>



<li>Run the app with <em>uv sync</em> and <em>uv run clause-code</em></li>



<li>Set a project folder with /project</li>



<li>Send in a prompt</li>
</ul>



<h2 id="demo-time" class="wp-block-heading">Demo Time</h2>



<p class="wp-block-paragraph">Of course, I am going to make a<a href="https://cheerlights.com"> CheerLights</a> project with my very own Clause Code coding agent.</p>



<p class="wp-block-paragraph">Here&#8217;s my prompt:</p>



<pre class="wp-block-code"><code>build a web page that reads the cheerlights color from thingspeak and set its background to it. in the foreground show me falling snow using css.</code></pre>



<p class="wp-block-paragraph">With a bit of Christmas magic, I will get a webpage that gives me just what I wanted this year for Christmas. Or, maybe have been naughty and using a quantized model at peak hours of the day <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="662" height="705" data-attachment-id="5238" data-permalink="https://nothans.com/introducing-clause-code/image-71" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-4.png?fit=662%2C705&amp;ssl=1" data-orig-size="662,705" data-comments-opened="0" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-4.png?fit=662%2C705&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-4.png?resize=662%2C705&#038;ssl=1" alt="Webpage built by Clause Code showing the current CheerLights color, purple #800080, in a large circle with falling snow" class="wp-image-5238" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-4.png?w=662&amp;ssl=1 662w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-4.png?resize=282%2C300&amp;ssl=1 282w" sizes="auto, (max-width: 662px) 100vw, 662px" /><figcaption class="wp-element-caption">CheerLights Webpage Created by Clause Code</figcaption></figure>
</div>


<p class="wp-block-paragraph">Check out the project on <a href="https://github.com/nothans/clause-code">GitHub</a>, feel free to make changes, learn something new, and share the joy. Make sure to use it during December and try out the Advent coding challenge feature!</p>



<figure class="wp-block-embed aligncenter is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" class="youtube-player" title="YouTube video player" width="750" height="422" src="https://www.youtube.com/embed/0qrE0O0OaWo?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox"></iframe>
</div><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0qrE0O0OaWo">Clause Code Building a CheerLights Web Page Video</a></figcaption></figure>



<p class="wp-block-paragraph">A yule console.log() by the fire?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/introducing-clause-code/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5236</post-id>	</item>
		<item>
		<title>The Engineering Super Stack: MATLAB + Visual Studio Code + Claude Code</title>
		<link>https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code</link>
					<comments>https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code#comments</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 03 Nov 2025 23:35:17 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[engineering]]></category>
		<category><![CDATA[Generative AI]]></category>
		<category><![CDATA[GitHub Copilot]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[MATLAB MCP Server]]></category>
		<category><![CDATA[MCP]]></category>
		<category><![CDATA[Visual Studio Code]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5223</guid>

					<description><![CDATA[My MATLAB setup with Claude Code: VS Code, the MATLAB extension, and the MATLAB MCP Core Server, so Claude Code can check, run, and test MATLAB code for me.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">One tool to rule them all? Or, even better, the super stack. Stacking the right set of tools that yield something greater than the parts. For engineering, I use MATLAB, MATLAB Copilot for syntax help, Visual Studio Code with the MATLAB extension installed, and Claude Code running in Visual Studio Code, connected to MATLAB via MCP. </p>



<p class="wp-block-paragraph">Here&#8217;s how I feel rn.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="250" height="188" data-attachment-id="5224" data-permalink="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/image-67" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?fit=250%2C188&amp;ssl=1" data-orig-size="250,188" data-comments-opened="0" data-image-title="A powerful MATLAB engineer" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?fit=250%2C188&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?resize=250%2C188&#038;ssl=1" alt="Animated GIF of a man with raised arms as electric arcs crackle from his hands, showing how the setup feels" class="wp-image-5224" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?w=250&amp;ssl=1 250w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image.png?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 250px) 100vw, 250px" /></figure>
</div>


<p class="wp-block-paragraph">I really feel like I can engineer anything with this setup, helping me build engineered systems. I have tried new toolboxes, built deep learning projects, and improved my MATLAB coding skills by running AI code reviews.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">&#8220;Using MATLAB + Claude Code went from &#8216;vibe coding&#8217; to &#8216;vibration engineering&#8217; &#8212; I was no longer just using AI &#8212;  I learned from it, got pointed in the right direction, and dug in.</p>
<cite>Hans Scharler</cite></blockquote>



<p class="wp-block-paragraph">Here is what you need:</p>



<ul class="wp-block-list">
<li>MATLAB: <a href="https://matlab.mathworks.com">https://matlab.mathworks.com</a></li>



<li>Visual Studio Code: <a href="https://code.visualstudio.com/">https://code.visualstudio.com/</a></li>



<li>Claude Code: <a href="https://www.claude.com/product/claude-code">https://www.claude.com/product/claude-code</a></li>



<li>MATLAB MCP Core Server for Claude Code: <a href="https://github.com/matlab/matlab-mcp-core-server">https://github.com/matlab/matlab-mcp-core-server</a></li>



<li>MATLAB Extension for Visual Studio Code: <a href="https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab">https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab</a></li>
</ul>



<p class="wp-block-paragraph">To build your own super stack, open a new MATLAB project in Visual Studio Code with the MATLAB and the Claude Code extensions enabled. From a terminal in VS Code, run Claude Code. Claude Code will interact with Visual Studio Code via these extensions. In Claude Code, enable the MATLAB MCP Core Server. This will give you five MCP tools to interact with MATLAB. Claude Code will be able to check code, evaluate code, run files, run test files, and detect your local MATLAB&#8217;s toolboxes.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="423" data-attachment-id="5226" data-permalink="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/image-68" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?fit=1680%2C946&amp;ssl=1" data-orig-size="1680,946" data-comments-opened="0" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?fit=750%2C423&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=750%2C423&#038;ssl=1" alt="Visual Studio Code with Claude Code in the terminal asking for three weeks of vibration data, beside MATLAB R2025a showing analyze_vibration.m" class="wp-image-5226" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=1024%2C577&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=1536%2C865&amp;ssl=1 1536w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=750%2C422&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=480%2C270&amp;ssl=1 480w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?resize=1320%2C743&amp;ssl=1 1320w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-1.png?w=1680&amp;ssl=1 1680w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">The Engineering Super Stack: Visual Studio Code + Claude Code + MATLAB</figcaption></figure>
</div>


<p class="wp-block-paragraph">In my vibration project, my team and I created a few files. It has been a minute since I used them, but with Claude Code, I can just get going. It is going to read what I have, learn from the documentation, and do whatever I am looking to do.</p>



<pre class="wp-block-code"><code>Use the vibration model to generate three weeks of vibration data, then use the analyze vibration function to detect any anomalies</code></pre>



<p class="wp-block-paragraph">What&#8217;s great about this workflow is that Claude Code is &#8220;not making up&#8221; a solution; it is leveraging the models that I have built plus constrained in MATLAB, bringing some engineering rigor to the chat. Claude Code is taking advantage of the Signal Processing Toolbox and how it works, rather than trying to figure out signal processing with some scratch code.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="505" data-attachment-id="5227" data-permalink="https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/image-69" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?fit=1132%2C763&amp;ssl=1" data-orig-size="1132,763" data-comments-opened="0" data-image-title="image" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?fit=750%2C505&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=750%2C505&#038;ssl=1" alt="MATLAB figure, Vibration Anomaly Analysis - 3 Weeks: frequency, magnitude, and RMS plots, with 2nd harmonics flagged on days 6, 12, and 18" class="wp-image-5227" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=1024%2C690&amp;ssl=1 1024w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=300%2C202&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=768%2C518&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?resize=750%2C506&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/11/image-2.png?w=1132&amp;ssl=1 1132w" sizes="auto, (max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">MATLAB is showing me the results of a vibration analysis from motor data</figcaption></figure>
</div>


<p class="wp-block-paragraph">One extra benefit of this engineering stack is that I find myself exploring more, trying out other features of MATLAB that I haven&#8217;t used before. I feel way more confident trying something new and then learning how it works. I keep expanding what I know and onboarding into new things, learning, and gaining more experience rather than settling for a static picture. Dynamic.</p>



<p class="wp-block-paragraph">What are your pro tips?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/the-engineering-super-stack-matlab-visual-studio-code-claude-code/feed</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5223</post-id>	</item>
		<item>
		<title>Claude Code Lanches v2.0.0 &#8212; v2.0.1 &#8212; I mean v2.0.2</title>
		<link>https://nothans.com/claude-code-lanches-v2-0-0-v2-0-1-i-mean-v2-0-2</link>
					<comments>https://nothans.com/claude-code-lanches-v2-0-0-v2-0-1-i-mean-v2-0-2#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Wed, 01 Oct 2025 03:08:56 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Claude Code]]></category>
		<category><![CDATA[GenAI]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=5199</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Things are moving quickly. Claude Code had a major release, followed by two quick updates. I used all three over the past 20 hours.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="361" height="175" data-attachment-id="5200" data-permalink="https://nothans.com/claude-code-lanches-v2-0-0-v2-0-1-i-mean-v2-0-2/image-64" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/09/image-1.png?fit=361%2C175&amp;ssl=1" data-orig-size="361,175" data-comments-opened="0" data-image-title="Claude Code v2.0.2" data-image-description="" data-image-caption="" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2025/09/image-1.png?fit=361%2C175&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2025/09/image-1.png?resize=361%2C175&#038;ssl=1" alt="" class="wp-image-5200" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2025/09/image-1.png?w=361&amp;ssl=1 361w, https://i0.wp.com/nothans.com/wp-content/uploads/2025/09/image-1.png?resize=300%2C145&amp;ssl=1 300w" sizes="auto, (max-width: 361px) 100vw, 361px" /><figcaption class="wp-element-caption">Claude Code v2.0.2</figcaption></figure>
</div>


<p class="wp-block-paragraph">Riding the wave is a wild ride.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/claude-code-lanches-v2-0-0-v2-0-1-i-mean-v2-0-2/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">5199</post-id>	</item>
	</channel>
</rss>
