2slides-ppt-generator – skill Tài liệu & Office cho agent AI
Tạo bản trình chiếu bằng AI qua API 2slides: tạo slide từ văn bản, khớp phong cách theo ảnh tham chiếu, tóm tắt tài liệu thành bộ slide, thêm thuyết minh giọng AI và xuất trang/âm thanh. Dùng cho mọi yêu cầu “make slides”, “create a deck” hoặc “slides from this document”.
Cài skill 2slides-ppt-generator bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/2slides-ppt-generator-00855.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /2slides-ppt-generator – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/2slides-ppt-generator-00855.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $2slides-ppt-generator – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/2slides-ppt-generator-00855.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /2slides-ppt-generator – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/2slides-ppt-generator-00855.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /2slides-ppt-generator – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
2slides Presentation Generation
Detailed Guide
Read [the detailed guide](references/detailed-guide.md) before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
When to Use This Skill
- Use when the user asks to "create a presentation", "make slides", or "generate a deck" from text or an outline.
- Use when the user wants slides that match the style of a reference image ("create slides like this image").
- Use when the user wants custom-designed PDF slides without a reference image.
- Use when the user uploads a document and asks to "create slides from this document".
- Use when the user wants to add AI voice narration to generated slides, or export slides as PNG images and narration as WAV audio.
- Use when the user asks "what themes are available?" or wants to browse/select a theme.
Security & Safety Notes
- Credentials: This skill reads the API key from the
SLIDES_2SLIDES_API_KEYenvironment variable. Never hard-code the key in commands, commit it, or echo it back to the user. The scripts send it as a bearer/apikeyvalue tohttps://2slides.comover HTTPS only. - Network + paid mutations: Every generation call makes an outbound network request to the 2slides API and spends the user's credits (10–210 credits/page depending on mode). Treat generation, reference-image, custom-PDF, and narration calls as billable actions — confirm intent before generating large or high-resolution (4K) decks, and surface the expected page count/cost when it is non-trivial.
- Local outputs: Downloads are limited to the current workspace, public HTTPS and 128 MiB; existing output files are refused. Signed download URLs are bearer capabilities: avoid logging/sharing them beyond the intended recipient. Validate ZIP entries and extraction size before unpacking.
- Input handling: Reference-image and document inputs are sent to the 2slides service for processing. Do not submit confidential material the user has not authorized for third-party processing.
- Download URLs expire in 1 hour — fetch artifacts promptly and do not treat the URLs as durable storage.
Limitations
- A request timeout may still leave a paid server job running. Check job/account state before retrying; these scripts do not provide idempotency keys or refunds.
page=0selects an unknown page count, so set an agreed explicit budget/count before billable generation. - API response schemas, pricing, voices, rate limits and URL expiry are version-dependent; current sources take precedence over snapshots.
- Requires a valid 2slides account, API key, and sufficient credits; this skill does not provision or pay for credits.
- Results are AI-generated drafts intended as a starting point, not a final, fact-checked deliverable — review content before use.
- This skill does not replace environment-specific validation or expert review. Stop and ask for clarification if the API key, required inputs, or intended cost/scope are missing.
- Rate limits apply (Fast PPT 10/min, Nano Banana 6/min); poll async jobs every 20–30s rather than tight-looping.
Skill liên quan
- antinet-doc-parse – Kỹ sư phát triển phần mềm và nhà khoa học dữ liệu khi xây dựng hệ thống RAG cần xử lý…
- baoyu-danger-x-to-markdown – Chuyển đổi tweet và bài viết trên X (Twitter) sang markdown với YAML front matter. Sử…
- baoyu-format-markdown – Định dạng file văn bản thuần hoặc markdown với frontmatter, tiêu đề, tóm tắt, heading…
- law-to-markdown – Dành cho trợ lý pháp lý khi xử lý nhiều điều luật: khi cần chuyển file quy phạm pháp…
- documentation-and-adrs – Ghi nhận quyết định và tài liệu. Dùng khi cần ghi lại quyết định kiến trúc (ADR) hoặc lý…
- baoyu-markdown-to-html – Chuyển Markdown sang HTML có định dạng với chủ đề tương thích WeChat. Hỗ trợ tô sáng…
- paperjsx – Tạo bản trình chiếu PPTX, tài liệu DOCX, bảng tính XLSX và báo cáo PDF từ đầu vào JSON…
- akf-trust-metadata – Định dạng tệp AI-native. EXIF cho AI: gắn mỗi tệp với điểm tin cậy, nguồn gốc dữ liệu và…