Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计未展示

html-to-pptxHTML TO PPTX 工具

Agent Skill

html-to-pptx 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,027

周安装

82

GitHub Stars

27

下载量

636
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:html-to-pptx(HTML TO PPTX 工具)
来源仓库:https://github.com/aviz85/claude-skills-library
仓库路径:skills/html-to-pptx
安装命令:
npx skills add https://github.com/aviz85/claude-skills-library --skill html-to-pptx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aviz85/claude-skills-library --skill html-to-pptx

简介

html-to-pptx 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 该技能暂无可用 SKILL.md 文档,请参考原始仓库查看具体功能。
  • 建议结合项目实际需求核验其适用场景与限制条件。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

HTML to PowerPoint Converter

Convert HTML to PowerPoint (.pptx) with excellent Hebrew/RTL support using PptxGenJS.

Features

  • Two conversion modes:

- Text mode: Parses HTML and creates native PPTX elements (editable text, bullets, etc.) - Image mode: Screenshots HTML pages for pixel-perfect complex layouts

  • Automatic RTL detection: Detects Hebrew/Arabic and enables RTL mode
  • Hebrew font support: Uses Heebo font by default for Hebrew content
  • Multiple input sources: Local files, URLs, or piped content
  • Slide splitting: Auto-split by sections or custom CSS selectors

Setup (One-time)

cd ~/.claude/skills/html-to-pptx && npm install

Quick Usage

Basic conversion:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js input.html output.pptx

Hebrew document with RTL:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js hebrew.html presentation.pptx --rtl

Convert URL to PowerPoint:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js https://example.com slides.pptx

Pipe HTML content:

echo "<h1>שלום עולם</h1><p>תוכן בעברית</p>" | node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js - output.pptx --rtl

Conversion Modes

Text Mode (default for simple HTML)

Parses HTML structure and creates native PowerPoint elements:

  • Headings become styled text
  • Paragraphs become text boxes
  • Lists become bullet points
  • Advantage: Editable text in PowerPoint
node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js doc.html out.pptx --mode=text

Image Mode (for complex layouts)

Screenshots the HTML and embeds as images:

  • Preserves exact visual layout
  • Supports CSS animations, SVGs, complex tables
  • Long pages are split into multiple slides
  • Advantage: Pixel-perfect rendering
node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js complex.html out.pptx --mode=image

Auto Mode (default)

Automatically detects the best mode based on content complexity.

Options Reference

OptionDescriptionDefault
--mode=<mode>Conversion mode: text, image, autoauto
--rtlForce RTL direction for Hebrew/Arabicauto-detect
--title=<title>Presentation titleauto
--author=<author>Presentation authorAVIZ
--subject=<subject>Presentation subject-
--layout=<layout>LAYOUT_16x9, LAYOUT_4x3, LAYOUT_WIDELAYOUT_16x9
--font=<font>Default fontHeebo (Hebrew) / Arial
--font-size=<size>Font size in points18
--background=<color>Background color (hex, no #)-
--slide-per=<selector>CSS selector to split into slides-
--wait=<ms>Wait time for rendering (image mode)2000

Examples

Basic presentation from HTML:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js report.html report.pptx

Hebrew presentation:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js hebrew.html slides.pptx --rtl --font=Heebo

Split by sections:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js doc.html slides.pptx --slide-per=section

Split by custom class:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js doc.html slides.pptx --slide-per=".slide"

Custom styling:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js doc.html slides.pptx --font=David --font-size=24 --background=F5F5F5

Complex layout as images:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js dashboard.html slides.pptx --mode=image --wait=3000

Hebrew/RTL Best Practices

For best Hebrew rendering in your HTML:

  1. Set lang and dir attributes: <html lang="he" dir="rtl">
  2. Use UTF-8 encoding: <meta charset="UTF-8">
  3. Use Hebrew-supporting fonts: Heebo, David, Noto Sans Hebrew
  4. Always use --rtl flag for Hebrew content

Example Hebrew HTML:

<!DOCTYPE html>
<html lang="he" dir="rtl">
<head>
  <meta charset="UTF-8">
  <link href="https://fonts.googleapis.com/css2?family=Heebo:wght@400;700&display=swap" rel="stylesheet">
  <style>
    body {
      font-family: 'Heebo', sans-serif;
      direction: rtl;
      text-align: right;
    }
  </style>
</head>
<body>
  <section>
    <h1>כותרת המצגת</h1>
    <p>זהו תוכן בעברית</p>
    <ul>
      <li>נקודה ראשונה</li>
      <li>נקודה שנייה</li>
    </ul>
  </section>
</body>
</html>

Slide Structure

The converter automatically detects slide boundaries using these markers (in order):

  1. <section> elements
  2. <article> elements
  3. .slide class
  4. [data-slide] attribute
  5. <hr> elements

Or specify your own with --slide-per:

node ~/.claude/skills/html-to-pptx/scripts/html-to-pptx.js doc.html slides.pptx --slide-per="div.page"

Troubleshooting

Hebrew text appears reversed

  • Use the --rtl flag
  • Ensure HTML has dir="rtl" attribute

Fonts not rendering correctly

  • In image mode, increase --wait=3000 for font loading
  • Use web fonts (Google Fonts) in your HTML

Complex layouts look wrong in text mode

  • Use --mode=image for complex CSS layouts
  • Image mode preserves exact visual appearance

Presentation too long

  • Use --slide-per to control slide breaks
  • Structure HTML with <section> elements

Technical Notes

  • Uses PptxGenJS v4.x for PPTX generation
  • RTL support via rtlMode: true property
  • Image mode uses Puppeteer for rendering
  • Cheerio for HTML parsing in text mode

Sources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.82%
按下载量换算209

Claude

29.72%
按下载量换算189

Cursor

18.66%
按下载量换算119

Gemini CLI

9.59%
按下载量换算61

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills