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
blog: bright scenes without the cast for How to use Claude Code (sample)
chaitanyagiri70202a217f48
diff --git a/blog/src/_data/media.json b/blog/src/_data/media.jsonindex bd0eb57e..c5cf8410 100644--- a/blog/src/_data/media.json+++ b/blog/src/_data/media.json@@ -4424,8 +4424,8 @@"category": "guides","hero": {"file": "assets/media/how-to-use-claude-code/hero.png",- "alt": "Title card. The words How to use Claude Code, with Michael and Pam from the office cast standing beside them",- "prompt": "Title card: the kit's title scene (assets/mg/kit.js).",+ "alt": "Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end",+ "prompt": "Still of the hero scene in assets/media/how-to-use-claude-code/motion.js.","status": "ready"},"inline": {}diff --git a/blog/src/assets/media/how-to-use-claude-code/hero.png b/blog/src/assets/media/how-to-use-claude-code/hero.pngindex 0181b24b..b065f20a 100644Binary files a/blog/src/assets/media/how-to-use-claude-code/hero.png and b/blog/src/assets/media/how-to-use-claude-code/hero.png differdiff --git a/blog/src/assets/media/how-to-use-claude-code/loop.png b/blog/src/assets/media/how-to-use-claude-code/loop.pngindex 5aa55d8c..7066c9df 100644Binary files a/blog/src/assets/media/how-to-use-claude-code/loop.png and b/blog/src/assets/media/how-to-use-claude-code/loop.png differdiff --git a/blog/src/assets/media/how-to-use-claude-code/mistakes.png b/blog/src/assets/media/how-to-use-claude-code/mistakes.pngindex 5ff51f52..c869cefb 100644Binary files a/blog/src/assets/media/how-to-use-claude-code/mistakes.png and b/blog/src/assets/media/how-to-use-claude-code/mistakes.png differdiff --git a/blog/src/assets/media/how-to-use-claude-code/motion.css b/blog/src/assets/media/how-to-use-claude-code/motion.cssnew file mode 100644index 00000000..7efb2f19--- /dev/null+++ b/blog/src/assets/media/how-to-use-claude-code/motion.css@@ -0,0 +1,13 @@+/* Bright coded scenes for "How to use Claude Code". Pairs with motion.js. */+.prose figure.mg { margin: 42px 0; }+.prose figure.mg img, .mg .mg-svg { display: block; width: 100%; height: auto; border: 1px solid #1A1320; border-radius: 18px; background: #fff; }+.mg figcaption { font: 500 13px/1.5 "Space Grotesk", system-ui, sans-serif; color: #6B5878; padding-top: 10px; text-align: center; }+.mg .mg-svg { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }+.mg .mg-svg text { -webkit-user-select: none; user-select: none; pointer-events: none; }+.mg .mg-hit { cursor: pointer; outline: none; }+.mg [role="slider"] { cursor: grab; touch-action: none; }+.mg .mg-ring { stroke-opacity: 0; transition: stroke-opacity 0.15s; }+.mg .mg-hit:focus-visible .mg-ring { stroke-opacity: 1; }+.mg [role="slider"]:focus-visible circle:nth-child(2) { stroke-width: 5; }+@media (hover: hover) { .mg .mg-hit:hover .mg-ring { stroke-opacity: 0.5; } }+@media (prefers-reduced-motion: reduce) { .mg .mg-ring { transition: none; } }diff --git a/blog/src/assets/media/how-to-use-claude-code/motion.js b/blog/src/assets/media/how-to-use-claude-code/motion.jsnew file mode 100644index 00000000..5c027859--- /dev/null+++ b/blog/src/assets/media/how-to-use-claude-code/motion.js@@ -0,0 +1,296 @@+/* Bright coded scenes for "How to use Claude Code". Vanilla JS, no library.+ <figure class="mg" data-scene="NAME"> holds a still image; this script swaps in a live SVG.+ Plays only in view, honours reduced motion, "?mgstill" freezes each scene on its still frame. */+(() => {+ const NS = "http://www.w3.org/2000/svg";+ const INK = "#1A1320", YEL = "#FFCA54", BLUE = "#6C8EF5", LIL = "#B69CFF", MINT = "#7FD8AE", SKY = "#9AD8FF", SOFT = "#F1ECF9", MUTE = "#7A6A88";+ const SANS = '"Space Grotesk", system-ui, sans-serif', MONO = '"JetBrains Mono", ui-monospace, monospace';+ const el = (t, a = {}, p) => { const n = document.createElementNS(NS, t); for (const k in a) n.setAttribute(k, a[k]); if (p) p.appendChild(n); return n; };+ const txt = (p, x, y, s, a = {}) => { const n = el("text", Object.assign({ x, y, "font-family": SANS, "font-size": 24, "font-weight": 600, fill: INK }, a), p); n.textContent = s; return n; };+ const cl = (v, a = 0, b = 1) => Math.max(a, Math.min(b, v));+ const seg = (t, a, b) => cl((t - a) / (b - a));+ const oc = (x) => 1 - Math.pow(1 - x, 3);+ const ob = (x) => { const c = 1.70158; return 1 + (c + 1) * Math.pow(x - 1, 3) + c * Math.pow(x - 1, 2); };+ const io = (x) => (x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2);+ const tf = (n, x, y, s = 1, r = 0) => n.setAttribute("transform", `translate(${x} ${y}) rotate(${r}) scale(${s})`);+ const button = (g, label, fn) => {+ g.setAttribute("role", "button"); g.setAttribute("tabindex", "0"); g.setAttribute("aria-label", label); g.classList.add("mg-hit");+ g.addEventListener("click", fn);+ g.addEventListener("keydown", (e) => { if (e.key === "Enter" || e.key === " ") { e.preventDefault(); fn(); } });+ };+ const strip = (svg, y, w = 680) => {+ el("rect", { x: (800 - w) / 2, y, width: w, height: 48, rx: 24, fill: SOFT }, svg);+ return txt(svg, 400, y + 31, "", { "text-anchor": "middle", "font-size": 20, "font-weight": 500 });+ };++ /* ---- the five setup icons, each drawn around 0,0 and driven by k from 0 to 1 ---- */+ const ICONS = [+ (g) => { // install: a box opens and an arrow drops in+ const arrow = el("path", { d: "M0 -34 V-8 M-9 -17 L0 -8 L9 -17", stroke: INK, "stroke-width": 4, fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, g);+ el("rect", { x: -30, y: -4, width: 60, height: 38, rx: 6, fill: YEL, stroke: INK, "stroke-width": 3 }, g);+ const lid = el("path", { d: "M-34 -4 H34", stroke: INK, "stroke-width": 5, "stroke-linecap": "round" }, g);+ return (k) => { lid.setAttribute("transform", `rotate(${-38 * k} -34 -4)`); arrow.setAttribute("transform", `translate(0 ${-26 + 30 * k})`); arrow.setAttribute("opacity", k < 0.05 ? 0 : 1); };+ },+ (g) => { // sign in: a key turns+ const key = el("g", {}, g);+ el("circle", { cx: -18, cy: 0, r: 14, fill: LIL, stroke: INK, "stroke-width": 3 }, key);+ el("circle", { cx: -18, cy: 0, r: 4, fill: "#fff", stroke: INK, "stroke-width": 2 }, key);+ el("path", { d: "M-4 0 H30 M18 0 V10 M27 0 V8", stroke: INK, "stroke-width": 4, fill: "none", "stroke-linecap": "round" }, key);+ return (k) => key.setAttribute("transform", `rotate(${-90 + 90 * k})`);+ },+ (g) => { // open a project: files rise out of a folder+ const files = [-16, 0, 16].map((x, i) => el("rect", { x: x - 9, y: -16, width: 18, height: 24, rx: 3, fill: "#fff", stroke: INK, "stroke-width": 2.5 }, g));+ el("path", { d: "M-32 -12 H-8 L-2 -4 H32 V30 H-32 Z", fill: BLUE, stroke: INK, "stroke-width": 3, "stroke-linejoin": "round" }, g);+ return (k) => files.forEach((f, i) => f.setAttribute("transform", `translate(0 ${-20 * cl(k * 1.4 - i * 0.2)})`));+ },+ (g) => { // ask: a speech bubble pops+ const b = el("g", {}, g);+ el("path", { d: "M-32 -26 H32 Q38 -26 38 -20 V10 Q38 16 32 16 H-6 L-20 30 V16 H-32 Q-38 16 -38 10 V-20 Q-38 -26 -32 -26 Z", fill: SKY, stroke: INK, "stroke-width": 3, "stroke-linejoin": "round" }, b);+ txt(b, 0, 7, "?", { "text-anchor": "middle", "font-size": 34, "font-weight": 700 });+ return (k) => b.setAttribute("transform", `scale(${0.55 + 0.45 * k})`);+ },+ (g) => { // make a change: one line of code turns green+ el("rect", { x: -32, y: -24, width: 40, height: 9, rx: 4.5, fill: "#D9D0E4" }, g);+ const mid = el("rect", { x: -32, y: -5, width: 30, height: 11, rx: 5.5, fill: "#D9D0E4" }, g);+ el("rect", { x: -32, y: 16, width: 48, height: 9, rx: 4.5, fill: "#D9D0E4" }, g);+ const plus = el("path", { d: "M-46 0 H-38 M-42 -4 V4", stroke: INK, "stroke-width": 3, "stroke-linecap": "round" }, g);+ return (k) => { mid.setAttribute("width", 30 + 34 * k); mid.setAttribute("fill", k > 0.3 ? MINT : "#D9D0E4"); plus.setAttribute("opacity", k); };+ },+ ];+ const STOPS = [+ ["Install", "curl -fsSL https://claude.ai/install.sh | bash"],+ ["Sign in", "claude, then follow the browser prompts"],+ ["Open a project", "cd /path/to/your/project, then claude"],+ ["Ask a question", "what does this project do?"],+ ["Make a change", "add a hello world function to the main file"],+ ];++ const SC = {};++ /* ---- 1. a marble rolls through the five setup stops ---- */+ SC.marble = {+ dur: 12.5, still: 10.2,+ build(svg, api) {+ txt(svg, 44, 62, "Zero to a first change", { "font-size": 32, "font-weight": 700 });+ txt(svg, 756, 60, "tap a stop", { "text-anchor": "end", "font-size": 16, fill: MUTE, "font-weight": 500 });+ const d = "M60 200 H650 Q730 200 730 280 V330 Q730 410 650 410 H130";+ el("path", { d, stroke: SOFT, "stroke-width": 22, fill: "none", "stroke-linecap": "round" }, svg);+ const path = el("path", { d, stroke: INK, "stroke-width": 2, fill: "none", "stroke-dasharray": "2 12", "stroke-linecap": "round" }, svg);+ const L = path.getTotalLength();+ const at = [[150, 200], [390, 200], [585, 200], [540, 410], [250, 410]];+ const frac = at.map(([x, y]) => { let best = 0, bd = 1e9; for (let i = 0; i <= 600; i++) { const p = path.getPointAtLength((L * i) / 600), q = (p.x - x) ** 2 + (p.y - y) ** 2; if (q < bd) { bd = q; best = i / 600; } } return best; });+ const prog = (t) => io(seg(t, 0.6, 8.8));+ const when = frac.map((f) => { for (let t = 0; t < 9; t += 0.02) if (prog(t) >= f) return t; return 9; });+ let pinned = -1;+ const tip = strip(svg, 520, 720); tip.setAttribute("font-family", MONO); tip.setAttribute("font-size", 20);+ const stops = at.map(([x, y], i) => {+ const g = el("g", {}, svg), ic = el("g", {}, g);+ el("circle", { r: 58, fill: "#fff", "fill-opacity": 0 , class: "mg-ring", stroke: INK, "stroke-width": 2, "stroke-dasharray": "3 7" }, g);+ const run = ICONS[i](ic);+ const chip = el("circle", { cx: -52, cy: 126, r: 14, fill: "#fff", stroke: INK, "stroke-width": 2 }, g);+ txt(g, -52, 131.5, String(i + 1), { "text-anchor": "middle", "font-size": 16, "font-weight": 700 });+ txt(g, -30, 134, STOPS[i][0], { "font-size": 22 });+ tf(g, x, y - 80);+ button(g, `${STOPS[i][0]}: ${STOPS[i][1]}`, () => { pinned = i; api.poke(); });+ return { ic, run, chip };+ });+ const conf = Array.from({ length: 16 }, (_, i) => el(i % 2 ? "circle" : "rect", i % 2 ? { r: 5, fill: [YEL, BLUE, LIL, MINT][i % 4] } : { width: 9, height: 9, rx: 2, fill: [MINT, YEL, SKY, LIL][i % 4] }, svg));+ const ball = el("g", {}, svg);+ el("circle", { r: 17, fill: YEL, stroke: INK, "stroke-width": 3 }, ball);+ el("path", { d: "M-9 0 H9", stroke: INK, "stroke-width": 3, "stroke-linecap": "round" }, ball);+ return (t) => {+ const p = prog(t), pt = path.getPointAtLength(L * p);+ tf(ball, pt.x, pt.y - 20, 1, (L * p * 180) / (Math.PI * 17));+ let last = -1;+ stops.forEach((s, i) => {+ const k = ob(seg(t, when[i], when[i] + 0.55)), on = t >= when[i];+ s.run(cl(k, 0, 1.15)); s.ic.setAttribute("opacity", on ? 1 : 0.28);+ s.ic.setAttribute("transform", `scale(${on ? 0.9 + 0.2 * k : 0.9})`);+ s.chip.setAttribute("fill", on ? YEL : "#fff"); if (on) last = i;+ });+ const show = pinned >= 0 ? pinned : last;+ tip.textContent = show < 0 ? "five stops, one marble" : STOPS[show][1];+ const c = seg(t, when[4] + 0.3, when[4] + 1.5), [cx, cy] = [at[4][0], at[4][1] - 80];+ conf.forEach((n, i) => { const a = (i / 16) * 6.283 + 0.4, r = 110 * oc(c); n.setAttribute("transform", `translate(${cx + Math.cos(a) * r} ${cy + Math.sin(a) * r * 0.8 + 30 * c * c}) rotate(${c * 300 + i * 40})`); n.setAttribute("opacity", c <= 0 ? 0 : 1 - c * c); });+ };+ },+ };++ /* ---- 2. drag from a vague prompt to a specific one ---- */+ SC.focus = {+ dur: 11, still: 5.5,+ build(svg, api) {+ txt(svg, 44, 62, "Same bug, two ways to ask", { "font-size": 32, "font-weight": 700 });+ el("rect", { x: 72, y: 104, width: 680, height: 300, rx: 26, fill: YEL }, svg);+ el("rect", { x: 60, y: 92, width: 680, height: 300, rx: 26, fill: "#fff", stroke: INK, "stroke-width": 3 }, svg);+ const vague = txt(svg, 400, 258, "fix the login bug", { "text-anchor": "middle", "font-size": 50, "font-weight": 700 });+ const qs = Array.from({ length: 9 }, (_, i) => txt(svg, 0, 0, "?", { "text-anchor": "middle", "font-size": 30 + (i % 3) * 12, "font-weight": 700, fill: [LIL, BLUE, SKY][i % 3] }));+ const rows = [["symptom", LIL, "Users report that login fails after session timeout."], ["where", SKY, "Check the auth flow in src/auth/, especially token refresh."], ["proof", MINT, "Write a failing test that reproduces the issue, then fix it."]].map(([tag, col, line], i) => {+ const g = el("g", {}, svg);+ el("rect", { x: 92, y: 118 + i * 88, width: 104, height: 28, rx: 14, fill: col, stroke: INK, "stroke-width": 2 }, g);+ txt(g, 144, 138 + i * 88, tag, { "text-anchor": "middle", "font-size": 15, "font-weight": 700 });+ txt(g, 92, 176 + i * 88, line, { "font-size": 20, "font-weight": 500 });+ return g;+ });+ el("path", { d: "M170 462 H630", stroke: SOFT, "stroke-width": 16, "stroke-linecap": "round" }, svg);+ const fill = el("path", { d: "M170 462 H170", stroke: YEL, "stroke-width": 16, "stroke-linecap": "round" }, svg);+ txt(svg, 132, 469, "vague", { "text-anchor": "end", "font-size": 20, fill: MUTE });+ txt(svg, 668, 469, "specific", { "font-size": 20, fill: MUTE });+ const knob = el("g", { role: "slider", tabindex: "0", "aria-label": "From a vague prompt to a specific one", "aria-valuemin": 0, "aria-valuemax": 100, class: "mg-hit" }, svg);+ el("circle", { r: 34, fill: "#fff", "fill-opacity": 0 }, knob);+ el("circle", { r: 21, fill: "#fff", stroke: INK, "stroke-width": 3 }, knob);+ el("path", { d: "M-6 -6 L-12 0 L-6 6 M6 -6 L12 0 L6 6", stroke: INK, "stroke-width": 2.5, fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, knob);+ const cap = strip(svg, 520, 520);+ let user = null;+ const set = (e) => { const r = svg.getBoundingClientRect(); user = cl(((e.clientX - r.left) / r.width * 800 - 170) / 460); api.poke(); };+ let down = false;+ knob.addEventListener("pointerdown", (e) => { down = true; knob.setPointerCapture(e.pointerId); set(e); });+ knob.addEventListener("pointermove", (e) => { if (down) set(e); });+ knob.addEventListener("pointerup", () => { down = false; });+ knob.addEventListener("keydown", (e) => { const s = e.key === "ArrowRight" || e.key === "ArrowUp" ? 0.1 : e.key === "ArrowLeft" || e.key === "ArrowDown" ? -0.1 : 0; if (s) { e.preventDefault(); user = cl((user == null ? 1 : user) + s); api.poke(); } });+ return (t) => {+ const v = user != null ? user : io(seg(t, 1.2, 4.2)) - io(seg(t, 8, 10.2));+ tf(knob, 170 + 460 * v, 462); fill.setAttribute("d", `M170 462 H${170 + 460 * v}`); knob.setAttribute("aria-valuenow", Math.round(v * 100));+ const a = cl(1 - v * 2.4);+ vague.setAttribute("opacity", a); vague.setAttribute("transform", `translate(0 ${-30 * (1 - a)})`);+ qs.forEach((q, i) => { const ang = i * 0.7 + t * (0.5 + (i % 3) * 0.15), bx = 110 + ((i * 83) % 580), by = 150 + ((i * 57) % 190); tf(q, bx + Math.cos(ang) * 14, by + Math.sin(ang * 1.3) * 12, a, Math.sin(ang) * 14); q.setAttribute("opacity", a * 0.9); });+ rows.forEach((g, i) => { const k = oc(seg(v, 0.35 + i * 0.15, 0.7 + i * 0.15)); g.setAttribute("opacity", k); g.setAttribute("transform", `translate(${40 * (1 - k)} 0)`); });+ cap.textContent = v < 0.5 ? "Vague: Claude has to guess what you mean" : "Specific: the symptom, the place, the proof";+ };+ },+ };++ /* ---- 3. the four phase loop ---- */+ SC.loop = {+ dur: 10.4, still: 6.3,+ build(svg, api) {+ const C = [400, 280], R = 168, P = 2.6;+ const ph = [["Explore", "Plan mode: it reads,", "no changes.", SKY], ["Plan", "Ask for a", "detailed plan.", LIL], ["Implement", "It codes and", "runs the tests.", MINT], ["Commit", "Ask for a commit", "and a PR.", YEL]];+ txt(svg, 44, 62, "The working", { "font-size": 32, "font-weight": 700 }); txt(svg, 44, 100, "loop", { "font-size": 32, "font-weight": 700 });+ txt(svg, 756, 60, "tap a phase", { "text-anchor": "end", "font-size": 16, fill: MUTE, "font-weight": 500 });+ el("circle", { cx: C[0], cy: C[1], r: R, fill: "none", stroke: SOFT, "stroke-width": 20 }, svg);+ el("circle", { cx: C[0], cy: C[1], r: R, fill: "none", stroke: INK, "stroke-width": 2, "stroke-dasharray": "2 12", "stroke-linecap": "round" }, svg);+ const n1 = txt(svg, C[0], C[1] - 4, "", { "text-anchor": "middle", "font-size": 21, "font-weight": 500 }), n2 = txt(svg, C[0], C[1] + 26, "", { "text-anchor": "middle", "font-size": 21, "font-weight": 500 });+ const pos = (i) => { const a = (-90 + i * 90) * Math.PI / 180; return [C[0] + Math.cos(a) * R, C[1] + Math.sin(a) * R]; };+ const draw = [+ (g) => { const m = el("g", {}, g); el("circle", { cx: -4, cy: -4, r: 15, fill: "#fff", stroke: INK, "stroke-width": 3.5 }, m); el("path", { d: "M7 7 L20 20", stroke: INK, "stroke-width": 5, "stroke-linecap": "round" }, m); return (k, t) => m.setAttribute("transform", `translate(${Math.cos(t * 3) * 7 * k} ${Math.sin(t * 3) * 5 * k})`); },+ (g) => { const ts = [-14, 0, 14].map((y) => { el("path", { d: `M-4 ${y} H20`, stroke: INK, "stroke-width": 4, "stroke-linecap": "round" }, g); return el("path", { d: `M-22 ${y} l4 4 l7 -9`, stroke: INK, "stroke-width": 3, fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, g); }); return (k) => ts.forEach((n, i) => n.setAttribute("opacity", cl(k * 4 - i - 0.5))); },+ (g) => { const bs = [[-22, 6], [2, 6], [-10, -16]].map(([x, y]) => el("rect", { x, y, width: 20, height: 18, rx: 4, fill: "#fff", stroke: INK, "stroke-width": 3 }, g)); return (k) => bs.forEach((n, i) => { const q = ob(cl(k * 3.2 - i * 0.9)); n.setAttribute("transform", `translate(0 ${-34 * (1 - q)})`); n.setAttribute("opacity", cl(k * 3.2 - i * 0.9) > 0 ? 1 : 0); }); },+ (g) => { el("path", { d: "M-14 24 V-24", stroke: INK, "stroke-width": 4, "stroke-linecap": "round" }, g); const f = el("path", { d: "M-12 -22 H16 L8 -12 L16 -2 H-12 Z", fill: "#fff", stroke: INK, "stroke-width": 3, "stroke-linejoin": "round" }, g); return (k) => f.setAttribute("transform", `translate(0 ${28 * (1 - oc(cl(k * 2)))})`); },+ ];+ const nodes = ph.map((p, i) => {+ const [x, y] = pos(i), g = el("g", {}, svg), bg = el("circle", { r: 50, fill: "#fff", stroke: INK, "stroke-width": 3 }, g), ic = el("g", {}, g), run = draw[i](ic);+ tf(g, x, y);+ const lx = i === 1 ? x + 4 : i === 3 ? x - 4 : x, ly = i === 0 ? y - 64 : i === 2 ? y + 82 : y - 64;+ txt(svg, lx, ly, p[0], { "text-anchor": "middle", "font-size": 23, "font-weight": 700 });+ button(g, `${p[0]}: ${p[1]} ${p[2]}`, () => api.seek(i * P + 0.01));+ return { g, bg, run, x, y };+ });+ const dot = el("circle", { r: 13, fill: YEL, stroke: INK, "stroke-width": 3 }, svg);+ const cap = strip(svg, 546, 640); cap.textContent = "Could describe the diff in one sentence? Skip the plan.";+ return (t) => {+ const i = Math.floor(t / P) % 4, u = (t % P) / P, mv = io(seg(u, 0.72, 1)), a = (-90 + (i + mv) * 90) * Math.PI / 180;+ dot.setAttribute("cx", C[0] + Math.cos(a) * (R + 0)); dot.setAttribute("cy", C[1] + Math.sin(a) * R);+ dot.setAttribute("opacity", mv > 0.02 && mv < 0.98 ? 1 : 0);+ nodes.forEach((n, j) => { const on = j === i, k = on ? seg(u, 0, 0.7) : 0, pop = on ? ob(seg(u, 0, 0.18)) : 0; n.bg.setAttribute("fill", on ? ph[j][3] : "#fff"); tf(n.g, n.x, n.y, 1 + 0.12 * pop); n.run(on ? k : 1, t); });+ n1.textContent = ph[i][1]; n2.textContent = ph[i][2];+ const o = oc(seg(u, 0, 0.15)) * (1 - seg(u, 0.85, 1)); n1.setAttribute("opacity", o); n2.setAttribute("opacity", o);+ };+ },+ };++ /* ---- 4. the context window as a jar that fills up ---- */+ SC.jar = {+ dur: 12, still: 6.9,+ build(svg, api) {+ txt(svg, 44, 62, "The context window fills up", { "font-size": 32, "font-weight": 700 });+ const J = { x: 120, y: 130, w: 300, h: 330 }, r = 23, cols = 6;+ const jar = el("g", {}, svg);+ el("path", { d: `M${J.x} ${J.y} V${J.y + J.h - 40} Q${J.x} ${J.y + J.h} ${J.x + 40} ${J.y + J.h} H${J.x + J.w - 40} Q${J.x + J.w} ${J.y + J.h} ${J.x + J.w} ${J.y + J.h - 40} V${J.y}`, fill: "#fff", stroke: INK, "stroke-width": 4, "stroke-linecap": "round" }, jar);+ const kinds = [[BLUE, "files Claude reads"], [LIL, "command output"], [YEL, "the conversation"]];+ const N = 36, balls = Array.from({ length: N }, (_, i) => {+ const row = Math.floor(i / cols), col = i % cols, x = J.x + 27 + col * 49.2 + (row % 2 ? 0 : 0), y = J.y + J.h - 30 - row * 47;+ return { n: el("circle", { r, fill: kinds[(i * 7 + row) % 3][0], stroke: INK, "stroke-width": 2.5 }, jar), x, y, d: 0.5 + i * 0.165 };+ });+ const sum = el("g", { opacity: 0 }, jar);+ el("rect", { x: J.x + 60, y: J.y + J.h - 86, width: 180, height: 62, rx: 14, fill: MINT, stroke: INK, "stroke-width": 3 }, sum);+ txt(sum, J.x + 150, J.y + J.h - 47, "summary", { "text-anchor": "middle", "font-size": 22, "font-weight": 700 });+ kinds.forEach(([c, s], i) => { el("circle", { cx: 486, cy: 168 + i * 44, r: 12, fill: c, stroke: INK, "stroke-width": 2.5 }, svg); txt(svg, 510, 176 + i * 44, s, { "font-size": 22, "font-weight": 500 }); });+ const warn = el("g", {}, svg);+ el("rect", { x: 470, y: 300, width: 290, height: 76, rx: 16, fill: "#fff", stroke: INK, "stroke-width": 2.5, "stroke-dasharray": "5 6" }, warn);+ txt(warn, 615, 332, "Performance degrades", { "text-anchor": "middle", "font-size": 20, "font-weight": 700 });+ txt(warn, 615, 358, "as it fills", { "text-anchor": "middle", "font-size": 20, "font-weight": 700 });+ const mk = (x, label, col, fn) => { const g = el("g", {}, svg); el("rect", { x, y: 404, width: 138, height: 54, rx: 27, fill: col, stroke: INK, "stroke-width": 3 }, g); el("rect", { x: x - 5, y: 399, width: 148, height: 64, rx: 32, fill: "none", stroke: INK, "stroke-width": 2, class: "mg-ring" }, g); txt(g, x + 69, 438, label, { "text-anchor": "middle", "font-family": MONO, "font-size": 20, "font-weight": 700 }); button(g, label, fn); return g; };+ let squash = -99;+ mk(470, "/clear", YEL, () => { squash = -99; api.seek(8.6); });+ mk(622, "/compact", MINT, () => { squash = api.now(); api.poke(); });+ const cap = strip(svg, 520, 720);+ const TXT = { fill: "Everything Claude reads and every command output lands here", clear: "/clear starts a new conversation with empty context", compact: "/compact frees up context by summarizing the conversation so far" };+ return (t, now) => {+ const s = now - squash, sq = s >= 0 && s < 4.5;+ if (!sq && squash > 0) { squash = -99; api.seek(0); return; }+ const out = seg(t, 8.6, 9.6); let count = 0;+ balls.forEach((b, i) => {+ const k = oc(seg(t, b.d, b.d + 0.5)), bounce = Math.sin(seg(t, b.d + 0.5, b.d + 0.9) * Math.PI) * -7;+ let x = b.x, y = 96 + (b.y - 96) * k + bounce, sc = 1, op = seg(t, b.d, b.d + 0.12);+ if (t >= b.d) count++;+ if (sq) { const q = io(seg(s, 0, 0.8)); x = b.x + (J.x + 150 - b.x) * q; y = b.y + (J.y + J.h - 55 - b.y) * q; sc = 1 - 0.75 * q; op = t >= b.d ? 1 - seg(s, 0.6, 0.9) : 0; }+ else if (out > 0) { const q = io(cl(out * 1.5 - (i % cols) * 0.06)); y = b.y - 230 * q; x = b.x + (i % 2 ? 30 : -30) * q; op = 1 - q; sc = 1 - 0.4 * q; }+ tf(b.n, x, y, sc); b.n.setAttribute("opacity", op);+ });+ sum.setAttribute("opacity", sq ? ob(seg(s, 0.7, 1.1)) : 0);+ const full = sq || out > 0 ? 0 : count / N;+ warn.setAttribute("opacity", oc(seg(full, 0.6, 0.85)));+ jar.setAttribute("transform", `rotate(${full > 0.8 ? Math.sin(now * 9) * 1.2 * seg(full, 0.8, 1) : 0} ${J.x + 150} ${J.y + J.h})`);+ cap.textContent = sq ? TXT.compact : out > 0 || t > 8.6 ? TXT.clear : TXT.fill;+ };+ },+ };++ /* ---- title card, 16 by 9 ---- */+ SC.hero = {+ w: 960, h: 540, dur: 1, still: 0,+ build(svg) {+ txt(svg, 64, 150, "How to use", { "font-size": 76, "font-weight": 700 });+ txt(svg, 64, 236, "Claude Code", { "font-size": 76, "font-weight": 700 });+ el("path", { d: "M66 262 H520", stroke: YEL, "stroke-width": 14, "stroke-linecap": "round" }, svg);+ txt(svg, 64, 318, "Setup, a first task and the commands that matter", { "font-size": 25, "font-weight": 500, fill: MUTE });+ el("path", { d: "M70 478 H890", stroke: SOFT, "stroke-width": 22, "stroke-linecap": "round" }, svg);+ el("path", { d: "M70 478 H890", stroke: INK, "stroke-width": 2, "stroke-dasharray": "2 12", "stroke-linecap": "round" }, svg);+ ICONS.forEach((f, i) => { const g = el("g", {}, svg); f(g)(1); tf(g, 130 + i * 160, 412, 1.15); });+ const b = el("g", {}, svg); el("circle", { r: 19, fill: YEL, stroke: INK, "stroke-width": 3 }, b); el("path", { d: "M-10 0 H10", stroke: INK, "stroke-width": 3, "stroke-linecap": "round" }, b); tf(b, 868, 456, 1, 30);+ return () => {};+ },+ };++ /* ---- player ---- */+ const q = new URLSearchParams(location.search), frozen = q.has("mgstill"), fixed = parseFloat(q.get("mgstill"));+ const calm = matchMedia("(prefers-reduced-motion: reduce)").matches;+ const mount = (fig) => {+ const sc = SC[fig.dataset.scene], img = fig.querySelector("img"); if (!sc || !img) return;+ const W = sc.w || 800, H = sc.h || 600;+ const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, class: "mg-svg", role: "group", "aria-label": img.alt || "" });+ svg.style.aspectRatio = `${W} / ${H}`;+ el("rect", { width: W, height: H, fill: "#fff" }, svg);+ img.replaceWith(svg);+ let off = 0, raf = 0, seen = false, held = calm;+ const base = performance.now(), clock = () => (performance.now() - base) / 1000;+ let draw = () => {};+ const frame = () => { const now = clock(); draw(held ? sc.still : (((now + off) % sc.dur) + sc.dur) % sc.dur, now); };+ const tick = () => { cancelAnimationFrame(raf); frame(); if (seen && !held) raf = requestAnimationFrame(tick); };+ const api = { now: clock, seek: (s) => { off = s - clock(); held = false; tick(); }, poke: () => { held = false; tick(); } };+ draw = sc.build(svg, api);+ if (frozen) { draw(isNaN(fixed) ? sc.still : fixed, 0); return; }+ new IntersectionObserver(([e]) => {+ seen = e.isIntersecting;+ if (seen) { tick(); if (!fig.dataset.sent && window.posthog) { fig.dataset.sent = 1; window.posthog.capture("blog_scene_view", { slug: location.pathname.split("/").filter(Boolean).pop(), scene: fig.dataset.scene }); } }+ else cancelAnimationFrame(raf);+ }, { threshold: 0.25 }).observe(fig);+ svg.addEventListener("click", () => { if (!fig.dataset.hit && window.posthog) { fig.dataset.hit = 1; window.posthog.capture("blog_scene_interact", { slug: location.pathname.split("/").filter(Boolean).pop(), scene: fig.dataset.scene }); } });+ frame();+ };+ const go = () => document.querySelectorAll("figure.mg[data-scene]").forEach(mount);+ const fonts = document.fonts && document.fonts.load ? Promise.all([document.fonts.load('700 32px "Space Grotesk"'), document.fonts.load('500 20px "Space Grotesk"'), document.fonts.load('700 20px "JetBrains Mono"')]).catch(() => {}) : Promise.resolve();+ const start = () => fonts.then(go, go);+ if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", start); else start();+})();diff --git a/blog/src/assets/media/how-to-use-claude-code/prompt.png b/blog/src/assets/media/how-to-use-claude-code/prompt.pngindex 463e097a..16d6fc21 100644Binary files a/blog/src/assets/media/how-to-use-claude-code/prompt.png and b/blog/src/assets/media/how-to-use-claude-code/prompt.png differdiff --git a/blog/src/assets/media/how-to-use-claude-code/setup-steps.png b/blog/src/assets/media/how-to-use-claude-code/setup-steps.pngindex 7a868e55..2b4c86de 100644Binary files a/blog/src/assets/media/how-to-use-claude-code/setup-steps.png and b/blog/src/assets/media/how-to-use-claude-code/setup-steps.png differdiff --git a/blog/src/posts/how-to-use-claude-code.md b/blog/src/posts/how-to-use-claude-code.mdindex e021b120..d31b214b 100644--- a/blog/src/posts/how-to-use-claude-code.md+++ b/blog/src/posts/how-to-use-claude-code.md@@ -35,7 +35,7 @@ On accounts, the same page says Claude Code requires a Pro, Max, Team, EnterprisRun the native installer, check the version, then start `claude` in a project and log in. These are the commands from Anthropic's [quickstart](https://code.claude.com/docs/en/quickstart), read on 5 Oct 2026.-<figure class="mg" data-scene="flow"><img src="/blog/assets/media/how-to-use-claude-code/setup-steps.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. Pam walks along five boxes that light up in order: Install, Sign in, Open a project, Ask a question, Make a change."><script type="application/json">{"kicker":"Setup","title":"Claude Code from zero to a first change","nodes":[{"label":"Install","note":"One command in your terminal."},{"label":"Sign in","note":"Run claude. Log in in the browser."},{"label":"Open a project","note":"cd to the folder, then run claude."},{"label":"Ask a question","note":"Try: what does this project do?"},{"label":"Make a change","note":"It shows you the change."}],"labels":["--version","","",""],"host":"pam","say":"Five boxes. I drew them myself."}</script><figcaption>The five setup steps, from Anthropic's quickstart. Checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="marble"><img src="/blog/assets/media/how-to-use-claude-code/setup-steps.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A yellow marble rolls along a dotted track through five stops, and each one comes alive as it passes: a box opens for Install, a key turns for Sign in, files rise out of a folder for Open a project, a speech bubble pops for Ask a question, and a line of code turns green for Make a change. A strip below shows the command for each stop."><figcaption>The five setup steps, from Anthropic's quickstart. Tap a stop for its command. Checked 5 Oct 2026.</figcaption></figure>1. **Install.** On macOS, Linux or WSL:@@ -90,7 +90,7 @@ Then run `/init`. It generates a starter `CLAUDE.md`, the file Claude reads at tName the symptom, the likely location and what fixed looks like. That advice, and the example below, come from Anthropic's [best practices page](https://code.claude.com/docs/en/best-practices), which puts it this way: "The more precise your instructions, the fewer corrections you'll need."-<figure class="mg" data-scene="before-after"><img src="/blog/assets/media/how-to-use-claude-code/prompt.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. A card showing a four word prompt flips over to show a three line prompt that names the symptom, the folder to check and the failing test to write."><script type="application/json">{"kicker":"Prompts","title":"The same bug, asked for twice","before":{"label":"Vague","lines":["fix the login bug"]},"after":{"label":"Specific","lines":["Users report that login fails after session timeout.","Check the auth flow in src/auth/, especially token refresh.","Write a failing test that reproduces the issue, then fix it."]},"host":"jim","say":"Symptom, place, proof. That's it."}</script><figcaption>Adapted from the before and after on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="focus"><img src="/blog/assets/media/how-to-use-claude-code/prompt.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A slider moves from vague to specific. At vague the card says fix the login bug among floating question marks. At specific it shows three tagged lines: the symptom, where to look, and the proof, a failing test."><figcaption>Drag the slider. Adapted from the before and after on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure>The second half matters as much as the first. Give Claude a check it can run (a test, a build, a linter) and it does the work, runs the check and iterates until it passes. Without one, in the docs' words, "you become the verification loop". Use `@` to point at a file by path.@@ -119,7 +119,7 @@ Sources: the [commands reference](https://code.claude.com/docs/en/commands) andAnthropic's recommended workflow has four phases, and it exists to stop Claude solving the wrong problem.-<figure class="mg" data-scene="flow"><img src="/blog/assets/media/how-to-use-claude-code/loop.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. Four boxes light up left to right, Explore, Plan, Implement and Commit, while Pam points at each one in turn."><script type="application/json">{"kicker":"Workflow","title":"The four phases Anthropic recommends","nodes":[{"label":"Explore","note":"Plan mode: it reads, no changes."},{"label":"Plan","note":"Ask for a detailed plan."},{"label":"Implement","note":"It codes and runs the tests."},{"label":"Commit","note":"Ask for a commit and a PR."}],"labels":["","ok",""],"host":"pam","say":"Fixing a typo? Skip the plan."}</script><figcaption>Explore, plan, implement, commit. From the best practices page, checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="loop"><img src="/blog/assets/media/how-to-use-claude-code/loop.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A yellow dot travels around a ring through four phases, Explore, Plan, Implement and Commit. Each phase lights up in turn with a small moving icon and a one line note in the middle."><figcaption>Explore, plan, implement, commit. From the best practices page, checked 5 Oct 2026.</figcaption></figure>Press `Shift+Tab` until the status bar shows plan mode, and Claude reads files and answers questions without making changes. Ask for a plan, approve it, let it implement and run the tests, then ask it to commit. The docs add a limit: "If you could describe the diff in one sentence, skip the plan." Our [plan mode guide](/blog/how-to-use-claude-code-plan-mode/) has the details.@@ -127,7 +127,7 @@ Press `Shift+Tab` until the status bar shows plan mode, and Claude reads files aIn our experience, most beginner trouble is a full context window. Everything Claude reads and every command output lands in it, and the best practices page says performance degrades as it fills.-<figure class="mg" data-scene="stage"><img src="/blog/assets/media/how-to-use-claude-code/mistakes.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. Michael opens, then Dwight points at a board of common mistakes while Jim and Oscar add one rule each in speech bubbles."><script type="application/json">{"kicker":"House rules","title":"Three mistakes Anthropic's docs warn about","board":{"label":"Avoid","lines":["The kitchen sink session","Correcting over and over","The trust-then-verify gap"]},"script":[{"who":"michael","say":"New here? Dwight has rules."},{"who":"dwight","say":"/clear between unrelated tasks.","point":"up-left"},{"who":"dwight","say":"Two failed fixes? /clear. New prompt.","carry":"/clear"},{"who":"jim","say":"Give it a test, or you are the test."},{"who":"oscar","say":"Rewind is not a replacement for git."}]}</script><figcaption>Failure patterns named on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="jar"><img src="/blog/assets/media/how-to-use-claude-code/mistakes.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. Coloured balls for files, command output and the conversation drop into a jar until it is full and a note says performance degrades as it fills. Two buttons empty it: clear throws everything out, compact squeezes it into one summary block."><figcaption>Why a full context window causes trouble, and the two commands that fix it. Checked 5 Oct 2026.</figcaption></figure>* **One session for everything.** Run `/clear` between unrelated tasks.* **Correcting the same thing a third time.** After two failed corrections, `/clear` and write a better first prompt.@@ -144,4 +144,4 @@ Once the basics feel boring, pick one:* [Subagents](/blog/claude-code-subagents-vs-multi-agent-harness/), to keep research out of your main context.* [Managing multiple Claude Code sessions](/blog/manage-multiple-claude-code-sessions/), for when one terminal stops being enough.-<link rel="stylesheet" href="/blog/assets/mg/kit.css"><script defer src="/blog/assets/mg/kit.js"></script>+<link rel="stylesheet" href="/blog/assets/media/how-to-use-claude-code/motion.css"><script defer src="/blog/assets/media/how-to-use-claude-code/motion.js"></script>diff --git a/docs/blog/agent-security-and-sandboxing/index.html b/docs/blog/agent-security-and-sandboxing/index.htmlindex 5843d829..14bb822e 100644--- a/docs/blog/agent-security-and-sandboxing/index.html+++ b/docs/blog/agent-security-and-sandboxing/index.html@@ -348,7 +348,7 @@ git, lifecycle hooks, and an audit trail — so safe-by-default is the path of l<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/asd-ste100-prompting/index.html b/docs/blog/asd-ste100-prompting/index.htmlindex 160a00d9..6d9b4d41 100644--- a/docs/blog/asd-ste100-prompting/index.html+++ b/docs/blog/asd-ste100-prompting/index.html@@ -370,7 +370,7 @@ Use my ElevenLabs API key for audio narration.<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/assets/media/how-to-use-claude-code/hero.png b/docs/blog/assets/media/how-to-use-claude-code/hero.pngindex 0181b24b..b065f20a 100644Binary files a/docs/blog/assets/media/how-to-use-claude-code/hero.png and b/docs/blog/assets/media/how-to-use-claude-code/hero.png differdiff --git a/docs/blog/assets/media/how-to-use-claude-code/loop.png b/docs/blog/assets/media/how-to-use-claude-code/loop.pngindex 5aa55d8c..7066c9df 100644Binary files a/docs/blog/assets/media/how-to-use-claude-code/loop.png and b/docs/blog/assets/media/how-to-use-claude-code/loop.png differdiff --git a/docs/blog/assets/media/how-to-use-claude-code/mistakes.png b/docs/blog/assets/media/how-to-use-claude-code/mistakes.pngindex 5ff51f52..c869cefb 100644Binary files a/docs/blog/assets/media/how-to-use-claude-code/mistakes.png and b/docs/blog/assets/media/how-to-use-claude-code/mistakes.png differdiff --git a/docs/blog/assets/media/how-to-use-claude-code/motion.css b/docs/blog/assets/media/how-to-use-claude-code/motion.cssnew file mode 100644index 00000000..7efb2f19--- /dev/null+++ b/docs/blog/assets/media/how-to-use-claude-code/motion.css@@ -0,0 +1,13 @@+/* Bright coded scenes for "How to use Claude Code". Pairs with motion.js. */+.prose figure.mg { margin: 42px 0; }+.prose figure.mg img, .mg .mg-svg { display: block; width: 100%; height: auto; border: 1px solid #1A1320; border-radius: 18px; background: #fff; }+.mg figcaption { font: 500 13px/1.5 "Space Grotesk", system-ui, sans-serif; color: #6B5878; padding-top: 10px; text-align: center; }+.mg .mg-svg { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }+.mg .mg-svg text { -webkit-user-select: none; user-select: none; pointer-events: none; }+.mg .mg-hit { cursor: pointer; outline: none; }+.mg [role="slider"] { cursor: grab; touch-action: none; }+.mg .mg-ring { stroke-opacity: 0; transition: stroke-opacity 0.15s; }+.mg .mg-hit:focus-visible .mg-ring { stroke-opacity: 1; }+.mg [role="slider"]:focus-visible circle:nth-child(2) { stroke-width: 5; }+@media (hover: hover) { .mg .mg-hit:hover .mg-ring { stroke-opacity: 0.5; } }+@media (prefers-reduced-motion: reduce) { .mg .mg-ring { transition: none; } }diff --git a/docs/blog/assets/media/how-to-use-claude-code/motion.js b/docs/blog/assets/media/how-to-use-claude-code/motion.jsnew file mode 100644index 00000000..5c027859--- /dev/null+++ b/docs/blog/assets/media/how-to-use-claude-code/motion.js@@ -0,0 +1,296 @@+/* Bright coded scenes for "How to use Claude Code". Vanilla JS, no library.+ <figure class="mg" data-scene="NAME"> holds a still image; this script swaps in a live SVG.+ Plays only in view, honours reduced motion, "?mgstill" freezes each scene on its still frame. */+(() => {+ const NS = "http://www.w3.org/2000/svg";+ const INK = "#1A1320", YEL = "#FFCA54", BLUE = "#6C8EF5", LIL = "#B69CFF", MINT = "#7FD8AE", SKY = "#9AD8FF", SOFT = "#F1ECF9", MUTE = "#7A6A88";+ const SANS = '"Space Grotesk", system-ui, sans-serif', MONO = '"JetBrains Mono", ui-monospace, monospace';+ const el = (t, a = {}, p) => { const n = document.createElementNS(NS, t); for (const k in a) n.setAttribute(k, a[k]); if (p) p.appendChild(n); return n; };+ const txt = (p, x, y, s, a = {}) => { const n = el("text", Object.assign({ x, y, "font-family": SANS, "font-size": 24, "font-weight": 600, fill: INK }, a), p); n.textContent = s; return n; };+ const cl = (v, a = 0, b = 1) => Math.max(a, Math.min(b, v));+ const seg = (t, a, b) => cl((t - a) / (b - a));+ const oc = (x) => 1 - Math.pow(1 - x, 3);+ const ob = (x) => { const c = 1.70158; return 1 + (c + 1) * Math.pow(x - 1, 3) + c * Math.pow(x - 1, 2); };+ const io = (x) => (x < 0.5 ? 4 * x * x * x : 1 - Math.pow(-2 * x + 2, 3) / 2);+ const tf = (n, x, y, s = 1, r = 0) => n.setAttribute("transform", `translate(${x} ${y}) rotate(${r}) scale(${s})`);+ const button = (g, label, fn) => {+ g.setAttribute("role", "button"); g.setAttribute("tabindex", "0"); g.setAttribute("aria-label", label); g.classList.add("mg-hit");+ g.addEventListener("click", fn);+ g.addEventListener("keydown", (e) => { if (e.key === "Enter" || e.key === " ") { e.preventDefault(); fn(); } });+ };+ const strip = (svg, y, w = 680) => {+ el("rect", { x: (800 - w) / 2, y, width: w, height: 48, rx: 24, fill: SOFT }, svg);+ return txt(svg, 400, y + 31, "", { "text-anchor": "middle", "font-size": 20, "font-weight": 500 });+ };++ /* ---- the five setup icons, each drawn around 0,0 and driven by k from 0 to 1 ---- */+ const ICONS = [+ (g) => { // install: a box opens and an arrow drops in+ const arrow = el("path", { d: "M0 -34 V-8 M-9 -17 L0 -8 L9 -17", stroke: INK, "stroke-width": 4, fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, g);+ el("rect", { x: -30, y: -4, width: 60, height: 38, rx: 6, fill: YEL, stroke: INK, "stroke-width": 3 }, g);+ const lid = el("path", { d: "M-34 -4 H34", stroke: INK, "stroke-width": 5, "stroke-linecap": "round" }, g);+ return (k) => { lid.setAttribute("transform", `rotate(${-38 * k} -34 -4)`); arrow.setAttribute("transform", `translate(0 ${-26 + 30 * k})`); arrow.setAttribute("opacity", k < 0.05 ? 0 : 1); };+ },+ (g) => { // sign in: a key turns+ const key = el("g", {}, g);+ el("circle", { cx: -18, cy: 0, r: 14, fill: LIL, stroke: INK, "stroke-width": 3 }, key);+ el("circle", { cx: -18, cy: 0, r: 4, fill: "#fff", stroke: INK, "stroke-width": 2 }, key);+ el("path", { d: "M-4 0 H30 M18 0 V10 M27 0 V8", stroke: INK, "stroke-width": 4, fill: "none", "stroke-linecap": "round" }, key);+ return (k) => key.setAttribute("transform", `rotate(${-90 + 90 * k})`);+ },+ (g) => { // open a project: files rise out of a folder+ const files = [-16, 0, 16].map((x, i) => el("rect", { x: x - 9, y: -16, width: 18, height: 24, rx: 3, fill: "#fff", stroke: INK, "stroke-width": 2.5 }, g));+ el("path", { d: "M-32 -12 H-8 L-2 -4 H32 V30 H-32 Z", fill: BLUE, stroke: INK, "stroke-width": 3, "stroke-linejoin": "round" }, g);+ return (k) => files.forEach((f, i) => f.setAttribute("transform", `translate(0 ${-20 * cl(k * 1.4 - i * 0.2)})`));+ },+ (g) => { // ask: a speech bubble pops+ const b = el("g", {}, g);+ el("path", { d: "M-32 -26 H32 Q38 -26 38 -20 V10 Q38 16 32 16 H-6 L-20 30 V16 H-32 Q-38 16 -38 10 V-20 Q-38 -26 -32 -26 Z", fill: SKY, stroke: INK, "stroke-width": 3, "stroke-linejoin": "round" }, b);+ txt(b, 0, 7, "?", { "text-anchor": "middle", "font-size": 34, "font-weight": 700 });+ return (k) => b.setAttribute("transform", `scale(${0.55 + 0.45 * k})`);+ },+ (g) => { // make a change: one line of code turns green+ el("rect", { x: -32, y: -24, width: 40, height: 9, rx: 4.5, fill: "#D9D0E4" }, g);+ const mid = el("rect", { x: -32, y: -5, width: 30, height: 11, rx: 5.5, fill: "#D9D0E4" }, g);+ el("rect", { x: -32, y: 16, width: 48, height: 9, rx: 4.5, fill: "#D9D0E4" }, g);+ const plus = el("path", { d: "M-46 0 H-38 M-42 -4 V4", stroke: INK, "stroke-width": 3, "stroke-linecap": "round" }, g);+ return (k) => { mid.setAttribute("width", 30 + 34 * k); mid.setAttribute("fill", k > 0.3 ? MINT : "#D9D0E4"); plus.setAttribute("opacity", k); };+ },+ ];+ const STOPS = [+ ["Install", "curl -fsSL https://claude.ai/install.sh | bash"],+ ["Sign in", "claude, then follow the browser prompts"],+ ["Open a project", "cd /path/to/your/project, then claude"],+ ["Ask a question", "what does this project do?"],+ ["Make a change", "add a hello world function to the main file"],+ ];++ const SC = {};++ /* ---- 1. a marble rolls through the five setup stops ---- */+ SC.marble = {+ dur: 12.5, still: 10.2,+ build(svg, api) {+ txt(svg, 44, 62, "Zero to a first change", { "font-size": 32, "font-weight": 700 });+ txt(svg, 756, 60, "tap a stop", { "text-anchor": "end", "font-size": 16, fill: MUTE, "font-weight": 500 });+ const d = "M60 200 H650 Q730 200 730 280 V330 Q730 410 650 410 H130";+ el("path", { d, stroke: SOFT, "stroke-width": 22, fill: "none", "stroke-linecap": "round" }, svg);+ const path = el("path", { d, stroke: INK, "stroke-width": 2, fill: "none", "stroke-dasharray": "2 12", "stroke-linecap": "round" }, svg);+ const L = path.getTotalLength();+ const at = [[150, 200], [390, 200], [585, 200], [540, 410], [250, 410]];+ const frac = at.map(([x, y]) => { let best = 0, bd = 1e9; for (let i = 0; i <= 600; i++) { const p = path.getPointAtLength((L * i) / 600), q = (p.x - x) ** 2 + (p.y - y) ** 2; if (q < bd) { bd = q; best = i / 600; } } return best; });+ const prog = (t) => io(seg(t, 0.6, 8.8));+ const when = frac.map((f) => { for (let t = 0; t < 9; t += 0.02) if (prog(t) >= f) return t; return 9; });+ let pinned = -1;+ const tip = strip(svg, 520, 720); tip.setAttribute("font-family", MONO); tip.setAttribute("font-size", 20);+ const stops = at.map(([x, y], i) => {+ const g = el("g", {}, svg), ic = el("g", {}, g);+ el("circle", { r: 58, fill: "#fff", "fill-opacity": 0 , class: "mg-ring", stroke: INK, "stroke-width": 2, "stroke-dasharray": "3 7" }, g);+ const run = ICONS[i](ic);+ const chip = el("circle", { cx: -52, cy: 126, r: 14, fill: "#fff", stroke: INK, "stroke-width": 2 }, g);+ txt(g, -52, 131.5, String(i + 1), { "text-anchor": "middle", "font-size": 16, "font-weight": 700 });+ txt(g, -30, 134, STOPS[i][0], { "font-size": 22 });+ tf(g, x, y - 80);+ button(g, `${STOPS[i][0]}: ${STOPS[i][1]}`, () => { pinned = i; api.poke(); });+ return { ic, run, chip };+ });+ const conf = Array.from({ length: 16 }, (_, i) => el(i % 2 ? "circle" : "rect", i % 2 ? { r: 5, fill: [YEL, BLUE, LIL, MINT][i % 4] } : { width: 9, height: 9, rx: 2, fill: [MINT, YEL, SKY, LIL][i % 4] }, svg));+ const ball = el("g", {}, svg);+ el("circle", { r: 17, fill: YEL, stroke: INK, "stroke-width": 3 }, ball);+ el("path", { d: "M-9 0 H9", stroke: INK, "stroke-width": 3, "stroke-linecap": "round" }, ball);+ return (t) => {+ const p = prog(t), pt = path.getPointAtLength(L * p);+ tf(ball, pt.x, pt.y - 20, 1, (L * p * 180) / (Math.PI * 17));+ let last = -1;+ stops.forEach((s, i) => {+ const k = ob(seg(t, when[i], when[i] + 0.55)), on = t >= when[i];+ s.run(cl(k, 0, 1.15)); s.ic.setAttribute("opacity", on ? 1 : 0.28);+ s.ic.setAttribute("transform", `scale(${on ? 0.9 + 0.2 * k : 0.9})`);+ s.chip.setAttribute("fill", on ? YEL : "#fff"); if (on) last = i;+ });+ const show = pinned >= 0 ? pinned : last;+ tip.textContent = show < 0 ? "five stops, one marble" : STOPS[show][1];+ const c = seg(t, when[4] + 0.3, when[4] + 1.5), [cx, cy] = [at[4][0], at[4][1] - 80];+ conf.forEach((n, i) => { const a = (i / 16) * 6.283 + 0.4, r = 110 * oc(c); n.setAttribute("transform", `translate(${cx + Math.cos(a) * r} ${cy + Math.sin(a) * r * 0.8 + 30 * c * c}) rotate(${c * 300 + i * 40})`); n.setAttribute("opacity", c <= 0 ? 0 : 1 - c * c); });+ };+ },+ };++ /* ---- 2. drag from a vague prompt to a specific one ---- */+ SC.focus = {+ dur: 11, still: 5.5,+ build(svg, api) {+ txt(svg, 44, 62, "Same bug, two ways to ask", { "font-size": 32, "font-weight": 700 });+ el("rect", { x: 72, y: 104, width: 680, height: 300, rx: 26, fill: YEL }, svg);+ el("rect", { x: 60, y: 92, width: 680, height: 300, rx: 26, fill: "#fff", stroke: INK, "stroke-width": 3 }, svg);+ const vague = txt(svg, 400, 258, "fix the login bug", { "text-anchor": "middle", "font-size": 50, "font-weight": 700 });+ const qs = Array.from({ length: 9 }, (_, i) => txt(svg, 0, 0, "?", { "text-anchor": "middle", "font-size": 30 + (i % 3) * 12, "font-weight": 700, fill: [LIL, BLUE, SKY][i % 3] }));+ const rows = [["symptom", LIL, "Users report that login fails after session timeout."], ["where", SKY, "Check the auth flow in src/auth/, especially token refresh."], ["proof", MINT, "Write a failing test that reproduces the issue, then fix it."]].map(([tag, col, line], i) => {+ const g = el("g", {}, svg);+ el("rect", { x: 92, y: 118 + i * 88, width: 104, height: 28, rx: 14, fill: col, stroke: INK, "stroke-width": 2 }, g);+ txt(g, 144, 138 + i * 88, tag, { "text-anchor": "middle", "font-size": 15, "font-weight": 700 });+ txt(g, 92, 176 + i * 88, line, { "font-size": 20, "font-weight": 500 });+ return g;+ });+ el("path", { d: "M170 462 H630", stroke: SOFT, "stroke-width": 16, "stroke-linecap": "round" }, svg);+ const fill = el("path", { d: "M170 462 H170", stroke: YEL, "stroke-width": 16, "stroke-linecap": "round" }, svg);+ txt(svg, 132, 469, "vague", { "text-anchor": "end", "font-size": 20, fill: MUTE });+ txt(svg, 668, 469, "specific", { "font-size": 20, fill: MUTE });+ const knob = el("g", { role: "slider", tabindex: "0", "aria-label": "From a vague prompt to a specific one", "aria-valuemin": 0, "aria-valuemax": 100, class: "mg-hit" }, svg);+ el("circle", { r: 34, fill: "#fff", "fill-opacity": 0 }, knob);+ el("circle", { r: 21, fill: "#fff", stroke: INK, "stroke-width": 3 }, knob);+ el("path", { d: "M-6 -6 L-12 0 L-6 6 M6 -6 L12 0 L6 6", stroke: INK, "stroke-width": 2.5, fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, knob);+ const cap = strip(svg, 520, 520);+ let user = null;+ const set = (e) => { const r = svg.getBoundingClientRect(); user = cl(((e.clientX - r.left) / r.width * 800 - 170) / 460); api.poke(); };+ let down = false;+ knob.addEventListener("pointerdown", (e) => { down = true; knob.setPointerCapture(e.pointerId); set(e); });+ knob.addEventListener("pointermove", (e) => { if (down) set(e); });+ knob.addEventListener("pointerup", () => { down = false; });+ knob.addEventListener("keydown", (e) => { const s = e.key === "ArrowRight" || e.key === "ArrowUp" ? 0.1 : e.key === "ArrowLeft" || e.key === "ArrowDown" ? -0.1 : 0; if (s) { e.preventDefault(); user = cl((user == null ? 1 : user) + s); api.poke(); } });+ return (t) => {+ const v = user != null ? user : io(seg(t, 1.2, 4.2)) - io(seg(t, 8, 10.2));+ tf(knob, 170 + 460 * v, 462); fill.setAttribute("d", `M170 462 H${170 + 460 * v}`); knob.setAttribute("aria-valuenow", Math.round(v * 100));+ const a = cl(1 - v * 2.4);+ vague.setAttribute("opacity", a); vague.setAttribute("transform", `translate(0 ${-30 * (1 - a)})`);+ qs.forEach((q, i) => { const ang = i * 0.7 + t * (0.5 + (i % 3) * 0.15), bx = 110 + ((i * 83) % 580), by = 150 + ((i * 57) % 190); tf(q, bx + Math.cos(ang) * 14, by + Math.sin(ang * 1.3) * 12, a, Math.sin(ang) * 14); q.setAttribute("opacity", a * 0.9); });+ rows.forEach((g, i) => { const k = oc(seg(v, 0.35 + i * 0.15, 0.7 + i * 0.15)); g.setAttribute("opacity", k); g.setAttribute("transform", `translate(${40 * (1 - k)} 0)`); });+ cap.textContent = v < 0.5 ? "Vague: Claude has to guess what you mean" : "Specific: the symptom, the place, the proof";+ };+ },+ };++ /* ---- 3. the four phase loop ---- */+ SC.loop = {+ dur: 10.4, still: 6.3,+ build(svg, api) {+ const C = [400, 280], R = 168, P = 2.6;+ const ph = [["Explore", "Plan mode: it reads,", "no changes.", SKY], ["Plan", "Ask for a", "detailed plan.", LIL], ["Implement", "It codes and", "runs the tests.", MINT], ["Commit", "Ask for a commit", "and a PR.", YEL]];+ txt(svg, 44, 62, "The working", { "font-size": 32, "font-weight": 700 }); txt(svg, 44, 100, "loop", { "font-size": 32, "font-weight": 700 });+ txt(svg, 756, 60, "tap a phase", { "text-anchor": "end", "font-size": 16, fill: MUTE, "font-weight": 500 });+ el("circle", { cx: C[0], cy: C[1], r: R, fill: "none", stroke: SOFT, "stroke-width": 20 }, svg);+ el("circle", { cx: C[0], cy: C[1], r: R, fill: "none", stroke: INK, "stroke-width": 2, "stroke-dasharray": "2 12", "stroke-linecap": "round" }, svg);+ const n1 = txt(svg, C[0], C[1] - 4, "", { "text-anchor": "middle", "font-size": 21, "font-weight": 500 }), n2 = txt(svg, C[0], C[1] + 26, "", { "text-anchor": "middle", "font-size": 21, "font-weight": 500 });+ const pos = (i) => { const a = (-90 + i * 90) * Math.PI / 180; return [C[0] + Math.cos(a) * R, C[1] + Math.sin(a) * R]; };+ const draw = [+ (g) => { const m = el("g", {}, g); el("circle", { cx: -4, cy: -4, r: 15, fill: "#fff", stroke: INK, "stroke-width": 3.5 }, m); el("path", { d: "M7 7 L20 20", stroke: INK, "stroke-width": 5, "stroke-linecap": "round" }, m); return (k, t) => m.setAttribute("transform", `translate(${Math.cos(t * 3) * 7 * k} ${Math.sin(t * 3) * 5 * k})`); },+ (g) => { const ts = [-14, 0, 14].map((y) => { el("path", { d: `M-4 ${y} H20`, stroke: INK, "stroke-width": 4, "stroke-linecap": "round" }, g); return el("path", { d: `M-22 ${y} l4 4 l7 -9`, stroke: INK, "stroke-width": 3, fill: "none", "stroke-linecap": "round", "stroke-linejoin": "round" }, g); }); return (k) => ts.forEach((n, i) => n.setAttribute("opacity", cl(k * 4 - i - 0.5))); },+ (g) => { const bs = [[-22, 6], [2, 6], [-10, -16]].map(([x, y]) => el("rect", { x, y, width: 20, height: 18, rx: 4, fill: "#fff", stroke: INK, "stroke-width": 3 }, g)); return (k) => bs.forEach((n, i) => { const q = ob(cl(k * 3.2 - i * 0.9)); n.setAttribute("transform", `translate(0 ${-34 * (1 - q)})`); n.setAttribute("opacity", cl(k * 3.2 - i * 0.9) > 0 ? 1 : 0); }); },+ (g) => { el("path", { d: "M-14 24 V-24", stroke: INK, "stroke-width": 4, "stroke-linecap": "round" }, g); const f = el("path", { d: "M-12 -22 H16 L8 -12 L16 -2 H-12 Z", fill: "#fff", stroke: INK, "stroke-width": 3, "stroke-linejoin": "round" }, g); return (k) => f.setAttribute("transform", `translate(0 ${28 * (1 - oc(cl(k * 2)))})`); },+ ];+ const nodes = ph.map((p, i) => {+ const [x, y] = pos(i), g = el("g", {}, svg), bg = el("circle", { r: 50, fill: "#fff", stroke: INK, "stroke-width": 3 }, g), ic = el("g", {}, g), run = draw[i](ic);+ tf(g, x, y);+ const lx = i === 1 ? x + 4 : i === 3 ? x - 4 : x, ly = i === 0 ? y - 64 : i === 2 ? y + 82 : y - 64;+ txt(svg, lx, ly, p[0], { "text-anchor": "middle", "font-size": 23, "font-weight": 700 });+ button(g, `${p[0]}: ${p[1]} ${p[2]}`, () => api.seek(i * P + 0.01));+ return { g, bg, run, x, y };+ });+ const dot = el("circle", { r: 13, fill: YEL, stroke: INK, "stroke-width": 3 }, svg);+ const cap = strip(svg, 546, 640); cap.textContent = "Could describe the diff in one sentence? Skip the plan.";+ return (t) => {+ const i = Math.floor(t / P) % 4, u = (t % P) / P, mv = io(seg(u, 0.72, 1)), a = (-90 + (i + mv) * 90) * Math.PI / 180;+ dot.setAttribute("cx", C[0] + Math.cos(a) * (R + 0)); dot.setAttribute("cy", C[1] + Math.sin(a) * R);+ dot.setAttribute("opacity", mv > 0.02 && mv < 0.98 ? 1 : 0);+ nodes.forEach((n, j) => { const on = j === i, k = on ? seg(u, 0, 0.7) : 0, pop = on ? ob(seg(u, 0, 0.18)) : 0; n.bg.setAttribute("fill", on ? ph[j][3] : "#fff"); tf(n.g, n.x, n.y, 1 + 0.12 * pop); n.run(on ? k : 1, t); });+ n1.textContent = ph[i][1]; n2.textContent = ph[i][2];+ const o = oc(seg(u, 0, 0.15)) * (1 - seg(u, 0.85, 1)); n1.setAttribute("opacity", o); n2.setAttribute("opacity", o);+ };+ },+ };++ /* ---- 4. the context window as a jar that fills up ---- */+ SC.jar = {+ dur: 12, still: 6.9,+ build(svg, api) {+ txt(svg, 44, 62, "The context window fills up", { "font-size": 32, "font-weight": 700 });+ const J = { x: 120, y: 130, w: 300, h: 330 }, r = 23, cols = 6;+ const jar = el("g", {}, svg);+ el("path", { d: `M${J.x} ${J.y} V${J.y + J.h - 40} Q${J.x} ${J.y + J.h} ${J.x + 40} ${J.y + J.h} H${J.x + J.w - 40} Q${J.x + J.w} ${J.y + J.h} ${J.x + J.w} ${J.y + J.h - 40} V${J.y}`, fill: "#fff", stroke: INK, "stroke-width": 4, "stroke-linecap": "round" }, jar);+ const kinds = [[BLUE, "files Claude reads"], [LIL, "command output"], [YEL, "the conversation"]];+ const N = 36, balls = Array.from({ length: N }, (_, i) => {+ const row = Math.floor(i / cols), col = i % cols, x = J.x + 27 + col * 49.2 + (row % 2 ? 0 : 0), y = J.y + J.h - 30 - row * 47;+ return { n: el("circle", { r, fill: kinds[(i * 7 + row) % 3][0], stroke: INK, "stroke-width": 2.5 }, jar), x, y, d: 0.5 + i * 0.165 };+ });+ const sum = el("g", { opacity: 0 }, jar);+ el("rect", { x: J.x + 60, y: J.y + J.h - 86, width: 180, height: 62, rx: 14, fill: MINT, stroke: INK, "stroke-width": 3 }, sum);+ txt(sum, J.x + 150, J.y + J.h - 47, "summary", { "text-anchor": "middle", "font-size": 22, "font-weight": 700 });+ kinds.forEach(([c, s], i) => { el("circle", { cx: 486, cy: 168 + i * 44, r: 12, fill: c, stroke: INK, "stroke-width": 2.5 }, svg); txt(svg, 510, 176 + i * 44, s, { "font-size": 22, "font-weight": 500 }); });+ const warn = el("g", {}, svg);+ el("rect", { x: 470, y: 300, width: 290, height: 76, rx: 16, fill: "#fff", stroke: INK, "stroke-width": 2.5, "stroke-dasharray": "5 6" }, warn);+ txt(warn, 615, 332, "Performance degrades", { "text-anchor": "middle", "font-size": 20, "font-weight": 700 });+ txt(warn, 615, 358, "as it fills", { "text-anchor": "middle", "font-size": 20, "font-weight": 700 });+ const mk = (x, label, col, fn) => { const g = el("g", {}, svg); el("rect", { x, y: 404, width: 138, height: 54, rx: 27, fill: col, stroke: INK, "stroke-width": 3 }, g); el("rect", { x: x - 5, y: 399, width: 148, height: 64, rx: 32, fill: "none", stroke: INK, "stroke-width": 2, class: "mg-ring" }, g); txt(g, x + 69, 438, label, { "text-anchor": "middle", "font-family": MONO, "font-size": 20, "font-weight": 700 }); button(g, label, fn); return g; };+ let squash = -99;+ mk(470, "/clear", YEL, () => { squash = -99; api.seek(8.6); });+ mk(622, "/compact", MINT, () => { squash = api.now(); api.poke(); });+ const cap = strip(svg, 520, 720);+ const TXT = { fill: "Everything Claude reads and every command output lands here", clear: "/clear starts a new conversation with empty context", compact: "/compact frees up context by summarizing the conversation so far" };+ return (t, now) => {+ const s = now - squash, sq = s >= 0 && s < 4.5;+ if (!sq && squash > 0) { squash = -99; api.seek(0); return; }+ const out = seg(t, 8.6, 9.6); let count = 0;+ balls.forEach((b, i) => {+ const k = oc(seg(t, b.d, b.d + 0.5)), bounce = Math.sin(seg(t, b.d + 0.5, b.d + 0.9) * Math.PI) * -7;+ let x = b.x, y = 96 + (b.y - 96) * k + bounce, sc = 1, op = seg(t, b.d, b.d + 0.12);+ if (t >= b.d) count++;+ if (sq) { const q = io(seg(s, 0, 0.8)); x = b.x + (J.x + 150 - b.x) * q; y = b.y + (J.y + J.h - 55 - b.y) * q; sc = 1 - 0.75 * q; op = t >= b.d ? 1 - seg(s, 0.6, 0.9) : 0; }+ else if (out > 0) { const q = io(cl(out * 1.5 - (i % cols) * 0.06)); y = b.y - 230 * q; x = b.x + (i % 2 ? 30 : -30) * q; op = 1 - q; sc = 1 - 0.4 * q; }+ tf(b.n, x, y, sc); b.n.setAttribute("opacity", op);+ });+ sum.setAttribute("opacity", sq ? ob(seg(s, 0.7, 1.1)) : 0);+ const full = sq || out > 0 ? 0 : count / N;+ warn.setAttribute("opacity", oc(seg(full, 0.6, 0.85)));+ jar.setAttribute("transform", `rotate(${full > 0.8 ? Math.sin(now * 9) * 1.2 * seg(full, 0.8, 1) : 0} ${J.x + 150} ${J.y + J.h})`);+ cap.textContent = sq ? TXT.compact : out > 0 || t > 8.6 ? TXT.clear : TXT.fill;+ };+ },+ };++ /* ---- title card, 16 by 9 ---- */+ SC.hero = {+ w: 960, h: 540, dur: 1, still: 0,+ build(svg) {+ txt(svg, 64, 150, "How to use", { "font-size": 76, "font-weight": 700 });+ txt(svg, 64, 236, "Claude Code", { "font-size": 76, "font-weight": 700 });+ el("path", { d: "M66 262 H520", stroke: YEL, "stroke-width": 14, "stroke-linecap": "round" }, svg);+ txt(svg, 64, 318, "Setup, a first task and the commands that matter", { "font-size": 25, "font-weight": 500, fill: MUTE });+ el("path", { d: "M70 478 H890", stroke: SOFT, "stroke-width": 22, "stroke-linecap": "round" }, svg);+ el("path", { d: "M70 478 H890", stroke: INK, "stroke-width": 2, "stroke-dasharray": "2 12", "stroke-linecap": "round" }, svg);+ ICONS.forEach((f, i) => { const g = el("g", {}, svg); f(g)(1); tf(g, 130 + i * 160, 412, 1.15); });+ const b = el("g", {}, svg); el("circle", { r: 19, fill: YEL, stroke: INK, "stroke-width": 3 }, b); el("path", { d: "M-10 0 H10", stroke: INK, "stroke-width": 3, "stroke-linecap": "round" }, b); tf(b, 868, 456, 1, 30);+ return () => {};+ },+ };++ /* ---- player ---- */+ const q = new URLSearchParams(location.search), frozen = q.has("mgstill"), fixed = parseFloat(q.get("mgstill"));+ const calm = matchMedia("(prefers-reduced-motion: reduce)").matches;+ const mount = (fig) => {+ const sc = SC[fig.dataset.scene], img = fig.querySelector("img"); if (!sc || !img) return;+ const W = sc.w || 800, H = sc.h || 600;+ const svg = el("svg", { viewBox: `0 0 ${W} ${H}`, class: "mg-svg", role: "group", "aria-label": img.alt || "" });+ svg.style.aspectRatio = `${W} / ${H}`;+ el("rect", { width: W, height: H, fill: "#fff" }, svg);+ img.replaceWith(svg);+ let off = 0, raf = 0, seen = false, held = calm;+ const base = performance.now(), clock = () => (performance.now() - base) / 1000;+ let draw = () => {};+ const frame = () => { const now = clock(); draw(held ? sc.still : (((now + off) % sc.dur) + sc.dur) % sc.dur, now); };+ const tick = () => { cancelAnimationFrame(raf); frame(); if (seen && !held) raf = requestAnimationFrame(tick); };+ const api = { now: clock, seek: (s) => { off = s - clock(); held = false; tick(); }, poke: () => { held = false; tick(); } };+ draw = sc.build(svg, api);+ if (frozen) { draw(isNaN(fixed) ? sc.still : fixed, 0); return; }+ new IntersectionObserver(([e]) => {+ seen = e.isIntersecting;+ if (seen) { tick(); if (!fig.dataset.sent && window.posthog) { fig.dataset.sent = 1; window.posthog.capture("blog_scene_view", { slug: location.pathname.split("/").filter(Boolean).pop(), scene: fig.dataset.scene }); } }+ else cancelAnimationFrame(raf);+ }, { threshold: 0.25 }).observe(fig);+ svg.addEventListener("click", () => { if (!fig.dataset.hit && window.posthog) { fig.dataset.hit = 1; window.posthog.capture("blog_scene_interact", { slug: location.pathname.split("/").filter(Boolean).pop(), scene: fig.dataset.scene }); } });+ frame();+ };+ const go = () => document.querySelectorAll("figure.mg[data-scene]").forEach(mount);+ const fonts = document.fonts && document.fonts.load ? Promise.all([document.fonts.load('700 32px "Space Grotesk"'), document.fonts.load('500 20px "Space Grotesk"'), document.fonts.load('700 20px "JetBrains Mono"')]).catch(() => {}) : Promise.resolve();+ const start = () => fonts.then(go, go);+ if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", start); else start();+})();diff --git a/docs/blog/assets/media/how-to-use-claude-code/prompt.png b/docs/blog/assets/media/how-to-use-claude-code/prompt.pngindex 463e097a..16d6fc21 100644Binary files a/docs/blog/assets/media/how-to-use-claude-code/prompt.png and b/docs/blog/assets/media/how-to-use-claude-code/prompt.png differdiff --git a/docs/blog/assets/media/how-to-use-claude-code/setup-steps.png b/docs/blog/assets/media/how-to-use-claude-code/setup-steps.pngindex 7a868e55..2b4c86de 100644Binary files a/docs/blog/assets/media/how-to-use-claude-code/setup-steps.png and b/docs/blog/assets/media/how-to-use-claude-code/setup-steps.png differdiff --git a/docs/blog/build-your-personal-agi-on-your-computer/index.html b/docs/blog/build-your-personal-agi-on-your-computer/index.htmlindex 50ff44f5..02d81965 100644--- a/docs/blog/build-your-personal-agi-on-your-computer/index.html+++ b/docs/blog/build-your-personal-agi-on-your-computer/index.html@@ -363,7 +363,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/building-reliable-ai-agents/index.html b/docs/blog/building-reliable-ai-agents/index.htmlindex f19fb3d2..d4783a94 100644--- a/docs/blog/building-reliable-ai-agents/index.html+++ b/docs/blog/building-reliable-ai-agents/index.html@@ -379,7 +379,7 @@ by design; it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/claude-code-automation-while-you-sleep/index.html b/docs/blog/claude-code-automation-while-you-sleep/index.htmlindex 2618fa4d..708782a5 100644--- a/docs/blog/claude-code-automation-while-you-sleep/index.html+++ b/docs/blog/claude-code-automation-while-you-sleep/index.html@@ -367,7 +367,7 @@ while you sleep; it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/claude-code-max-plan-tips/index.html b/docs/blog/claude-code-max-plan-tips/index.htmlindex 8d68e1fe..49e0236f 100644--- a/docs/blog/claude-code-max-plan-tips/index.html+++ b/docs/blog/claude-code-max-plan-tips/index.html@@ -300,7 +300,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/claude-code-multi-agent-setup-tutorial/index.html b/docs/blog/claude-code-multi-agent-setup-tutorial/index.htmlindex 861fa807..9b4f8aef 100644--- a/docs/blog/claude-code-multi-agent-setup-tutorial/index.html+++ b/docs/blog/claude-code-multi-agent-setup-tutorial/index.html@@ -356,7 +356,7 @@ coordinated team of Claude Code agents — it’s free, local, and open source.<<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html b/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.htmlindex 8309cda9..92612ef8 100644--- a/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html+++ b/docs/blog/claude-code-subagents-vs-multi-agent-harness/index.html@@ -363,7 +363,7 @@ reports only failures. No Edit or Write tools, and use Haiku.</code></pre><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/codex-max-plan-tips/index.html b/docs/blog/codex-max-plan-tips/index.htmlindex f463b519..a83b64ce 100644--- a/docs/blog/codex-max-plan-tips/index.html+++ b/docs/blog/codex-max-plan-tips/index.html@@ -309,7 +309,7 @@ Usage: codex cloud exec [OPTIONS] --env <ENV_ID> [QUERY]<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/command-center-guide/index.html b/docs/blog/command-center-guide/index.htmlindex 00cecf60..3c81c54e 100644--- a/docs/blog/command-center-guide/index.html+++ b/docs/blog/command-center-guide/index.html@@ -348,7 +348,7 @@ place in your morning routine, <a href="https://github.com/chaitanyagiri/munder-<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/connect-slack-to-munder-difflin/index.html b/docs/blog/connect-slack-to-munder-difflin/index.htmlindex c8e64c86..390573a9 100644--- a/docs/blog/connect-slack-to-munder-difflin/index.html+++ b/docs/blog/connect-slack-to-munder-difflin/index.html@@ -355,7 +355,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/context-engineering-for-ai-agents/index.html b/docs/blog/context-engineering-for-ai-agents/index.htmlindex b863006d..8f5c7575 100644--- a/docs/blog/context-engineering-for-ai-agents/index.html+++ b/docs/blog/context-engineering-for-ai-agents/index.html@@ -385,7 +385,7 @@ it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/debugging-multi-agent-systems/index.html b/docs/blog/debugging-multi-agent-systems/index.htmlindex 552e5138..504223da 100644--- a/docs/blog/debugging-multi-agent-systems/index.html+++ b/docs/blog/debugging-multi-agent-systems/index.html@@ -347,7 +347,7 @@ to run agents you can actually trace; it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html b/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.htmlindex 4045d703..2816d8c7 100644--- a/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html+++ b/docs/blog/does-the-june-2026-agent-sdk-change-affect-munder-difflin/index.html@@ -342,7 +342,7 @@ rides your existing Claude subscription. Local-first, on your own plan, no surpr<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/evaluating-ai-agent-reliability/index.html b/docs/blog/evaluating-ai-agent-reliability/index.htmlindex 85d57da4..3e299ddc 100644--- a/docs/blog/evaluating-ai-agent-reliability/index.html+++ b/docs/blog/evaluating-ai-agent-reliability/index.html@@ -350,7 +350,7 @@ your bar.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html b/docs/blog/how-to-add-a-github-copilot-cli-agent/index.htmlindex 3fa6782d..9f97cb23 100644--- a/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html+++ b/docs/blog/how-to-add-a-github-copilot-cli-agent/index.html@@ -323,7 +323,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-add-an-mcp-server-to-claude-code/index.html b/docs/blog/how-to-add-an-mcp-server-to-claude-code/index.htmlindex 44a9bd5a..09b2117d 100644--- a/docs/blog/how-to-add-an-mcp-server-to-claude-code/index.html+++ b/docs/blog/how-to-add-an-mcp-server-to-claude-code/index.html@@ -478,7 +478,7 @@ File modified: <span class="token operator"><</span>your folder<span class="t<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-connect-ollama-to-claude-code/index.html b/docs/blog/how-to-connect-ollama-to-claude-code/index.htmlindex c59c9018..21bfd083 100644--- a/docs/blog/how-to-connect-ollama-to-claude-code/index.html+++ b/docs/blog/how-to-connect-ollama-to-claude-code/index.html@@ -319,7 +319,7 @@ API Error: Connection refused — a firewall or proxy may be blocking it (Connec<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-hire-from-the-agent-gallery/index.html b/docs/blog/how-to-hire-from-the-agent-gallery/index.htmlindex fe135c34..ac5f9cb6 100644--- a/docs/blog/how-to-hire-from-the-agent-gallery/index.html+++ b/docs/blog/how-to-hire-from-the-agent-gallery/index.html@@ -334,7 +334,7 @@ gallery page, then import it with Add agent and import hire. Manifests are plain<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-install-and-use-munder-difflin/index.html b/docs/blog/how-to-install-and-use-munder-difflin/index.htmlindex ea1148f4..4d23fe93 100644--- a/docs/blog/how-to-install-and-use-munder-difflin/index.html+++ b/docs/blog/how-to-install-and-use-munder-difflin/index.html@@ -664,7 +664,7 @@ stuck, the <a href="https://munderdiffl.in">Discord</a> is the fastest place to<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-install-codex-cli/index.html b/docs/blog/how-to-install-codex-cli/index.htmlindex 24784cf9..6f2e9d14 100644--- a/docs/blog/how-to-install-codex-cli/index.html+++ b/docs/blog/how-to-install-codex-cli/index.html@@ -368,7 +368,7 @@ $ ls ~/.codex/packages/standalone/releases<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-install-gemini-cli/index.html b/docs/blog/how-to-install-gemini-cli/index.htmlindex 070f35f2..06df6d69 100644--- a/docs/blog/how-to-install-gemini-cli/index.html+++ b/docs/blog/how-to-install-gemini-cli/index.html@@ -324,7 +324,7 @@ gemini</code></pre><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-run-multiple-claude-code-agents/index.html b/docs/blog/how-to-run-multiple-claude-code-agents/index.htmlindex e1bdf070..8ff26388 100644--- a/docs/blog/how-to-run-multiple-claude-code-agents/index.html+++ b/docs/blog/how-to-run-multiple-claude-code-agents/index.html@@ -291,7 +291,7 @@ free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-talk-to-your-orchestrator/index.html b/docs/blog/how-to-talk-to-your-orchestrator/index.htmlindex 94ac8462..4c3666db 100644--- a/docs/blog/how-to-talk-to-your-orchestrator/index.html+++ b/docs/blog/how-to-talk-to-your-orchestrator/index.html@@ -314,7 +314,7 @@ Three goals in a trench coat. Split them — the task board handles dependencies<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-use-claude-code-plan-mode/index.html b/docs/blog/how-to-use-claude-code-plan-mode/index.htmlindex d4da4f71..445d08ea 100644--- a/docs/blog/how-to-use-claude-code-plan-mode/index.html+++ b/docs/blog/how-to-use-claude-code-plan-mode/index.html@@ -434,7 +434,7 @@ The user wants a `multiply` function in `hello.py`, next to the existing `add` a<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/how-to-use-claude-code/index.html b/docs/blog/how-to-use-claude-code/index.htmlindex a0b686e8..3910cc77 100644--- a/docs/blog/how-to-use-claude-code/index.html+++ b/docs/blog/how-to-use-claude-code/index.html@@ -35,7 +35,7 @@<meta property="og:image" content="https://munderdiffl.in/blog/assets/media/how-to-use-claude-code/hero.png" /><meta property="og:image:width" content="1600" /><meta property="og:image:height" content="900" />-<meta property="og:image:alt" content="Title card. The words How to use Claude Code, with Michael and Pam from the office cast standing beside them" />+<meta property="og:image:alt" content="Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end" /><meta property="og:locale" content="en_US" /><meta property="article:published_time" content="2026-10-05T00:00:00.000Z" /><meta property="article:author" content="Chaitanya Giri" />@@ -49,7 +49,7 @@<meta name="twitter:title" content="How to Use Claude Code: Setup, First Task and the Commands That Matter — Munder Difflin Blog" /><meta name="twitter:description" content="How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs." /><meta name="twitter:image" content="https://munderdiffl.in/blog/assets/media/how-to-use-claude-code/hero.png" />-<meta name="twitter:image:alt" content="Title card. The words How to use Claude Code, with Michael and Pam from the office cast standing beside them" />+<meta name="twitter:image:alt" content="Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end" /><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" />@@ -177,12 +177,12 @@<span class="dot" aria-hidden="true">·</span><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true">·</span>- <span>6 min read</span>+ <span>5 min read</span><span class="tag kind">Guides</span></div></header>- <div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/how-to-use-claude-code/hero.png" alt="Title card. The words How to use Claude Code, with Michael and Pam from the office cast standing beside them" loading="lazy" decoding="async" /></figure></div>+ <div class="hero-wrap wrap"><figure class="fig fig-hero"><img src="/blog/assets/media/how-to-use-claude-code/hero.png" alt="Title card on white. The words How to use Claude Code above a dotted track with five small icons: a box, a key, a folder, a speech bubble and a line of code, and a yellow marble at the end" loading="lazy" decoding="async" /></figure></div><div class="post-wrap wrap"><div class="prose">@@ -193,7 +193,7 @@<p>On accounts, the same page says Claude Code requires a Pro, Max, Team, Enterprise or Console account, and that the free <a href="http://claude.ai">claude.ai</a> plan does not include it. Our <a href="/blog/how-much-does-claude-code-cost/">Claude Code cost breakdown</a> covers which plan fits.</p><h2 id="how-do-you-set-up-claude-code" tabindex="-1">How do you set up Claude Code? <a class="anchor" href="#how-do-you-set-up-claude-code" aria-hidden="true">#</a></h2><p>Run the native installer, check the version, then start <code>claude</code> in a project and log in. These are the commands from Anthropic’s <a href="https://code.claude.com/docs/en/quickstart">quickstart</a>, read on 5 Oct 2026.</p>-<figure class="mg" data-scene="flow"><img src="/blog/assets/media/how-to-use-claude-code/setup-steps.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. Pam walks along five boxes that light up in order: Install, Sign in, Open a project, Ask a question, Make a change."><script type="application/json">{"kicker":"Setup","title":"Claude Code from zero to a first change","nodes":[{"label":"Install","note":"One command in your terminal."},{"label":"Sign in","note":"Run claude. Log in in the browser."},{"label":"Open a project","note":"cd to the folder, then run claude."},{"label":"Ask a question","note":"Try: what does this project do?"},{"label":"Make a change","note":"It shows you the change."}],"labels":["--version","","",""],"host":"pam","say":"Five boxes. I drew them myself."}</script><figcaption>The five setup steps, from Anthropic's quickstart. Checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="marble"><img src="/blog/assets/media/how-to-use-claude-code/setup-steps.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A yellow marble rolls along a dotted track through five stops, and each one comes alive as it passes: a box opens for Install, a key turns for Sign in, files rise out of a folder for Open a project, a speech bubble pops for Ask a question, and a line of code turns green for Make a change. A strip below shows the command for each stop."><figcaption>The five setup steps, from Anthropic's quickstart. Tap a stop for its command. Checked 5 Oct 2026.</figcaption></figure><ol><li><strong>Install.</strong> On macOS, Linux or WSL:</li></ol>@@ -225,7 +225,7 @@ claude</code></pre><p>Then run <code>/init</code>. It generates a starter <code>CLAUDE.md</code>, the file Claude reads at the start of every conversation. Put build commands, code style and workflow rules in it. The <a href="https://code.claude.com/docs/en/memory">memory docs</a> say to target under 200 lines per file. It’s a memo, not the employee handbook.</p><h2 id="how-do-you-write-a-prompt-claude-code-can-act-on" tabindex="-1">How do you write a prompt Claude Code can act on? <a class="anchor" href="#how-do-you-write-a-prompt-claude-code-can-act-on" aria-hidden="true">#</a></h2><p>Name the symptom, the likely location and what fixed looks like. That advice, and the example below, come from Anthropic’s <a href="https://code.claude.com/docs/en/best-practices">best practices page</a>, which puts it this way: “The more precise your instructions, the fewer corrections you’ll need.”</p>-<figure class="mg" data-scene="before-after"><img src="/blog/assets/media/how-to-use-claude-code/prompt.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. A card showing a four word prompt flips over to show a three line prompt that names the symptom, the folder to check and the failing test to write."><script type="application/json">{"kicker":"Prompts","title":"The same bug, asked for twice","before":{"label":"Vague","lines":["fix the login bug"]},"after":{"label":"Specific","lines":["Users report that login fails after session timeout.","Check the auth flow in src/auth/, especially token refresh.","Write a failing test that reproduces the issue, then fix it."]},"host":"jim","say":"Symptom, place, proof. That's it."}</script><figcaption>Adapted from the before and after on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="focus"><img src="/blog/assets/media/how-to-use-claude-code/prompt.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A slider moves from vague to specific. At vague the card says fix the login bug among floating question marks. At specific it shows three tagged lines: the symptom, where to look, and the proof, a failing test."><figcaption>Drag the slider. Adapted from the before and after on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure><p>The second half matters as much as the first. Give Claude a check it can run (a test, a build, a linter) and it does the work, runs the check and iterates until it passes. Without one, in the docs’ words, “you become the verification loop”. Use <code>@</code> to point at a file by path.</p><h2 id="which-claude-code-commands-and-shortcuts-are-worth-knowing" tabindex="-1">Which Claude Code commands and shortcuts are worth knowing? <a class="anchor" href="#which-claude-code-commands-and-shortcuts-are-worth-knowing" aria-hidden="true">#</a></h2><p>About a dozen cover daily use. Type <code>/</code> to see the commands and skills available to you.</p>@@ -292,11 +292,11 @@ claude</code></pre><p>Sources: the <a href="https://code.claude.com/docs/en/commands">commands reference</a> and <a href="https://code.claude.com/docs/en/interactive-mode">interactive mode</a> pages.</p><h2 id="the-working-loop-explore-plan-implement-commit" tabindex="-1">The working loop: explore, plan, implement, commit <a class="anchor" href="#the-working-loop-explore-plan-implement-commit" aria-hidden="true">#</a></h2><p>Anthropic’s recommended workflow has four phases, and it exists to stop Claude solving the wrong problem.</p>-<figure class="mg" data-scene="flow"><img src="/blog/assets/media/how-to-use-claude-code/loop.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. Four boxes light up left to right, Explore, Plan, Implement and Commit, while Pam points at each one in turn."><script type="application/json">{"kicker":"Workflow","title":"The four phases Anthropic recommends","nodes":[{"label":"Explore","note":"Plan mode: it reads, no changes."},{"label":"Plan","note":"Ask for a detailed plan."},{"label":"Implement","note":"It codes and runs the tests."},{"label":"Commit","note":"Ask for a commit and a PR."}],"labels":["","ok",""],"host":"pam","say":"Fixing a typo? Skip the plan."}</script><figcaption>Explore, plan, implement, commit. From the best practices page, checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="loop"><img src="/blog/assets/media/how-to-use-claude-code/loop.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. A yellow dot travels around a ring through four phases, Explore, Plan, Implement and Commit. Each phase lights up in turn with a small moving icon and a one line note in the middle."><figcaption>Explore, plan, implement, commit. From the best practices page, checked 5 Oct 2026.</figcaption></figure><p>Press <code>Shift+Tab</code> until the status bar shows plan mode, and Claude reads files and answers questions without making changes. Ask for a plan, approve it, let it implement and run the tests, then ask it to commit. The docs add a limit: “If you could describe the diff in one sentence, skip the plan.” Our <a href="/blog/how-to-use-claude-code-plan-mode/">plan mode guide</a> has the details.</p><h2 id="common-mistakes" tabindex="-1">Common mistakes <a class="anchor" href="#common-mistakes" aria-hidden="true">#</a></h2><p>In our experience, most beginner trouble is a full context window. Everything Claude reads and every command output lands in it, and the best practices page says performance degrades as it fills.</p>-<figure class="mg" data-scene="stage"><img src="/blog/assets/media/how-to-use-claude-code/mistakes.png" width="1600" height="900" loading="lazy" decoding="async" alt="Animation. Michael opens, then Dwight points at a board of common mistakes while Jim and Oscar add one rule each in speech bubbles."><script type="application/json">{"kicker":"House rules","title":"Three mistakes Anthropic's docs warn about","board":{"label":"Avoid","lines":["The kitchen sink session","Correcting over and over","The trust-then-verify gap"]},"script":[{"who":"michael","say":"New here? Dwight has rules."},{"who":"dwight","say":"/clear between unrelated tasks.","point":"up-left"},{"who":"dwight","say":"Two failed fixes? /clear. New prompt.","carry":"/clear"},{"who":"jim","say":"Give it a test, or you are the test."},{"who":"oscar","say":"Rewind is not a replacement for git."}]}</script><figcaption>Failure patterns named on Anthropic's best practices page. Checked 5 Oct 2026.</figcaption></figure>+<figure class="mg" data-scene="jar"><img src="/blog/assets/media/how-to-use-claude-code/mistakes.png" width="1600" height="1200" loading="lazy" decoding="async" alt="Animation on a white card. Coloured balls for files, command output and the conversation drop into a jar until it is full and a note says performance degrades as it fills. Two buttons empty it: clear throws everything out, compact squeezes it into one summary block."><figcaption>Why a full context window causes trouble, and the two commands that fix it. Checked 5 Oct 2026.</figcaption></figure><ul><li><strong>One session for everything.</strong> Run <code>/clear</code> between unrelated tasks.</li><li><strong>Correcting the same thing a third time.</strong> After two failed corrections, <code>/clear</code> and write a better first prompt.</li>@@ -312,7 +312,7 @@ claude</code></pre><li><a href="/blog/claude-code-subagents-vs-multi-agent-harness/">Subagents</a>, to keep research out of your main context.</li><li><a href="/blog/manage-multiple-claude-code-sessions/">Managing multiple Claude Code sessions</a>, for when one terminal stops being enough.</li></ul>-<link rel="stylesheet" href="/blog/assets/mg/kit.css"><script defer src="/blog/assets/mg/kit.js"></script>+<link rel="stylesheet" href="/blog/assets/media/how-to-use-claude-code/motion.css"><script defer src="/blog/assets/media/how-to-use-claude-code/motion.js"></script>diff --git a/docs/blog/how-to-use-the-built-in-monaco-ide/index.html b/docs/blog/how-to-use-the-built-in-monaco-ide/index.htmlindex b7ef6cdc..6025c0a3 100644--- a/docs/blog/how-to-use-the-built-in-monaco-ide/index.html+++ b/docs/blog/how-to-use-the-built-in-monaco-ide/index.html@@ -312,7 +312,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/human-in-the-loop-approving-ai-agents/index.html b/docs/blog/human-in-the-loop-approving-ai-agents/index.htmlindex b0299b89..67757aa6 100644--- a/docs/blog/human-in-the-loop-approving-ai-agents/index.html+++ b/docs/blog/human-in-the-loop-approving-ai-agents/index.html@@ -347,7 +347,7 @@ you talk to? You can <a href="/#install">download Munder Difflin</a> free; it’<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/index.html b/docs/blog/index.htmlindex 9ced18d8..5a30c043 100644--- a/docs/blog/index.html+++ b/docs/blog/index.html@@ -246,7 +246,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/manage-multiple-claude-code-sessions/index.html b/docs/blog/manage-multiple-claude-code-sessions/index.htmlindex a2d45b29..6ff45181 100644--- a/docs/blog/manage-multiple-claude-code-sessions/index.html+++ b/docs/blog/manage-multiple-claude-code-sessions/index.html@@ -344,7 +344,7 @@ isolated agents, shared memory, and a single committer, all on your own machine.<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/mcp-and-skills-in-a-hive/index.html b/docs/blog/mcp-and-skills-in-a-hive/index.htmlindex f8991cb7..a7e56925 100644--- a/docs/blog/mcp-and-skills-in-a-hive/index.html+++ b/docs/blog/mcp-and-skills-in-a-hive/index.html@@ -360,7 +360,7 @@ existing setup into a coordinated team of agents; it’s free and open source.</<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/mcp-security-tool-poisoning/index.html b/docs/blog/mcp-security-tool-poisoning/index.htmlindex 743b9cba..cf314f26 100644--- a/docs/blog/mcp-security-tool-poisoning/index.html+++ b/docs/blog/mcp-security-tool-poisoning/index.html@@ -349,7 +349,7 @@ execution. Do that and MCP is what it should be: a powerful, <em>bounded</em> wa<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html b/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.htmlindex eaff15dd..a3760df5 100644--- a/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html+++ b/docs/blog/munder-difflin-v0-2-4-feature-walkthrough/index.html@@ -325,7 +325,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/prompt-caching-for-ai-agents/index.html b/docs/blog/prompt-caching-for-ai-agents/index.htmlindex c8c447b9..52967742 100644--- a/docs/blog/prompt-caching-for-ai-agents/index.html+++ b/docs/blog/prompt-caching-for-ai-agents/index.html@@ -379,7 +379,7 @@ that doesn’t waste your tokens; it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/run-a-mixed-engine-office/index.html b/docs/blog/run-a-mixed-engine-office/index.htmlindex 99547404..af050441 100644--- a/docs/blog/run-a-mixed-engine-office/index.html+++ b/docs/blog/run-a-mixed-engine-office/index.html@@ -307,7 +307,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/run-ai-agent-hive-from-slack-setup/index.html b/docs/blog/run-ai-agent-hive-from-slack-setup/index.htmlindex 009450d7..6c9f2f8c 100644--- a/docs/blog/run-ai-agent-hive-from-slack-setup/index.html+++ b/docs/blog/run-ai-agent-hive-from-slack-setup/index.html@@ -406,7 +406,7 @@ it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/run-munder-difflin-on-a-mac-mini/index.html b/docs/blog/run-munder-difflin-on-a-mac-mini/index.htmlindex 80bc27d2..033a4fb0 100644--- a/docs/blog/run-munder-difflin-on-a-mac-mini/index.html+++ b/docs/blog/run-munder-difflin-on-a-mac-mini/index.html@@ -440,7 +440,7 @@ machine awake while at least one agent is running.</li><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/run-munder-difflin-on-open-models/index.html b/docs/blog/run-munder-difflin-on-open-models/index.htmlindex 6f249eec..d7c8bba5 100644--- a/docs/blog/run-munder-difflin-on-open-models/index.html+++ b/docs/blog/run-munder-difflin-on-open-models/index.html@@ -556,7 +556,7 @@ and want the sizing walkthrough? Read the <a href="/blog/run-munder-difflin-on-a<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/security-for-ai-coding-agents/index.html b/docs/blog/security-for-ai-coding-agents/index.htmlindex ba54ad02..97f40fe1 100644--- a/docs/blog/security-for-ai-coding-agents/index.html+++ b/docs/blog/security-for-ai-coding-agents/index.html@@ -344,7 +344,7 @@ and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/small-team-ai-agents-playbook/index.html b/docs/blog/small-team-ai-agents-playbook/index.htmlindex 1b72ce2a..a3c76f12 100644--- a/docs/blog/small-team-ai-agents-playbook/index.html+++ b/docs/blog/small-team-ai-agents-playbook/index.html@@ -349,7 +349,7 @@ it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/tags/claude-code/index.html b/docs/blog/tags/claude-code/index.htmlindex 6d207228..c02ff064 100644--- a/docs/blog/tags/claude-code/index.html+++ b/docs/blog/tags/claude-code/index.html@@ -147,7 +147,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/tags/getting-started/index.html b/docs/blog/tags/getting-started/index.htmlindex 171b64f8..8738534a 100644--- a/docs/blog/tags/getting-started/index.html+++ b/docs/blog/tags/getting-started/index.html@@ -115,7 +115,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/tags/guides/index.html b/docs/blog/tags/guides/index.htmlindex 23eac2e4..6d4d95c1 100644--- a/docs/blog/tags/guides/index.html+++ b/docs/blog/tags/guides/index.html@@ -131,7 +131,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/the-lethal-trifecta-for-coding-agents/index.html b/docs/blog/the-lethal-trifecta-for-coding-agents/index.htmlindex 30c015b3..8696ad3a 100644--- a/docs/blog/the-lethal-trifecta-for-coding-agents/index.html+++ b/docs/blog/the-lethal-trifecta-for-coding-agents/index.html@@ -367,7 +367,7 @@ secrets; it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/the-multi-agent-cost-playbook/index.html b/docs/blog/the-multi-agent-cost-playbook/index.htmlindex a8d9680d..ea968d22 100644--- a/docs/blog/the-multi-agent-cost-playbook/index.html+++ b/docs/blog/the-multi-agent-cost-playbook/index.html@@ -349,7 +349,7 @@ to run a fleet that doesn’t bankrupt you — it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/topics/guides/index.html b/docs/blog/topics/guides/index.htmlindex c28b9a4d..ca04a550 100644--- a/docs/blog/topics/guides/index.html+++ b/docs/blog/topics/guides/index.html@@ -223,7 +223,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/trigger-ai-agents-from-github-webhook/index.html b/docs/blog/trigger-ai-agents-from-github-webhook/index.htmlindex 6f5e2c7b..6981773e 100644--- a/docs/blog/trigger-ai-agents-from-github-webhook/index.html+++ b/docs/blog/trigger-ai-agents-from-github-webhook/index.html@@ -397,7 +397,7 @@ open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/trigger-ai-agents-from-slack/index.html b/docs/blog/trigger-ai-agents-from-slack/index.htmlindex 2fa5fc35..5d38b396 100644--- a/docs/blog/trigger-ai-agents-from-slack/index.html+++ b/docs/blog/trigger-ai-agents-from-slack/index.html@@ -345,7 +345,7 @@ it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/whats-new-in-agentic-ai-june-2026/index.html b/docs/blog/whats-new-in-agentic-ai-june-2026/index.htmlindex 5cf021db..7d894633 100644--- a/docs/blog/whats-new-in-agentic-ai-june-2026/index.html+++ b/docs/blog/whats-new-in-agentic-ai-june-2026/index.html@@ -404,7 +404,7 @@ hive run; it’s free and open source.</p><div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/why-does-claude-code-keep-asking-for-permission/index.html b/docs/blog/why-does-claude-code-keep-asking-for-permission/index.htmlindex 308f9cf4..aba1d57c 100644--- a/docs/blog/why-does-claude-code-keep-asking-for-permission/index.html+++ b/docs/blog/why-does-claude-code-keep-asking-for-permission/index.html@@ -310,7 +310,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>diff --git a/docs/blog/your-first-hour-with-munder-difflin/index.html b/docs/blog/your-first-hour-with-munder-difflin/index.htmlindex 94e49f94..8302791c 100644--- a/docs/blog/your-first-hour-with-munder-difflin/index.html+++ b/docs/blog/your-first-hour-with-munder-difflin/index.html@@ -428,7 +428,7 @@<div class="meta"><time datetime="2026-10-05">Oct 5, 2026</time><span class="dot" aria-hidden="true"></span>- <span>6 min</span>+ <span>5 min</span></div><h3><a href="/blog/how-to-use-claude-code/">How to Use Claude Code: Setup, First Task and the Commands That Matter</a></h3><p class="dek">How to use Claude Code, checked 5 Oct 2026: install it, sign in, run a first task, then the commands, shortcuts and habits a beginner needs.</p>