Logo Presentation Extract Template

Presentation Extract Template

Tổ chức
okou-ai
presentation-extract-template

Trích xuất phong cách nguồn và bố cục HTML có thể chỉnh sửa từ các bộ slide HTML (tệp, thư mục hoặc URL), PPTX, PPT, PDF hoặc ảnh slide, sau đó lưu thành Custom Template để tái sử dụng.

Add to TypingMind

Tổng quan

Nhà phát hànhokou-ai
Kho mãokou-skills
Tên kỹ năngpresentation-extract-template
Sao
81
Bản fork
19
Tệp đi kèm
85
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 85 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được okou-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Presentation Extract Template trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/okou-ai/okou-skills/tree/main/extract-template/presentation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/okou-ai/okou-skills.git /tmp/okou-skills
mkdir -p .claude/skills
cp -r /tmp/okou-skills/extract-template/presentation .claude/skills/presentation-extract-template
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Presentation Extract Template trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Presentation Extract Template ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Presentation Extract Template với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Extract a presentation template

Preserve the original source and save its style, layouts and assets as a reusable HTML package. Extraction uses package checks; deck QA and targeted visual review are for later generation. Rebuild samples only when requested, within that scope. Write package instructions in English; preserve source content and the requested presentation language.

Files in this guideStageIncluded in the saved template
This SKILL.md, references/extract/Extract and record the sourceNo
references/generate/Generate, check and deliver new decksYes, at the same paths
Source helpers in scripts/ and tools/verify-package.mjsPrepare source files, assemble and check the packageNo

The installer copies the generation guides and runtime by an explicit file list. The package's own SKILL.md is its generation entrypoint.

1. Inspect the source

InputExtraction route
HTML file, directory or URLInventory the HTML and reuse its fragments, CSS and assets.
PDF deckPrepare, inspect and assemble through the HTML extraction contract; after PACKAGE_VALID, continue at step 5.
PPTX / PPTRead available structure/style metadata together with the rendered pages.
Slide imagesInfer layouts and styling from the supplied pages.

Keep the original as evidence. Source parsing/conversion and the independent page capture can run together.

Use a new <work-dir> beside the template package. All commands below use fixed subdirectories: source-pages/ for original pages, previews/ for contact sheets and review images, and upload/ for the upload PDF.

Reuse existing ordered captures or supplied slide images at <work-dir>/source-pages/page-001.png, etc. Otherwise, render once:

bash
okou presentation screenshot --input <source.ppt|source.pptx|source.pdf|source.html|html-dir|url> --out <work-dir>/source-pages

Review every page through contact sheets; open individual captures only for details that are unclear at that size. The helper installs Pillow if needed and writes previews to their own directory. For HTML/images without an original PDF, create the upload PDF in the same pass:

bash
python3 scripts/source-derivatives.py --work-dir <work-dir> --contact-sheet --pdf

For PPT/PPTX/PDF, omit --pdf: the original already supplies the upload source. For HTML, use --slides "<slide-selector>" when the source uses a different slide selector from .deck > .slide; use --slides none for one page per HTML file. Read computed CSS once per distinct style, including inherited styles and SVG. Record the original entry file or URL in design-system.md.

Record the filename, aspect ratio, page count, page roles and recurring structures. Check typography against source metadata and label visual estimates as inferred. Archive original-source captures, never reconstruction images.

2. Record the design system

In design-system.md, record typography, foreground/background colours, spacing, safe areas, borders, image crops, required chrome and reusable backgrounds/decorations. Distinguish source observations from inferred adaptations, including unit conversion and aspect-ratio mapping to 16:9.

Use typography.md for source font mapping and layout-inventory.md for source coverage and reusable background recipes.

3. Build the editable package

text
<template-slug>/
  SKILL.md
  design-system.md
  layouts/README.md
  layouts/source-index.json
  layouts/source/<name>.html
  layouts/_shell.html
  styles/template.css
  assets/
  library/                  # supplied neutral layouts and Markdown catalogue
  scripts/                  # supplied fitter and navigation
  tools/                    # source configuration and generation QA
  references/generate/      # generation-only guidance

Create the source index and fragments in one batch; preserve every distinct composition and background variant. Equivalent structures may share a layout with explicit source-page coverage. Keep text, shapes, tables and ordinary charts editable in HTML/CSS/SVG. Use package-relative assets and .deck > .slide > .stage, with a .fit root per slide. Extra data-fit-region hooks are only for genuinely constrained subareas; ordinary flow text needs no extra measurement boundary. All content shares one scale.

layouts/_shell.html is the shared HTML document with one .deck insertion point. The installer supplies a pure-black viewer surround with centered, proportional canvas scaling. Keep source dimensions, backgrounds and styling on .stage and inside it; no separate viewport or resize script is needed. Its .deck can be empty or retain source examples; no need to assemble every source page in it. Complete source-page coverage belongs in source-index.json. Source fragments use paths relative to layouts/, where they are inserted into the shell.

Write tools/qa-config.json with source-derived safe areas, required chrome and approved font fallbacks; follow qa-config.md. Use the runtime hooks when creating the source HTML, so later generation can reuse it directly. Then run from this guide's directory:

bash
node scripts/install-qa.mjs --package <template-slug>

The installer supplies the library, tools, references and shared runtime, including the viewport frame and four-arrow navigation. Keep neutral library layouts separate from the source index; adapt only selected layouts during later generation.

Write the package's SKILL.md with its template identity, source/language caveats, links to design-system.md and layouts/source-index.json, and a Markdown link to references/generate/workflow.md. That supplied workflow contains the generation steps and routes to the other guides; no need to duplicate them. Keep layouts/README.md a short path map linking back to the package's SKILL.md. When refreshing an older package, update its entrypoint links to references/generate/. After READY_TO_PUBLISH, direct future runs to the platform publishing and delivery instructions. Keep QA restrictions scoped to content QA.

4. Check the package

From this guide's directory, run the package verifier. It checks slide/stage/fit structure, generation links, source coverage/configuration, library resources and capture inventory, and rejects extraction files mixed into the saved package:

bash
node tools/verify-package.mjs \
  --package <template-slug> --source-pages <work-dir>/source-pages

No generation QA, interaction pass or runtime test-suite run is needed during extraction. Only for a specific reconstruction risk, compare one or two unchanged compositions with their source captures, using --out <work-dir>/previews/reconstruction for any check screenshots.

5. Save the Custom Template

After the package check passes, prepare the upload source.

Use the original .ppt, .pptx or .pdf as --source. For HTML/images, reuse <work-dir>/upload/source.pdf from step 1. Record this conversion in design-system.md; the package retains editable layouts and assets. No reconstructed export is needed.

bash
okou user-template publish --kind presentation --title "<template name>" \
  --source <original.ppt|original.pptx|original.pdf|work-dir/upload/source.pdf> \
  --pages <work-dir>/source-pages \
  --package <template-slug>

Confirm successful saving and retain any returned template reference; if publishing fails, report that the template was not saved.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 25 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Presentation Extract Template làm được gì?

Trích xuất phong cách nguồn và bố cục HTML có thể chỉnh sửa từ các bộ slide HTML (tệp, thư mục hoặc URL), PPTX, PPT, PDF hoặc ảnh slide, sau đó lưu thành Custom Template để tái sử dụng.

Vì sao nên dùng Presentation Extract Template trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Presentation Extract Template là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Presentation Extract Template trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/okou-ai/okou-skills/tree/main/extract-template/presentation. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Presentation Extract Template?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Presentation Extract Template với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Presentation Extract Template với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Presentation Extract Template có miễn phí không?

Kỹ năng này được okou-ai phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇