EliasOulkadi/shokunin / .pack/skills/kami
kami
Verifiedassets/demos/demo-agent-slides.html
View on GitHub<!DOCTYPE html>
<!-- ==================================================================
SLIDES DEMO · Agent development · English
Landscape A4, one slide per page, kami palette.
Content distilled from the article "Things You Don't Know About Agents"
(tw93.fun, 2026-03-21).
================================================================== -->
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Things You Don't Know About Agents · Slides</title>
<style>
/* Palatino is a system font; JetBrains Mono kept for code blocks */
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 400; font-style: normal; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 500; font-style: normal; }
@page {
size: A4 landscape;
margin: 0;
background: #f5f4ed;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--parchment: #f5f4ed;
--ivory: #faf9f5;
--near-black: #141413;
--dark-warm: #3d3d3a;
--olive: #504e49;
--stone: #6b6a64;
--brand: #1B365D;
--brand-tint: #EEF2F7;
--border: #e8e6dc;
--serif: Charter, Georgia, Palatino, serif;
--sans: var(--serif);
--mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}
body {
color: var(--near-black);
font-family: var(--serif);
}
.slide {
width: 297mm;
height: 210mm;
padding: 18mm 22mm;
background: var(--parchment);
break-after: page;
position: relative;
display: flex;
flex-direction: column;
}
.slide:last-child { break-after: auto; }
.eyebrow {
font-family: var(--mono);
font-size: 9pt;
letter-spacing: 2.5pt;
text-transform: uppercase;
color: var(--stone);
}
.page-num {
position: absolute;
bottom: 10mm;
right: 22mm;
font-family: var(--mono);
font-size: 9pt;
color: var(--stone);
letter-spacing: 0.5pt;
font-variant-numeric: tabular-nums;
}
.footer-mark {
position: absolute;
bottom: 10mm;
left: 22mm;
font-family: var(--mono);
font-size: 9pt;
color: var(--stone);
letter-spacing: 1.5pt;
text-transform: uppercase;
}
/* --- Cover --- */
.cover {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 32pt;
align-items: center;
}
.cover-left { display: flex; flex-direction: column; }
.cover .mark {
font-family: var(--mono);
font-size: 10pt;
color: var(--brand);
letter-spacing: 3pt;
text-transform: uppercase;
margin-bottom: 22pt;
}
.cover h1 {
font-family: var(--serif);
font-size: 42pt;
font-weight: 500;
line-height: 1.05;
letter-spacing: -1.5pt;
color: var(--near-black);
margin-bottom: 16pt;
}
.cover .sub {
font-family: var(--serif);
font-size: 15pt;
color: var(--olive);
line-height: 1.45;
max-width: 34ch;
}
.cover .line {
width: 60pt;
height: 2pt;
background: var(--brand);
margin: 20pt 0 16pt 0;
}
.cover .meta {
font-family: var(--sans);
font-size: 10pt;
color: var(--stone);
letter-spacing: 0.4pt;
}
.cover-visual { display: flex; align-items: center; justify-content: center; }
/* --- Content slide --- */
.slide-head {
margin-bottom: 10pt;
display: flex;
justify-content: space-between;
align-items: baseline;
}
.slide-title {
font-family: var(--serif);
font-size: 38pt;
font-weight: 500;
line-height: 1.1;
letter-spacing: -0.6pt;
color: var(--near-black);
max-width: 24ch;
margin-top: 6pt;
margin-bottom: 28pt;
}
.body-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 28pt;
}
.body-single {
max-width: 70ch;
flex: 1;
}
.claim {
font-family: var(--serif);
font-size: 17pt;
line-height: 1.45;
color: var(--dark-warm);
margin-bottom: 14pt;
}
.claim .hl { color: var(--brand); }
ul.pts {
list-style: none;
counter-reset: pts;
}
ul.pts li {
counter-increment: pts;
font-family: var(--sans);
font-size: 12.5pt;
line-height: 1.5;
color: var(--dark-warm);
padding-left: 18pt;
position: relative;
margin-bottom: 9pt;
}
ul.pts li::before {
content: counter(pts) ".";
position: absolute;
left: 0;
color: var(--brand);
font-weight: 500;
font-variant-numeric: tabular-nums;
}
ul.pts li .hl { color: var(--brand); font-weight: 500; }
/* kami-native callout: transparent + single brand left bar */
.callout {
background: transparent;
border-left: 2pt solid var(--brand);
padding: 8pt 0 8pt 16pt;
font-family: var(--serif);
font-size: 14pt;
line-height: 1.5;
color: var(--olive);
margin-top: 4pt;
}
.callout .hl { color: var(--brand); }
/* kami-native metrics: vertical stack, number above label.
Stacked layout keeps all 3 numbers on one baseline regardless of label
length; horizontal baseline-align breaks visually when labels wrap. */
.metrics {
display: flex;
gap: 20pt;
margin-top: 20pt;
padding-top: 12pt;
border-top: 0.3pt dotted var(--border);
}
.metric {
flex: 1;
display: flex;
flex-direction: column;
gap: 6pt;
}
.metric .v {
font-family: var(--serif);
font-size: 32pt;
font-weight: 500;
color: var(--brand);
line-height: 1;
font-variant-numeric: tabular-nums;
letter-spacing: -0.3pt;
}
.metric .l {
font-family: var(--sans);
font-size: 10pt;
color: var(--olive);
line-height: 1.4;
}
/* --- Diagram column --- */
.diagram-col {
display: flex;
align-items: flex-start;
justify-content: center;
margin-top: -20pt;
}
.diagram-col svg { width: 96%; }
/* --- Ending slide --- */
.ending { justify-content: center; align-items: center; text-align: center; }
.ending h1 {
font-family: var(--serif);
font-size: 52pt;
font-weight: 500;
color: var(--near-black);
letter-spacing: -0.8pt;
margin-bottom: 12pt;
}
.ending .sub {
font-family: var(--serif);
font-size: 17pt;
color: var(--olive);
max-width: 44ch;
line-height: 1.45;
}
.ending .line {
width: 60pt;
height: 1.5pt;
background: var(--brand);
margin: 22pt auto;
}
/* --- Code Card --- */
.code-card {
background: var(--ivory);
border: 1px solid #e8e5da;
border-radius: 6pt;
padding: 14pt 18pt;
font-family: var(--mono);
font-size: 10pt;
line-height: 1.55;
color: var(--near-black);
white-space: pre;
overflow: hidden;
}
.code-card .k { color: var(--brand); }
.code-card .c { color: #6b6a64; }
</style>
</head>
<body>
<!-- ═══════════ 01 · Cover ═══════════ -->
<section class="slide cover">
<div class="cover-left">
<div class="mark">Keynote · 2026</div>
<h1>Things you don't know about Agents</h1>
<div class="sub">Loops, harness, context, memory: what actually moves the needle in production.</div>
<div class="line"></div>
<div class="meta">kami slides demo · A4 landscape · 7 slides</div>
</div>
<div class="cover-visual">
<!-- Decorative loop mark: concentric arcs in brand + stone -->
<svg viewBox="0 0 260 260" xmlns="http://www.w3.org/2000/svg" style="width: 220pt;">
<circle cx="130" cy="130" r="100" fill="none" stroke="#e8e6dc" stroke-width="1"/>
<circle cx="130" cy="130" r="72" fill="none" stroke="#e8e6dc" stroke-width="1"/>
<circle cx="130" cy="130" r="44" fill="#EEF2F7" stroke="#1B365D" stroke-width="1.2"/>
<!-- arc segments on outer ring to suggest cycle -->
<path d="M 130 30 A 100 100 0 0 1 230 130" fill="none" stroke="#1B365D" stroke-width="2.2" stroke-linecap="round"/>
<path d="M 230 130 A 100 100 0 0 1 130 230" fill="none" stroke="#6b6a64" stroke-width="1.2" stroke-linecap="round"/>
<path d="M 130 230 A 100 100 0 0 1 30 130" fill="none" stroke="#6b6a64" stroke-width="1.2" stroke-linecap="round"/>
<path d="M 30 130 A 100 100 0 0 1 130 30" fill="none" stroke="#6b6a64" stroke-width="1.2" stroke-linecap="round"/>
<!-- center label -->
<text x="130" y="125" text-anchor="middle" font-size="10" font-weight="500" fill="#141413" font-family="Charter, Georgia, serif">Agent</text>
<text x="130" y="141" text-anchor="middle" font-size="8" fill="#1B365D" font-family="'JetBrains Mono', monospace" letter-spacing="2">LOOP</text>
</svg>
</div>
<div class="page-num">01</div>
<div class="footer-mark">Agent Engineering</div>
</section>
<!-- ═══════════ 02 · Agent loop ═══════════ -->
<section class="slide">
<div class="slide-head">
<span class="eyebrow">01 · Agent Loop</span>
</div>
<div class="slide-title">Simple core,<br>complex surroundings</div>
<div class="body-grid">
<div>
<p class="claim">The loop is small. The <span class="hl">infrastructure around it</span> is what keeps it stable as features grow.</p>
<ul class="pts">
<li>A working Agent loop fits in about <span class="hl">20 lines</span> of code.</li>
<li>Control flow lives in the tools, not in branchy internal state.</li>
<li>Workflow vs Agent: predefined paths in code vs model picks paths at runtime.</li>
</ul>
<div class="callout">
If your loop keeps growing every sprint, you are fixing the wrong layer. The tax is paid <span class="hl">outside</span> the loop.
</div>
</div>
<div class="diagram-col">
<!-- Agent loop cycle diagram. viewBox 680×560 (same ratio as reference).
4 nodes 200×72 rx=8, centered at NESW with 12-14px inset from viewBox edges.
Ring r=192 grazes top/bottom nodes at their inner edges, passes through left/right.
Q-curve arcs: control at tangent-axis outer corner, giving true quarter-circle sweep.
Chevron marker (open path, not filled polygon). Core is the only focal element. -->
<svg viewBox="0 0 680 560" xmlns="http://www.w3.org/2000/svg">
<!-- surroundings label -->
<text x="340" y="12" text-anchor="middle" font-size="9" fill="#6b6a64" font-family="'JetBrains Mono', monospace" letter-spacing="1.5">TOOLS · HARNESS · EVALS · MEMORY</text>
<!-- dashed ink-blue ring -->
<circle cx="340" cy="280" r="192" fill="none" stroke="#1B365D" stroke-width="1" stroke-dasharray="4 3"/>
<!-- PLAN: x=240 y=16 w=200 h=72 rx=8, center (340, 52) -->
<rect x="240" y="16" width="200" height="72" rx="8" fill="#ffffff" stroke="#141413" stroke-width="0.8"/>
<text x="340" y="52" text-anchor="middle" dominant-baseline="central" font-size="14" font-weight="500" fill="#141413" font-family="Charter, Georgia, serif">PLAN</text>
<!-- ACT: x=468 y=244 w=200 h=72 rx=8, center (568, 280) -->
<rect x="468" y="244" width="200" height="72" rx="8" fill="#ffffff" stroke="#141413" stroke-width="0.8"/>
<text x="568" y="280" text-anchor="middle" dominant-baseline="central" font-size="14" font-weight="500" fill="#141413" font-family="Charter, Georgia, serif">ACT</text>
<!-- OBSERVE: x=240 y=472 w=200 h=72 rx=8, center (340, 508) -->
<rect x="240" y="472" width="200" height="72" rx="8" fill="#ffffff" stroke="#141413" stroke-width="0.8"/>
<text x="340" y="508" text-anchor="middle" dominant-baseline="central" font-size="14" font-weight="500" fill="#141413" font-family="Charter, Georgia, serif">OBSERVE</text>
<!-- REFLECT: x=12 y=244 w=200 h=72 rx=8, center (112, 280) -->
<rect x="12" y="244" width="200" height="72" rx="8" fill="#ffffff" stroke="#141413" stroke-width="0.8"/>
<text x="112" y="280" text-anchor="middle" dominant-baseline="central" font-size="14" font-weight="500" fill="#141413" font-family="Charter, Georgia, serif">REFLECT</text>
<!-- center: focal CORE text -->
<text x="340" y="268" text-anchor="middle" dominant-baseline="central" font-size="16" font-weight="500" fill="#141413" font-family="Charter, Georgia, serif">20 LOC</text>
<text x="340" y="292" text-anchor="middle" dominant-baseline="central" font-size="10" fill="#1B365D" font-family="'JetBrains Mono', monospace" letter-spacing="1.5">CORE</text>
<!-- clockwise arcs (no marker-end; WeasyPrint ignores orient="auto").
Arrowheads drawn manually as chevron paths below each arc. -->
<!-- PLAN right-mid (440,52) → ACT top-mid (568,244) via (568,52) -->
<path d="M 440 52 Q 568 52 568 244" fill="none" stroke="#504e49" stroke-width="1.5"/>
<!-- chevron ↓ at (568, 244) -->
<path d="M 560 236 L 568 244 L 576 236" fill="none" stroke="#504e49" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<!-- ACT bottom-mid (568,316) → OBSERVE right-mid (440,508) via (568,508) -->
<path d="M 568 316 Q 568 508 440 508" fill="none" stroke="#504e49" stroke-width="1.5"/>
<!-- chevron ← at (440, 508) -->
<path d="M 448 500 L 440 508 L 448 516" fill="none" stroke="#504e49" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<!-- OBSERVE left-mid (240,508) → REFLECT bottom-mid (112,316) via (112,508) -->
<path d="M 240 508 Q 112 508 112 316" fill="none" stroke="#504e49" stroke-width="1.5"/>
<!-- chevron ↑ at (112, 316) -->
<path d="M 104 324 L 112 316 L 120 324" fill="none" stroke="#504e49" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
<!-- REFLECT top-mid (112,244) → PLAN left-mid (240,52) via (112,52) -->
<path d="M 112 244 Q 112 52 240 52" fill="none" stroke="#504e49" stroke-width="1.5"/>
<!-- chevron → at (240, 52) -->
<path d="M 232 44 L 240 52 L 232 60" fill="none" stroke="#504e49" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</div>
</div>
<div class="page-num">02</div>
<div class="footer-mark">Agent Engineering</div>
</section>
<!-- ═══════════ 03 · Harness over models ═══════════ -->
<section class="slide">
<div class="slide-head">
<span class="eyebrow">02 · Harness</span>
</div>
<div class="slide-title">Harness wins<br>over hardware</div>
<div class="body-single">
<p class="claim">More expensive models bring gains <span class="hl">far smaller than expected</span>. Verification, boundaries, feedback, and fallbacks matter more than model capability.</p>
<ul class="pts">
<li>Upgrade the harness first. If accuracy does not move, then try the model.</li>
<li>Evaluation is the only honest signal. Test harness before test model.</li>
<li>Smaller model + strong harness routinely beats larger model + weak harness in production.</li>
</ul>
</div>
<div class="metrics">
<div class="metric">
<div class="v">20</div>
<div class="l">lines of code in a working Agent core loop</div>
</div>
<div class="metric">
<div class="v">4</div>
<div class="l">harness layers that matter: verify, bound, feedback, fallback</div>
</div>
<div class="metric">
<div class="v">10×</div>
<div class="l">velocity gains trace to execution discipline, not model swaps</div>
</div>
</div>
<div class="page-num">03</div>
<div class="footer-mark">Agent Engineering</div>
</section>
<!-- ═══════════ 04 · Context ═══════════ -->
<section class="slide">
<div class="slide-head">
<span class="eyebrow">03 · Context</span>
</div>
<div class="slide-title">Density beats length</div>
<div class="body-grid">
<div>
<p class="claim">Long context windows do not fix weak context design. <span class="hl">Context Rot</span> sets in around 300–400K tokens regardless of the model.</p>
<ul class="pts">
<li>Layer the load: constant, on-demand, runtime, memory, system.</li>
<li>Index first, full content on demand. Beats dumping everything up front.</li>
<li>Stable prompt prefixes let caching actually pay off.</li>
<li>Every token that is not load-bearing is diluting signal.</li>
</ul>
</div>
<div class="diagram-col">
<!-- Context: flat vs layered accuracy comparison -->
<svg viewBox="0 0 280 230" xmlns="http://www.w3.org/2000/svg">
<!-- Background -->
<rect width="280" height="230" fill="#f5f4ed"/>
<!-- Title -->
<text x="140" y="18" text-anchor="middle" font-size="8.5" fill="#6b6a64" font-family="'JetBrains Mono', monospace" letter-spacing="1.5">LOADING STRATEGY vs ACCURACY</text>
<!-- Y axis label -->
<text x="14" y="130" text-anchor="middle" font-size="8" fill="#504e49" font-family="Charter, Georgia, serif" transform="rotate(-90 14 130)">Accuracy</text>
<!-- Y axis line -->
<line x1="36" y1="30" x2="36" y2="180" stroke="#504e49" stroke-width="0.8"/>
<!-- Y axis ticks -->
<line x1="30" y1="56" x2="36" y2="56" stroke="#504e49" stroke-width="0.8"/>
<text x="26" y="59" text-anchor="end" font-size="8" fill="#6b6a64" font-family="Charter, Georgia, serif">85%</text>
<line x1="30" y1="120" x2="36" y2="120" stroke="#504e49" stroke-width="0.8"/>
<text x="26" y="123" text-anchor="end" font-size="8" fill="#6b6a64" font-family="Charter, Georgia, serif">53%</text>
<!-- X axis -->
<line x1="36" y1="180" x2="256" y2="180" stroke="#504e49" stroke-width="0.8"/>
<!-- bar 1: flat loading -->
<rect x="56" y="120" width="68" height="60" fill="#e8e6dc" stroke="none"/>
<text x="90" y="112" text-anchor="middle" font-size="8" fill="#6b6a64" font-family="Charter, Georgia, serif">53%</text>
<text x="90" y="198" text-anchor="middle" font-size="8.5" fill="#504e49" font-family="Charter, Georgia, serif">Flat</text>
<text x="90" y="209" text-anchor="middle" font-size="7.5" fill="#6b6a64" font-family="'JetBrains Mono', monospace">loading</text>
<!-- bar 2: layered loading (brand) -->
<rect x="156" y="56" width="68" height="124" fill="#EEF2F7" stroke="#1B365D" stroke-width="1"/>
<text x="190" y="48" text-anchor="middle" font-size="8" fill="#1B365D" font-family="Charter, Georgia, serif" font-weight="500">85%</text>
<text x="190" y="198" text-anchor="middle" font-size="8.5" fill="#1B365D" font-family="Charter, Georgia, serif" font-weight="500">Layered</text>
<text x="190" y="209" text-anchor="middle" font-size="7.5" fill="#1B365D" font-family="'JetBrains Mono', monospace">loading</text>
<!-- dotted line at 85 -->
<line x1="36" y1="56" x2="256" y2="56" stroke="#1B365D" stroke-width="0.6" stroke-dasharray="3 3"/>
</svg>
</div>
</div>
<div class="page-num">04</div>
<div class="footer-mark">Agent Engineering</div>
</section>
<!-- ═══════════ 05 · Tools + Memory ═══════════ -->
<section class="slide">
<div class="slide-head">
<span class="eyebrow">04 · Tools & Memory</span>
</div>
<div class="slide-title">Put state outside<br>the context</div>
<div class="body-grid">
<div>
<p class="claim">Tools should match Agent goals, not underlying API shapes. Memory lives on disk, not in the window.</p>
<ul class="pts">
<li><span class="hl">ACI principle</span>: Agent-Computer Interface - design for what the Agent wants to do, not for the HTTP verb.</li>
<li>A bad tool description looks like a model failure until you re-read the description.</li>
<li>File-based state survives restarts. In-context state does not.</li>
</ul>
</div>
<div>
<p class="claim" style="font-size: 14pt;"><span class="hl">Four kinds of memory</span></p>
<ul class="pts">
<li><span class="hl">Working</span>: the context window - fast, expensive, temporary.</li>
<li><span class="hl">Procedural</span>: SKILL.md files - how to behave, loaded lazily.</li>
<li><span class="hl">Episodic</span>: JSONL logs - what happened, appendable.</li>
<li><span class="hl">Semantic</span>: MEMORY.md - what to remember across sessions, consolidated at thresholds.</li>
</ul>
<div class="callout">
Cross-session consistency needs explicit consolidation, not hope.
</div>
</div>
</div>
<div class="page-num">05</div>
<div class="footer-mark">Agent Engineering</div>
</section>
<!-- ═══════════ 06 · Code Card demo ═══════════ -->
<section class="slide">
<div class="slide-head">
<span class="eyebrow">05 · Code Style</span>
</div>
<div class="slide-title">Pseudocode over syntax</div>
<div class="body-grid">
<div>
<p class="claim">Comments should outnumber code lines. The reader sees <span class="hl">logic</span>, not a language tutorial.</p>
<ul class="pts">
<li>Write the intent first, then the implementation detail below it.</li>
<li>Variable names describe what a thing <span class="hl">is</span>, not what type it has.</li>
<li>One concept per block. Split ruthlessly.</li>
</ul>
</div>
<div style="display:flex;flex-direction:column;gap:14pt;">
<div class="code-card"><span class="c"># resolve tool call or decide to stop</span>
<span class="k">function</span> agent_step(context, tools):
<span class="c"># model picks the next action</span>
action = <span class="k">model.think</span>(context)
<span class="c"># terminal condition: model says done</span>
<span class="k">if</span> action.type == <span class="k">"stop"</span>:
<span class="k">return</span> action.result
<span class="c"># delegate to the right tool</span>
result = tools[action.name](action.args)
<span class="k">return</span> agent_step(context + result, tools)</div>
</div>
</div>
<div class="page-num">06</div>
<div class="footer-mark">Agent Engineering</div>
</section>
<!-- ═══════════ 07 · Closing ═══════════ -->
<section class="slide ending">
<h1>Protocol first.<br>Then parallelism.</h1>
<div class="line"></div>
<div class="sub">Fix your evals before you tweak the Agent. Most of what looks like model failure is infrastructure noise in disguise.</div>
<div class="page-num">07</div>
<div class="footer-mark">End of Deck</div>
</section>
</body>
</html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |