an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js), Google Ads AW-18388216863. Loaded only when Do Not Track is
off, so it follows the same rule as the PostHog block on this site. -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
if (navigator.doNotTrack !== '1') {
var gtagScript = document.createElement('script');
gtagScript.async = true;
gtagScript.src = 'https://www.googletagmanager.com/gtag/js?id=AW-18388216863';
document.head.appendChild(gtagScript);
gtag('js', new Date());
gtag('config', 'AW-18388216863');
}
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Agent Tools Today (16 Oct 2026): Launches, Skills, MCP Servers</title>
<meta name="description" content="The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents on 16 Oct 2026, each with its source." />
<link rel="canonical" href="https://munderdiffl.in/blog/agent-tools-today-2026-10-16/" />
<link rel="icon" type="image/png" href="https://munderdiffl.in/logo.png" />
<link rel="apple-touch-icon" href="https://munderdiffl.in/logo.png" />
<meta name="theme-color" content="#F5F2E8" />
<!-- Open Graph -->
<meta property="og:site_name" content="Munder Difflin Blog" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Agent Tools Today (16 Oct 2026): Launches, Skills, MCP Servers" />
<meta property="og:description" content="The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents on 16 Oct 2026, each with its source." />
<meta property="og:url" content="https://munderdiffl.in/blog/agent-tools-today-2026-10-16/" />
<meta property="og:image" content="https://munderdiffl.in/blog/assets/media/agent-tools-today/hero.png" />
<meta property="og:image:width" content="1600" />
<meta property="og:image:height" content="900" />
<meta property="og:image:alt" content="Hand drawn sketch: a front page with five numbered lines, a clock, and a yellow character reading it out" />
<meta property="og:locale" content="en_US" />
<meta property="article:published_time" content="2026-10-16T00:00:00.000Z" />
<meta property="article:author" content="Chaitanya Giri" />
<meta property="article:tag" content="Daily Brief" />
<meta property="article:tag" content="Claude Code" />
<meta property="article:tag" content="OpenCode" />
<meta property="article:tag" content="MCP" />
<meta property="article:tag" content="Open Source" />
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Agent Tools Today (16 Oct 2026): Launches, Skills, MCP Servers" />
<meta name="twitter:description" content="The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents on 16 Oct 2026, each with its source." />
<meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/agent-tools-today/hero.png" />
<meta name="twitter:image:alt" content="Hand drawn sketch: a front page with five numbered lines, a clock, and a yellow character reading it out" />
<link rel="alternate" type="application/atom+xml" title="Munder Difflin Blog" href="https://munderdiffl.in/blog/feed.xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,[email protected],500;9..144,600;9..144,700;9..144,900&family=Source+Serif+4:opsz,[email protected],400;8..60,600;8..60,700&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="/blog/assets/blog-press.css" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"headline": "Agent Tools Today, 16 Oct 2026: Muse Spark Open, Tiny Little Office, OpenCode Ends Sharing",
"description": "The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents on 16 Oct 2026, each with its source.",
"image": ["https://munderdiffl.in/blog/assets/media/agent-tools-today/hero.png"],
"datePublished": "2026-10-16T00:00:00.000Z",
"dateModified": "2026-10-16T00:00:00.000Z",
"author": { "@type": "Person", "name": "Chaitanya Giri" },
"publisher": {
"@type": "Organization",
"name": "Munder Difflin",
"logo": { "@type": "ImageObject", "url": "https://munderdiffl.in/logo.png" }
},
"mainEntityOfPage": { "@type": "WebPage", "@id": "https://munderdiffl.in/blog/agent-tools-today-2026-10-16/" },
"keywords": "agent tools today 16 oct 2026, muse spark open, tiny little office, opencode session sharing, open_scion, aidlc workflows",
"articleSection": "News",
"inLanguage": "en-US",
"url": "https://munderdiffl.in/blog/agent-tools-today-2026-10-16/"
}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://munderdiffl.in/" },
{ "@type": "ListItem", "position": 2, "name": "Blog", "item": "https://munderdiffl.in/blog/" },
{ "@type": "ListItem", "position": 3, "name": "Agent Tools Today, 16 Oct 2026: Muse Spark Open, Tiny Little Office, OpenCode Ends Sharing", "item": "https://munderdiffl.in/blog/agent-tools-today-2026-10-16/" }
]
}
</script>
<script>
// Anonymous blog analytics (PostHog) — same posture as the main site and the
// app's TELEMETRY.md: public write-only token ('' = inert), anonymous-only
// (person_profiles 'never'), no autocapture/recording, DNT respected.
(function () {
var PH_KEY = 'phc_qJzsokwcbtTGHemnvywR3nSqivNNgMjHeNVEWkZNydFB';
if (!PH_KEY || navigator.doNotTrack === '1') return;
var s = document.createElement('script');
s.async = true;
s.src = 'https://us-assets.i.posthog.com/static/array.js';
s.onload = function () {
if (!window.posthog) return;
window.posthog.init(PH_KEY, {
api_host: 'https://us.i.posthog.com',
person_profiles: 'never',
autocapture: false,
before_send: function (event) {
// PostHog fills $ip from the connection unless the event carries one.
// Null it here and disable the GeoIP lookup so no IP, city, postal
// code or lat/long is ever derived or stored for this page view.
if (event && event.properties) {
event.properties.$ip = null;
event.properties.$geoip_disable = true;
}
return event;
},
disable_session_recording: true,
respect_dnt: true
});
};
document.head.appendChild(s);
})();
</script>
</head>
<body class="theme-press">
<a class="skip-link" href="#main">Skip to content</a>
<nav id="nav">
<a class="brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<span class="spacer"></span>
<div class="links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in">↗ Product</a>
</div>
<div class="nav-actions">
<a class="btn sm" href="https://munderdiffl.in/blog/feed.xml" aria-label="RSS feed">⤵ RSS</a>
<a class="btn sm primary" href="https://munderdiffl.in/#install">⤓ Download</a>
</div>
</nav>
<main id="main">
<article class="t-news">
<header class="post-head wrap">
<nav class="crumbs" aria-label="Breadcrumb">
<a href="/blog/">Blog</a>
<span>/</span>
<a href="/blog/topics/news/">News</a>
</nav>
<h1>Agent Tools Today, 16 Oct 2026: Muse Spark Open, Tiny Little Office, OpenCode Ends Sharing</h1>
<p class="dek">The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents on 16 Oct 2026, each with its source.</p>
<div class="byline">
<span class="av" aria-hidden="true">MD</span>
<strong>Chaitanya Giri</strong>
<span class="dot" aria-hidden="true">·</span>
<time datetime="2026-10-16">Oct 16, 2026</time>
<span class="dot" aria-hidden="true">·</span>
<span>4 min read</span>
<span class="tag kind">News</span>
</div>
</header>
<div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/agent-tools-today/hero.png" alt="Hand drawn sketch: a front page with five numbered lines, a clock, and a yellow character reading it out" loading="lazy" decoding="async" /></figure></div>
<div class="post-wrap wrap">
<div class="prose">
<p>Agent tools today, 16 Oct 2026, in one line: Meta released the weights of an 816B parameter model “built for coding and agentic work”, an office suite told agents how to write its documents, and OpenCode switched off session sharing. Every number was checked on 16 Oct. The edition before this one on the site is <a href="/blog/agent-tools-today-2026-10-13/">13 Oct</a>.</p>
<p><a href="https://harnessmd.com/download">Munder Difflin</a> is free and open source: a desktop app that runs a team of AI agents for all kinds of knowledge work, coding included, on your own computer. It shipped no release in the last 24 hours, so it is not in the lists below.</p>
<figure class="mg" data-scene="today"><img src="/blog/assets/media/agent-tools-today-2026-10-16/today.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation. A pop-up book opens on a white background and a card rises from the fold, reading Muse Spark Open, then three tabs unfold in front of it: 816B total, 42B active and 1M token context."><figcaption>Meta's Muse Spark Open, from its model card, checked 16 Oct 2026.</figcaption></figure>
<h2 id="top-3-launches" tabindex="-1">Top 3 launches <a class="anchor" href="#top-3-launches" aria-hidden="true">#</a></h2>
<ol>
<li><strong>Muse Spark Open.</strong> Meta’s post, dated 15 Oct, releases the weights of “the most capable US open-weight model to date”. The model card lists 816B total and 42B active parameters and a 1M token context, and says running it yourself takes “a GPU with at least 700GB of VRAM for NVFP4”. Weights are on Hugging Face under the Muse Model License. More than 800 points on Hacker News on 16 Oct. For Meta’s closed models, see <a href="/blog/muse-wonder/">Muse Wonder</a>. <a href="https://research.meta.ai/blog/muse-spark-open">Source</a></li>
<li><strong>Tiny Little Office.</strong> A set of small web apps: a word processor, outliner, presentation builder, spreadsheet, calculator, drawing tool, diagram maker, animator, calendar and trip planner. Its front page tells agents that its llms.txt “says how to make a document as a link”. More than 660 points on Hacker News on 16 Oct. <a href="https://tinylittleoffice.com/">Source</a></li>
<li><strong>Antithesis for agents.</strong> Antithesis wrote on 15 Oct that “agents can build, debug, and test large-scale systems with Antithesis”, including its Multiverse Debugger, which rewinds a bug’s history “down to the nanosecond”. <a href="https://antithesis.com/blog/2026/time-traveling-agents/">Source</a></li>
</ol>
<h2 id="top-3-skills-mcp-servers-and-plugins" tabindex="-1">Top 3 skills, MCP servers and plugins <a class="anchor" href="#top-3-skills-mcp-servers-and-plugins" aria-hidden="true">#</a></h2>
<ol>
<li><strong>AI-DLC.</strong> AWS Labs’ workflow rules for coding agents. The README says “One harness-neutral core runs natively in Claude Code, Kiro CLI, Kiro IDE, Codex CLI, Cursor, opencode, and GitHub Copilot”, and badges version 2.11.0. MIT-0, more than 5,300 stars on 16 Oct. <a href="https://github.com/awslabs/aidlc-workflows">Source</a></li>
<li><strong>OpenAI Agents SDK v0.24.0.</strong> Published 15 Oct. The notes “expose MCP annotations on converted tools” and “support run-wide tool exception formatting”. <a href="https://github.com/openai/openai-agents-python/releases/tag/v0.24.0">Source</a></li>
<li><strong>GitHub Copilot CLI v1.0.98.</strong> Published 14 Oct. The notes “Add support for Gemini 4 Argon” and keep MCP status and /mcp commands “synced to the active session after split-view session switches”. See <a href="/blog/gemini-4-argon/">Gemini 4 Argon</a>. <a href="https://github.com/github/copilot-cli/releases/tag/v1.0.98">Source</a></li>
</ol>
<h2 id="top-3-moves-from-multi-agent-tools" tabindex="-1">Top 3 moves from multi agent tools <a class="anchor" href="#top-3-moves-from-multi-agent-tools" aria-hidden="true">#</a></h2>
<ol>
<li><strong>OpenCode v1.19.1.</strong> Published 15 Oct. The notes say “Session sharing has been discontinued”: existing share links and sharing commands no longer work, and importing sessions from share URLs is unsupported. See <a href="/blog/what-is-opencode/">what is OpenCode</a>. <a href="https://github.com/anomalyco/opencode/releases/tag/v1.19.1">Source</a></li>
<li><strong>Pi v1.3.0.</strong> Published 15 Oct, the same hour. Pi went the other way on sharing: a new <code>sessionShareDestination</code> setting picks where <code>/share</code> uploads, <code>auto</code>, <code>gist</code> or <code>radius</code>. See <a href="/blog/what-is-pi-agent/">what is Pi</a>. <a href="https://github.com/earendil-works/pi/releases/tag/v1.3.0">Source</a></li>
<li><strong>Claude Code v2.1.301.</strong> Published 15 Oct. The notes add <code>CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS</code>, so unattended retry mode ends a request at a usage limit that “resets too far away instead of waiting”, and the <code>%</code> motion in vim mode. <a href="https://github.com/anthropics/claude-code/releases/tag/v2.1.301">Source</a></li>
</ol>
<h2 id="top-3-rising-repos" tabindex="-1">Top 3 rising repos <a class="anchor" href="#top-3-rising-repos" aria-hidden="true">#</a></h2>
<ol>
<li><strong>open_scion.</strong> A version of the design Anthropic described for Scion, its internal source control system for coding agents. The README says Scion “is internal to Anthropic and is not available to the public”, and that open_scion “is not affiliated with or endorsed by Anthropic”. The README says MIT; GitHub does not detect a standard licence. Created 15 Oct, more than 1,000 stars on 16 Oct. <a href="https://github.com/feder-cr/open_scion">Source</a></li>
<li><strong>hw-harness.</strong> Its description reads “Small set of tools for helping with reverse engineering Linux drivers”. It comes from the hardware post in the next list. Created 14 Oct. MIT, more than 45 stars on 16 Oct. <a href="https://github.com/cschalle/hw-harness">Source</a></li>
<li><strong>paperchecker.</strong> Its description calls it “a totally PRIVATE paper agent that help you review your own paper”. Created 15 Oct. MIT, more than 80 stars on 16 Oct. <a href="https://github.com/Ayi914/paperchecker">Source</a></li>
</ol>
<p>New repos can gain stars quickly for reasons other than use, so treat these as names to watch, not recommendations.</p>
<h2 id="top-3-things-people-are-arguing-about" tabindex="-1">Top 3 things people are arguing about <a class="anchor" href="#top-3-things-people-are-arguing-about" aria-hidden="true">#</a></h2>
<ol>
<li><strong>A preview pane that read local files.</strong> Noma Labs says poisoned HTML in a public repo could run JavaScript in Claude Code Desktop’s preview pane and read local files, and that Anthropic scored it CVSS 8.7 (High). Its timeline says a first patch was bypassed, and that Anthropic “issued a fix in Claude Desktop 1.30096.1 and later” on 17 Aug. See <a href="/blog/agent-security-and-sandboxing/">agent security and sandboxing</a>. <a href="https://noma.security/noma-labs/sneakpeek-how-the-preview-pane-in-claude-code-desktop-can-exfiltrate-your-data">Source</a></li>
<li><strong>Reverse engineering hardware with an agent.</strong> Christian Schaller, writing on his blog on 15 Oct, describes having Claude set up a Windows virtual machine so it could run scans and capture the USB data of a film scanner Linux no longer supported. With the same harness he had kernel and libcamera patches for his laptop’s MIPI camera ready by the end of a day. More than 180 points on Hacker News on 16 Oct. <a href="https://blogs.gnome.org/uraeus/2026/10/15/aiandreverseengineerhardware/">Source</a></li>
<li><strong>Prompt injection in HTTP headers.</strong> Signals Corps scanned the headers of 217 million crawled web responses. Of 7,959 sites that sent a header aimed at AI, “30 tried to give an agent orders, and 22 of those were pranks”. Its conclusion: “Most teams need no new controls.” More than 85 points on Hacker News on 16 Oct. <a href="https://www.signalscorps.com/blog/prompt-injection-in-http-headers/">Source</a></li>
</ol>
<h2 id="how-this-list-is-built" tabindex="-1">How this list is built <a class="anchor" href="#how-this-list-is-built" aria-hidden="true">#</a></h2>
<p>Each day our agents read GitHub releases and trending pages, the Hacker News front page, and the top posts on X and Reddit about coding agents. A name only makes a list with a link that was opened and a signal that can be shown: points, stars or a dated release. Repos are checked against the GitHub API before they appear, and a claim that exists only as a social post is left out. New here? Start with the <a href="/blog/how-to-install-and-use-munder-difflin/">install guide</a>.</p>
<link rel="stylesheet" href="/blog/assets/media/agent-tools-today-2026-10-16/motion.css"><script defer src="/blog/assets/media/agent-tools-today-2026-10-16/motion.js"></script>
<hr />
<div class="share">
<span class="lbl">Tags</span>
<a class="tag" href="/blog/tags/daily-brief/">Daily Brief</a><a class="tag" href="/blog/tags/claude-code/">Claude Code</a><a class="tag" href="/blog/tags/opencode/">OpenCode</a><a class="tag" href="/blog/tags/mcp/">MCP</a><a class="tag" href="/blog/tags/open-source/">Open Source</a>
</div>
</div>
<aside class="toc-rail" aria-label="Table of contents">
<div class="tt">On this page</div>
<ol>
<li class="lvl-2"><a href="#top-3-launches">Top 3 launches</a></li><li class="lvl-2"><a href="#top-3-skills-mcp-servers-and-plugins">Top 3 skills, MCP servers and plugins</a></li><li class="lvl-2"><a href="#top-3-moves-from-multi-agent-tools">Top 3 moves from multi agent tools</a></li><li class="lvl-2"><a href="#top-3-rising-repos">Top 3 rising repos</a></li><li class="lvl-2"><a href="#top-3-things-people-are-arguing-about">Top 3 things people are arguing about</a></li><li class="lvl-2"><a href="#how-this-list-is-built">How this list is built</a></li>
</ol>
</aside>
</div>
<footer class="post-foot wrap"><div class="prevnext">
<a class="pn prev" href="/blog/agent-tools-today-2026-10-15/"><span class="k">← Older</span><span class="t">Agent Tools Today, 15 Oct 2026: OpenCode 2.0, Hermes Agent v0.22.0, a Lost TV Season</span></a>
<a class="pn next" href="/blog/what-is-zeroclaw/"><span class="k">Newer →</span><span class="t">What Is ZeroClaw? The Single Binary Agent Runtime in Rust, Explained</span></a>
</div>
<section class="related">
<h2>Related in News</h2>
<div class="post-grid">
<article class="card t-news">
<a class="thumb t-news" href="/blog/agent-tools-today-2026-10-26/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/agent-tools-today/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-26">Oct 26, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/agent-tools-today-2026-10-26/">Agent Tools Today, 26 Oct 2026: Kimi K3.1 Pro, Unified Claude Enterprise, ThinkRail</a></h3>
<p class="dek">The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents from 23 to 26 Oct 2026, each with its source.</p>
<div class="foot">
<span class="tag kind">News</span>
<a class="more" href="/blog/agent-tools-today-2026-10-26/" aria-label="Read: Agent Tools Today, 26 Oct 2026: Kimi K3.1 Pro, Unified Claude Enterprise, ThinkRail">Read →</a>
</div>
</div>
</article>
<article class="card t-news">
<a class="thumb t-news" href="/blog/agent-tools-today-2026-10-23/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/agent-tools-today/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-23">Oct 23, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/agent-tools-today-2026-10-23/">Agent Tools Today, 23 Oct 2026: Claude Duet, OpenAI CLI, Nvidia OpenShell</a></h3>
<p class="dek">The top launches, skills and MCP servers, multi agent moves, rising repos and arguments in coding agents on 23 Oct 2026, each with its source.</p>
<div class="foot">
<span class="tag kind">News</span>
<a class="more" href="/blog/agent-tools-today-2026-10-23/" aria-label="Read: Agent Tools Today, 23 Oct 2026: Claude Duet, OpenAI CLI, Nvidia OpenShell">Read →</a>
</div>
</div>
</article>
<article class="card t-news">
<a class="thumb t-news" href="/blog/black-october-php2shell/" aria-hidden="true" tabindex="-1"><img src="/blog/assets/media/black-october-php2shell/hero.png" alt="" loading="lazy" decoding="async" /></a>
<div class="body">
<div class="meta">
<time datetime="2026-10-23">Oct 23, 2026</time>
<span class="dot" aria-hidden="true"></span>
<span>5 min</span>
</div>
<h3><a href="/blog/black-october-php2shell/">Black October: What PHP2Shell Is and How to Patch (Oct 2026)</a></h3>
<p class="dek">Black October is the scramble around PHP2Shell, two critical PHP flaws fixed on 21 Oct 2026. Who found them, the fixed versions and how to patch.</p>
<div class="foot">
<span class="tag kind">News</span>
<a class="more" href="/blog/black-october-php2shell/" aria-label="Read: Black October: What PHP2Shell Is and How to Patch (Oct 2026)">Read →</a>
</div>
</div>
</article>
</div>
</section>
</footer>
</article>
</main>
<footer class="site-foot">
<div class="wrap">
<div class="foot-top">
<a class="foot-brand brand" href="https://munderdiffl.in" aria-label="Munder Difflin home">
<img class="brand-logo" src="https://munderdiffl.in/logo.png" width="1318" height="840" alt="Munder Difflin, Inc. — Multi-Agent Harness" />
</a>
<div class="foot-links">
<a href="/blog/">Latest</a>
<a href="/blog/topics/">Topics</a>
<a href="/blog/about/">About</a>
<a href="https://munderdiffl.in/blog/feed.xml">RSS</a>
<a href="https://github.com/chaitanyagiri/munder-difflin">GitHub</a>
<a href="https://munderdiffl.in">munderdiffl.in ↗</a>
</div>
</div>
<div class="foot-meta">
© 2026 Munder Difflin · Local-first · MIT-licensed ·
Built on <a href="https://munderdiffl.in">Electron, React, Pixi.js, xterm.js & node-pty</a>.
Run an office of agents while you sleep.
</div>
</div>
</footer>
<script>
// sticky-nav border on scroll
(function () {
var nav = document.getElementById('nav');
if (!nav) return;
var onScroll = function () { nav.classList.toggle('scrolled', window.scrollY > 8); };
onScroll(); window.addEventListener('scroll', onScroll, { passive: true });
})();
// YouTube click-to-load: thumbnail button → youtube-nocookie iframe
(function () {
document.addEventListener('click', function (e) {
var btn = e.target.closest('.yt-load');
if (!btn) return;
var box = btn.closest('.yt');
var id = box && box.getAttribute('data-yt');
// Only an 11 character YouTube video id may reach the iframe URL.
if (!id || !/^[A-Za-z0-9_-]{11}$/.test(id)) return;
var frame = document.createElement('iframe');
frame.src = 'https://www.youtube-nocookie.com/embed/' + encodeURIComponent(id) + '?autoplay=1';
frame.title = box.getAttribute('data-title') || 'YouTube video';
frame.allow = 'accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share';
frame.setAttribute('allowfullscreen', '');
box.replaceChildren(frame);
});
})();
</script>
</body>
</html>