Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Jxin-Cai/jxin-skills --skill md-to-html-slidesgit clone --depth 1 https://github.com/Jxin-Cai/jxin-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jxin-cai/jxin-skills/md-to-html-slides)<a href="https://agentmods.dev/skills/jxin-cai/jxin-skills/md-to-html-slides"><img src="https://agentmods.dev/badge/skills/jxin-cai/jxin-skills/md-to-html-slides/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jxin-cai/jxin-skills/md-to-html-slides"><img src="https://agentmods.dev/badge/skills/jxin-cai/jxin-skills/md-to-html-slides.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.01469 |
| Opus 5 | $0.00060 | $0.00734 |
| Sonnet 5 | $0.00024 | $0.00294 |
| Haiku 4.5 | $0.00012 | $0.00147 |
Grade A, and why
md-to-html-slides scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Markdown → HTML 滚动演示
将 Markdown 文档转化为一份精美的长滚动 HTML 演示页面——不是简单的格式转换,而是把线性文档重组为有节奏感的视觉叙事。
输出是一个自包含单文件 HTML,内置样式、GSAP 滚动动画、代码语法高亮、Dark Mode 切换、滚动进度条和侧边导航。所有图片转为 base64 data URI,可以直接在浏览器打开或复制给别人。
执行流程
Step 1: 读取输入
获取 Markdown 文件路径(必需)。如果用户没有指定文件,用 AskUserQuestion 询问。
读取文件内容,确认可以正常解析。
Step 2: 分析文档结构
扫描 Markdown 内容,识别:
- 标题层级(H1 / H2 / H3)
- 段落文本
- 列表(有序 / 无序)
- 表格
- 代码块(含语言标记)
- 图片引用(
) - 引用块(
>)
Step 3: 叙事重组
这是核心步骤。不是逐段翻译 Markdown 为 HTML,而是重新编排叙事结构使其适合演示场景。
重组规则:
- 提取核心主题:从 H1 和首段提炼演示标题 + 一句话主旨
- 归纳核心论点:全文通读后提炼 2-4 条最重要的判断,作为 summary
- 章节拆分:
- 每个 H2 → 一个独立 section
- H2 下有 3+ 个 H3 →
cards-grid(并列概念适合卡片展示) - H2 下是线性论述 →
key-points(提炼为 ≤3 条要点)
- 内容精简:
- 长段落(>100 字)→ 提炼为要点,每条 ≤ 30 字
- 去掉过渡句、铺垫、重复论述
- 保留关键数据、案例、结论
- 特殊内容映射:
- Markdown 表格 →
comparison - 有序列表(步骤性质)→
flow - 代码块 →
code - 图片 →
diagram - 引用块 →
quote - 并列数字/KPI/指标 →
stats - 按时间排列的事件序列 →
timeline
- Markdown 表格 →
- 结尾处理:最后一个 H2 如果是总结/展望性质 →
cta
叙事节奏:
- hero → summary → 正文 sections(交替白色/浅灰背景)→ cta
- 避免连续 3 个以上相同 type 的 section
- 内容密集区之间插入
quote或diagram制造呼吸感
Step 4: 选择呈现模式
为每个 section 选择最合适的 type。参考 references/section-patterns.md 获取完整的 type 列表和 JSON schema。
优先级:
- 内容形态决定 type(表格→comparison,代码→code,图片→diagram,数字→stats,时间序列→timeline)
- 信息关系决定 type(并列→cards-grid,递进→flow,论点→key-points)
- 同类 type 避免连续出现
Step 5: 输出 sections.json
在用户工作目录生成 sections.json 文件,结构如下:
{
"title": "演示标题",
"sections": [
{"type": "hero", "title": "...", "subtitle": "..."},
{"type": "summary", "items": ["...", "..."]},
{"type": "cards-grid", "label": "...", "title": "...", "columns": 3, "items": [...]},
...
]
}
每个 section 的具体 schema 见 references/section-patterns.md。
Step 6: 生成 HTML
运行构建脚本:
python <skill_path>/scripts/build_html.py \
--content sections.json \
--output presentation.html \
--images-dir <markdown文件同级目录或用户指定>
脚本会:
- 读取 sections.json
- 按 type 渲染为 HTML 片段
- 注入模板(含完整 CSS + GSAP 动画)
- 将本地图片转为 base64 data URI
- 输出自包含 HTML 文件
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 135 lines · 121 tokens per session scan A 8d2e295fbf49
md-to-html-slides is a skill published in the GitHub repository Jxin-Cai/jxin-skills (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 121 tokens to every session and 1,469 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
menu-transitions-rtl
Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…