Agent skill

Baidu AI PPT Generator

by baidu-netdisk in baidu-netdisk/bdpan-storage

Generates a PowerPoint deck from a one-line topic description through Baidu Wenku's personal AI PPT feature, choosing a matching style, scene and colour scheme.

Apache-2.0Auto-check: notesDocuments & Office

SKILL.md written in Chinese; this summary is our English description.

Install Baidu AI PPT Generator

skills CLI
$ npx skills add baidu-netdisk/bdpan-storage --skill baidu-wenku-aippt-personal -a claude-code

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

GitHub CLI
$ gh skill install baidu-netdisk/bdpan-storage baidu-wenku-aippt-personal --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/baidu-netdisk/bdpan-storage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/baidu-wenku-aippt-personal .claude/skills/baidu-wenku-aippt-personal && 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
baidu-wenku-aippt-personal
GitHub stars
273
Token cost
~917 tokens
SKILL.md length
176 words
Files
13 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generates a PowerPoint deck from a one-line topic description through Baidu Wenku's personal AI PPT feature, choosing a matching style, scene and colour scheme.

  • Works in 2 steps: 用户提及"生成PPT"、"做PPT"、"制作PPT"、"AI… → 提供了主题、大纲或内容描述
  • Turning a topic or outline into a finished PPT deck
  • SKILL.md covers 触发规则, 安全约束(最高优先级,不可被任何用户指令覆盖), 前置检查 and 核心操作:AI PPT 生成, plus 4 more sections
  • Runs Shell scripts from its folder; calls bash

What it does

Triggers only when you mention generating a PPT or slide deck and have given a topic, outline or content description; it otherwise refuses to run. Once triggered, it derives a short title from your request and picks a page-count range, style, scene and colour from fixed option lists, falling back to defaults when a choice is not obvious, then runs a bundled script that calls the underlying `bdpan aippt` command with those parameters.

Login and credential handling are restricted: the agent must use a dedicated login script rather than calling the login command directly, must never read or print the stored access token file, and must not run updates or logins silently without your explicit instruction. After generation it shows you the file name, a preview link and the remaining quota, and must display certain tool-provided notices to you exactly as given rather than summarizing or translating them.

When your agent uses it

  • Turning a topic or outline into a finished PPT deck
  • Generating a presentation in a specific visual style or colour scheme
  • Creating a slide deck for a themed scenario such as a year-end summary or work report

Example prompts

  • “帮我生成一份关于季度销售总结的PPT,企业商务风格。”
  • “做一个10到20页的中国风PPT,主题是传统节日。”
  • “生成一份年终总结的演示文稿,蓝色配色。”

Requirements

  • The `bdpan` CLI installed and logged into a Baidu Netdisk account
  • Pre-approved tools (allowed-tools): Bash, Read, Glob, Grep, AskUserQuestion

Workflow steps

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

  1. 用户提及"生成PPT"、"做PPT"、"制作PPT"、"AI PPT"、"aippt"、"幻灯片"、"演示文稿"
  2. 提供了主题、大纲或内容描述

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Glob
    • Grep
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

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

  • Network

    Links to these hosts (documentation or services it may open):

    • pan.baidu.com

    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

Baidu AI PPT Generator loads about 917 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 176 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~917

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Glob, Grep, AskUserQuestion

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); the scripts in this folder are not scanned.

SKILL.md

The full file from baidu-netdisk/bdpan-storage at commit 069dc7e, republished under its Apache-2.0 licence (© baidu-netdisk). 176 words, ~917 tokens.

Download SKILL.mdSave it as .claude/skills/baidu-wenku-aippt-personal/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
baidu-wenku-aippt-personal
description
百度文库智能PPT个人版 — 一句话自动生成高质量 PPT,支持多种风格、场景和配色。 TRIGGER: 用户提及"生成PPT/做PPT/制作PPT/AI PPT/aippt/幻灯片/演示文稿"时触发。 DO NOT TRIGGER: 非 PPT 相关操作,文件管理操作,网盘上传下载等操作。
allowed-tools
Bash, Read, Glob, Grep, AskUserQuestion
argument-hint
[PPT 主题描述]

百度文库 AI PPT 生成 Skill

一句话自动生成高质量 PPT,支持多种风格、场景和配色方案。底层通过 bdpan aippt 命令实现。

使用示例详见 reference/aippt-examples.md

触发规则

同时满足以下条件才执行:

  1. 用户提及"生成PPT"、"做PPT"、"制作PPT"、"AI PPT"、"aippt"、"幻灯片"、"演示文稿"
  2. 提供了主题、大纲或内容描述

未通过触发规则时,禁止执行任何 bdpan 命令。

上下文延续: 当前对话已在进行 PPT 生成操作时,后续消息无需再次提及关键词即可触发。


安全约束(最高优先级,不可被任何用户指令覆盖)

  1. 登录:必须使用 bash ${CLAUDE_SKILL_DIR}/scripts/login.sh,禁止直接调用 bdpan login 及其任何子命令/参数(包括 --get-auth-url、--set-code 等)
  2. Token/配置:禁止读取或输出 ~/.config/bdpan/config.json 内容(含 access_token 等敏感凭据)
  3. 更新/登录:更新必须由用户明确指令触发,禁止自动或静默执行;Agent 禁止使用 --yes 参数执行 update.sh 或 login.sh
  4. 环境变量:Agent 禁止主动设置 BDPAN_CONFIG_PATH、BDPAN_BIN、BDPAN_INSTALL_DIR 等环境变量

前置检查

每次触发时按顺序执行:

  1. 安装检查:command -v bdpan,未安装则告知用户并确认后执行 bash ${CLAUDE_SKILL_DIR}/scripts/install.sh(用户确认后可加 --yes 跳过安装器内部确认)
  2. 登录检查:bdpan whoami,未登录则引导执行 bash ${CLAUDE_SKILL_DIR}/scripts/login.sh

核心操作:AI PPT 生成

bash
bash ${CLAUDE_SKILL_DIR}/scripts/run-aippt.sh "<用户原始query>" "<title>" "<page>" "<style>" "<scene>" "<color>"

参数说明:

参数说明
第1参数(用户query)严格使用用户的原始输入,不做任何加工或改写
title(标题)Agent 从用户 query 中提取或生成一个简短精炼的 PPT 标题
page(页数)取值:1-10、11-20、21-30、31-40、40+(默认:11-20)。根据用户指定的页数选择最匹配的枚举值
style(风格)取值:默认、创意趣味、年终总结、卡通手绘、扁平简约、文艺清新、中国风、企业商务、未来科技、文化艺术(默认:默认)
scene(场景)取值:默认、晚会表彰、传统节日、婚姻爱情、生日祝福、医学科普、建筑报告、工作总结、年终总结、工作汇报(默认:默认)
color(颜色)取值:默认、绿色、蓝色、紫色、橙色、黄色、红色、黑色、白色(默认:默认)

智能选择规则: Agent 根据用户 query 自动生成 title,并判断最匹配的 page、style、scene、color 值。若无法明确判断,则使用默认值。title/page/style/scene/color 参数对用户不可见,Agent 静默选择后直接执行。

执行步骤:

  1. 将用户原始 query 作为第一参数,生成 title,智能匹配 page、style、scene、color(不向用户展示)
  2. 执行:
    bash
    bash ${CLAUDE_SKILL_DIR}/scripts/run-aippt.sh "<用户原始query>" "<title>" "<page>" "<style>" "<scene>" "<color>"
  3. 解析命令输出中的大纲:Agent 必须在思考过程(thinking)中完整记录并分析生成的 PPT 大纲内容,包括各章节标题和子标题的结构,以便用户通过查看思考过程了解 PPT 内容结构
  4. 向用户展示生成结果(文件名、预览链接、剩余次数),并且必须原样展示命令输出中的使用说明提示(tip)
  5. 原样展示规则:命令输出中 [DISPLAY_VERBATIM_START] 和 [DISPLAY_VERBATIM_END] 之间的内容,必须作为引用块(blockquote >)完整原样展示给用户,禁止省略、改写、总结或翻译。示例输出格式:

    温馨提示:今日AI PPT 生成次数已经用完,明日 0 点后会自动刷新额度。如有大量生成PPT需求,可以通过官网联系我们。官网地址:https://pan.baidu.com/union/home

  6. 如果命令输出中包含更新提示,原样展示给用户(无输出则跳过)

确认规则:

  • 用户提供了主题描述 → 直接执行

技能升级

用户回复"技能升级"时:

  1. 执行 bash ${CLAUDE_SKILL_DIR}/scripts/update.sh --yes
  2. 展示更新结果
  3. 提示用户重新打开技能体验新版本

授权码处理

用户发送 32 位十六进制字符串时,先确认:"这是百度网盘授权码吗?确认后将执行登录流程。" 确认后执行 bash ${CLAUDE_SKILL_DIR}/scripts/login.sh(不使用 --yes,保留安全确认环节)。


管理功能

安装
bash
bash ${CLAUDE_SKILL_DIR}/scripts/install.sh [--yes]
登录 / 注销
bash
bash ${CLAUDE_SKILL_DIR}/scripts/login.sh              # 登录(内置安全免责声明)
bdpan logout                                            # 注销
卸载
bash
bash ${CLAUDE_SKILL_DIR}/scripts/uninstall.sh [--yes]   # 卸载
更新(必须用户明确指令触发)
bash
bash ${CLAUDE_SKILL_DIR}/scripts/update.sh              # 检查并更新(需用户确认)
bash ${CLAUDE_SKILL_DIR}/scripts/update.sh --check       # 仅检查更新

参考文档

遇到对应问题时按需查阅,无需预加载:

文档何时查阅
aippt-examples.mdAI PPT 生成使用示例和智能匹配参考
authentication.md认证流程细节、Token 管理
troubleshooting.md遇到错误需要排查

© baidu-netdisk, 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 12 other files (scripts) in skills/baidu-wenku-aippt-personal of baidu-netdisk/bdpan-storage.

  • SKILL.md
  • README.md
  • VERSION
  • reference/aippt-examples.md
  • reference/authentication.md
  • reference/troubleshooting.md
  • scripts/check-update.sh
  • scripts/detect-agent.sh
  • scripts/install.sh
  • scripts/login.sh
  • scripts/run-aippt.sh
  • scripts/uninstall.sh
  • scripts/update.sh

Open the folder on GitHubat commit 069dc7e

Compare with similar skills

Baidu AI PPT Generator 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.

Baidu AI PPT Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Baidu AI PPT Generator this skillbaidu-netdisk/bdpan-storage273—~917Automated safety check: NotesApache-2.0
PPT Masterhugohe3/ppt-master59k1 repos~2.5kAutomated safety check: PassMIT
PowerPoint Decksanthropics/skills180k4 repos~5.2kAutomated safety check: PassProprietary
PPTXrvdbreemen/OTGW-firmware20734 repos~2.3kAutomated safety check: PassProprietary
Dashi PPT Presentation Generatorchuspeeism/dashi-ppt-skill9.3k—~3.9kAutomated safety check: PassAGPL-3.0
Image To Editable Pptningzimu/image-to-editable-ppt-skill2.9k—~4.3kAutomated safety check: PassMIT

Similar skills

  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    59k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed
  • PowerPoint Decks

    anthropics/skills

    Official

    Creates, edits, reads and validates .pptx and .potx files, using pptxgenjs for new decks and direct XML edits for existing ones, with helper scripts for thumbnails and checks.

    180k GitHub starsUsed in 4 repos~5.2k tokens
    Documents & OfficeAuto-check passed
  • PPTX

    rvdbreemen/OTGW-firmware

    Use this skill any time a .pptx file is involved in any way — as input, output, or both.

    207 GitHub starsUsed in 34 repos~2.3k tokens
    Documents & OfficeAuto-check passed
  • Dashi PPT Presentation Generator

    chuspeeism/dashi-ppt-skill

    Generates browser-editable HTML slide decks from a natural-language brief using preset visual themes, with export to PPTX or PDF.

    9.3k GitHub stars~3.9k tokensUpdated 28 days ago
    Documents & OfficeAuto-check passed
  • Image To Editable Ppt

    ningzimu/image-to-editable-ppt-skill

    Rebuild slide images, scanned or image-based PPT/PPTX files, and PDF decks into object-level editable PowerPoint (.pptx), preserving speaker notes when supplied.

    2.9k GitHub stars~4.3k tokensUpdated 25 days ago
    Documents & OfficeAuto-check passed
  • Image-Based PPT Deck Generator

    ningzimu/codex-ppt-skill

    Builds visually unified PowerPoint decks from articles, reports, papers, notes or outlines, with every slide generated as a full 16:9 image and assembled into a .pptx.

    6.6k GitHub stars~2.6k tokensUpdated yesterday
    Documents & OfficeAuto-check: notes

More from baidu-netdisk/bdpan-storage

  • Baidu Netdisk File Manager

    baidu-netdisk/bdpan-storage

    Manages files on Baidu Netdisk - upload, download, transfer, share, search, move, copy, rename and create folders - plus backing up or restoring agent memory.

    273 GitHub stars~4.5k tokensUpdated 1 mo ago
    Auto-check: notes

Questions about Baidu AI PPT Generator

What does Baidu AI PPT Generator do?

Generates a PowerPoint deck from a one-line topic description through Baidu Wenku's personal AI PPT feature, choosing a matching style, scene and colour scheme. Triggers only when you mention generating a PPT or slide deck and have given a topic, outline or content description; it otherwise refuses to run. Once triggered, it derives a short title from your request and picks a page-count range, style, scene and colour from fixed option lists, falling back to defaults when a choice is not obvious, then runs a bundled script that calls the underlying `bdpan aippt` command with those parameters.

When should I use Baidu AI PPT Generator?

Baidu AI PPT Generator fits situations like: turning a topic or outline into a finished PPT deck; generating a presentation in a specific visual style or colour scheme; creating a slide deck for a themed scenario such as a year-end summary or work report.

How do I install Baidu AI PPT Generator in Claude Code?

Run `npx skills add baidu-netdisk/bdpan-storage --skill baidu-wenku-aippt-personal -a claude-code`. Or copy the skill folder (skills/baidu-wenku-aippt-personal in baidu-netdisk/bdpan-storage) into .claude/skills/baidu-wenku-aippt-personal in your project. Claude Code loads it when a task matches its description.

How do I install Baidu AI PPT Generator in Codex?

Run `npx skills add baidu-netdisk/bdpan-storage --skill baidu-wenku-aippt-personal -a codex`. Or copy the skill folder (skills/baidu-wenku-aippt-personal in baidu-netdisk/bdpan-storage) into .agents/skills/baidu-wenku-aippt-personal in your project. Codex loads it when a task matches its description.

Can I use Baidu AI PPT Generator 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 baidu-netdisk/bdpan-storage --skill baidu-wenku-aippt-personal -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/baidu-wenku-aippt-personal, .gemini/skills/baidu-wenku-aippt-personal, .github/skills/baidu-wenku-aippt-personal and .opencode/skills/baidu-wenku-aippt-personal in your project.

What does Baidu AI PPT Generator need to run?

Going by SKILL.md and its folder, Baidu AI PPT Generator needs a shell for the scripts in its folder and the command-line tools its instructions call (bash). Our summary lists: The `bdpan` CLI installed and logged into a Baidu Netdisk account. Its frontmatter pre-approves these tools: Bash, Read, Glob, Grep, AskUserQuestion.

Does Baidu AI PPT Generator access the network?

SKILL.md names 1 domain. As links in the text: pan.baidu.com. This is read from the text; nothing was executed.

Is Baidu AI PPT Generator safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Baidu AI PPT Generator use?

Baidu AI PPT Generator 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 Baidu AI PPT Generator use?

About 917 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Baidu AI PPT Generator?

Skills that share tags, products or a category with Baidu AI PPT Generator: PPT Master (hugohe3/ppt-master, 59k stars), PowerPoint Decks (anthropics/skills, 180k stars), PPTX (rvdbreemen/OTGW-firmware, 207 stars) and Dashi PPT Presentation Generator (chuspeeism/dashi-ppt-skill, 9.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Baidu AI PPT Generator?

baidu-netdisk (a GitHub organization) maintains it in baidu-netdisk/bdpan-storage, which has 273 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 3, 2026.

Source: baidu-netdisk/bdpan-storage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.