James Montemagno - James Montemagno https://montemagno.com/author/james-montemagno/ https://montemagno.com/content/images/2017/08/MonogramIcon_Orange_NoBuffer.png James Montemagno - James Montemagno https://montemagno.com/author/james-montemagno/ Hugo -- gohugo.io Sat, 28 Nov 2026 09:23:00 GMT 60 Fixing “No agents connected” in the .NET MAUI DevFlow Inspector https://montemagno.com/troubleshooting-dotnet-maui-devflow-no-agents-connected/ https://montemagno.com/troubleshooting-dotnet-maui-devflow-no-agents-connected/ Tue, 24 Nov 2026 17:13:34 GMT

DevFlow is a set of developer tools for connecting to and inspecting a running .NET MAUI app through the CLI and browser-based Inspector. I love it because it gives agents a way to run, navigate, interact with, and validate the app while it is running, making it much easier to debug and understand what is happening on an emulator or device.

I hit a really confusing one with the .NET MAUI DevFlow Inspector: the page says No agents connected, but maui devflow agent status happily talks to my app. Both can't be true, right? Turns out they can, because they are two different connections. Here is the quick fix, then why it works.

On my Mac (zsh, Android emulator, .NET 10 MAUI app), restarting the broker with IPv6 disabled brought everything back:

maui devflow broker stop
DOTNET_SYSTEM_NET_DISABLEIPV6=1 maui devflow broker start --foreground

Leave that terminal open, and in another one run:

maui devflow wait --timeout 30
maui devflow list

The app showed up right away, and I didn't even have to restart it. Keep in mind this is a workaround that worked for me, not an official fix. I filed it as dotnet/maui-labs#851, and I haven't confirmed that every Mac hits it.

The agent is fine, the broker never heard about it

DevFlow has two pieces that are easy to blur together:

  • The agent lives inside your app and runs its own HTTP server.
  • The broker is a small background daemon that keeps a registry of running agents so the CLI and Inspector can find them.

The DevFlow docs and broker docs cover the architecture. The part that matters here is that the CLI can talk to an agent directly, without the broker, if you tell it where to look:

maui devflow agent status --agent-host localhost --agent-port 9223

That worked for me, but it only proves the CLI can reach the agent. It says nothing about whether the app registered with the broker. Meanwhile maui devflow list returned [], which means the registry was empty.

One note on ports: 9223 was my agent's port (it comes from the .mauidevflow file in my project). The broker normally hands out ports from a pool, so yours can be different. Use the port your agent is actually on.

Check your Android tunnels, but don't stop there

An Android emulator lives on its own network, so two tunnels are involved, and they go in opposite directions:

adb -s emulator-5554 reverse tcp:19223 tcp:19223   # app -> broker on your Mac
adb -s emulator-5554 forward tcp:9223 tcp:9223     # CLI on your Mac -> agent in the app

The Android setup page shows adb reverse for both ports. forward for the agent is what worked for me. The one mistake to avoid is mapping the broker port the wrong way, because that can block the broker from starting.

I set both tunnels up, restarted the app, and recreated the tunnels. Still []. ADB wasn't the problem, so it was time to poke at the broker itself.

The curl trick

The broker listens on port 19223. I asked it for its agent list three different ways:

curl -4 -H 'Host: localhost:19223' http://127.0.0.1:19223/api/agents
curl -6 -H 'Host: localhost:19223' 'http://[::1]:19223/api/agents'
curl -4 http://127.0.0.1:19223/api/agents
Connection Host header Result
IPv4 localhost:19223 404
IPv6 localhost:19223 200
IPv4 127.0.0.1:19223 200

Same broker, same request, different answer depending on the address family and the Host header. My read (and it is only a read, I haven't pinned down the root cause) is that the agent registers through localhost:19223, so a broker that answers that with a 404 never learns the app exists.

Starting the broker with the official .NET DOTNET_SYSTEM_NET_DISABLEIPV6 switch made the IPv4 localhost request work, and the app registered on its own.

Make it stick

Typing the variable every time gets old fast. Instead of turning IPv6 off for every .NET app, I scope it to the maui command.

zsh

Add this to ~/.zshrc:

maui() {
    DOTNET_SYSTEM_NET_DISABLEIPV6=1 command maui "$@"
}

Run source ~/.zshrc or open a new terminal, then run maui devflow broker stop once. The next broker that maui starts should pick up the variable. This does not start the broker, emulator, or app for you.

PowerShell

Same idea in a PowerShell profile (New-Item -ItemType File -Force -Path $PROFILE then code $PROFILE):

function maui {
    $env:DOTNET_SYSTEM_NET_DISABLEIPV6 = "1"
    try { & (Get-Command maui -CommandType Application).Source @args }
    finally { Remove-Item Env:DOTNET_SYSTEM_NET_DISABLEIPV6 -ErrorAction SilentlyContinue }
}

Reload with . $PROFILE. I only tried this in PowerShell 7 on my Mac, and I haven't seen this problem on Windows, so don't assume you need it there.

Startup checklist

  1. The app calls AddMauiDevFlowAgent() in a Debug build.
  2. The emulator is running (adb devices shows it, for example emulator-5554).
  3. adb reverse tcp:19223 tcp:19223 is set for the broker.
  4. adb forward tcp:<your agent port> tcp:<your agent port> is set (mine was 9223).
  5. The broker is running, with IPv6 disabled if you are hitting this.
  6. Run maui devflow wait --timeout 30, then maui devflow list.
  7. Still stuck? Try maui devflow diagnose --device emulator-5554.

There you go! If you are seeing the same thing, add your details to dotnet/maui-labs#851. The more repros the better.

]]>
How I automated my podcast workflow with GitHub Copilot, VS Code, and Blazor https://montemagno.com/how-i-automated-my-podcast-workflow-with-github-copilot-vs-code-and-blazor/ https://montemagno.com/how-i-automated-my-podcast-workflow-with-github-copilot-vs-code-and-blazor/ Sun, 22 Nov 2026 19:00:00 GMT

Every week, Frank and I record Merge Conflict, and Zencastr hands me a ZIP with a transcript, an MP3, and a video. That part is great! What comes next is about an hour of busywork, by hand, every week: renaming files, making a thumbnail and captions, and uploading everything to YouTube, Patreon, and our podcast host...

So I sat down with GitHub Copilot in VS Code (specifically the Agents window) and built a little dashboard to do it for me. Now I drop in the ZIP, review what it came up with, and click one button. That's about five minutes of my time.

A diagram titled Now: about 5 minutes of my time, with four steps: drop in the ZIP, review and tweak, click Approve, and finish the last bits. Below them, a note says the app handles the numbering, captions, text, uploads, and scheduling.

One thing up front: it isn't all automated (yet). There are still a few steps I do myself, and I'll show you which ones. Want to see it in action first? Here's the full demo:

Now let's take a look at how it all works!

The hour I wanted back

Here's what publishing an episode used to look like:

A diagram titled Before: about an hour, every week, with seven manual steps: get text from OutroKit, rename the MP3, upload to Patreon, make a thumbnail, make captions, upload to YouTube, and upload to Fireside. An eighth dashed box says next week, do it all again.

None of it is hard. It's just a lot of steps, every single week. So I typed that list into Copilot, attached that week's ZIP and our thumbnail overlay, and ended with one question:

What could we build to automate this all for me?

That was at 8:01 AM. I stepped away, and when I came back around 8:24 AM, the app had already imported that real ZIP! Then I took a 12-hour break to enjoy the day, came back, and approved everything within minutes. All told, it took about an hour of hands-on time to go from idea to production, and now I have a repeatable process I can use every week.

What we built

It's a local dashboard that runs on any OS, built with Blazor on .NET 10. Why Blazor? I love .NET, OutroKit is all .NET, and it gives me the most flexibility in my workflow.

You start by dropping in the ZIP:

The Episodes page of the dashboard, with a large area to drop a ZIP file and a list of three sample episodes showing their status and size on disk.
The episode list. All of the app screenshots in this post use sample data.

The app then does the prep work. It suggests the next number from the feed and any Fireside drafts, makes the numbered MP3, converts the captions, gets the text from OutroKit, and sets the release to next Monday.

The review page for a sample episode 603, showing the suggested episode number and where it came from, the release date of Monday at 12:00 AM Pacific, and a list of title options to choose from.
Everything is ready for me to review and change.

Nothing goes public while it does that. I still read it all, pick a title, and make the thumbnail. The transcript does go to Copilot, because that's how OutroKit writes the text.

One click, and what it promises

Here's how it all fits together:

A flow diagram. A Zencastr ZIP is prepared and then reviewed. Approving freezes the final text, media hashes, release time, and destinations. Patreon goes to paid members right away. YouTube and Fireside are each staged privately, and once both are ready they are scheduled and read back. Underneath, a local Blazor app with a background job queue saves each step's progress in SQLite.
The whole flow, from ZIP to release.

This is the heart of the app. One button is going to send something out to three different places, so that button had better mean something. The approve button stays disabled until the episode is actually ready:

A panel titled Before you can approve, listing five remaining tasks such as choosing a title and creating the thumbnail, next to a disabled Approve and publish button.
The app tells me exactly what's left.

When I do click it, the app freezes a snapshot of the final text, the media file hashes, the release time, and the destinations. Then, every time a publishing run starts or restarts, it builds that snapshot again and compares:

var current = await approvals.BuildSnapshotAsync(episode, settings, cancellationToken);
if (ApprovalService.Hash(current) != episode.Approval.SnapshotHash)
{
    await store.UpdateAsync(id, e =>
    {
        e.Approval = null;
        e.AddLog("Stopped: the episode changed after approval, so nothing further was sent. Review and approve it again.", isError: true);
    });
    return;
}

So if the text, a media file, or the release time no longer matches what I approved, it stops and asks me again. A few YouTube settings like tags, category, and the playlist sit outside the snapshot, so changing those won't cancel anything.

From there, YouTube and Fireside are both staged privately, and neither gets scheduled until both are ready. Long uploads run in a background job, and each step saves its progress, so a restart picks up where it left off. API keys stay in the operating system's secure storage.

The app also doesn't take "success" for an answer. After it schedules a video, it asks YouTube what it actually saved:

await youTube.SchedulePublishAsync(videoId, snapshot.ReleaseAtUtc, settings.YouTubeMadeForKids, cancellationToken);

var video = await youTube.GetVideoAsync(videoId, cancellationToken);
if (video?.Privacy != "private" || video.PublishAt?.ToUniversalTime() != snapshot.ReleaseAtUtc.ToUniversalTime())
{
    throw new UserFacingException("YouTube accepted the schedule but didn't report it back correctly. Check YouTube Studio.");
}

Fireside gets the same treatment. When you're scheduling something that goes out at midnight while you're asleep, you really want that check.

A real episode found two OutroKit bugs

OutroKit is my own open source .NET tool that writes the titles, descriptions, chapters, and subtitles for an episode, using the GitHub Copilot SDK. So hooking it up was the easy part. The app runs a pinned version as a local tool and reads back its JSON:

public async Task<IReadOnlyList<string>> ConvertToSrtAsync(string transcript, string output, CancellationToken cancellationToken)
{
    var outcome = await RunAsync(["srt", "convert", transcript, "--output", output, "--overwrite"], cancellationToken);
    if (outcome.ExitCode != 0 || !outcome.Success)
    {
        throw new UserFacingException($"Caption conversion failed: {outcome.ErrorMessage}");
    }
    return outcome.Result.TryGetProperty("warnings", out var warnings)
        ? warnings.EnumerateArray().Select(warning => warning.GetString() ?? "").ToList()
        : [];
}

public async Task<CaptionReport> FixCaptionsAsync(string input, string output, CancellationToken cancellationToken)
{
    var outcome = await RunAsync(["captions", "fix", input, "--output", output, "--overwrite"], cancellationToken);
    // Exit 4 means the fixed file was saved and readability findings remain for review.
    if (outcome.ExitCode is not (0 or 4))
    {
        throw new UserFacingException($"Caption check failed: {outcome.ErrorMessage}");
    }
    return ParseCaptionReport(outcome);
}

Then a real transcript showed up and found two bugs. When Frank and I talk over each other, Zencastr's timestamps land slightly out of order, and that pushed the captions about 3 minutes late by the end of the episode. OutroKit also dropped a line that just said "Like this," because it looked like a speaker's name.

The app worked around both for episode 540, correcting 24 out-of-order turns and saving that one line. I then fixed both in OutroKit itself, which is exactly why you run your tools on real data!

The YouTube captions card for a sample episode, showing the caption count, safe fixes, and readability warnings grouped by type, with a checkbox to confirm they've been reviewed.
The captions card, with made-up numbers. The real episode came in at 1,016 captions with 276 safe fixes and 411 readability warnings left for me to review.

This is also why the review step matters. OutroKit gave me 10 title options that week, and one of them said ".NET Conf 2024." Close!

Now for the thumbnails. Here's what I told Copilot: "For the image generation, I never want people and have a specific look." The app uses image generation on Microsoft Foundry to make only the background. It then adds our real overlay and episode badge on top, right on my machine, so the branding is always exactly right.

The Merge Conflict episode 540 thumbnail: a glowing orb between two phones and floating app icons in a watercolor pixel style, with the show's logo in the corners and a red EP. 540 badge.
The real episode 540 thumbnail, rendered through the app. The art is AI, and the logo and badge are not.

Every prompt asks for no people, text, or logos. Image models don't always listen, though, so I still check each one.

I also wanted more variety: "We should also include the episode title and description so it is unique." So there are five built-in styles, and each prompt gets that episode's details.

The YouTube thumbnail card, with a style dropdown set to Watercolor pixel, a text box describing the look, and buttons to generate or upload a background.
Pick a style, tweak the wording, and generate. I only pay when I click.

The wins, and what's still on me

So what does all of this get me? Here's everything I don't do by hand anymore:

  • The episode number: the app finds the next one from the feed and Fireside, names the MP3 to match, and stops me if a number is already taken.
  • The writing: titles, descriptions, and chapters are waiting for me when I open the episode.
  • The captions: they get converted, cleaned up, and checked for readability.
  • The thumbnail: fresh art in the style I pick, with the real logo and badge added for me.
  • YouTube: the video, details, thumbnail, captions, and playlist are all handled, scheduled for Monday at 12:00 AM Pacific, and checked.
  • Fireside: the draft, details, audio, and transcript are all handled, scheduled for the same time, and checked.
  • The X post: it's written and ready to go in the composer.
  • Cleanup: after the release, one click frees up the big video and audio files.

And here's what's still on me:

  • Reviewing everything and clicking Approve. That one's on purpose!
  • Publishing the post on Patreon.
  • Adding header image in Fireside.
  • Scheduling the post on X.

Episode 540 went out at midnight, right on time. Not bad for a little dashboard!

Wrapping up

An hour down to about five minutes. I'll take it!

The thing I keep coming back to is how much of this came from using it. The first version came together fast, but the best parts showed up when a real episode hit something weird and I could just say so. If you have a chore you do every single week, give it to GitHub Copilot as a real task and see what you build together. Keep a human in the loop for the part that goes out to the world, and make your app check its own work.

Want to see the result? Check out episode 540 of Merge Conflict, and take a look at OutroKit if you make a podcast too. Happy publishing!

]]>
Adding WebMCP to a Static Hugo Site on GitHub Pages https://montemagno.com/adding-webmcp-to-a-static-hugo-site-on-github-pages/ https://montemagno.com/adding-webmcp-to-a-static-hugo-site-on-github-pages/ Sat, 21 Nov 2026 15:00:00 GMT

I saw Debbie O'Brien's post about adding WebMCP to her site and thought this could be pretty cool for my own website. She also shared a walkthrough on X, which is worth checking out.

My first question, though, was whether it would work on a static website. This site uses Hugo, and GitHub Pages serves the generated files. There isn't an application server sitting behind each page waiting to answer an agent's questions.

Turns out, we don't need one!

So I added WebMCP to montemagno.com, with six read-only tools backed by a Hugo-generated content catalog. GitHub Pages still serves static files. No new backend, hosted AI model, chatbot widget, or runtime dependency.

A compatible client can now use those tools to answer questions like:

  • Which of my apps support macOS?
  • What published posts do I have about GitHub Copilot?

Here is a real Copilot CLI run discovering the tools and making those queries through a loopback relay:

Copilot CLI discovers one source and six WebMCP tools through the loopback relay, completes two webmcp_call_tool calls, and shows macOS app results linking to Tiny Clips and Weigh.
A real Copilot CLI run through the loopback relay: discovery, successful calls, and linked app results. Captured with a local test configuration.

Let's walk through what the tools do, how Hugo prepares their data, how to try them in Edge or Chrome, and a prompt for adding WebMCP to your own site.

Before you try it: WebMCP is experimental. You'll need a browser exposing the native API through its testing feature or a valid origin trial, plus a compatible client. The setup below starts with Edge.

WebMCP runs in your browser tab

WebMCP is a proposed web standard for exposing structured tools from a page. Each tool describes its purpose, defines inputs with JSON Schema, and supplies an execute function. Our JavaScript knows which content source to query and returns structured results.

That is different from hosting a conventional MCP server. Chrome's comparison explains the distinction: MCP connects clients to external systems through a protocol; WebMCP provides browser APIs for tools associated with the open page.

The page must be open, and the caller must support discovering and invoking its tools. This doesn't automatically give every chatbot or crawler access.

We used the imperative JavaScript API because our tools query existing content. WebMCP also has a declarative HTML-form API.

Two halves: build-time data, browser-time tools

The GitHub Pages hosting model fits neatly here: Hugo prepares the files at build time, GitHub Pages serves them, and JavaScript executes the tools in the browser.

Two-stage architecture: Hugo and Pagefind generate files for GitHub Pages at build time; a supported browser registers read-only tools and loads their data on demand.
The build prepares the data. The open browser tab executes the tools.

We already have the data. Hugo knows post titles, dates, tags, URLs, and descriptions. My Apps uses curated YAML, Podcasts uses show data, and Videos uses a weekly YouTube snapshot. Pagefind already indexes post text.

The integration gives callers a structured way to query those sources rather than creating a second content collection.

An app lookup, for example, filters catalog records in the tab. Full-text post search queries Pagefind's generated index instead. That split lets us reuse each source for what it already does well, rather than making the catalog a second search engine.

Build tools around the data you actually have

Debbie's implementation inspired the approach, but our six tools follow this site's content:

Tool What it returns
search-posts Pagefind-ranked published blog posts, with excerpts and matching heading links.
topic-brief Counts, first/latest publication dates, and newest highlights for posts carrying a real tag.
get-current-page Metadata, heading links, and existing eligible related posts for the open page.
list-apps Curated apps, filtered by query or platform, with website, store, and declared repository links.
list-podcasts Active or archived shows and listening links. Defaults to active shows.
list-videos Title filtering and Videos/Presentations selection from the limited weekly YouTube snapshot. Defaults to Videos.
Native Edge DevTools lists the site's six tools. Orange callouts mark the Application tab and WebMCP sidebar item.
Our six tools in the native WebMCP inspector, cropped and annotated to show where to open it.

Those scopes matter. topic-brief is a tagged-post inventory, not an AI-generated synthesis. Podcasts are shows, not episodes. Videos use the existing snapshot, not a complete archive, and don't search transcripts, chapters, or topic tags. Video responses include the sync date and source links.

Your site might only need post search and current-page context. Start with what your data can honestly answer!

Let Hugo generate the catalog

In hugo.toml, we added a custom output format:

[outputFormats.webmcp]
  mediaType = "application/json"
  baseName = "webmcp/index"
  isPlainText = true
  notAlternative = true

[outputs]
  home = ["html", "rss", "ghostrss", "webmcp"]

Keep your existing home outputs when adding the new format; this site's list includes its feeds.

Hugo uses layouts/home.webmcp.json to produce /webmcp/index.json, containing posts, pages, tags, apps, shows, and videos. Inside the eligible-page loop, this excerpt builds each page record:

{{- $description := .Description | default .Params.excerpt | default .Summary | plainify | htmlUnescape | replaceRE "\\s+" " " | strings.TrimSpace | truncate 300 -}}
{{- $record := dict "url" .Permalink "title" .Title "description" $description -}}

Posts also get publication dates, tag links, and reading time. Apps get declared platforms and links; videos get their collection and publication date.

This is metadata, not a copy of the site: no full article bodies, images, or players. Pagefind handles full-text post search.

Keep unpublished content out

Preview builds can include unpublished content, so Hugo's build settings aren't enough. The catalog and bootstrap share a webmcp-eligible.html partial that:

  • Excludes drafts, scheduled/future or expired posts, and robotsNoIndex pages.
  • Requires HTML output and excludes headless, render-excluded or unlisted pages, redirects, and 404s.
  • Omits tags without eligible public posts.

Sharing that check keeps the two halves aligned: a page excluded from the catalog doesn't gain tool registration just because we opened a draft preview. It also gives us one place to update the site's publishing rules.

Every emitted catalog record is public. Neither WebMCP nor noindex is access control. Never put private material in the snapshot and expect the browser API to hide it.

Give each tool a clear contract

In assets/js/webmcp.mjs, a shared helper adds pagination inputs, JSON Schema, runtime validation, explicit errors, and read-only annotations.

That shared contract makes another tool less work: describe its filters, choose a data source, and keep the handler focused on the query. It shouldn't need a different pagination convention or a new interpretation of what an invalid input means.

These are its schema and annotation fields, not a complete registration:

inputSchema: {
  type: 'object',
  properties,
  required,
  additionalProperties: false,
},
annotations: { readOnlyHint: true },

The helper supplies execute, checks inputs before calling tool-specific logic, and serializes failures with a code and message.

The app definition then filters the catalog. This excerpt uses that shared tool helper, the lazy catalog loader, and filtering/pagination helpers:

tool('list-apps', 'Discover the curated apps shown on My Apps, with platform, website, store and declared source links. Not every GitHub repo or a live availability check.', {
  query,
  platform: {
    type: 'string',
    enum: ['Windows', 'macOS', 'iOS', 'Android', 'Web', 'Stream Deck'],
  },
}, [], async (input, signal) => {
  const data = await catalog(signal);
  return listResponse(data.apps.filter(item =>
    matches(item, input.query) &&
    (!input.platform || item.platforms.includes(input.platform))
  ), input);
}),

The schema tells a caller what to send; runtime validation enforces it. The read-only hint describes behavior that the implementation must actually honor.

Load nothing extra for unsupported browsers

In layouts/_partials/scripts.html, eligible pages get a bootstrap that checks the native API before importing a fingerprinted module. Here it is, with the outer template guard omitted:

{{- $webmcp := resources.Get "js/webmcp.mjs" | js.Build (dict "targetPath" "js/webmcp.js" "format" "esm" "minify" true) | fingerprint }}
<script type="module">
  const api = document.modelContext;
  if (api && typeof api.registerTool === 'function') {
    import({{ $webmcp.RelPermalink | jsonify | safeJS }}).then(({ registerWebMCPTools }) =>
      registerWebMCPTools(api, {
        catalogURL: {{ "webmcp/index.json" | relURL | jsonify | safeJS }},
        pagefindURL: {{ "pagefind/pagefind.js" | relURL | jsonify | safeJS }}
      })
    ).catch(error => console.error('WebMCP registration failed', error));
  }
</script>

The Hugo expressions supply generated asset URLs. With another generator, use its asset pipeline and honor any repository base path, rather than assuming assets live at the origin root.

Unsupported browsers don't load the tool module, catalog, or Pagefind through this integration. Human-facing search can still load Pagefind independently.

In supported browsers, the catalog loads on the first tool call; Pagefind loads only for search-posts. Failed downloads can be retried.

Cropped native Network table with numbered highlights: 1 is the WebMCP module, 2 is index.json, and 3 is pagefind.js, followed by search-index requests.
1: tool module; 2: public catalog; 3: Pagefind. Captured after an app lookup and a post search. Registration alone loaded neither data source.

Read-only means no publishing, settings changes, or video playback. Cancellation stops one caller waiting without disrupting others sharing a load. If registration fails partway through, the module aborts its registration controller, removes the tools already registered, and reports the failure.

Small responses, honest pagination

Tools return JSON text with ok, plus explicit codes/messages for errors. Invalid input isn't disguised as an empty search.

Responses are capped at 4,000 serialized characters, using JavaScript string length. Lists default to five items, with a requested maximum of ten; the cap may shorten optional fields or return fewer items.

Results include:

  • hasMore: whether there is another page.
  • nextOffset: the continuation value to pass back unchanged with the same query and filters.
  • trimmed: whether optional information or the returned page was shortened to fit.

These are character limits, not measurements of tokens saved or model costs.

Cropped native list-apps result for macOS returns Tiny Clips and its links, total 3, with hasMore true, nextOffset 1, and trimmed false highlighted in orange.
One real result, with the continuation fields highlighted. Pass nextOffset back unchanged to get the next page.

Pagefind can include entries from preview builds, so search-posts checks candidates against the public catalog. It reads an extra eligible hit to determine whether more results exist without exposing a draft-inclusive raw total.

The cursor tracks search candidates, not just returned public results. Pass nextOffset back unchanged; calculating it from the item count could skip results.

Try the tools in Edge or Chrome

You can inspect the tools without an agent, then connect Copilot CLI in the next section. Use an up-to-date Microsoft Edge or Google Chrome build exposing the current native API. Edge comes first here, matching the screenshots.

Browser setup in Microsoft Edge

Microsoft's WebMCP Labs guide recommends current Canary or Dev builds, available from Edge Insider.

  1. Open edge://flags/#enable-webmcp-testing.
  2. Set WebMCP for testing to Enabled.
  3. Restart Edge when prompted.
  4. Open montemagno.com, right-click the page, and select Inspect. In DevTools, open Application, then WebMCP.

We verified this flag-and-restart workflow in Edge; the screenshots show its native inspector.

Browser setup in Google Chrome

For Chrome, follow its current WebMCP documentation:

  1. Open chrome://flags/#enable-webmcp-testing.
  2. Set WebMCP for testing to Enabled.
  3. Relaunch Chrome and open montemagno.com.

Check the API and call a tool

In either browser, run this in the page's DevTools Console:

typeof document.modelContext?.registerTool === 'function'

It should return true. Otherwise, update your browser or try a current preview build. If the API exists but no tools appear, reload and check the Console for registration errors.

On montemagno.com, discover and invoke a tool:

const tools = await document.modelContext.getTools();
const videos = tools.find(tool => tool.name === 'list-videos');
if (!videos) throw new Error('list-videos is not registered on this page');
const text = await document.modelContext.executeTool(videos, {
  collection: 'presentations',
  limit: 5,
});
const result = JSON.parse(text);
console.log(result);

executeTool receives the discovered tool object and an ordinary input object, as documented in Chrome's imperative API guide. The calls are the same in Edge and Chrome.

This is a useful first checkpoint. If discovery and execution work here, you've checked the site and browser without involving an agent or MCP bridge. Any later CLI connection problem can then be investigated as a separate layer.

Cropped native tool-discovery table lists the six names and their inputs. All six readOnly values are true in the orange-outlined column.
The native getTools() result, with the read-only annotations highlighted. No agent needed.

You can also use the Application > WebMCP inspector. Select topic-brief, enter github-copilot for topic, and inspect the input, completion status, and output.

What we checked: 83 offline gate tests passed, including WebMCP fixtures for publication rules and tool contracts. We also exercised all six tools through native Edge and checked normal search, theme switching, navigation, and lazy-network behavior.

For Copilot CLI, MCP-B's local relay is the focused option we used. It forwards a browser tab's WebMCP tools without adding a full debugging toolset.

We'll use Edge, but the same relay configuration works with Chrome. It exposes four management tools for sources, discovery, invocation, and opening pages, plus the connected site's tools.

GitHub Copilot CLI
  -> stdio -> WebMCP local relay on your machine
    -> loopback WebSocket, port 9334 -> browser adapter
      -> montemagno.com's native WebMCP tools

The tab needs a temporary browser adapter as well as the relay. This is client-side demo setup, not a website dependency or polyfill. The relay alone can't discover an arbitrary page, and this route doesn't require Chrome DevTools MCP.

1. Add the local STDIO relay

With Node.js 22 or newer and Copilot CLI installed, run its MCP configuration command:

Choose Local / STDIO in a connection-type picker. Copilot launches this process and talks through standard input/output:

copilot mcp add montemagno-webmcp -- \
  npx -y @mcp-b/webmcp-local-relay@6.2.0 \
  --port 9334 \
  --widget-origin=https://montemagno.com

Keep these connections distinct:

Connection Setting
Website open in Edge or Chrome https://montemagno.com/
Copilot CLI to the MCP relay Local / STDIO, using the command above
Browser adapter to the relay Loopback WebSocket on port 9334

Neither port 9334 nor the website is an HTTP MCP endpoint. There is no /mcp URL to enter. The relay reference documents its loopback binding; don't expose it on your network.

Restrict --widget-origin to the page's exact origin: scheme, hostname, and port if present, not the relay's address. Change it when adapting this setup to another site or development server.

Start or restart copilot, then check /mcp show montemagno-webmcp. Confirm it is connected before loading the adapter. Nothing is being installed on GitHub Pages.

2. Connect your Edge or Chrome tab

Open montemagno.com in the browser prepared above. In that page's DevTools Console, load the adapter:

const bridge = document.createElement('script');
bridge.src = 'https://cdn.jsdelivr.net/npm/@mcp-b/webmcp-local-relay@6.2.0/dist/browser/embed.js';
bridge.dataset.relayPort = '9334';
bridge.addEventListener('error', () =>
  console.error('WebMCP relay adapter failed to load')
);
document.head.append(bridge);

Keep the ports matched: --port 9334 and bridge.dataset.relayPort = '9334' must agree. If the port is occupied, choose an unused one and change both.

Review the embed documentation before loading third-party code. Both examples pin version 6.2.0. A reload, including development live reload, removes the adapter; paste it again to reconnect.

The browser may request Local Network Access permission. Review it rather than disabling protections. A site's content security policy can also block the adapter; consult the relay's troubleshooting guide.

This relay doesn't automate the browser or create a separate profile. Keep the connected page open in a dedicated demo window without private tabs or accounts.

3. Send the prompt

Try this prompt in Copilot CLI:

Use the montemagno-webmcp MCP server. Call webmcp_list_sources and
webmcp_list_tools, then select the source at https://montemagno.com/.
Use the actual relayed tool names returned by discovery to call the
site's list-apps with platform macOS and limit 2, then topic-brief
with topic github-copilot and limit 2.

Show the tool names and linked results. Use the registered WebMCP
tools, not answers inferred from scraping. If no source is connected
or a tool call fails, report the blocker instead of inventing results.

The relay converts list-apps to MCP-safe list_apps, so use the discovered names. Our run found one source and six tools, then successfully called the app and topic tools.

If you only see the four webmcp_* management tools, the relay process is available, but you still need to check its connected sources. Client tool lists don't always refresh immediately, so use the discovery calls rather than guessing whether the adapter connected.

The opening screenshot uses our local-test alias, montemagno-webmcp-local. These public-site examples use montemagno-webmcp. Keep your chosen name consistent between configuration and prompts.

Optional: automatically launch Edge or Chrome

You can skip this if you followed the relay recipe. Chrome DevTools MCP is an alternative that launches its own browser and adds broader debugging tools. It supports Edge and Chrome without the temporary adapter.

These commands are for macOS, Edge first. Use a current Node.js LTS release and a browser exposing native WebMCP.

Microsoft Edge:

copilot mcp add montemagno-edge -- \
  npx -y chrome-devtools-mcp@1.13.0 \
  --executablePath="/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" \
  --categoryExperimentalWebmcp \
  --chromeArg=--enable-features=WebMCP \
  --isolated \
  --no-usage-statistics \
  --no-performance-crux

Google Chrome:

copilot mcp add montemagno-chrome -- \
  npx -y chrome-devtools-mcp@1.13.0 \
  --categoryExperimentalWebmcp \
  --chromeArg=--enable-features=WebMCP \
  --isolated \
  --no-usage-statistics \
  --no-performance-crux

The server auto-detects Chrome. For Edge Dev/Canary or another OS, adjust the executable path using Microsoft's guide.

The WebMCP category exposes discovery/execution tools. --chromeArg passes the feature flag to either browser; the isolated profile doesn't inherit everyday settings. The last two flags disable usage statistics and CrUX lookups.

Choose one command, start copilot, and check /mcp show montemagno-edge or /mcp show montemagno-chrome. Edge's prompt is:

Use the montemagno-edge MCP server to open https://montemagno.com/.
Call list_webmcp_tools, then use execute_webmcp_tool to call the site's
list-apps with platform macOS and limit 2. Show the linked results.
Use native WebMCP, not scraping. Report any API or bridge blocker.

For Chrome, substitute montemagno-chrome. Keep private tabs/accounts out of the demo profile and approve only intended actions; this bridge can do more than call read-only site tools.

Try this on your own static site

The takeaway isn't to copy our six tools. Choose useful read-only operations for your existing public data and make them a tested browser enhancement.

Give this prompt to a coding agent in your site's repository. It starts with an audit and approval checkpoint, not assumptions about your generator or content:

Help me evaluate and integrate WebMCP into this static website.
Start in plan mode. Inspect the repository before proposing changes.

Identify the generator, hosting/base path, build/deploy workflow, existing
search engine, public content collections, curated data, and publishing
rules. Read current official WebMCP browser/API/trial documentation.
Report useful read-only tools supported by the actual data, their exact
scope, and missing capabilities. Do not assume video tags, transcripts,
chapters, podcast episodes, or cross-content search exist. Recommend a
small tool set and wait for my approval before implementation.

After approval, reuse existing sources and search logic. Generate only
eligible public metadata at build time; exclude draft, scheduled, future,
expired, noindex, headless, render-excluded, and non-HTML content according
to this site's rules, including preview builds and draft-only taxonomy
entries. Treat every emitted file as public, not private application state.

Use the current native browser API with feature detection before loading
the tool module. Load catalogs/search lazily, preserve ordinary UX, and
avoid a backend, hosted model, chat widget, or unnecessary dependencies.
Honor the site's base path. Declare truthful schemas and read-only hints;
validate inputs at runtime; return explicit errors; support cancellation,
retryable loads, and cleanup after partial registration failure.

Choose and test a serialized response cap, bounded item limits, and
continuation that never skips or duplicates eligible records. Explain
trimming, distinguish empty results from failures, and never expose
unpublished search data or draft-inclusive totals.

Add focused offline fixtures and prove native discovery/execution in a
supported browser, not just a shim. Test unsupported-browser network
behavior, normal search/theme/navigation, and publication boundaries.
Report actual results and blockers, not invented benchmarks.

Document browser/client prerequisites and use the real public website URL
in examples. If you include an MCP bridge, specify its transport, allowed
page origins, and matching browser/server port settings. Request my
approval before deployment or changes to external services, browser trial
enrollment, or account configuration.

There you go: a static website can offer browser-side tools without becoming a server application. Start with the data you have, keep the scope honest, and make sure everyone else can keep using the same website.

]]>
Building a Live Blog Post Editor Canvas with GitHub Copilot https://montemagno.com/building-a-blog-post-workbench-canvas-with-copilot/ https://montemagno.com/building-a-blog-post-workbench-canvas-with-copilot/ Sat, 14 Nov 2026 19:20:00 GMT

Ever since I rebuilt this blog as a static Hugo site with GitHub Copilot CLI, every post is just a Markdown file in a git repo. I love that! But there was one thing that kept bugging me: to see what a post actually looks like, I had to start the whole site with hugo server, wait for it to build, find the post, and then go back and forth between my editor and the browser. And I wanted to do that before sending a pull request, not after the preview deployment came back.

What I really wanted was an elegant little place to pick a post, edit it, and watch it render with all of its images, videos, and embeds. It didn't need to look exactly like the site. It just needed to show me the content on a light or dark background, so I could catch a broken image or a wonky screenshot before anyone else did.

So I asked Copilot to build it for me as a canvas, and this post is the story of how that went. Oh, and every screenshot in this post is of the canvas editing... this post. 🤯

The Post Workbench canvas showing this post's Markdown on the left and its live preview on the right.
Post Workbench editing this post in a split view.

What is a canvas anyway?

A canvas is a panel that a Copilot extension can open right next to your chat. It is plain web content: the extension starts a small local web server, hands the host a URL, and the host shows it in a panel. The extension can also give the agent actions, so Copilot can drive the canvas for you ("open my newest post", "switch to dark mode").

Extensions can live in a few places. I picked workspace scope, which means the canvas lives in my blog repo at .github/extensions/post-workbench/. That has a really nice side effect: the canvas always works on the checkout that contains it, so every branch or worktree sees its own posts, its own edits, and its own git status. That is exactly what I want when I am working on a post in a branch before a PR.

Building it with the create-canvas skill

I started with the create-canvas skill and this (typo-filled, as usual) prompt:

i would like to create a canvas for visualizing our posts, and and allow liveing editing and previeing in the current branch. i want to be able to visualize the images/videos and such like that. it doesn't need to be actually what it woudl look like on the site jsut a preview on a light or dark backgroudn (with toggle)

Just like with my site migration, the best thing I did was let Copilot plan first. It went off and explored the repo: how my posts are laid out, how Hugo mounts static/ and static-case/ for images, which shortcodes I use for YouTube, Vimeo, Fireside, and gists, and how the canvas SDK actually works. Then it asked me a few questions before writing any code:

  • Where should it live? Workspace scope, so it ships with the repo.
  • How should Markdown be rendered? A vendored copy of marked, so there is no npm install and no build step.
  • Should it save automatically? Yes! Autosave on by default, with the option to turn it off.

From there it wrote a plan with 16 todos, I approved it, and it got to work.

Taking a tour

Let's take a look at what came out the other side.

All of my posts, at a glance

The canvas opens on a grid of every post with its cover image, date, tags, and how many images and videos it has. I can search, filter to drafts, or filter to Changed, which shows only the posts that differ from my main branch or have uncommitted edits. That one is basically "what am I about to put in this PR?"

The Post Workbench post list showing a grid of blog post cards with cover images, dates, tags, and media counts.
Every post in the repo, newest first.

Edit and preview side by side

Pick a post and you get the Markdown on one side and a live preview on the other. As I type, the preview updates, and with Sync scroll on, both sides stay together. Autosave writes the file a moment after I stop typing, and it keeps the file's line endings intact so my diffs stay clean.

Split view with the Markdown source of this post on the left and the rendered preview with a screenshot on the right, on a light background.
Split view on a light background.

Here is the toggle I really wanted: one click and the preview flips to a dark background. This is super handy for screenshots with transparent backgrounds or light borders that look great in one theme and disappear in the other. There is even a Transparency option that puts a checkerboard behind transparent images.

The same split view with the preview on a dark background.
Same post, dark background.

Every image, video, and embed

The Media tab lists every image, video, audio file, and embed in the post, with its source line and a status: found, missing, too large, or a case mismatch. That last one is sneaky: Windows doesn't care if your file is Screenshot.png and your post says screenshot.png, but the Linux build on GitHub Actions absolutely does!

The Media tab listing this post's screenshots as tiles, each with a found status and a line number.
The Media tab checks every reference before the build does.

Click any tile to open it in a larger viewer with its size and file details, and jump straight to the line in the source where it is used. YouTube, Vimeo, and Fireside embeds show a card first, and only load the player when you click Load player.

A screenshot opened in the Post Workbench media viewer, with its dimensions, file size, and a Show in source button.
The media viewer, with a quick way back to the source line.

Copilot can drive it, too

Because the canvas exposes actions, Copilot can use it without me touching the panel. I can ask it to list the posts I changed on this branch, open a specific post at a line, check a post's media for problems, or switch the preview to dark. That makes "hey, go check the images in my new post" a real request.

For example, here are the results when Copilot calls get_post_media on this post: every image comes back as found, with its line number, file size, and git status. Then it calls open_post with a line number and set_preview_theme with dark, and the canvas jumps right there:

The Post Workbench canvas on a dark background, scrolled to the A peek under the hood section of this post after Copilot opened it at that line.
The canvas after Copilot opened this post at a line and switched the preview to dark.

A peek under the hood

The canvas is just an ES module named extension.mjs that uses the Copilot SDK. Here is the shape of it, trimmed down to one action:

import { CanvasError, createCanvas, joinSession } from "@github/copilot-sdk/extension";

const canvas = createCanvas({
  id: "montemagno-post-workbench",
  displayName: "Post Workbench",
  description: "Browse, preview and live-edit this blog's Markdown posts.",
  actions: [
    {
      name: "set_preview_theme",
      description: "Switch the preview background between light, dark, or the system setting.",
      inputSchema: {
        type: "object",
        properties: { theme: { type: "string", enum: ["light", "dark", "system"] } },
        required: ["theme"],
      },
      handler: async (ctx) => registry.require(ctx.instanceId).actions.setPreviewTheme(ctx.input),
    },
  ],
  // Start (or reuse) a local server for this panel and give the host its URL.
  open: async (ctx) => registry.open(ctx.instanceId, ctx.input),
  onClose: async (ctx) => registry.close(ctx.instanceId),
});

await joinSession({ canvases: [canvas] });

open starts a small web server on 127.0.0.1 with a random port and returns its URL, and calling it again for the same panel reuses that server, so my unsaved edits survive. There is no package.json and nothing to install: the runtime provides the SDK.

Everything else lives in sibling folders: a Node side in lib/ that indexes posts, reads git status, and saves files, and a plain JavaScript browser app in web/ with no build step. A few details I really appreciated:

  • Saves are safe. Files are written to a temporary file and then swapped in, so a crash can't leave half a post. If the file changes on disk while I have unsaved edits (say, Copilot edited it in chat), I get to choose which version wins instead of silently losing one.
  • Post content is treated as untrusted. The preview is rebuilt from an allowlist of safe HTML, a content security policy backs that up, and embeds run in sandboxed frames.
  • Preferences stay out of the repo. Things like the light or dark choice are stored under my Copilot home folder, not in git.

One gotcha worth knowing if you build your own: never use console.log in an extension. Standard output is how the extension talks to the host, so stray logging can break the connection. Use session.log() instead.

Testing it for real

This is where working with an agent really shines. It didn't stop at "it compiles." Copilot wrote more than 140 tests for the Node side and the rendering, ran them on Node 20, 22, and 26, and then drove the canvas in a real browser to check editing, autosave, conflicts, keyboard navigation, narrow panels, and dark mode. It even rendered all of my posts in the preview to make sure none of them broke it.

That testing caught real bugs. The Skip to content link was quietly closing the open post, because the canvas uses the URL hash for navigation. A test that passed on my machine flaked under load because of a timing race. And the test command itself behaved differently on Node 20 and Node 22.

Then I had Copilot run a separate code review, and it found the scariest one of all: if a post briefly disappeared or couldn't be read (think git stash, switching branches, or Windows holding a lock on the file), the canvas treated it as deleted and threw away my unsaved edits. Yikes! Now only a file that is truly gone counts as removed, the edits are kept as a draft, and editing picks right back up when the file comes back. All of these got fixed before I ever hit them, which is exactly what I want from my AI pair programmer.

Try it or build your own

If you have a Markdown blog or docs site in a repo, this is a fun one to build for yourself. Start with the create-canvas skill, tell it what you want to see and edit, and let it plan before it codes. Keep it in your repo with workspace scope, so it follows whatever branch you're on.

As for this post, it was previewed and checked in the canvas, right next to my chat, with no hugo server in sight. That is exactly the workflow I was after before sending a PR!

]]>
How I Got My Cadence Ready for iPhone Duo (Without Redesigning It) https://montemagno.com/upgrading-my-cadence-for-iphone-duo/ https://montemagno.com/upgrading-my-cadence-for-iphone-duo/ Sat, 14 Nov 2026 16:25:00 GMT

My Cadence has one job: put a big number on your screen so you can see your RPM while you're on the bike. I built it back in 2020 because Apple Fitness+ wouldn't connect to my cadence sensor, and it has become one of my top apps. These days it's a Swift app on iOS and a .NET MAUI app on Android.

I wanted My Cadence to look and feel great on iPhone Duo. Here is what a ride looked like on the Duo's big inner display before this work:

The old My Cadence layout during a ride on an open iPhone Duo. A small Connected status, a large RPM number, Stop Ride, and four small stats sit across the top of the screen, and the bottom of the screen is empty.
Before: a ride on the open iPhone Duo, captured on the simulator with a simulated ride. This is the old layout rebuilt with today's tools.

It works, but that is a whole lot of empty space! So how do you use all that room without ruining a simple app?

One thing up front: I don't have an iPhone Duo. Everything here was tested on the simulator, and this update isn't in the App Store yet. So, let's walk through the plan, the skills, the design, and the gotchas.

Start with a plan, then find a better one

I started with a written plan, and my first version was ambitious: a new "cockpit" look on every iPhone, built on top of a community toolkit. Then I brought in Apple's iPhone Duo preparation guide, and it changed the whole thing. Apple breaks the work into three steps:

  1. Run the App Resizability skill to scan your project.
  2. Fix what it finds, and inspect what automation misses.
  3. Test resizing on the simulators and tools Apple provides.

One line from that guide really stuck with me: "On the inner display, your app should look like a natural extension of its iPad layout." Keep that one in mind, because it pays off later!

Sticking with Apple's tools

Apple's App Resizability skill comes with Xcode. You can ask Xcode's coding assistant to "get my app ready for iPhone Duo," or export the skill if you use a different agent. I exported it and ran everything from VS Code with GitHub Copilot.

My first plan also pulled in Duology, a community set of skills and a fold linter for iPhone Duo. Once we had Apple's official tooling, I asked whether we still needed any of it, and I decided to stick with Apple's tools only. The most useful part for My Cadence was the checklist, and fewer moving parts felt right for a simple app. If you're building something new for Duo, it's still worth a look.

So what did the audit find? Honestly, not much! My Cadence wasn't sizing itself from the main screen, checking for specific devices, or making layout choices from device orientation. It did turn up the Ride and Scenic player screens choosing their layout by comparing width and height, plus catalog thumbnails that could widen their grid column.

A clean audit isn't the finish line, though. Apple says so in the guide: "The skill finds most issues, but not all of them." Most of the problems in the rest of this post came from reading Apple's docs closely and from actually running the app.

"We don't need crazy colors"

While I was working on the plan, I started thinking about new ideas for what the app could do with all that extra screen. It's hard to picture a layout from a table in a Markdown file, so I asked GitHub Copilot in VS Code to generate some image mockups for me. Here is what came back:

An AI-generated design concept board labeled Ride Cockpit, showing dark teal screens with glowing circular gauges on closed, open, and book-style iPhone Duo devices.
An AI-generated design concept that I rejected. This is not the app.

Pretty wild, right? It's a full "Ride Cockpit" concept, with dark teal screens and a glowing gauge wrapped around the RPM on the closed, open, and book-style Duo. It even came with a tagline: "Same ride. More room."

It's cool, but it isn't My Cadence. The whole point of the app is a big, simple number that you can read while you're riding, and it's supposed to feel like it belongs on your iPhone. So, here is what I said back: "We absolutely want to keep with our very simple design that we have today in the app, we don't need crazy colors or anything like that, we want just super native look and feel for light and dark mode."

Copilot updated the plan and generated a new set of mockups in both light and dark mode. This round looked a lot more like the app I know:

An AI-generated design concept board showing a simple native layout in light and dark mode on closed and open iPhone Duo devices, with a large RPM number, a small cadence line, stats, and a red Stop Ride button.
The revised AI-generated design concept. It's still a mockup, not the running app.

There's the big number, the familiar cards, and a regular Stop Ride button, plus a small, quiet line for live cadence. That became the rule for the project: same app, more room. There are no gauges, gradients, or new color themes, and my existing Pro customizations keep working.

Asking for pictures this early was so useful. No app code had changed yet, so it was really cheap to look at an idea, say "nope," and try again. It's a lot easier to react to an image than to a paragraph describing one!

One thing to be aware of: generated mockups can make things up. These drew approximate system controls and even little camera icons, and that doesn't mean I wanted any of that in the app. I used them to pick a direction, not as a spec. The actual layouts came from Apple's guidance and from running the real app.

"Something much more interesting"

The first working version kept everything simple and added a small gray cadence line. It worked, but with the Duo open I wanted more from all that space. My feedback was that it needed "something much more interesting," like a live chart right alongside the stats.

So now it has one:

My Cadence on an open iPhone Duo during a ride. A connected status and large RPM number fill the left side. Stop Ride, a large live cadence chart, and four stat tiles fill the right side.
After: the open iPhone Duo with the new live chart, captured on the simulator with a simulated ride.

The big chart is the same chart and colors you already see in ride details, and it's free for everyone. The number and stat tiles get bigger too.

Here's the nice side effect: the iPad gets this layout too! I have a lot of iPad users, and they had the same empty screen.

Two iPad screenshots of My Cadence during a ride, side by side. On the left, the old layout has the RPM, Stop Ride, and stats at the top with most of the screen empty. On the right, the new layout has the same RPM and controls, a large live cadence chart filling the middle, and stats at the bottom.
Before on the left, after on the right. Both are real captures on the iPad simulator with a simulated ride. The before is the old layout rebuilt with today's tools.

What about a regular iPhone? It keeps what already worked: the full-size number and the stats, with a small trace added.

My Cadence on a regular iPhone during a ride, with a large RPM number, a red Stop Ride button, a small cadence line, and four stats in a row.
A regular iPhone still looks like My Cadence. Captured on the simulator with a simulated ride.

Light and dark mode come straight from the system, just like they always have:

My Cadence in dark mode on an open iPhone Duo held tall, with the RPM number on top, then Stop Ride, a live cadence chart, and four stats along the bottom.
Dark mode with the Duo open and held tall, captured on the simulator with a simulated ride.

The gotchas

Apple's split container would have hidden the controls

The plan was to use Apple's native layouts first, and for Ride and the Scenic player that meant ArrangementView. Then we read the split style documentation closely: "When someone is holding a closed iPhone Duo in landscape orientation, the split arrangement only shows the primary view."

For My Cadence, that means you'd lose either the number or Start/Stop and your stats. That isn't okay on a bike! We're going by Apple's docs here, since I didn't see that pose for myself before making the call. So we wrote a small layout of our own for those two screens, and History still uses Apple's native split view.

The closed display in landscape needed the help. Here is the old layout, with its cut-off stat labels and a wrapped Stop Ride button:

The old My Cadence layout on a closed iPhone Duo in landscape. The RPM number fills the middle, Stop Ride wraps onto two lines, and the stat labels are cut off to M, R, and TI.
Before: the old layout on the closed Duo, rebuilt with today's tools and running a simulated ride.

And here is the new one, with everything still on screen:

The new My Cadence layout on a closed iPhone Duo in landscape. The RPM number is on the left. Stop Ride, a small cadence line, and four fully labeled stats are on the right.
After: RPM, Stop Ride, sensor status, and all four stats, captured on the simulator with a simulated ride.

My takeaway: go native first, right up until native hides something people need.

The number that got cut off

In an app about one big number, this one hurt. The first pass cut off the RPM on the closed display in portrait. Copilot noticed and made a quick fix at the end of its run, but that fix only stopped the clipping by making the number noticeably smaller.

When I looked at it, I said it should be "more like we have today." The next pass gave the number more of the screen, and it's back to full size:

My Cadence on a closed iPhone Duo in portrait during a ride, with a large uncut RPM number, a red Stop Ride button, a small cadence line, and four stats in a row.
The fixed closed display, captured on the simulator with a simulated ride.

A layout can pass every check and still be wrong for your app. You have to look at it!

Your video might not survive a fold

My Cadence has Scenic rides, which are first-person cycling videos you can ride along with. There were two problems here. The player compared its address against one that always differed, so any view update could reload the video. The screen also swapped between two different layouts, and that destroyed the player whenever it changed.

Now there's one stable player. On the simulator, the video kept playing through a fold, moving from its intro into the ride footage with no new page load. If your app embeds a web player, go test this one! The catalog also uses the room a lot better now, with four columns when the Duo is open instead of one giant card:

The My Cadence Scenic Rides catalog in dark mode on an open iPhone Duo, with a banner, search field, scenery filters, and a row of four video thumbnails.
The Scenic catalog on the open Duo in dark mode, captured on the simulator.

The little ones

A few smaller bugs showed up once we started really testing:

  • A missing Back button. A collapsed History detail had no way back, so selecting a ride with the phone open and then closing it left you stuck. Test that exact path if you use a split view!
  • Ride charts that stopped short. They had a fixed height, so on a big iPad the chart stopped about halfway down the screen. Now they grow to fill the space.
  • "1 rides" and "12 / 1 rides." Yes, really. It had nothing to do with Duo, but my achievements screen now reads "1 ride" and "12 rides."

Here is where History ended up, with the list and details side by side when the Duo is open:

My Cadence ride history on an open iPhone Duo, with a monthly activity chart and ride list on the left and the selected ride's stats and cadence chart on the right.
History on the open Duo with sample rides, captured on the simulator.

Testing without a Duo

Step three of Apple's guide is testing, and the iPhone Duo simulator is Apple's recommended way to test the full experience. One thing to be aware of: you change poses with the Closed, Partially Open, Open, and Rotate controls in Device Hub. Those controls are the only way to do it, so testing takes a while. My Mac even locked in the middle of one run, and that was the end of folding until I got back to it!

The simulator also has no Bluetooth, so we added a debug-only simulated cadence to ride with. With that, one ride kept going from open wide, through book, to open tall.

Wrapping up

If you're getting your own app ready, start with Apple's guide and treat the skill as a great checklist. Then put the app on the simulator and look at it, because the things that mattered most for My Cadence came from looking at it. And don't be surprised if your iPad app gets better along the way.

The update isn't in the App Store yet, but you can check out My Cadence today. It's the same simple app with a whole lot more on screen. Happy riding!

]]>
Introducing Clipboard Next for Mac and Windows https://montemagno.com/introducing-clipboard-next-mac-windows/ https://montemagno.com/introducing-clipboard-next-mac-windows/ Fri, 13 Nov 2026 18:30:00 GMT

When we demo, we're often trying to remember every command we need to enter. For Ignite, we have a series of .NET MAUI DevFlow commands to run, and remembering all of them just isn't going to happen! Sometimes you don't need to memorize anything. You just want the next item ready on your clipboard.

That is why I built Clipboard Next, a small, free, open-source app for Mac and Windows that lines up your commands, code snippets, and prompts so you can keep moving through your demo.

Here is a quick look at the idea:

A short, silent animation illustrating the command queue, terminal, and progress badge. You can also see the live animated demo on the Clipboard Next website.

Queue it up, then just paste

Add your snippets in the order you want to present, enable paste detection, and press Start. The first item lands on your clipboard. Paste with Command-V on Mac or Ctrl+V on Windows, and Clipboard Next copies the next item after a configurable delay. No trip back to your notes between commands.

Already have a Markdown demo script? Import it! Preview the code blocks, split them into individual lines or keep multiline blocks together, and optionally include blockquoted prompts.

A few little details make this useful beyond a straight list of commands:

  • Keep your place: an optional floating progress badge stays visible without taking keyboard focus.
  • Go off script: pause, resume, go back, skip ahead, or start from a selected snippet.
  • Copy something else: the queue pauses rather than overwriting the different text you just copied.
  • Keep it local: no account, telemetry, or cloud sync. Your queue stays on your device.
Clipboard Next on Windows with the third of seven snippets selected, pause and navigation controls, and a floating 3/7 progress badge.
The Windows queue and floating badge keep track of your place while presenting.

One thing to know: detection observes the paste shortcut, not whether the destination successfully pasted. Test your terminal or editor before presenting. The app doesn't run commands or press Enter, but multiline text can still execute when pasted into some terminals, so review your snippets.

Get Clipboard Next

On Mac, install with Homebrew or grab the signed, notarized app from GitHub Releases. You'll need macOS 14 or later and Input Monitoring permission for automatic advancement.

The Windows app targets Windows 11, with distribution through the Microsoft Store. Check the download page for release availability.

A little bit under the hood

The Mac version was pretty straightforward: Swift and SwiftUI for a native menu bar app, then Homebrew for installation. The Windows version is a native C#/.NET 10 app built with WinUI 3 and system tray controls. The queue logic was ported rather than shared, but both versions use a compatible queue-file format. If you're curious about how it works, check out the source on GitHub!

]]>
Introducing Event Social Post Wall: From .NET Conf to Your Next Event https://montemagno.com/introducing-event-social-post-wall/ https://montemagno.com/introducing-event-social-post-wall/ Thu, 12 Nov 2026 00:00:00 GMT

An event conversation doesn't happen in just one place. There is livestream chat, social media, and someone with a great question who doesn't want to create another account just to ask it.

For .NET Conf, we built the .NET Conf Community Wall to bring those conversations together. Throughout the event, it processed thousands of comments and posts across the different platforms, with 10 live moderators throughout the day reviewing what would appear on the wall. A huge thank-you to that team!

Now I'm sharing the reusable, open-source version: Event Social Post Wall. It is MIT licensed, built with .NET, and ready to customize for your own conference, meetup, livestream, or community event.

The .NET Conf Community Wall displays approved audience questions and social posts as cards, with platform attribution and controls for pinning posts.
The real .NET Conf wall. Incoming content does not go straight onto the screen: people choose what goes live.

A community wall with people in control

At .NET Conf, Twitch and YouTube chat used the exact #question tag. Social collection used #dotnetconf and ".NET Conf" event terms on X and Bluesky, plus the hashtag timeline on Mastodon. Attendees could also use our standalone question site without a social account.

Those are different entry points into the same workflow: collect, review, approve, present.

This isn't a public firehose of everything that mentions your event. The interesting part is the handoff: attendees contribute, moderators make decisions, and hosts choose what to discuss. Each group gets a different interface because those are genuinely different jobs.

Social posts and attendee questions enter staff review. Only approved live posts appear on the host-controlled wall, which also supports promotional cards.
One conversation, with a human decision between incoming content and the public wall.

A wall the hosts control

The wall supports images, light and dark themes, expanded posts, pinning, and an immersive presentation mode. Hosts can sort posts and decide when to bring newly approved content into view with Refresh.

That last part matters on stage. Approving a question shouldn't unexpectedly rearrange the screen while someone is reading another one! Pins and presentation preferences are local to the host's browser.

There are also promotional cards with links and QR codes for resources you want the audience to find.

A private space for the moderation team

The staff console includes a review queue, approved posts, search, source filters, and list or grid views. Named moderators can approve, reject, or withdraw posts, block verified social accounts, and manage promotional cards. Owners also manage team access, intake, source settings, manual entries, filters, and reports.

The .NET Conf staff console shows the Approved tab in grid view, source and search filters, moderator presence, and tabs for promos, social connections, post filters, reports, and team access.
The real staff console, showing already-approved posts. Reviewing content and presenting it are separate jobs.

Filters help with spam, duplicates, profanity, and other unwanted content, but passing a filter never means automatic publication. New arrivals remain pending or filtered until staff choose to approve them. Detected material edits return decided posts to review.

The owner report covers moderation counts, queue activity, source health, and more. CSV/JSON exports and social analytics have separate provider-policy opt-ins; they aren't a license to export everything a platform makes public.

Team access also means you don't have to give everyone the owner's passcode. Invite moderators individually, rotate an invitation code when needed, and disable access after the event. Conflicting moderation decisions are detected rather than silently overwriting another person's work.

Questions without another account

The question site is its own experience: write a question, optionally add a name, and send it for review. Staff can open or pause intake. Optional Cloudflare Turnstile verification adds another abuse-control layer without replacing moderation.

The .NET Conf question site shows a rocket beside the headline, a question text box, an optional name field, and a successful human-verification check.
A separate attendee experience, without the host controls or staff tools.

Watch the wall in action

Here is a walkthrough of the .NET Conf version, including how the pieces fit together:

Three sites, one event database

For the developers out there, this is where things get interesting. The application has three separately deployed sites, not one website with an admin button hidden somewhere:

  • Public: a React/TypeScript wall that reads approved, live posts.
  • Submission: a standalone Blazor Server attendee question site.
  • Admin: a React/TypeScript staff console whose backend also runs the Twitch, YouTube, X, Bluesky, and Mastodon collectors.

All three use the same ASP.NET Core 10 project with role-specific routes and services, backed by EF Core. Public and Submission don't register staff endpoints or social collectors. There is one database per event: SQLite for local development and Azure SQL when hosted.

Aspire starts public and admin Vite servers plus public, submission, and admin ASP.NET Core roles sharing SQLite. Hosted staging and production each have three App Services and a separate Azure SQL database, with approval required for promotion.
Aspire orchestrates local development. Bicep and the release workflow handle Azure hosting; staging and production do not share an event database.

Aspire brings the local stack together

Instead of juggling terminals, Aspire starts three API roles and two Vite development servers. Public and Admin each have a React frontend; Submission serves Blazor directly, so there is no third Vite server.

Admin starts first so migrations finish before the other APIs start. The AppHost generates the staff passcode, enables simulated demo posts by default, and wires up the local resources. aspire run discovers and builds the AppHost, starts the stack, and prints the dashboard link.

That means you can explore the workflow without Docker, an Azure account, or social credentials. The dashboard gives you one place to inspect resources and logs instead of guessing which terminal belongs to which site.

The EventWall Aspire dashboard lists admin-api, public-api, submission-api, admin-web, and public-web, all in the Running state, with their local endpoints.
The real local Aspire dashboard: three API roles and two Vite apps, running together. Submission serves Blazor directly, so it doesn't need another Vite app.

Prefer the terminal? aspire logs admin-api -f follows the admin logs, aspire ps lists running AppHosts, and aspire doctor helps diagnose local setup issues. When you're finished, aspire stop stops the stack. You can also launch the same AppHost with dotnet run --project src\EventWall.AppHost.

One important boundary: this AppHost is local-only and refuses publish/deploy. Azure hosting uses Bicep, App Service, Azure SQL with separate runtime database users, and a release workflow that deploys to staging before an approved production promotion.

Every real connector starts disabled and requires explicit enablement and policy approval. Provider behavior also differs: Bluesky uses Jetstream, while X and Mastodon polling have deletion-detection limitations. Withdrawals leave the wall on its next successful check, not instantaneously. The platform guides explain those trade-offs.

Run your own community wall

Start with the repository and getting-started guide. You'll need the .NET 10 SDK, a supported Node.js version, and, preferably, the Aspire CLI. After the documented setup, aspire run brings up the local demo.

Try submitting a question, approving it, and refreshing the wall. Then customize your event name, hashtag, and question-site URL before enabling real sources.

You don't need the original .NET Conf domains or cloud account. The documentation covers branding, provider connections, and an event-day rehearsal checklist so you can test the complete experience before putting it on a projector.

For hosting, follow the Azure deployment guide. The included baseline is single-instance; review the scaling guidance before increasing capacity.

Want to dig deeper? Check out the architecture docs and editable diagrams: moderation workflow and application architecture.

What's next?

Next up, I plan to upgrade the project to .NET 11 and bring some new Blazor features into the attendee question experience. The version you can try today runs on .NET 10; those updates are still ahead.

I'm excited to keep building on this! In the meantime, bring the conversation together, keep people in control, and make it your own.

]]>
Restore SwiftUI Menu Icons on macOS 27 with One Line https://montemagno.com/restoring-tiny-clips-menu-icons-macos-27/ https://montemagno.com/restoring-tiny-clips-menu-icons-macos-27/ Sun, 08 Nov 2026 16:00:49 GMT

Tiny Clips had a nice little dropdown full of icons on macOS 26. On macOS 27, most of those icons disappeared from its SwiftUI MenuBarExtra menu. The labels were still there, but the menu looked quite different.

If your app uses symbol images in SwiftUI menus, you might be seeing the same thing. Before you start replacing your SF Symbols or building an AppKit bridge, check the menu's label style!

Tiny Clips menu on macOS 27 with text-only Screenshot, Copy Text from Region, Record Video, Studio Recording, and Record GIF items.
Before: menu items without visible icons.

Where did the icons go?

This is an intentional default change, not necessarily a missing image or a broken Label.

In the macOS 27 release notes, SwiftUI entry 170480710 explains that menu bar menus and macOS context menus now show a reduced set of images:

  • Symbol images are hidden by default in most contexts.
  • Non-symbol images remain visible, according to the SwiftUI entry.
  • Common system items such as Settings, Share, and Print still get default visible images.

That last detail explains why a menu can look inconsistent: some icons survive even when most of your app's symbols disappear.

Apple recommends reviewing which items actually benefit from images, particularly items representing an object or concept rather than an action. You don't have to opt every menu back in. However, when you do want to preserve an existing icon-driven menu, SwiftUI already has the modifier you need.

The one-line SwiftUI fix

Use .labelStyle(.titleAndIcon) on the content inside MenuBarExtra.

The Tiny Clips implementation PR adds the modifier in mac/TinyClips/TinyClipsApp.swift. The existing content view becomes:

MenuBarContentView(captureManager: captureManager, sparkleController: sparkleController)
    .labelStyle(.titleAndIcon)

That is the whole code change: one added modifier!

Applying the style to the content view sets it for the labels within that hierarchy, rather than changing label styling across the entire app. In Tiny Clips, that scope includes submenu labels and recent-capture labels with thumbnails or symbol fallbacks. It doesn't create images for text-only items.

There is no AppKit bridge, private API, new dependency, or macOS version branch. The existing actions, keyboard shortcuts, and platform guards stay unchanged.

Tiny Clips menu on macOS 27 with camera, text-recognition, video, layers, and image icons beside the capture options, plus icons for folders, recent captures, library, and settings.
After: icons visible alongside the menu labels.

There are the icons!

Does this raise the minimum macOS version?

No, not for Tiny Clips. labelStyle(_:) is available from macOS 11.0, and .titleAndIcon is available from macOS 11.3. Tiny Clips already supports macOS 15.0 and newer, so this change doesn't need an availability check.

Using AppKit instead?

If you create NSMenuItem instances directly, AppKit has a separate preferredImageVisibility property on macOS 27 and newer:

if #available(macOS 27.0, *) {
    menuItem.preferredImageVisibility = .visible
}

Here, menuItem is your existing NSMenuItem. This is the AppKit option, not an extra step for SwiftUI. AppKit's release notes also describe SDK-linkage-dependent image visibility; don't apply those rules to SwiftUI's separate release-note entry.

For a SwiftUI MenuBarExtra like Tiny Clips, start with the supported label-style modifier. A small, scoped change beats replacing your menu just to ask for its icons back.

Happy coding.

]]>
Introducing Tiny Clips Studio: Screen Recordings You Can Keep Editing https://montemagno.com/introducing-tiny-clips-studio/ https://montemagno.com/introducing-tiny-clips-studio/ Tue, 03 Nov 2026 22:00:00 GMT

You finish recording a demo, play it back, and notice that your camera bubble is sitting right on top of the button you were explaining. Or the recording looks good, but you want to zoom in on one little detail and switch to a different layout halfway through.

Trimming the beginning and end isn't going to fix that!

Today, I'm introducing Tiny Clips Studio (Preview) for macOS and Windows. It adds an editable recording workflow to Tiny Clips, the little menu bar and system tray app for screenshots, videos, and GIFs.

The idea is pretty straightforward: record now, choose the look afterward. Keep your screen and camera separate, arrange them in Studio, and create the final MP4 when you're ready to share. Want a different look later? Reopen the project and change it.

Here is a quick look at Studio in action:

A 45-second overview with music and no narration, showing editable screen and camera layers, layouts, zooms, cuts, and export. It combines real editor controls with illustrative compositions; preview capabilities vary by platform.

Download Tiny Clips for macOS and Windows, then enable Settings > Studio > Tiny Clips Studio (Preview).

Let's take a look at what had to change in the recording pipeline, how two native apps agree on a project, and some of the decisions that went into building the editor.

From a recording to a project

The biggest change in Studio happens before you ever touch an editing control.

An ordinary Tiny Clips recording produces a finished video. On Windows, the camera and overlays are drawn into the frames while recording. On macOS, the screen and camera are captured separately, but the normal workflow combines them after recording. Either way, by the time you start trimming, you're working with one flattened picture.

Studio takes a different path. A Studio recording keeps:

  • The screen recording, without the camera composited on top.
  • A separate camera recording, when you include your webcam.
  • Cursor and click timing data, for features such as zoom suggestions.
  • Project settings, describing the layout, styling, and edits.

Instead of immediately combining everything, Studio opens those pieces in an editor. The final composition is rendered when you export.

That is what makes moving the camera after recording possible. It isn't trying to erase a camera bubble from an existing video. The screen underneath was kept in the first place.

Screen recording, optional camera recording, and click and cursor data feed an editable Studio project. Layouts, scenes, zooms, and cuts are applied before exporting an MP4, while the project remains editable.
The Studio workflow: keep the ingredients separate, edit the project, and render the video when you're ready to share.

One important distinction: Studio needs those original pieces. It doesn't magically separate the webcam from an older, flattened MP4.

Give the recording a look, then tell the story

You can start with a screen-only layout, add a camera bubble, put the screen and camera side by side, or switch to camera only. Change the background, padding, and rounded corners, then adjust the camera's size, position, and shape.

The real Windows Studio editor in light mode, with the screen preview and camera bubble on the left, Scene layout choices on the right, and editing lanes below. Color bars and frame numbers are synthetic test footage.
The real Windows Studio Preview editor, captured in an isolated test host. The color bars and frame markers are synthetic clips used to check composition and timing, not a UI mockup.

For a quick demo, that might be all you need: record, frame it nicely, trim, and export. No need to turn every clip into a production.

But the layout doesn't have to stay the same for the entire video. Scenes let different parts of a recording use different arrangements. For example, you could open with the camera, switch to the screen with a small camera bubble for the walkthrough, and finish side by side. Transitions can be instant or animated.

There are also timeline tools for zooms, cuts, and speed changes. Zoom in on the setting you're explaining, cut out a pause, or speed through a repetitive step. Zooms can focus on a fixed point or follow the pointer when that recording includes pointer data. Click-based suggestions give you a starting point that you can adjust rather than committing you to an automatic edit.

A cropped Windows Studio timeline in dark mode. Separate lanes show three scenes, two zooms, two cuts, faster and slower speed segments, and trim handles.
A closer look at the actual timeline: scene layouts, zooms, cuts, and speed changes each have their own lane. Cropped from the test project's editor window.

This is still a preview, and the two platforms aren't identical in every detail. Audio controls, camera background effects, and playback behavior have platform-specific limitations. The Studio development pull request tracks the implementation and known issues; the shared project design isn't a promise that every preview control behaves identically on both systems.

One design, two native implementations

For the developers out there, this is where the project gets interesting.

Studio wasn't built by putting the same web editor inside both apps. The Mac implementation uses Swift and SwiftUI, with AVFoundation and Core Image handling composition and rendering. Windows uses C# and WinUI 3, with Direct3D/Direct2D rendering and Media Foundation for video processing.

Different stacks, but they need to agree on what a project means.

A shared project format, layout math, and golden test fixtures guide two native implementations. macOS uses Swift, SwiftUI, AVFoundation, and Core Image. Windows uses C#, WinUI 3, Direct3D, Direct2D, and Media Foundation. Both provide preview and MP4 export.
Architecture at a glance. The shared layer is a specification and test data, not a common UI runtime; preview capabilities still vary by platform.

The foundation is a shared project format and rendering specification. Layout positions use normalized coordinates rather than assuming a particular recording resolution. Edits refer to the source recording's timeline, and a time map handles the relationship between that timeline and the exported video after cuts and speed changes.

Why does that matter? Cutting out five seconds shouldn't require rewriting every zoom and scene that comes after it.

The layout resolver takes a project, a time, and a canvas size, then calculates what belongs in that frame. There is a Swift implementation and a C# implementation, checked against the same shared fixtures. The time mapping and zoom-suggestion logic use shared fixtures too.

That gives both implementations concrete examples to agree on, rather than relying on two screenshots that look roughly similar. It doesn't guarantee interchangeable projects or pixel-identical exports, but it makes the common rules testable.

Some of the most useful changes weren't rendering features

The development history starts in early October and includes plenty of work on renderers, exporters, and timelines. It also records the smaller decisions that shape what using Studio actually feels like.

For example, an early version had an "After recording" setting and a separate "Record for Studio" choice. That became one explicit entry point: Studio Recording... on the Mac and a Studio tile on Windows. Ordinary Video stays ordinary Video.

The inspector changed too. Instead of putting eleven sections in one long scroll, Studio uses a rail that opens one panel at a time: Scene, Background, Screen, Camera, Zoom, Cut, Speed, Audio, and Project. Selecting a zoom on the timeline brings up its controls. Dragging the camera opens the Camera panel.

The Windows Studio Camera inspector, with size, corner position, horizontal and vertical offset sliders, and a Circle shape selection. The adjacent rail switches between Scene, Background, Screen, Camera, Zoom, Cut, Speed, Audio, and Project.
The Camera panel and inspector rail, cropped from the running Windows editor. One set of controls at a time, instead of one long list.

Those aren't flashy export features, but they save you from hunting through a wall of sliders.

Testing also had to go beyond compilation. One Windows inspector issue survived builds and unit tests because the problem only appeared when the actual window was constructed: a referenced UI style didn't exist. Opening and exercising the real window caught what the model tests couldn't.

The work includes shared data tests, rendered-frame checks, export checks, and Windows UI Automation. A build passing and an editor being usable are different questions, and the development notes deliberately distinguish what was compiled, what was checked automatically, and what someone actually tried.

Keep the project, not just the MP4

An export is the video you share. The project is what lets you come back and make another version.

Studio manages projects inside the app, but you can also save a project as a folder containing its recordings and a .tinyclips project file. Opening that file imports a copy as a new draft, leaving the saved folder alone.

A Studio project can produce a flattened MP4 for sharing or a saved folder containing a .tinyclips file and separate recordings for future editing. Save the folder outside app-managed storage. Pinning a project prevents automatic cleanup but is not a backup.
Two different things to keep: the MP4 you share and the project folder you can edit again. Pinning a managed project is not the same as saving an independent copy.

There is an important storage trade-off here: keeping editable recordings takes more space than keeping only the finished MP4.

By default, exported projects are eligible for cleanup after 30 days without use, with a 10 GB limit for cleanup-eligible projects. Drafts and projects marked Keep this project are protected from automatic cleanup. Those settings are adjustable.

Keep this project protects against Studio's cleanup; it isn't a backup. In particular, Windows stores its managed projects in the app's data folder, which can be removed when you uninstall or reset the app. Save a project folder somewhere you keep your work if you want to retain it independently of the installation.

And once Studio has cleaned up the source files, the exported MP4 still plays, but those separate editable layers are gone.

Try Studio Preview

Studio Preview is included in the new store releases for macOS and Windows. There is no separate Pro gate for Studio, and it is off by default.

To get started:

  1. Update Tiny Clips. You can find the downloads and store links at tinyclips.app.
  2. Open Settings > Studio.
  3. Turn on Tiny Clips Studio (Preview).
  4. On macOS, choose Studio Recording... from the menu bar menu. On Windows, choose the Studio tile in the tray menu.
  5. Record a short demo, arrange it in Studio, and export an MP4.

If you just want your usual recording workflow, keep using Video. Turning Studio on doesn't turn every video recording into a Studio project, and leaving it off keeps the ordinary workflow unchanged.

Explore the design and source

Want to dig into how it works? Here are a few useful places to start. The implementation links below point to the revision used for this write-up, while the pull request tracks ongoing preview work.

The diagrams are available as editable Excalidraw files too: recording workflow, native architecture, and projects versus exports.

Give Studio a try with a short recording, move the camera somewhere else after you've finished, and export a second version. That is the idea in one little experiment.

If something doesn't work as expected, or you have an idea that would make recording demos better, open an issue in the Tiny Clips repository. I'd love to hear what you create with it.

]]>
More AI Agents, More CI: Reducing GitHub Actions Costs & Build Time https://montemagno.com/reducing-github-actions-costs-ai-agents/ https://montemagno.com/reducing-github-actions-costs-ai-agents/ Sat, 24 Oct 2026 19:00:00 GMT

AI coding agents are pretty awesome at helping me move projects forward. They can investigate an issue, make a change, and get a pull request ready while I am working on something else. But there is another part of that workflow that has to keep up: CI.

More agents means more branches, more pull requests, more updates to those pull requests, and more GitHub Actions jobs. Add Windows, Android, iOS, macOS, x64, and ARM64 into the mix, and one small change can turn into a whole lot of build machines doing work.

I could see it in my own usage throughout the year. The chart for my top repositories kept climbing, with a particularly noticeable jump toward the fall. That is the value of the Actions usage, not what I actually paid: much of it is included or covered by GitHub's free usage rules. Still, the growing compute footprint was a good reason to take a closer look.

Qualitative sketch of the supplied January-to-October repository usage chart. Several anonymized repository lines rise over the year, with the largest increases toward August through October. Dollar values and exact proportions are intentionally omitted; these are gross usage trends, not net billed charges.
The trend that prompted the audit. Qualitative redrawing of my top-repository usage chart, with amounts, exact proportions, and repository identities omitted. Gross usage value is not the amount billed; October is a partial month.

That was the problem I wanted to dig into across my apps. Not "how do I stop testing things?" Instead: how do I stop paying for, and waiting on, work that doesn't need to happen?

I used the GitHub Copilot app to analyze my GitHub usage export, inspect the workflows, and work through changes across repositories. Some wins were straightforward. One of the most useful discoveries was deleting caches we had just tried adding. That is right: a cache hit is not automatically a performance improvement!

The build matrix is a multiplier

Let's say an agent pushes three updates to a pull request, and each update starts four platform jobs. That is twelve jobs, before retries, release validation, or another agent working on another feature.

Parallel execution makes this easy to miss. Four five-minute jobs might finish in roughly five minutes if they start together, but they still consume about twenty runner-minutes. Queueing can make the wait longer without adding the same amount of execution time. A release waiting for approval is another thing entirely.

Those are different measurements:

Measurement What I want to learn
Runner execution time How much compute did the jobs actually use?
Pull request feedback time How long until I can act on a useful result?
Billed usage What remains chargeable after GitHub's billing rules and allowances?

The goal is to improve the right number, not just make a workflow page look shorter.

Start with the export, then follow it into the logs

My first prompt in the GitHub Copilot app was:

can you do an analysis of my actions across my repos running on windows and mac runners and see where we can optimize and cut costs

Then I attached the GitHub summarized usage CSV. My next message was simply:

Herei sm y usage report

Yes, typos and all. The useful part was supplying the data, not writing a magical prompt.

We looked at an October 1-24, 2026 snapshot containing 1,100 export records, reconciled it with GitHub's live billing API, and inspected 66 workflows across 14 repositories associated with Windows, macOS, or paid Actions usage. We also fetched 748 job records, not 748 independent workflow runs. That was complete for two paid hotspots, with selected representative runs elsewhere, not a complete performance census of every repository.

The export told us where to look. Workflow files and job logs told us what to change.

We separated setup, restore, compilation, tests, packaging, and cache transfer. We also checked whether a job really needed that operating system, whether superseded runs were still working, and whether "nothing changed" checks were allocating a native runner just to exit.

If your export includes gross usage, discounts, and net charges, keep those separate. An avoided dollar of nominal compute is not necessarily a dollar off your bill. I am deliberately not sharing my billing totals or repository-level billing breakdown here.

One more important limitation: a busy partial month is not a reliable annual forecast. It is an excellent place to find waste, though.

Put each job on the runner it actually needs

First things first: an Android build does not automatically need a Mac just because the same application also targets iOS.

For my FIRE calculator Android workflow, we moved from macos-15 to ubuntu-24.04, installed the Android-specific .NET MAUI workload, and configured the required JDK and Android SDK dependencies. We kept the required check name, tests, signing configuration, artifacts, and gates.

The hosted Android job completed in 2 minutes 35 seconds with all 447 tests passing. That confirms the Linux path worked; it is not a matched before-and-after speed benchmark. The signed AAB credential path was not exercised, and we did not dispatch a release to prove it.

Why move it? Here are the relevant GitHub standard runner list rates, checked October 24, 2026:

Runner billing SKU USD per minute Relative to Linux x64
Linux x64, 2-core $0.006 1.00x
Windows x64, 2-core $0.010 1.67x
macOS, M1 or Intel $0.062 10.33x
Published per-minute rates normalized to Linux x64 at 1: Windows x64 is 1.67 and macOS is 10.33.
Published list-rate comparison, not my bill or a hardware-performance comparison. Runner capabilities and runtimes differ.

At equal billed runtime, moving eligible work from that macOS SKU to Linux x64 reduces its nominal compute price by about 90.3%. That is a rate comparison, not a measured reduction in my total bill.

In fact, this example is a public repository: standard GitHub-hosted runners are free for public repositories. For private repositories, included allowances and discounts affect marginal savings. Larger runners have different rules and are not free just because a repository is public. GitHub also rounds each job's partial minutes up to whole minutes.

The practical lesson is still useful: keep Apple builds on a compatible Mac, Windows-specific packaging on Windows, and move portable work only after proving it works elsewhere.

Don't start an expensive machine to say "nothing changed"

Another discovery was in My Stream Timer. Its required Core test and x64/ARM64 matrix checks still needed to report results, including when a change did not affect the app.

Simply skipping an entire workflow is not a safe substitute for understanding your branch rules. Required checks can end up waiting for a result that never arrives.

Instead, we kept the check names and matrix shape. No-change checks run on Ubuntu; actual Windows work still runs on Windows.

A change detector routes unchanged app inputs to a Linux no-op required check and changed inputs to Windows builds and tests. Detection errors fail rather than reporting success.
Keep the required-check contract. Route the work, not the truth of the result.

There is a gotcha here: a failed change detector must not become a successful no-op. We checked invalid outputs, upstream failures, and cancellation as well as the happy path. Hosted Windows packages for both architectures, tests, and package validation passed. Seven live routing fixtures exercised the no-change and failure/cancellation paths.

This proves the routing behavior. We did not collect a controlled per-run latency benchmark, so I am not attaching a made-up number to it.

Cancel superseded CI, not releases

When an agent pushes a fix while the previous build is still running, do you need both ordinary CI runs to finish?

Usually, I want feedback for the newest commit. Workflow- and pull-request-scoped concurrency lets us stop spending time on an obsolete revision without having different workflows cancel each other.

Here is a small illustrative example for ordinary pull request CI, not a drop-in release policy:

on:
  pull_request:

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
  cancel-in-progress: true

We added scoped cancellation to ordinary build workflows in Tiny Clips and OutroKit. Release publishing and deployment workflows were not the target.

Cancellation cannot refund work that already ran. Its payoff depends on how often updates overlap and how much execution remains when the new commit arrives. Measure that instead of assuming every canceled run saves its full duration.

Measure the cache, including moving the cache

This was my favorite part of the investigation.

In Tiny Clips, we tried separate NuGet download caches for direct x64 builds, direct ARM64 builds, Store builds, and tests. That sounds pretty reasonable. However, downloading and unpacking a cache takes time too.

For the direct builds, warm cache-plus-restore paths were 16 seconds slower for x64 and 10 seconds slower for ARM64 than direct restore without the cache. Even the Store cache, which improved over its cold-fill path, was about seven seconds slower warm than restore alone.

We removed all three build caches.

The test cache was different:

Test dependency setup path Observed time
Restore without the cache 32 seconds
Cold cache path, including its save 44 seconds
Warm cache path, including cache overhead 21 seconds
Tiny Clips test setup took 32 seconds without a cache, 44 seconds on the cold cache path, and 21 seconds warm. Warm saved 11 seconds versus no cache.
Observed setup timings, not total workflow durations. One cold/warm pair is useful evidence, not a repeated controlled benchmark.

That is an 11-second warm setup improvement, about 34% of this setup phase. Not a 34% faster application build! The retained test cache was about 0.45 GiB, compared with roughly 3.80 GiB across the initial cache experiment.

The decision rule is pretty simple:

Compare cache lookup, download, extraction, remaining restore, and post-job save against the no-cache restore. A green "cache hit" message is not the finish line.

We kept full platform coverage. Tiny Clips validation included Windows packages for both architectures and the Store flavor, 2,388 Core test cases with zero failures and four skips, 218 passing App tests, plus 398 Mac tests and a Mac App Store build.

In OutroKit, we retained fresh restores in each job and scoped NuGet download caches by OS, architecture, and dependencies. The full Linux, Windows, Intel Mac, and Apple Silicon Mac test matrix remained. All six jobs passed, and the pack job reused the exact build cache. That establishes correctness and reuse, not a controlled speedup measurement.

Follow-up: where does the Windows cache live?

After that experiment, Awake Coding's post on Windows .NET builds and NuGet cache placement gave us another thing to measure: where NuGet reads and writes locally, not whether to download an archive from actions/cache. Those are separate decisions!

We ran four fresh GitHub-hosted Windows x64 jobs each for Tiny Clips and my file converter: two default-location jobs and two with NuGet's global packages and HTTP caches under RUNNER_TEMP. Both caches started empty; remote Actions cache transfer was off. Within each app, source, SDK, workspace, toolchain, and commands stayed the same. We tested both cache paths together, not each variable's contribution independently.

Default caches were on C:, while temporary files and the workspace were on D:. All jobs used the same Windows image, but one temporary-location job in each pilot landed on newer EPYC 9V45/NVMe hardware, versus EPYC 7763/SAS for the other three. The faster-hardware jobs are excluded below. These are independent machines in the same broad CPU/storage class, not repeated paired lab measurements.

Cold-cache pilot Default restore, two jobs Temporary-location restore, one comparable-class job Whole experimental job, default → temporary
Tiny Clips 51-56 seconds 13 seconds 227-237 → 183 seconds
File converter 53-61 seconds 10 seconds 357-368 → 259 seconds

That is a promising cold-restore signal across WinUI and MAUI! Other phases barely changed: Tiny Clips' build/package step went from 138-144 seconds to 137; the converter's compilation from 48-52 to 46. Converter workload installation stayed around 20-22 seconds and tests around 41-43. This is separate from the isolated-SDK improvement described below; that setup was unchanged between the converter arms.

All four Tiny Clips jobs passed direct x64 build and MSIX inspection; this pilot did not run tests or ARM64 builds. All four converter jobs passed the Windows app build, native x64/ARM64 checks, and 15 Bridge plus 297 Core tests, with three expected Apple-only skips per job. Neither pilot exercised Store packaging or release/signing paths. Whole-job times include provisioning and diagnostics, not a promise of production CI duration. The Tiny Clips report and converter report preserve the experiment details.

Here is an illustrative GitHub-hosted Windows step, before SDK setup, remote cache restore, or any NuGet-consuming command:

- name: Put NuGet caches under runner temp
  if: runner.os == 'Windows' && runner.environment == 'github-hosted'
  shell: pwsh
  run: |
    $packages = Join-Path $env:RUNNER_TEMP 'nuget-packages'
    $http = Join-Path $env:RUNNER_TEMP 'nuget-http'
    New-Item -ItemType Directory -Force -Path $packages, $http | Out-Null
    "NUGET_PACKAGES=$packages" >> $env:GITHUB_ENV
    "NUGET_HTTP_CACHE_PATH=$http" >> $env:GITHUB_ENV

Verify your actual paths and disks first: RUNNER_TEMP does not guarantee a faster D: drive, especially on self-hosted machines. Preserve existing deliberate local/NVMe cache placement. If you also use actions/cache, point its package path at ${{ env.NUGET_PACKAGES }} and version the key when changing the cache layout, retaining OS, architecture, and dependency scoping. Do not remotely persist the HTTP cache or credential paths.

Faster feedback is not automatically a smaller bill. The comparable Tiny Clips jobs all round up to four runner-minutes; the converter observations round from six/seven to five. These public repositories use free standard hosted compute, so neither is a measured dollar saving. These pilots did not change production workflows. Tiny Clips' retained test cache was already on D:, and the converter uses a remote package cache in production: neither warm-path benefit was measured here.

My takeaway: try local placement for cold restores, then measure the whole job and any remote transfer separately. It does not overturn the decision to remove slower remote build caches, and these pilots are not included in the cost estimate below.

Fix the environment, not just the cache

Across other cross-platform apps, Windows MAUI workload installation was an obvious hotspot: roughly six and a half to seven minutes in representative jobs.

Tempting solution? Cache the workload folders and skip installation.

Not so fast. The logs showed MSI-managed components and machine-wide Windows Installer state. Restoring a directory is not equivalent to installing that toolchain correctly. We deferred workload-folder caching rather than trade a slow reliable build for a fast mysterious one.

But that did not mean giving up on setup. In my file converter, the preinstalled SDK was reconciling unrelated Visual Studio Android, Apple, and WebAssembly workloads when we only wanted maui-windows. Instead of caching that machine-wide state, we used actions/setup-dotnet with DOTNET_INSTALL_DIR pointing to a fresh directory under runner.temp. The isolated SDK uses file-based workload installation; we still install and verify the pinned workload explicitly. No registry edits, deleting installer markers, or pretending a folder restore is an installation.

The observed Windows workload-install step went from 5 minutes 55 seconds to 20 seconds, and the whole job from 10 minutes 39 seconds to 3 minutes 48 seconds. All seven hosted checks passed, including the Windows app build and native shell checks. These are observations across workflow revisions, not a controlled benchmark attributing every second to SDK isolation; Store packaging was not dispatched.

Observed Windows timings across workflow revisions: workload installation fell from 5 minutes 55 seconds to 20 seconds; whole job duration fell from 10 minutes 39 seconds to 3 minutes 48 seconds. Installation is part of the job, not an additional saving.
Observed hosted runs, not a controlled benchmark. Workload installation is included in total job time; do not add the two reductions together. Store packaging was not exercised.

Some optimizations should stay on the drawing board

Apple pipelines had a similar lesson: a small test body can sit inside a much longer compile, install, simulator startup, and test operation. Profile the whole operation before deciding that deleting tests is the answer.

In one iOS cache experiment, the warm run avoided recompiling unchanged Swift files and cut a portable test step from about two minutes to 17 seconds. Awesome, right? Except the whole workflow went from 11 minutes 15 seconds cold to 14 minutes 53 seconds warm. Setup and native-test overhead outweighed the compilation win. One pair is not a controlled benchmark, but it certainly does not justify claiming overall savings.

We rejected that iOS cache experiment rather than keep the overhead and complexity. The final proposal keeps earlier simulator startup and disables Homebrew's automatic update/cleanup, with all 52 tests preserved. Its uncached run took 11 minutes 27 seconds, near the audit median, so I am counting zero overall savings from it. Source-built media caching in my file converter also has no verified hosted warm-hit benefit yet.

For the converter, I also explicitly chose faster automatic PR checks with full Mac proof on demand. The initial full Mac job took 9 minutes 17 seconds; compile-only checks took 3 minutes 10 seconds in one run and 4 minutes 15 seconds in the latest. Those are observational timings on differing runner images, and this is an intentional change in coverage frequency, not a cache speedup or identical work running faster. Automatic Mac compilation/static guards remain; the manual media, sandbox, and runtime proof must run for the exact release candidate before Store approval. Store signing and approval boundaries stay separate.

The media cache also correctly missed when the runner image changed. That is a safety check doing its job, not evidence of a warm-cache speedup. A reusable media cache must contain verified unsigned source-built outputs, never signing credentials or signed app bundles.

The prompts were a starting point, not the quality gate

After the analysis, my next actual prompt was:

Let's send PRs for all of these please with optimizatons

In the GitHub Copilot app, that became separate, isolated coding sessions for the repositories. Each could inspect its own workflow, make changes, and bring back a pull request and hosted CI evidence. The useful part was being able to coordinate the results: keep the good cache, remove the slower ones, preserve the required checks, and challenge optimizations that were not safe.

For a repeatable version of this process, here are suggested follow-up prompts, not quotations from my original conversation:

Analyze this GitHub Actions usage export alongside the workflows
and representative job logs. Separate runner execution time,
feedback latency, gross usage, discounts, and net billed charges.
Identify the highest-impact changes and the evidence for each.
Do not publish the raw export or private billing details.
For each proposed optimization, preserve required check names,
platform coverage, signing boundaries, and release gates unless
I explicitly approve a behavior change. Explain what can run on
Linux, what must stay native, and how failures propagate.
Measure no-cache, cold-cache, and warm-cache setup, including
lookup, transfer, extraction, restore, and post-job save time.
Remove caches that do not beat the no-cache path. Report sample
size and limitations; do not claim overall workflow speedups
from setup-only measurements.
Validate with hosted CI and report exactly what passed, what was
not exercised, and whether the PR is open or merged. Do not
dispatch a signed release just to test an optimization.

I like this approach because the agent is doing the investigation and implementation, but the acceptance criteria are still concrete. "It should be faster" is not enough.

So, how much time and money does this save?

Putting the changes together, a reasonable planning scenario is roughly 45-51% less nominal compute cost and 10-20% fewer runner-minutes for the example workload below. That combines cheaper runners, less redundant execution, and the test cache that actually helped. It is an estimate informed by our tests, not a measured reduction across my account.

Illustrative combined estimate, with the original workload indexed to 100: nominal compute cost falls to about 49-55, and runner execution time falls to about 80-90. This models runner migration, avoided redundant execution, and test setup caching; it is not measured account savings or pull request latency.
Combined planning scenario, not my actual workload or bill. Lower is better; baseline = 100. Simulator/media-cache gains, Windows SDK isolation, and on-demand Mac proof are excluded from this model.

The assumptions: 100 five-minute jobs split 40 Linux, 20 Windows, and 40 Mac; move 20 eligible Mac jobs to Linux at equal runtime, then avoid 10-20% of execution proportionally through cancellation/no-change routing, net of routing overhead. Twenty of the original Linux jobs also get the observed test-setup cache benefit, assuming 80% warm hits and including cold-cache penalties, scaled down with the avoided work. That works out to about 52-102 runner-minutes saved per 100 jobs. The job mix and avoidance rate are illustrative assumptions, not measurements of my fleet.

Actual billed savings depend on free usage, allowances, and per-job rounding, which this approximate model does not calculate. Less total execution also does not mean every PR finishes 10-20% sooner. Still, it gives us a useful target to compare with the next usage report, without counting unproven optimizations as wins!

Make the next build smarter

The big takeaway for me is not to use fewer agents or stop building cross-platform apps. It is to make the CI graph as intentional as the code those agents are changing.

Start with your usage export. Follow the expensive work into job logs. Put portable work on the right runner, stop obsolete builds, keep required checks truthful, and make caches earn their place.

Then let the agents help with the cleanup, and ask them to bring back the evidence. More pull requests do not have to mean proportionally more wasted CI.

]]>
Rebuilding 13 Years of Blog Posts as a Static Site with GitHub Copilot CLI https://montemagno.com/rebuilding-my-blog-as-a-static-site-with-github-copilot-cli/ https://montemagno.com/rebuilding-my-blog-as-a-static-site-with-github-copilot-cli/ Fri, 16 Oct 2026 16:00:00 GMT

If you are reading this, you are looking at a brand-new montemagno.com. It looks a lot like the old one on purpose, but underneath it is a completely different animal: no database, no server, no admin panel. Just Markdown files in a private GitHub repo, built by Hugo, verified by GitHub Actions, and served from GitHub Pages.

I have been blogging here since 2012 (hi, Tumblr) and on Ghost since 2017. Ghost was great, but over the years my wishlist kept growing: I wanted to write in my editor, keep images next to my posts in git, have dark mode, get rid of jQuery and ad scripts, and most of all own the whole thing as plain files. The thing that always stopped me was the sheer size of the job: 274 posts, a thousand images, nine years of URLs that people and search engines link to, and a theme I really liked.

So this time I did it differently. I opened a terminal, started GitHub Copilot CLI, and said roughly this:

I want to completely remake my site to be a static site with full backwards compat with the format/slugs, images, import of data, easily writing things in markdown and then having it displayed, easy image management. Here is my Ghost export and my existing design system. Do deep research on montemagno.com and let's plan it all out.

About an afternoon later the initial version of the site you are looking at existed, every one of 2,172 legacy URLs was verified to resolve, and a CI pipeline was standing guard. This post is the story of that migration, the follow-up work to get it launch-ready, and what I learned about working with an agent on a project this size.

Timeline of the migration session
The initial migration session, wall-clock. Planning took longer than the migration scripts.

Step 0: Plan first, code second

The best decision I made was starting in plan mode. Instead of diving into code, Copilot CLI spent the first chunk of time doing research:

  • It parsed the Ghost export JSON and reported exactly what was in it: 298 posts (274 published, 13 drafts), 10 pages, 323 tags, ~1,330 image references, which posts were stored as Ghost "mobiledoc" Markdown cards versus the newer Lexical editor, how many used gists, YouTube, Fireside podcast players, and so on.
  • It spun up a research sub-agent that crawled the live site and came back with a precise inventory: URL patterns (/slug/, /tag/slug/, /page/N/, /rss/, /tag/slug/rss/, /author/james-montemagno/), posts per page, every <meta> and JSON-LD tag Ghost emits, the fonts and colors in the Cedar theme, the third-party scripts, and even the fact that /slug/amp/ 301s back to the canonical URL.
  • It dug through my old montemagno.com-assets repo and found the Cedar theme source, the brand guidelines, and a redirects.json with 293 legacy redirects going back to the Tumblr days.
Charts of how Ghost stored content and which embeds were converted
Knowing what was actually in the export made the converter a lot simpler to design.

Then it asked me a handful of structured questions: which static site generator, where to host, how faithful to keep the design, what to do about comments, newsletters, ads, and the little dog that pops up at the bottom of the page. I pushed back on its first suggestion (Astro), it gave me an honest comparison of Hugo, Eleventy, Statiq, Zola, and Jekyll, and we landed on Hugo on GitHub Pages with an "evolve the Cedar look" design direction.

The output of plan mode was a 16-item plan with dependencies. Only after I approved it did anything get written to disk. That alone saved me from a dozen wrong turns.

The architecture

Here is what we ended up with. Every box is files in one repository.

Architecture diagram of the new site
Sources on the left, one-time migration tooling in the middle, the Hugo repo, then Actions and Pages.

A few things worth calling out:

  • Images keep their exact URLs. Ghost served images from /content/images/YYYY/MM/name.png. The new site puts them at static/content/images/YYYY/MM/name.png, so every hotlink, Google Images result, and old tweet still works. New posts just drop images into the current month's folder.
  • Redirects are front matter. GitHub Pages has no server-side redirects, so each legacy URL becomes an aliases: entry on the post it should point to. Hugo emits a tiny HTML stub with <meta http-equiv="refresh"> and a canonical link. Search engines treat it as permanent.
  • Tags are real pages. content/tags/<slug>/_index.md holds the display name (so xamarin-forms renders as "Xamarin.Forms"), and a few near-duplicate tags (vs-code, visual-studio-code) were merged into vscode with aliases for the old URLs and their RSS feeds.
  • RSS at /rss/ is still XML. Feed readers have been hitting montemagno.com/rss/ for years. Hugo now writes the feed to /rss/index.html (what GitHub Pages serves for that directory) with a Ghost-compatible structure: full content:encoded, media:content feature images, categories, and the original Ghost post IDs as GUIDs so nobody's reader shows 274 "new" items.
  • No build-time API calls. The Apps page (more on that below) reads data/github.json, which a scheduled Action refreshes daily. Builds are deterministic and fast.

The migration pipeline

Seven step migration pipeline
Each step is a small, re-runnable Node script in tools/migrate.

Convert: HTML to Markdown, for real

Ghost's export includes rendered HTML for every post, which is what we converted (the mobiledoc/lexical JSON is an implementation detail). The converter uses Turndown with a set of custom rules that Copilot wrote after sampling the awkward cases in my content:

  • Fenced code blocks with the language preserved (and a few typos like language-csharo normalized).
  • Heading IDs preserved as {#id} attributes so in-page anchors keep working.
  • Ghost image cards with captions become {{< figure >}} shortcodes; plain images become plain Markdown.
  • <script src="https://gist.github.com/..."> becomes {{< gist user id >}} (118 of them!), YouTube iframes become {{< youtube id >}}, Fireside players become {{< fireside url >}}.
  • Every ad block (AdSense, Amazon affiliate widgets, DeveloperMedia) and tracking script is stripped.
  • __GHOST_URL__ placeholders and storage.ghost.io CDN URLs are rewritten to root-relative paths.

It also found and fixed things I had never noticed: a page with a literal </3> closing tag, posts where Markdown image syntax had been saved as plain text, and four image URLs that differed from a sibling only by case (github.png vs github.PNG), which is fine on Linux and a collision on Windows. That last one only surfaced when the first CI run on Ubuntu failed the URL check, and the fix was a second static-case/ mount folder.

Verify: 2,172 URLs, every build

This is the part I am most happy about. A script builds a manifest of every URL the old site served: all post slugs, tag pages and their RSS feeds, pages, images, the 250 usable redirect sources, plus whatever the live sitemap-*.xml files listed. A second script checks that every one of them exists in the Hugo output, case-sensitively, and fails the build if not.

Bar chart of verified URL categories
The manifest is committed to the repo, so the check runs on every push forever.

It caught real bugs: the case-collision above, a redirect that pointed at a typo'd /serach/, and a pair of duplicate rules in the original redirects.json that pointed the same URL at two different places.

The design: Cedar, evolved

I told Copilot "evolve the Cedar look" and that is what it did. The full-viewport cover, the big condensed headlines, the sticky header that hides on scroll, the slide-in drawer, the alternating post list: all there. But it is rebuilt with modern CSS custom properties, no jQuery, no Font Awesome (inline SVG icons instead), system-aware dark mode with a toggle, a copy button on code blocks, responsive embeds, and prev/next and related-post cards at the bottom of every article. Fonts still come from my Adobe Fonts kit, but via a single CSS link instead of a JavaScript loader.

Before and after comparison table
Fewer moving parts everywhere.

Search moved from GhostHunter (jQuery plus a Ghost API key) to Pagefind, which indexes the built HTML after Hugo runs and searches entirely in the browser. And yes, Milli still pops up from the bottom of the page when you find her.

The Apps page, powered by GitHub

Once the migration was done I asked for something fun: "For Apps, do you think we could do something really cool with my GitHub profile?"

The result is the new Apps page. A curated list of apps lives in data/apps.yaml (name, tagline, store links, platforms, and an optional repo). Everything else comes from GitHub: a daily Action runs a small Node script that pulls my profile, every repository, pinned items, and contribution stats (REST plus GraphQL, using the workflow's own token), and commits data/github.json only when something changed. Hugo then renders:

  • Featured app cards enriched with live stars, last-commit date, and language.
  • A "by the numbers" strip: 12,000+ stars, 291 original repos, followers, contributions in the past year, years on GitHub.
  • Language bars and fun facts (most starred, most forked, first-ever repo from April 2012, how many repos I created this year).
  • Pinned repos with their social-preview images, the most-starred open source, and "what I'm hacking on right now."

No client-side API calls, no rate limits, and it stays fresh without me touching it.

Fit and finish: from migrated to launch-ready

At that point I had the content, the design, and even a shiny new Apps page. But getting the migration working in an afternoon was not quite the same as being ready to send everyone to it. In a follow-up session, I asked Copilot: "What still needs to happen before I actually publish this?"

That question turned into 19 GitHub issues, which was a lot more useful than a vague list of things to remember. We split independent fixes across Copilot CLI sub-sessions in separate git worktrees: accessibility, feeds, search, content cleanup, and build checks. Each session had its own branch, and the work came back as focused pull requests that we reviewed and merged once their checks passed. More work could happen in parallel, but I still needed to review it and make the decisions.

The interesting bugs were not missing pages. The homepage needed its paginator initialized before Hugo rendered the head metadata. Posts made almost entirely of embeds needed their titles included in search, and related-post recommendations needed the taxonomy index wired up correctly. Even the code-copy button had a surprise: copying rendered text could double the newlines. None of those would have stopped the migration, but they are exactly the things you notice once you start using a site.

We also spent time on the things that make it easier for everyone to use. Text and button contrast improved without losing the orange branding, keyboard focus stayed inside the mobile drawer and image lightbox, and long headings and the Apps profile stopped overflowing narrow screens. The image pass added or improved 130 alt texts and supplied dimensions for 33 raw image tags. That was a targeted pass over recent and important content, not a claim that thirteen years of images had suddenly been fully audited.

The feeds were a good reminder that "the URL works" is only the beginning. An old tag-feed URL returning an HTML redirect is not much help to a feed reader expecting XML. We repaired all eight merged legacy tag feeds and checked their contents, not just whether the files existed. GitHub Pages still serves those directory-style feeds with a text/html content type, so we documented an optional Cloudflare response-header rule. A successful local build cannot fix the hosting platform's response headers.

As we fixed things, we taught CI to catch them next time: redirect destinations, metadata and headings, sitemap consistency, preserved static files, and search assets all joined the legacy URL checks. A page marked noindex should not quietly slip into the sitemap, and an old image URL should still serve the original file. We added 30 offline tests for the checker rules themselves, too. If I am relying on an agent to build my safety net, I want evidence that the net actually catches something.

Not everything belonged in that pipeline. External sites started blocking link checks, so we narrowed that audit to important pages and recent posts, throttled requests, and treated blocked responses as unverified rather than broken. We refreshed evergreen copy and repaired confirmed dead links, but kept the broad external crawl out of CI. Image optimization, older-image alt text, and browser tests in CI stayed on the follow-up list. There is a difference between ready to launch and nothing left to improve.

Then we rehearsed deployment on staging.montemagno.com without touching production. The hosted check passed all 2,172 legacy URLs, confirmed a 274-page search index, and checked HTTPS, redirects, real 404s, robots.txt, and the sitemap. The feed content-type warning stayed visible, and production DNS cutover remained a separate step for me to handle. With that rehearsal behind us, the site is now live at montemagno.com.

That second pass is what gave me the confidence to ship it. The first afternoon showed that we could build the site; the follow-up turned the rough edges into small, reviewed fixes and repeatable checks.

What it's like to work this way

Between the initial migration and that launch pass, a few things stood out about working with an agent in the terminal:

Plan mode is the killer feature. Research first, questions second, code third. The plan had dependencies, the agent tracked its own todo list, and when I changed my mind ("don't publish yet, I unpublished it") it kept deploys on a manual trigger while we were getting ready to launch.

It verifies its own work. It took Playwright screenshots of the home page, a code-heavy post, the tag page, the mobile drawer, and dark mode, looked at them, and fixed what was wrong (a squished avatar, a blurry upscaled dog, trailing whitespace from a render hook). It parsed the RSS output as XML to prove it was valid. It ran the URL verifier after every change.

It hits real-world walls and climbs them. Windows path restrictions on alias names, Hugo's new template layout system, the HTML minifier corrupting the XML feed served from an .html file, GitHub Pages being case-sensitive when my laptop is not. Each one showed up as a failure, got diagnosed, and got fixed with a small, explained change.

You still steer. I made every product decision: Hugo over Astro, no comments, RSS instead of a newsletter, keep the dog, "Follow" instead of "Newsletter & Feed" in the nav, weight the tag cloud toward what I write about now. The agent did the research that made those decisions easy and then executed them.

Writing a post now

After all that migration and launch work, this is the part I actually wanted: writing the next post without thinking about any of it.

hugo new posts/my-next-post.md

Fill in the front matter, write Markdown, drop images into static/content/images/2026/10/, and set draft: false when the post is ready. Push and open a pull request. Once the post is merged to main, CI builds the site, rebuilds the search index, runs the compatibility and launch checks, and deploys to montemagno.com. The Hugo build itself takes about six seconds.

---
title: "My Next Post"
slug: my-next-post
date: 2026-10-16T09:00:00-07:00
draft: false
description: "One or two sentences for search and social."
image: /content/images/2026/10/cover.png
tags: [github-copilot, dotnet]
---

If you have been putting off a migration like this because of the sheer volume of stuff that could break, I would encourage you to try the plan-first approach. Hand Copilot the export, point it at the live site, tell it what must not change, and let it build the safety net before it builds anything else. Then make time for that second question: what still needs to happen before I publish?

Explore GitHub Copilot

I used GitHub Copilot CLI for this project because I wanted to work in the terminal, but that is only one way to get started. You can explore GitHub Copilot in your editor, in the CLI, in the Copilot app, and on GitHub itself. Pick the place you are most comfortable working and give it a real task you have been putting off. It does not have to be thirteen years of blog posts!

If you are new to it, check out my First Steps with GitHub Copilot guide. And if you would rather follow along with a video, here is my new one:

Huge thanks to the Ghost team for nine great years. Here's to the next thirteen as plain markdown files.

]]>
Introducing PDF Diff: Compare PDFs Privately in Your Browser https://montemagno.com/introducing-pdf-diff-compare-pdfs-privately-in-your-browser/ 69540d8693272a0001bc4c55 Wed, 31 Dec 2025 15:35:55 GMT

Hey friends! I'm super excited to share a new tool I've been working on that solves a problem I bet many of you have faced: how do you quickly compare two PDF documents to see what changed? Enter PDF Diff!

PDF Diff home page with a private and secure notice, Original PDF and Modified PDF drop zones, and a Try Demo button
Landing page for PDF Diff allowing you to upload 2 PDFs to compare

Why I Built This

Look, we've all been there. You get two versions of a contract, a proposal, or a license agreement, and you need to figure out what changed between them. Sure, you could upload them to some random website, but do you really want to send your potentially sensitive documents to a server somewhere? I know I don't.

So I built PDF Diff - a completely client-side, privacy-first PDF comparison tool that runs entirely in your browser. No servers. No uploads. No risk.

Privacy First, Always

This is the core principle that drove the entire development: your documents never leave your device. Period.

Everything happens locally in your browser using JavaScript. All the PDF parsing, text extraction, and comparison logic runs on your machine. Once you load the page, you can even disconnect from the internet and keep using it. That's the power of modern web technology, and it's beautiful.

What Can You Do With It?

I packed in a bunch of features to make comparing PDFs as easy and flexible as possible:

Multiple View Modes

Different people need to see changes in different ways, so I built five different view modes:

Side-by-Side View - This is the classic comparison view. Original on the left, modified on the right, with synchronized scrolling. Perfect for getting the full context of both documents.

Side by Side view of two license PDFs: removals struck through in red on the left, additions highlighted green on the right

Unified View - All changes shown inline with color coding. Green for additions, red for deletions. This is great when you want to see everything in one continuous flow.

Unified view of the license changes in one column, each deleted word struck through in red next to its green replacement

Additions Only - Just show me what's new! This view filters out everything except the added content. Super useful when you're reviewing what someone added to a document.

Removals Only - The opposite - show only what was deleted. Great for catching what might have been taken out of a contract or agreement.

Changes Only - This one's clever - it shows additions and removals side-by-side, grouped by where they appear in the document. You get a focused view of just the changes without any of the unchanged content.

Changes Only view listing 15 additions in green beside 8 removals in red, such as March replacing January

Real-Time Statistics

As soon as you upload your PDFs, you get instant statistics:

  • How many words were added
  • How many were removed
  • How many stayed the same
  • Overall change percentage

This gives you a quick sense of how significant the changes are before diving into the details.

Multi-Page Support

Documents aren't always single pages! PDF Diff handles multi-page documents with easy page navigation. You can step through page-by-page, or flip on "Show all pages" to see changes across the entire document at once.

Export to PDF

Found something important? Export your comparison as a formatted PDF report that you can save or share. The export includes your selected view mode, so you can generate exactly the report you need.

Dark Mode

Because of course it has dark mode. Your eyes will thank you. 🌙

The whole PDF Diff page in dark mode, showing the Additions view of the demo documents

Try the Demo

Not ready to upload your own PDFs yet? Hit the "Try Demo" button to see it in action with sample license agreement documents. It's the fastest way to understand how powerful this tool is.

The Technical Bits

For my fellow developers out there, here's what's under the hood:

Modern Stack

I built this with some of my favorite modern web technologies:

  • React 19 - The latest and greatest from the React team. The new concurrent rendering features make the UI incredibly smooth even when processing large documents.
  • TypeScript - Type safety is non-negotiable for me these days. It catches so many bugs before they make it to production.
  • Vite - Lightning-fast build tool that makes development a joy. Hot module replacement is so fast you barely notice it refreshing.
  • PDF.js - Mozilla's incredible PDF rendering engine. This is what powers the PDF parsing and text extraction, and it's rock solid.
  • jsPDF - For generating the export PDFs. Great library, easy to use.
  • diff - The text comparison algorithm at the heart of the whole thing. This library does the heavy lifting of computing what changed.

Architecture Decisions

The entire app is client-side only. No backend, no API, no database. Just static files served from a CDN. This architecture choice has some huge benefits:

  1. Privacy by design - Can't leak data to a server if there is no server
  2. Scales infinitely - Static files are cheap and can handle unlimited traffic
  3. Fast - No network round trips for processing
  4. Simple - No servers to maintain or databases to manage

The comparison logic is surprisingly straightforward - extract text from both PDFs, run a diff algorithm, and render the results. But getting the details right (handling multi-page docs, preserving formatting, making the UI responsive) is where the real work happens.

Built with Modern Tools

I have to give a huge shoutout to the tools that made building this such a smooth experience:

VS Code + GitHub Copilot

I've been using VS Code for years, and GitHub Copilot has become an indispensable part of my workflow. Writing the TypeScript interfaces, React components, and utility functions was so much faster with Copilot suggesting completions and entire functions.

The autocomplete for repetitive patterns (like all those view mode switches) saved me tons of time. And when I was implementing the different view modes, Copilot would often suggest exactly the logic I was thinking about. It's like pair programming with an AI that never gets tired.

GitHub Copilot Cloud Agent

Here's where things get really cool. I used the new GitHub Copilot Cloud agent to help with some of the more complex parts of the build. The agent can understand your entire codebase context and help you make architectural decisions, write tests, and even suggest optimizations.

For example, when I was working on the export functionality, I described what I wanted (a formatted PDF with the comparison results), and the agent helped me figure out the best way to structure the jsPDF calls and format the output. It understood the context of my existing code and suggested changes that fit perfectly with my patterns.

The Cloud agent also helped me optimize the PDF parsing logic for performance. When I noticed larger documents were taking a while to process, I described the problem, and it suggested some clever optimization strategies.

Open Source

The entire project is open source on GitHub. I'm a huge believer in open source, and I wanted anyone to be able to:

  • Verify that the privacy claims are true (inspect the code yourself!)
  • Contribute improvements or bug fixes
  • Learn from the code
  • Fork it for their own needs

Try It Out!

Ready to compare some PDFs? Head over to www.pdf-diff.com and give it a try. Start with the demo if you want to see it in action, or upload your own documents if you're ready to go.

I'd love to hear your feedback! Found a bug? Have a feature request? Want to contribute? Open an issue or submit a PR.

And if you find this useful, give it a ⭐️ on GitHub - it really helps others discover the tool.

What's Next?

I've got a few ideas for future improvements:

  • Support for comparing more than two documents
  • Highlighting specific types of changes (numbers, dates, etc.)
  • Better handling of PDFs with images and complex layouts
  • Browser extensions for quick access

But I want to hear from you - what would make PDF Diff more useful for your workflow?

Wrapping Up

Building PDF Diff has been a fun journey, and I'm proud of how it turned out. It solves a real problem I had, and I hope it helps you too. The combination of modern web technologies, privacy-first design, and powerful developer tools made it possible to build something genuinely useful in a relatively short time.

The web platform has come so far. The fact that we can parse PDFs, compute diffs, and render beautiful UIs entirely in the browser - without any server-side code - is pretty amazing. And tools like GitHub Copilot and the Cloud agent make the development experience better than ever.

Give it a try and let me know what you think!

Cheers, James

]]>
Introducing Oh My Posh Visual Configurator: Finally, a Drag-and-Drop Terminal Theme Builder! ✨ https://montemagno.com/introducing-oh-my-posh-visual-configurator-finally-a-drag-and-drop-terminal-theme-builder/ 6952bf0593272a0001bc4431 Mon, 29 Dec 2025 19:43:35 GMT

If you've ever spent way too much time digging through JSON files trying to get your terminal prompt just right, this post is for you. I'm incredibly excited to share something I've been working on: the Oh My Posh Visual Configurator—a web-based drag-and-drop builder that makes creating beautiful terminal prompts actually fun (yes, really!).

Segments list on the left, a prompt block with Path and Git on the canvas, and a preview of ~/projects/my-app on branch main
The main interface showing the segment picker, configuration canvas, and live preview

The Problem We All Know Too Well

Let me be honest with you—I love Oh My Posh. It's hands down one of the best tools for customizing your terminal prompt across PowerShell, Bash, Zsh, Fish, and basically any shell you can think of. But here's the thing: configuring it has always meant diving into JSON, YAML, or TOML files and doing a lot of trial-and-error to get segments positioned correctly.

You know the drill:

  1. Edit the config file
  2. Save it
  3. Open a new terminal to see if it worked
  4. Realize the colors clash
  5. Go back to step 1
  6. Repeat for the next hour

There had to be a better way.

Enter the Visual Configurator

The Oh My Posh Visual Configurator solves this problem with a modern, intuitive web interface. No installation required—just open your browser and start building!

👉 Launch the Configurator

What Can You Do With It?

🎨 Browse 103+ Segments {#%F0%9F%8E%A8-browse-103-segments}

The left sidebar gives you access to every segment Oh My Posh supports, organized into logical categories:

  • System: Path, OS, Shell, Session, Battery, Time, Execution Time
  • Version Control: Git, Mercurial, SVN, Fossil, and more
  • Languages: Node.js, Python, Go, Rust, Java, .NET, PHP, Ruby... basically everything
  • Cloud & Infrastructure: AWS, Azure, GCP, Kubernetes, Docker, Terraform
  • CLI Tools: NPM, Yarn, Angular, React, Flutter
  • And more: Music players, health trackers, weather widgets
Canvas with three prompt blocks of segments, from Session and Git to Azure Functions and Execution Time, and the preview
The Languages category expanded showing 26+ programming language segments

🖱️ Drag-and-Drop Interface {#%F0%9F%96%B1%EF%B8%8F-drag-and-drop-interface}

Just click a segment to add it to your prompt, or drag it exactly where you want it. Reordering is as simple as dragging segments around. Want to move that Git status before your path? Just drag it there!

Git segment selected on the canvas, with the Properties panel showing its Powerline style and Sharp Right symbol
Click any segment to customize its colors, style, and template

⚡ Live Preview {#%E2%9A%A1-live-preview}

This is where it gets really cool. Every change you make shows up instantly in the preview panel at the bottom. Toggle between dark and light terminal backgrounds to make sure your theme looks great everywhere. The preview even renders powerline arrows and diamond shapes accurately!

🎛️ Full Customization {#%F0%9F%8E%9B%EF%B8%8F-full-customization}

Click any segment and the Properties Panel opens up with everything you need:

  • Style Selection: Powerline, Plain, Diamond, or Accordion
  • Color Pickers: Full hex color support for foreground and background
  • Template Editor: Customize exactly what each segment displays using Go templates
  • Block Settings: Configure prompt alignment, add new blocks, or create right-aligned prompts

📦 Import & Export {#%F0%9F%93%A6-import-export}

Already have an Oh My Posh config? Import it! The configurator supports JSON, YAML, and TOML formats. When you're done, export in whichever format you prefer and drop it right into your shell configuration.

Community Sharing 🤝 {#community-sharing-%F0%9F%A4%9D}

One of my favorite features is community sharing. Found the perfect configuration? Share it with everyone!

Theme Library dialog on Official Samples, with cards for Developer Pro, Streamer Setup, Minimal Dev, and Cloud Engineer
Browse official samples and community-contributed themes
  1. Click the Share button in the header
  2. Fill in your theme details—name, description, tags
  3. Submit your configuration
  4. Your theme appears in the Community collection for others to use
Share Your Configuration dialog with name, description, username, and tags fields and a Copy Configuration button
Easy-to-use sharing dialog with step-by-step instructions

This means you can browse themes created by other developers, try them instantly in the configurator, and tweak them to match your style. The community grows together!

Under the Hood: Some Fun Architecture Decisions 🏗️ {#under-the-hood-some-fun-architecture-decisions-%F0%9F%8F%97%EF%B8%8F}

For my fellow developers who enjoy the technical details, here's what's powering this thing:

React 19 + TypeScript + Vite

I went with the latest React 19 for this project, paired with TypeScript for type safety (trust me, when you're dealing with complex configuration objects, types are your friend). Vite provides blazing-fast builds and hot module replacement that makes development a joy.

@dnd-kit for Drag-and-Drop

After evaluating several drag-and-drop libraries, @dnd-kit won out. It's modern, accessible, performant, and plays nicely with React 18+. The sortable preset made implementing segment reordering straightforward, and it handles edge cases like keyboard navigation out of the box.

Zustand for State Management

I'm a big fan of Zustand for state management. It's lightweight, has zero boilerplate, and the persistence middleware lets me save your configuration to localStorage automatically. Your work is never lost!

// Simplified example of our store structure
const useConfigStore = create(
  persist(
    (set) => ({
      config: defaultConfig,
      addSegment: (blockId, segment) => set((state) => /* ... */),
      updateSegment: (blockId, segmentId, updates) => set((state) => /* ... */),
      // ...
    }),
    { name: 'ohmyposh-config' }
  )
)

Dynamic Segment Loading

With 103+ segments, loading everything upfront would be wasteful. Instead, segment metadata lives in separate JSON files by category (public/segments/*.json), loaded on demand when you expand a category. This keeps the initial bundle small and the UI snappy.

Tailwind CSS 4.1

Styling is handled by Tailwind CSS 4.1, which gives us:

  • Consistent design tokens
  • Dark theme by default (it's a terminal tool after all!)
  • Rapid iteration on UI polish
  • Small production bundles through automatic purging

100% Client-Side

Your configurations never leave your browser. Everything runs locally—no backend servers, no data collection, no privacy concerns. Export your config and it's yours forever.

Built with GitHub Copilot & VS Code

Here is what blows my mind about this app is that I built it in under an hour. I started by jotting down a product requirements doc in the GitHub mobile app using Copilot, based on a simple idea. Then I created an issue, assigned it to Copilot, and went to bed. By the next morning, I had a working prototype! I spent about 50 minutes in VS Code adding features like community feeds and cleaning up the code for future updates. Copilot even set up all the GitHub Actions workflows and deployed everything to GitHub Pages in seconds. Turning an idea into a live app in just hours—something that used to take me weeks—is absolutely incredible.

Getting Started in 30 Seconds

  1. Open the app: https://jamesmontemagno.github.io/ohmyposh-configurator/
  2. Add segments: Click segments from the left sidebar or drag them to the canvas
  3. Customize: Click any segment to adjust colors, templates, and styles
  4. Preview: Watch your prompt update in real-time at the bottom
  5. Export: Choose JSON, YAML, or TOML and download your configuration
  6. Apply it:

# PowerShell oh-my-posh init pwsh --config ~/your-theme.json | Invoke-Expression

# Bash eval "$(oh-my-posh init bash --config ~/your-theme.json)"

# Zsh eval "$(oh-my-posh init zsh --config ~/your-theme.json)"

That's it! You've got a beautiful, custom terminal prompt.

Sample Configurations to Get You Started

Not sure where to begin? We've included 6 professional sample configurations:

  • Minimal: Clean and simple
  • Developer: Language-aware with Git integration
  • DevOps: Cloud and Kubernetes focused
  • Full Featured: All the bells and whistles
  • Powerline Classic: Traditional powerline style
  • Diamond Style: Rounded segment separators
Theme Library Community tab with one theme, .NET and Azure Developer by James Montemagno
Community-contributed themes available in the Theme Library

Load any of these from the Sample Picker and customize from there!

What's Next?

I'm really excited about where this project can go. Some ideas on the roadmap:

  • More starter templates based on community feedback
  • Theme galleries curated by the community
  • Advanced template editor with autocomplete
  • PWA support for offline use
  • Keyboard shortcuts for power users

Try It Out and Let Me Know!

I'd love to hear what you think. Give it a spin at https://jamesmontemagno.github.io/ohmyposh-configurator/ and let me know how it goes!

Found a bug? Have a feature request? Open an issue on GitHub.

Created an awesome theme? Share it with the community using the Share button!

Happy coding, and may your terminal always look beautiful! 🚀


This blog was drafted with GitHub Copilot and Claude Sonnet 4.5 based off previous blogs. Screenshots were taken with the Playwright MCP server using the cloud agent completely autonomously. I reviewed this blog post and tweaked it as necessary.

]]>
Building a Complete FIRE Calculator App with GitHub Copilot in One Chat Session https://montemagno.com/building-a-complete-fire-calculator-app-with-github-copilot-in-one-chat-session/ 694b62804480ae000170634b Wed, 24 Dec 2025 16:13:01 GMT

I've been diving deep into financial independence planning lately, and as a developer, I naturally wanted a tool that does exactly what I need—without the clutter, ads, or privacy concerns of existing calculators out there. So I decided to build one from scratch using GitHub Copilot's agent mode in VS Code. What started as a simple "let's see what happens" experiment turned into a fully-featured, privacy-first PWA with 9 different calculators, all built in a single conversational chat session in about 30 minutes.

The Starting Point

I had a clear vision: a FIRE (Financial Independence, Retire Early) calculator that respects user privacy. No cookies, no analytics, no data leaving the browser. Just pure client-side calculations with the ability to share scenarios via URL parameters.

My initial prompt was straightforward leveraging the plan agent in VS Code:

"I want to build a financial independence calculator app. It should be a React + TypeScript PWA with Tailwind CSS, dark mode support, and work completely offline. Privacy is key—no data storage, no analytics."

The plan agent got to work asking me questions along the way until it had the context it needed and I answered enough questions that I felt good about it getting to work. From there, Copilot scaffolded the entire project structure: Vite config, TypeScript setup, Tailwind with a custom "fire" orange color palette, and even service worker configuration for offline support. Within minutes I had a running dev server.

Standard FIRE calculator: inputs on the left, a $1,200,000 FIRE number reached in 24.4 years, and a projection chart

Iterating Through Features

What I love about working with Copilot in agent mode is the conversational flow. I didn't have to context-switch between planning and implementing. Each feature request built naturally on the previous one.

The Core Calculators

I started with the Standard FIRE calculator—the classic "25x your annual expenses" rule. Copilot generated not just the calculation logic but also:

  • Responsive input components with tooltips explaining each field
  • A beautiful projection chart using Recharts
  • Real-time URL parameter syncing so users can bookmark or share their scenarios
  • Result cards with the key metrics highlighted

Then came the variations:

"Now add a Coast FIRE calculator. Same structure but with the specific Coast FIRE math—how much do you need saved NOW so compound growth does the rest."

"Let's add Lean FIRE (≤$40k expenses) and Fat FIRE ($100k+ expenses) with appropriate warnings and lifestyle tips."

"Add a Barista FIRE calculator that factors in part-time income."

Each calculator maintained consistent styling while having its own personality—different color schemes, contextual explanations, and tailored result displays.

Barista FIRE calculator: $20,000 a year of part-time income cuts the target to $700,000, 42% less than full FIRE

The Fun Additions

Halfway through, I asked for three more calculators that I hadn't seen done well elsewhere:

"Add these: 1) Savings Rate calculator that shows how your savings rate impacts years to FIRE, 2) Reverse FIRE that works backwards from a target retirement age, 3) Healthcare Gap calculator for estimating costs between early retirement and Medicare."

Copilot handled the math, the UI, and even added helpful reference tables and scenario comparisons. The Healthcare Gap calculator includes ACA subsidy considerations and strategies like health sharing ministries and Barista FIRE for benefits.

Healthcare Gap calculator estimating $134,127 to cover 10 years until Medicare, with ACA subsidy estimates by income

Real-Time Bug Fixes and Refinements

This is where the conversation got interesting. I noticed the Coast FIRE progress card was showing "2160%" instead of "21.5%". A quick:

"The Coast FIRE current progress card is showing an extremely high number—double check those calculations."

Copilot traced through the code and found the issue: the percentage was being multiplied by 100 twice—once in the calculation and again in the ResultCard's percent formatter. Fixed in seconds.

Another issue: the age input would snap to 18 whenever you tried to clear it to type a new value. Annoying UX.

"Entering the retirement age is weird because it sets it to 18 when I try to clear it out. Just don't calculate if invalid but allow entry."

The fix added local state management so users can freely type without the input fighting back, with validation only on blur.

Privacy and Polish

I asked for disclaimers on every page—this isn't financial advice, results are hypothetical, consult a professional. Copilot created a reusable Disclaimer component and added it to all 10 pages in one pass.

The app includes:

  • No cookies or localStorage - Your financial data never leaves your browser
  • No analytics - Zero tracking scripts, no Google Analytics
  • URL-based sharing - Save calculations in the URL, bookmark or share as you choose
  • Offline-first PWA - Works without internet after first load
  • Open source - All code available on GitHub for transparency

Quality of Life Features

Throughout the session, I kept adding small enhancements:

"Add a monthly/annual toggle to the contribution and expenses inputs."

"Put a progress bar showing how far along you are toward your FIRE number."

"Add milestone lines at 25%, 50%, 75% on the projection charts."

"Quick preset buttons for common scenarios—conservative, moderate, aggressive."

Each request was implemented cleanly, maintaining the existing code style and patterns.

The Tech Stack

For those interested in the technical details:

  • Vite + React 18 with TypeScript
  • Tailwind CSS with custom fire-orange color palette
  • Recharts for interactive projection graphs
  • React Router for navigation with URL parameter persistence
  • Vite PWA Plugin for service worker and offline support
  • GitHub Pages for hosting

The entire codebase is well-organized:

src/
  components/
    charts/      # Recharts wrappers
    inputs/      # CurrencyInput, PercentageInput, AgeInput
    ui/          # Cards, Buttons, ProgressBar, Disclaimer
  pages/         # Each calculator as a page component
  hooks/         # useCalculatorParams for URL sync
  utils/         # All the FIRE math calculations

Key Takeaways

Conversational development works. Instead of writing detailed specs upfront, I could explore ideas naturally. "What if we also showed..." or "Actually, can you change that to..." kept the momentum going.

Copilot handles the boring stuff. Adding disclaimers to 10 pages? Tedious. Watching Copilot do it correctly in one multi-file edit? Satisfying.

Bugs get fixed in context. When something didn't work right, I could describe the symptom in plain English and Copilot would trace through the logic to find the root cause.

The result is production-ready. This isn't a prototype or demo—it's a real app I'm actually using to plan my own financial future.

Try It Yourself

The app is live at https://myfirenumber.com and the source is on GitHub.

All 9 calculators are there:

Calculator What it does
🎯 Standard FIRE Classic 25x expenses rule
⛵ Coast FIRE How much you need now so growth does the rest
🌿 Lean FIRE FI with minimalist lifestyle (≤$40k/year)
💎 Fat FIRE FI without compromising ($100k+/year)
☕ Barista FIRE Part-time work + portfolio income
📊 Withdrawal Rate Test portfolio longevity at different rates
🧮 Savings Rate How savings rate impacts time to FIRE
🔄 Reverse FIRE Work backwards from target retirement age
🏥 Healthcare Gap Costs between early retirement and Medicare

Play with the parameters, bookmark your scenarios, and let me know what you think. And if you're curious about building your own apps with Copilot agent mode, just start a conversation—you might be surprised how far it takes you.


This blog was written with VS Code and Claude Sonnet 4.5 based on a conversational chat session. I also reviewed and slightly modified the content.

]]>
Building Better Apps with GitHub Copilot Custom Agents https://montemagno.com/building-better-apps-with-github-copilot-custom-agents/ 69078e67ebf2b1000161ff74 Sun, 02 Nov 2025 17:36:04 GMT

When building Hotkey Typer, a Windows Forms app that types predefined snippets via hotkey, I discovered the power of GitHub Copilot's new custom agents feature. What started as a simple refactoring request turned into an eye-opening demonstration of how specialized AI agents can dramatically improve code quality and implementation speed.

What Are Custom Agents?

Custom agents are specialized versions of GitHub Copilot coding agent that you can tailor to your unique workflows, coding conventions, and use cases. Instead of repeatedly providing the same instructions and context, custom agents allow you to define specialized agents that act like tailored teammates—following your standards, using the right tools, and implementing team-specific practices.

Think of custom agents as expert consultants embedded directly in your development workflow. They're defined using simple Markdown files (called agent profiles) that specify:

  • Name and description: What the agent specializes in
  • Custom prompts: Detailed instructions that define the agent's behavior and expertise
  • Tools: Specific tools the agent can access (optional)
  • MCP servers: Model Context Protocol server configurations for enhancing agents

GitHub Agent HQ banner: Mission control, Copilot CLI, 3rd-party agents, Plan mode, AI controls, and integrations

Where You Can Use Custom Agents

Once created, custom agents are available wherever you use Copilot coding agent:

  • GitHub.com: In the agents tab, panels, issue assignments, and pull requests
  • Visual Studio Code: As chat modes in the editor
  • GitHub Copilot CLI: Command-line interactions

Each interaction maintains consistency based on the agent's defined profile, ensuring targeted support tailored to your specific needs.

Assign Copilot to issue dialog for app-hotkeytyper with the WinForms Expert custom agent selected

Where to Configure Custom Agents

You can define agent profiles at different levels:

  • Repository level: Place .md files in .github/agents/ for project-specific agents
  • Organization level: For broader team availability
  • Enterprise level: For company-wide standardization

The agent profile format is straightforward:

---
name: readme-creator
description: Agent specializing in creating and improving README files
---

You are a documentation specialist focused on README files. Your scope is limited to
README files or other related documentation files only - do not modify or analyze code files.

Focus on the following instructions:
- Create and update README.md files with clear project descriptions
- Structure README sections logically: overview, installation, usage, contributing
- Write scannable content with proper headings and formatting
- Add appropriate badges, links, and navigation elements

Discovering the WinForms Expert Agent

The real power of custom agents became apparent when I discovered the awesome-copilot repository, a curated collection of custom agents maintained by GitHub. This repository contains specialized agents for various frameworks and technologies, including C#, WinForms, arm Migration, Dynatrace, LaunchDarkly, Neon, PagerDuty, and more!

Among these gems, I found the WinForms Expert agent—a sophisticated agent specifically designed for .NET Windows Forms development. This agent encodes decades of WinForms best practices into a single, reusable profile.

What Makes the WinForms Expert Special?

The WinForms Expert agent is a comprehensive guide that understands the nuanced challenges of WinForms development. It addresses several critical areas:

Designer Code vs. Regular Code: One of WinForms' unique challenges is managing two distinct code contexts—designer-generated serialization code and modern business logic. The agent knows exactly which C# features are allowed in each context.

Modern .NET Patterns: The agent is fully updated for .NET 8-10, including:

  • MVVM data binding patterns with the Community Toolkit
  • Async/await patterns with proper InvokeAsync overload selection
  • DarkMode support and high-DPI awareness
  • Nullable reference types (NRTs) in the right places

Layout Best Practices: Comprehensive guidance on using TableLayoutPanel and FlowLayoutPanel for responsive, DPI-aware layouts that work across different screen sizes and scaling factors.

CodeDOM Serialization Management: Critical rules for property serialization in the WinForms designer, preventing common pitfalls with [DefaultValue] attributes and ShouldSerialize*() methods.

Exception Handling: Proper patterns for async event handlers and application-level exception handling to prevent process crashes.

The agent's instructions are remarkably detailed, covering everything from control naming conventions to accessibility requirements. It's like having a senior WinForms architect reviewing every line of code.

Adding the WinForms Expert to My Repository

Adding a custom agent from the awesome-copilot repository is remarkably simple:

  1. Create the .github/agents/ directory in your repository
  2. Copy the agent profile (a .md file) into this directory
  3. Commit and push—that's it!

For Hotkey Typer, I copied the WinFormsExpert.agent.md file into .github/agents/, making it immediately available to Copilot throughout my repository.

The Real-World Test: Multiple Snippets Feature

I had opened Issue #3 requesting a new feature: support for managing multiple reusable text snippets instead of just a single predefined block. Users needed to switch between different prompts, code templates, and demo scripts quickly without manual settings editing.

The feature requirements included:

  • Maintain a list of snippets with names and content
  • Select active snippet from a dropdown in the main UI
  • New/Copy/Rename/Delete operations with validation
  • Backward-compatible migration from the old single-text format
  • Persist everything in settings.json

First Attempt: Without the Custom Agent (PR #7)

I first assigned the standard Copilot coding agent to Issue #3, resulting in Pull Request #7. The implementation was functional:

  • ✅ Data model created with Snippet class
  • ✅ CRUD operations implemented
  • ✅ UI with ComboBox and management buttons
  • ✅ Unit tests added
  • ✅ Settings serialization worked

However, there were notable issues:

  • Layout wasn't optimal for WinForms best practices
  • Controls weren't properly anchored/docked for responsive resizing
  • Missing some WinForms-specific patterns for dialog handling
  • Code style didn't fully align with established WinForms conventions
  • No consideration for DPI scaling or accessibility

While functional, it felt like code written by someone proficient in general C# but not deeply experienced with WinForms specifics.

Hotkey Typer after the first PR: the snippet buttons beside the dropdown are cut off, showing only Co, Re, and D

Second Attempt: With the WinForms Expert Agent (PR #8)

Then I closed PR #7 and reassigned Issue #3 to Copilot, but this time explicitly mentioning the WinForms Expert agent. The results in Pull Request #8 were dramatically better:

Improved UI Organization:

Snippet: [────────Dropdown (300px)────────▼]
         [New] [Copy] [Rename] [Delete]

[Text Editor (460x135)]

[Speed slider, checkboxes, file options]

[Save]
[Minimize] [Stop]        Status: Active

The agent reorganized the layout following WinForms best practices:

  • Logical grouping of snippet management operations
  • Proper spacing and margins (3px minimum)
  • Controls properly anchored for responsive behavior
  • Consideration for DPI scaling

Enhanced User Experience:

  • Popup dialogs using InputDialog for New/Copy/Rename operations
  • Proper validation with meaningful error messages
  • Case-insensitive duplicate detection
  • Protection against deleting the last snippet
  • Better visual feedback for operations

Code Quality Improvements:

  • Modern C# 11-14 features in business logic
  • Proper separation between designer code and regular code
  • File-scoped namespaces
  • Target-typed new expressions
  • Nullable reference types in appropriate contexts
  • Exception handling with ArgumentNullException.ThrowIfNull

Hotkey Typer after the WinForms Expert PR: full New, Copy, Rename, and Delete buttons sit neatly under the Snippet dropdown

Even Better Documentation: The agent included detailed diagrams of the UI layout directly in the PR description, making the implementation immediately understandable.

Key Code Differences: Before and After

Let me show you some concrete examples of the improvements the WinForms Expert agent made:

1. InputDialog Helper Class

PR #7 (Without WinForms Expert): Used an inline dialog creation pattern with repetitive code in each button handler.

PR #8 (With WinForms Expert): Created a dedicated, reusable InputDialog class following WinForms best practices:

internal class InputDialog : Form
{
    private readonly TextBox txtInput;
    private readonly Button btnOK;
    private readonly Button btnCancel;

    public string InputText => txtInput.Text;

    public InputDialog(string prompt, string title, string defaultValue = "")
    {
        Text = title;
        FormBorderStyle = FormBorderStyle.FixedDialog;
        StartPosition = FormStartPosition.CenterParent;
        MaximizeBox = false;
        MinimizeBox = false;
        ClientSize = new Size(350, 120);

        // Control setup...

        // Select all text when dialog opens
        Load += (s, e) => txtInput.SelectAll();
    }

    public static string? Show(string prompt, string title, string defaultValue = "")
    {
        using var dialog = new InputDialog(prompt, title, defaultValue);
        return dialog.ShowDialog() == DialogResult.OK ? dialog.InputText : null;
    }
}

This is a textbook WinForms pattern: proper disposal with using, nullable return type, static factory method, and proper dialog configuration.

2. Settings Migration Pattern

PR #7 (Without WinForms Expert): Used a "fresh start" approach that ignored existing settings if loading failed.

PR #8 (With WinForms Expert): Implemented proper backward-compatible migration:

// Migration: Convert old single PredefinedText to snippet if no snippets exist
if (settings.Snippets == null || settings.Snippets.Count == 0)
{
    string contentToMigrate = !string.IsNullOrEmpty(settings.PredefinedText)
        ? settings.PredefinedText
        : DefaultSnippetContent;
    snippets = new List<TextSnippet>
    {
        new TextSnippet
        {
            Id = DefaultSnippetId,
            Name = DefaultSnippetName,
            Content = contentToMigrate,
            LastUsed = DateTime.Now
        }
    };
    activeSnippetId = DefaultSnippetId;
}
else
{
    snippets = settings.Snippets;
    activeSnippetId = settings.ActiveSnippetId;

    // Validate active snippet exists
    if (string.IsNullOrEmpty(activeSnippetId) ||
        !snippets.Any(s => s.Id == activeSnippetId))
    {
        activeSnippetId = snippets.FirstOrDefault()?.Id;
    }
}

This handles the upgrade path gracefully, preserving user data instead of discarding it.

3. UI Layout in Designer Code

PR #7 (Without WinForms Expert): Controls placed with absolute positioning and cramped spacing:

var btnNewSnippet = new Button
{
    Text = "New",
    Location = new Point(335, 82),
    Size = new Size(35, 25),  // Cramped button
    Font = new Font("Segoe UI", 8F)
};

PR #8 (With WinForms Expert): Better organized with logical grouping and proper sizing:

// Snippet selector ComboBox - wider, more prominent
var cmbSnippets = new ComboBox
{
    Name = "cmbSnippets",
    Location = new Point(85, 82),
    Size = new Size(300, 23),  // 300px width for readability
    DropDownStyle = ComboBoxStyle.DropDownList,
    Font = new Font("Segoe UI", 9F)
};

// Snippet management buttons - moved under dropdown for logical grouping
var btnNewSnippet = new Button
{
    Name = "btnNewSnippet",
    Text = "New",
    Location = new Point(85, 110),
    Size = new Size(70, 25),  // Proper button size
    Font = new Font("Segoe UI", 9F)
};

The WinForms Expert agent understood that:

  • ComboBoxes should be wide enough to display meaningful names
  • Related buttons should be grouped together visually
  • Font size 8F is too small for modern displays
  • Controls need descriptive names for maintainability

4. Validation Logic with User Feedback

PR #7: Basic validation without proper user feedback:

if (string.IsNullOrWhiteSpace(name)) return;
if (snippets.Any(s => s.Name.Equals(name, StringComparison.OrdinalIgnoreCase)))
{
    MessageBox.Show("A snippet with this name already exists.",
        "Duplicate Name", MessageBoxButtons.OK, MessageBoxIcon.Warning);
    return;
}

PR #8: Enhanced validation with trim and separate empty-string check:

// Validate: trim and check uniqueness (case-insensitive)
name = name.Trim();
if (string.IsNullOrEmpty(name))
{
    MessageBox.Show("Snippet name cannot be empty.",
        "Invalid Name", MessageBoxButtons.OK, MessageBoxIcon.Warning);
    return;
}

if (snippets.Any(s => string.Equals(s.Name, name, StringComparison.OrdinalIgnoreCase)))
{
    MessageBox.Show("A snippet with this name already exists.",
        "Duplicate Name", MessageBoxButtons.OK, MessageBoxIcon.Warning);
    return;
}

The WinForms Expert understood the importance of:

  • Trimming user input (common WinForms pattern)
  • Providing specific error messages for different failure modes
  • Using string.Equals for clarity over extension method

5. Modern C# Features in Business Logic

PR #8 consistently used modern C# patterns throughout:

// File-scoped namespace
namespace HotkeyTyper;

// Target-typed new
private List<TextSnippet> snippets = new();

// Expression-bodied member
public string InputText => txtInput.Text;

// Nullable reference types
public static string? Show(string prompt, string title, string defaultValue = "")

// Using declaration (proper disposal)
using var dialog = new InputDialog(prompt, title, defaultValue);

While PR #7 had some modern features, PR #8 applied them consistently and appropriately.

6. Comprehensive Unit Tests

PR #8 included thorough migration tests that PR #7 lacked:

[Fact]
public void OldSettings_MigratesToSnippets()
{
    // Arrange - Old settings format with single PredefinedText
    string oldSettingsJson = """
    {
        "PredefinedText": "Hello, World!",
        "TypingSpeed": 7,
        "HasCode": true
    }
    """;

    var oldSettings = JsonSerializer.Deserialize<AppSettings>(oldSettingsJson);

    // Act & Assert - Settings should be migrated
    Assert.NotNull(oldSettings);
    Assert.Null(oldSettings.Snippets);
    Assert.Equal("Hello, World!", oldSettings.PredefinedText);
}

These tests ensure the backward compatibility works correctly—a crucial detail for production applications.

The Visible Difference

The before-and-after images tell the story:

Without WinForms Expert:

  • Basic layout, functional but not polished
  • Controls not optimally positioned
  • Missing WinForms-specific refinements

With WinForms Expert:

  • Clean, logical organization
  • Professional spacing and alignment
  • Proper control grouping
  • Responsive layout that scales correctly

The agent even provided visual diagrams showing the layout structure, demonstrating deep understanding of WinForms design patterns.

Improved Layout section of the PR description with a text diagram placing the snippet buttons under the dropdown

The Impact: Quality and Velocity

The difference between PR #7 and PR #8 wasn't just cosmetic. The WinForms Expert agent delivered:

Better Architecture:

  • Proper use of BindingSource patterns for data binding
  • Correct designer code serialization patterns
  • Appropriate use of modern C# features in the right contexts
  • Following established WinForms conventions consistently

Fewer Iterations:

  • PR #7 required multiple rounds of feedback and corrections
  • PR #8 was nearly perfect on the first attempt
  • Code reviews focused on business logic, not framework usage

Knowledge Transfer:

  • Seeing the agent's implementation taught me WinForms patterns I hadn't fully mastered
  • Comments in the code explained why certain approaches were used
  • The detailed PR descriptions served as documentation

Time Savings:

  • What would have taken days of iteration took hours
  • Less time debugging designer code issues
  • More time focusing on features, not framework quirks

Getting Started with Custom Agents

Ready to try custom agents in your projects? Here's how:

1. Explore the Awesome-Copilot Repository

Visit github.com/github/awesome-copilot and browse the available agents.

2. Add an Agent to Your Repository

  1. Create .github/agents/ in your repository
  2. Copy the agent .md file from awesome-copilot
  3. Customize if needed (optional)
  4. Commit and push

3. Use the Agent

In GitHub issues, pull requests, or VS Code:

  • Mention the agent by name in your request
  • For issues: Assign Copilot and reference the agent
  • For VS Code: Use <agent-name> in chat from agent drop down

VS Code chat agent picker listing Agent, Plan, Ask, Edit, and custom playwright-generator, healer, and planner agents

4. Create Your Own Agents

Have specific team conventions? Create custom agents that encode:

  • Your coding standards
  • Framework-specific patterns
  • Architecture preferences
  • Testing strategies
  • Documentation requirements

Full documentation: GitHub Docs - Creating Custom Agents

Key Takeaways

Working with the WinForms Expert agent taught me several valuable lessons:

Specialization Matters: Generic AI coding assistance is good, but specialized agents that understand framework-specific patterns are transformative. The depth of knowledge in the WinForms Expert agent far exceeded what I could convey in ad-hoc prompts.

Consistency Across the Team: Custom agents ensure everyone on your team follows the same patterns and best practices, even for developers less familiar with specific frameworks.

Living Documentation: Agent profiles serve as executable documentation of your team's coding standards—they don't just describe patterns, they enforce them.

Knowledge Amplification: Using specialized agents is a learning experience. Seeing high-quality, pattern-consistent code generated repeatedly helps developers internalize best practices.

Velocity Without Sacrificing Quality: The right custom agent doesn't just generate code faster—it generates better code faster, reducing technical debt and future maintenance burden.

Wrapping Up

The difference between PR #7 (without custom agent) and PR #8 (with WinForms Expert) perfectly illustrates why custom agents represent a significant leap forward in AI-assisted development. It's not about replacing developer expertise—it's about amplifying it with domain-specific knowledge that would otherwise require years of experience to accumulate.

For Hotkey Typer, the WinForms Expert agent helped deliver a feature that not only works but follows industry best practices, is maintainable, accessible, and properly architected for future enhancements. The implementation handles edge cases, uses appropriate design patterns, and would pass a senior code review with minimal comments.

If you're working with WinForms—or any specialized framework—I highly recommend exploring custom agents. The awesome-copilot repository is an excellent starting point, and creating your own team-specific agents is easier than you might think.

Learn More

Custom agents aren't just the future of AI-assisted development—they're available today, and they're already making a significant difference in how we build software. Give them a try, and see the difference specialized expertise can make in your projects!


Have you tried custom agents in your projects? I'd love to hear about your experiences. Share your thoughts and questions on X!

This blog was written with VS Code and Claude Sonnet 4.5 based on a very lovely prompt with images, MCP server access, and more written by ME! I also reviewed and slightly modified the blog.

]]>