Agent skill

Guided Demo

by sammcj in sammcj/agentic-coding

A pattern for adding a self-narrating (typed out) guided walkthrough to any HTML/web application.

Apache-2.0Auto-check passedMedia & Creative

Install Guided Demo

skills CLI
$ npx skills add sammcj/agentic-coding --skill guided-demo -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sammcj/agentic-coding guided-demo --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills/guided-demo .claude/skills/guided-demo && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
guided-demo
GitHub stars
162
Token cost
~2.1k tokens
SKILL.md length
1,030 words
Files
3 (incl. references)
Skills in repo
64
Repo updated
First seen
Licence
Apache-2.0

At a glance

A pattern for adding a self-narrating (typed out) guided walkthrough to any HTML/web application.

  • Works in 7 steps: What are the sections? Tabs, routes,… → Framework? Vanilla HTML works directly.… → Presenter talking over it, or… → …
  • The user wants to add a guided demo
  • SKILL.md covers Before implementing, Implementation, Gotchas and Applicability
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Guided Demo is an agent skill from sammcj/agentic-coding. A pattern for adding a self-narrating (typed out) guided walkthrough to any HTML/web application. Use this skill whenever the user wants to add a guided demo, auto-narration, self-running presentation, or step-by-step tour to an HTML page, web app, prototype, HTML slide deck, dashboard, or data story.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/implementation.md` and `references/react-integration.md`).

It sits in Media & Creative, covering Text to speech and voice, Slides and decks and HTML artifacts. It works with React. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.

When your agent uses it

  • The user wants to add a guided demo
  • Self-running presentation
  • Step-by-step tour to an HTML page
  • HTML slide deck

Example prompts

  • “/guided-demo”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. What are the sections? Tabs, routes, scroll positions, slide indices? Determines how section switching works.
  2. Framework? Vanilla HTML works directly. React/Vue/Svelte need the engine as a conditional overlay component, and querySelector must run…
  3. Presenter talking over it, or self-narrating? Talking over: shorter text, longer pauses. Self-narrating: detailed text, moderate pauses.
  4. Interactive elements to trigger? Map to step actions. Confirm CSS selectors are stable (not framework-generated hashes).
  5. Offline requirement? Keep everything in one file if so. No CDN dependencies without fallbacks.
  6. How many steps? Under 15 for a pitch, 20-30 for a detailed walkthrough. Over 40 loses attention.
  7. Touch device support needed? Most guided demos target desktop/laptop presentation contexts. The narrator panel has on-screen…

What it can do on your machine

Read from SKILL.md and the folder at commit 2f25ced. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Guided Demo loads about 2.1k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 1,030 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sammcj/agentic-coding at commit 2f25ced, republished under its Apache-2.0 licence (© sammcj). 1,030 words, ~2,085 tokens.

Download SKILL.mdSave it as .claude/skills/guided-demo/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
guided-demo
description
A pattern for adding a self-narrating (typed out) guided walkthrough to any HTML/web application. Use this skill whenever the user wants to add a guided demo, auto-narration, self-running presentation, or step-by-step tour to an HTML page, web app, prototype, HTML slide deck, dashboard, or data story.
disable-model-invocation
true
argument-hint
Thing you want to add a demo to

Guided Demo Pattern

Add a self-narrating walkthrough to any HTML/web application. A declarative step array drives a setTimeout loop that toggles CSS classes on DOM elements and writes text character-by-character into a fixed panel. The engine overlays the existing page without modifying its code. When the demo stops, all state resets.

About 100 lines of JS and 30 lines of CSS for the core. Interstitials, speed controls, keyboard shortcuts, and progress bar are optional layering.

Before implementing

Ask the user these questions (skip any already answered in conversation):

  1. What are the sections? Tabs, routes, scroll positions, slide indices? Determines how section switching works.
  2. Framework? Vanilla HTML works directly. React/Vue/Svelte need the engine as a conditional overlay component, and querySelector must run after render.
  3. Presenter talking over it, or self-narrating? Talking over: shorter text, longer pauses. Self-narrating: detailed text, moderate pauses.
  4. Interactive elements to trigger? Map to step actions. Confirm CSS selectors are stable (not framework-generated hashes).
  5. Offline requirement? Keep everything in one file if so. No CDN dependencies without fallbacks.
  6. How many steps? Under 15 for a pitch, 20-30 for a detailed walkthrough. Over 40 loses attention.
  7. Touch device support needed? Most guided demos target desktop/laptop presentation contexts. The narrator panel has on-screen prev/play/next buttons that work on touch, but swipe gestures or mobile-specific layout are rarely needed.

Implementation

Read references/implementation.md for all code snippets (vanilla JS / static HTML). If the target application uses React with React Router, also read references/react-integration.md for React-specific patterns covering stale closures, route navigation timing, and component architecture. For other SPA frameworks (Vue, Svelte, etc.), the same concepts apply (poll for elements after route change, store timer-relevant state outside the reactivity system) but the implementation details differ.

The four required pieces are:

  1. Narrator panel - fixed-position bar with text container and progress bar
  2. Highlight class - outline (not border) with animated glow, no layout shift
  3. Typewriter function - recursive setTimeout, narration text set via textContent (never set user-authored narration via innerHTML), blinking cursor via CSS. The innerHTML = '' clearing before each tick is intentional and safe (no user content involved)
  4. Playback loop - playStep(idx) that switches sections, runs actions, highlights, types, and auto-advances
Step array

The single source of truth. Each step is a plain object:

javascript
const DEMO_SCRIPT = [
  { section: 0, target: '.card', text: "Narration text." },
  { section: 1, target: null, text: "Transition.", transition: true },
  { section: 1, target: '#el', text: "Detail.", action: 'open', actionTarget: 'panel-id' },
];

Properties: section (which view), target (CSS selector or null), text (narrator copy), transition (show interstitial), action/actionTarget (trigger UI change), delay (optional per-step pause override in ms, defaults to PAUSE_MS).

Timing defaults
ConstantDefaultWhen to adjust
TYPE_SPEED5ms/char3ms for long text, 15ms for dramatic short statements
PAUSE_MS3000ms4-5s if audience reads rather than listens
Speed range0.5x-2xBoth constants divided by multiplier
Writing narrator copy

The typewriter effect means each word lands individually, so writing style matters:

  • Short declarative sentences. Each step should make exactly one point.
  • Conversational tone, present tense. Address the audience directly.
  • Describe what the element means, not what the UI shows: "This column quantifies the cost impact" not "The cost is shown in this column".
  • No jargon the audience wouldn't know. Match terminology to the domain, not the implementation.
  • Under 30 words per step for presenter-led demos, up to 50 for self-narrating.
Keyboard controls

Gate all keyboard capture behind an isActive flag so it does not interfere with normal page interaction. Space = play/pause, arrows = step, M = toggle TTS narration, Escape = exit and reset.

Text-to-speech narration

Browser-native TTS via the speechSynthesis Web Speech API reads each step's narration aloud alongside the typewriter. Include it in every demo but keep it off by default - never speak without explicit user action. The user toggles it with a speaker icon in the control bar and the M key. See references/implementation.md (Text-to-speech narration) for voice selection, the single call site, and cancellation.

Show full SKILL.md (410 more words)Show less
Step countdown indicator

A thin bar below the step progress bar fills during the pause after the typewriter finishes, showing time until auto-advance. Include it in every demo. See references/implementation.md (Step countdown indicator) for the CSS-animation approach, placement, and reset via clearAllTimers().

Optional: transition interstitials

Full-screen overlay with cycling status messages between sections. Simulates processing time. Define messages per section in a 2D array. Fade each message, then dismiss overlay via callback.

Optional: step actions

String-matched in executeStep(). Actions run before highlighting because elements inside collapsed panels can't be found by querySelector until the panel is open. Adding a new action is one if block. Keep it simple. Common patterns beyond expand/collapse: expandOne (open one panel, close all siblings - accordion style), call (trigger a named function like requestBriefing()), addClass/removeClass (toggle a CSS class on document.body for global state changes).

Gotchas

These are the failure points that come up repeatedly:

  • Layout shift: Use outline not border for highlighting. Outline does not affect box model.
  • Hidden elements: If target is inside a collapsed container, the action must open it first. This is why actions execute before highlighting.
  • Dynamic selectors: Framework-generated class names (.css-1a2b3c) break between builds. Use data-* attributes or IDs.
  • Scroll conflicts: scrollIntoView({ block: 'center' }) conflicts with fixed headers/panels. Set scroll-padding-bottom on the scroll container to account for the narrator panel height.
  • Z-index: Narrator panel at 500+, interstitials at 490, highlighted elements at 2+. Check for conflicts with existing modals or dropdowns.
  • Cleanup on exit: Reset every piece of state the demo touched: close opened panels, remove highlights, clear timers. Missing cleanup leaves confusing UI state.
  • Form inputs: If the page has text inputs, textareas, or selects, the keyboard handler must skip them. Otherwise pressing Space in a text field triggers play/pause instead of typing. Check e.target.tagName and bail out for INPUT, TEXTAREA, SELECT.
  • ES modules: If using <script type="module">, all demo functions called from onclick must be on window.*.
  • Print: Hide demo panel and interstitial in @media print.
  • Accessibility: Narrator panel should have role="status" and aria-live="polite". Highlight outlines must meet contrast requirements.

Applicability

Works for: prototypes, PoCs, HTML slide decks, data storytelling dashboards, product demos, workshop facilitation, investor pitches, onboarding walkthroughs.

Does not replace: user testing tools, screen recorders, production onboarding tours (use a tour library with persistence and analytics for those).

For framework apps, mount the demo engine as a conditional overlay component and pass the script array as a prop. For single-file demos, inline everything for offline/USB-stick distribution.

© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in Skills/guided-demo of sammcj/agentic-coding.

  • SKILL.md
  • references/implementation.md
  • references/react-integration.md

Open the folder on GitHubat commit 2f25ced

Compare with similar skills

Guided Demo next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Guided Demo compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Guided Demo this skillsammcj/agentic-coding162—~2.1kAutomated safety check: PassApache-2.0
Web Video PresentationConardLi/garden-skills13k—~3.5kAutomated safety check: PassMIT
Md2video Audiosickn33/agentic-awesome-skills47k1 repos~1.1kAutomated safety check: PassApache-2.0
Epub2podcast Ark Plandracohu2025-cloud/draco-skills-collection227—~1.8kAutomated safety check: PassMIT
Roadshow Video Generatoranbeime/skill7.8k—~1.4kAutomated safety check: NotesNone
Book Media Generatordmccreary/ibook-skills105—~1.7kAutomated safety check: PassCC-BY-NC-4.0

Similar skills

  • Web Video Presentation

    ConardLi/garden-skills

    Turns an article or spoken script into a click-through, full-screen 16:9 web presentation that looks like a video, with optional synthesized narration.

    13k GitHub stars~3.5k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Md2video Audio

    sickn33/agentic-awesome-skills

    Convert Markdown documents into narrated MP4 videos with synchronized visuals and voice narration.

    47k GitHub starsUsed in 1 repo~1.1k tokens
    Media & CreativeAuto-check passed
  • Epub2podcast Ark Plan

    dracohu2025-cloud/draco-skills-collection

    【Ark Agent Plan 专用版本】EPUB 转双人中文播客视频流水线:使用火山引擎 TTS(与 Seedream/Seedance 共享技术栈),Smart Slide + 双人音频 + 最终 MP4 视频,无需额外 Google/OpenRouter API Key。

    227 GitHub stars~1.8k tokensUpdated 23 days ago
    Media & CreativeAuto-check passed
  • Turns a document into a narrated roadshow video through ten staged roles, from document analysis and slide planning to audio, subtitles and final composition.

    7.8k GitHub stars~1.4k tokensUpdated yesterday
    Media & CreativeAuto-check: notes
  • Book Media Generator

    dmccreary/ibook-skills

    Generates media for intelligent textbooks - slide decks and presentations (MARP web decks in docs/slides/ or PowerPoint .pptx lecture downloads), illustrated stories and graphic novels…

    105 GitHub stars~1.7k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Slides Video

    sugarforever/01coder-agent-skills

    Produce slides-driven narration videos (口播视频) where each slide maps 1:1 to one voiceover section.

    137 GitHub stars~1.5k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed

More from sammcj/agentic-coding

All 64 skills in this repo
  • Yue2 Music

    sammcj/agentic-coding

    A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…

    162 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Bento Slides

    sammcj/agentic-coding

    A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.

    162 GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Idrive Backup

    sammcj/agentic-coding

    A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS

    162 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check: notes
  • Piper Tts Training

    sammcj/agentic-coding

    Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.

    162 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • PPTX To Md

    sammcj/agentic-coding

    Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.

    162 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Skill Creator Primer

    sammcj/agentic-coding

    You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.

    162 GitHub stars~9.8k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Guided Demo

What does Guided Demo do?

A pattern for adding a self-narrating (typed out) guided walkthrough to any HTML/web application. Guided Demo is an agent skill from sammcj/agentic-coding. A pattern for adding a self-narrating (typed out) guided walkthrough to any HTML/web application.

When should I use Guided Demo?

Guided Demo fits situations like: the user wants to add a guided demo; self-running presentation; step-by-step tour to an HTML page; HTML slide deck.

How do I install Guided Demo in Claude Code?

Run `npx skills add sammcj/agentic-coding --skill guided-demo -a claude-code`. Or copy the skill folder (Skills/guided-demo in sammcj/agentic-coding) into .claude/skills/guided-demo in your project. Claude Code loads it when a task matches its description.

How do I install Guided Demo in Codex?

Run `npx skills add sammcj/agentic-coding --skill guided-demo -a codex`. Or copy the skill folder (Skills/guided-demo in sammcj/agentic-coding) into .agents/skills/guided-demo in your project. Codex loads it when a task matches its description.

Can I use Guided Demo in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill guided-demo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/guided-demo, .gemini/skills/guided-demo, .github/skills/guided-demo and .opencode/skills/guided-demo in your project.

What does Guided Demo need to run?

SKILL.md names no scripts, command-line tools or credentials: Guided Demo is instructions for the agent only.

Does Guided Demo access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Guided Demo safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Guided Demo use?

Guided Demo is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Guided Demo use?

About 2.1k tokens (SKILL.md is roughly 8.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Guided Demo?

Skills that share tags, products or a category with Guided Demo: Web Video Presentation (ConardLi/garden-skills, 13k stars), Md2video Audio (sickn33/agentic-awesome-skills, 47k stars), Epub2podcast Ark Plan (dracohu2025-cloud/draco-skills-collection, 227 stars) and Roadshow Video Generator (anbeime/skill, 7.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Guided Demo?

sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 64 skills in this directory. The repository was last updated on October 9, 2026.

Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.