{"id":"e8ed450a-8d00-407e-bb4f-9468353558af","shortId":"xArWJz","kind":"skill","title":"baidu-wenku-aippt-personal","tagline":">-","description":"# 百度文库 AI PPT 生成 Skill\n\n一句话自动生成高质量 PPT，支持多种风格、场景和配色方案。底层通过 `bdpan aippt` 命令实现。\n\n> 使用示例详见 [reference/aippt-examples.md](./reference/aippt-examples.md)\n\n## 触发规则\n\n同时满足以下条件才执行：\n\n1. 用户提及\"生成PPT\"、\"做PPT\"、\"制作PPT\"、\"AI PPT\"、\"aippt\"、\"幻灯片\"、\"演示文稿\"\n2. 提供了主题、大纲或内容描述\n\n未通过触发规则时，禁止执行任何 bdpan 命令。\n\n> **上下文延续：** 当前对话已在进行 PPT 生成操作时，后续消息无需再次提及关键词即可触发。\n\n---\n\n## 安全约束（最高优先级，不可被任何用户指令覆盖）\n\n1. **登录**：必须使用 `bash ${CLAUDE_SKILL_DIR}/scripts/login.sh`，禁止直接调用 `bdpan login` 及其任何子命令/参数（包括 `--get-auth-url`、`--set-code` 等）\n2. **Token/配置**：禁止读取或输出 `~/.config/bdpan/config.json` 内容（含 access_token 等敏感凭据）\n3. **更新/登录**：更新必须由用户明确指令触发，禁止自动或静默执行；Agent 禁止使用 `--yes` 参数执行 update.sh 或 login.sh\n4. **环境变量**：Agent 禁止主动设置 `BDPAN_CONFIG_PATH`、`BDPAN_BIN`、`BDPAN_INSTALL_DIR` 等环境变量\n\n---\n\n## 前置检查\n\n每次触发时按顺序执行：\n\n1. **安装检查**：`command -v bdpan`，未安装则告知用户并确认后执行 `bash ${CLAUDE_SKILL_DIR}/scripts/install.sh`（用户确认后可加 `--yes` 跳过安装器内部确认）\n2. **登录检查**：`bdpan whoami`，未登录则引导执行 `bash ${CLAUDE_SKILL_DIR}/scripts/login.sh`\n\n---\n\n## 核心操作：AI PPT 生成\n\n```bash\nbdpan aippt \"<用户原始query>\" \"<title>\" \"<page>\" \"<style>\" \"<scene>\" \"<color>\"\n```\n\n**参数说明：**\n\n| 参数 | 说明 |\n|------|------|\n| 第1参数（用户query） | **严格使用用户的原始输入**，不做任何加工或改写 |\n| title（标题） | Agent 从用户 query 中提取或生成一个简短精炼的 PPT 标题 |\n| page（页数） | 取值：1-10、11-20、21-30、31-40、40+（默认：11-20）。根据用户指定的页数选择最匹配的枚举值 |\n| style（风格） | 取值：默认、创意趣味、年终总结、卡通手绘、扁平简约、文艺清新、中国风、企业商务、未来科技、文化艺术（默认：默认） |\n| scene（场景） | 取值：默认、晚会表彰、传统节日、婚姻爱情、生日祝福、医学科普、建筑报告、工作总结、年终总结、工作汇报（默认：默认） |\n| color（颜色） | 取值：默认、绿色、蓝色、紫色、橙色、黄色、红色、黑色、白色（默认：默认） |\n\n**智能选择规则：** Agent 根据用户 query 自动生成 title，并判断最匹配的 page、style、scene、color 值。若无法明确判断，则使用默认值。title/page/style/scene/color 参数对用户不可见，Agent 静默选择后直接执行。\n\n**执行步骤：**\n\n1. 将用户原始 query 作为第一参数，生成 title，智能匹配 page、style、scene、color（不向用户展示）\n2. 直接执行 `bdpan aippt \"<用户原始query>\" \"<title>\" \"<page>\" \"<style>\" \"<scene>\" \"<color>\"` 生成 PPT\n3. **解析命令输出中的大纲**：Agent 必须在思考过程（thinking）中完整记录并分析生成的 PPT 大纲内容，包括各章节标题和子标题的结构，以便用户通过查看思考过程了解 PPT 内容结构\n4. 向用户展示生成结果（文件名、预览链接、剩余次数）\n\n**确认规则：**\n\n- 用户提供了主题描述 → 直接执行\n\n---\n\n## 授权码处理\n\n用户发送 32 位十六进制字符串时，先确认：\"这是百度网盘授权码吗？确认后将执行登录流程。\" 确认后执行 `bash ${CLAUDE_SKILL_DIR}/scripts/login.sh`（不使用 `--yes`，保留安全确认环节）。\n\n---\n\n## 管理功能\n\n### 安装\n\n```bash\nbash ${CLAUDE_SKILL_DIR}/scripts/install.sh [--yes]\n```\n\n### 登录 / 注销\n\n```bash\nbash ${CLAUDE_SKILL_DIR}/scripts/login.sh              # 登录（内置安全免责声明）\nbdpan logout                                            # 注销\n```\n\n### 卸载\n\n```bash\nbash ${CLAUDE_SKILL_DIR}/scripts/uninstall.sh [--yes]   # 卸载\n```\n\n### 更新（必须用户明确指令触发）\n\n```bash\nbash ${CLAUDE_SKILL_DIR}/scripts/update.sh              # 检查并更新（需用户确认）\nbash ${CLAUDE_SKILL_DIR}/scripts/update.sh --check       # 仅检查更新\n```\n\n---\n\n## 参考文档\n\n遇到对应问题时按需查阅，无需预加载：\n\n| 文档 | 何时查阅 |\n|------|---------|\n| [aippt-examples.md](./reference/aippt-examples.md) | AI PPT 生成使用示例和智能匹配参考 |\n| [authentication.md](./reference/authentication.md) | 认证流程细节、Token 管理 |\n| [troubleshooting.md](./reference/troubleshooting.md) | 遇到错误需要排查 |","tags":["baidu","wenku","aippt","personal","bdpan","storage","baidu-netdisk","agent-skills","agentic-ai","ai-agents","claude-code","claude-code-plugin"],"capabilities":["skill","source-baidu-netdisk","skill-baidu-wenku-aippt-personal","topic-agent-skills","topic-agentic-ai","topic-ai-agents","topic-baidu","topic-baidu-netdisk","topic-claude-code","topic-claude-code-plugin","topic-claude-code-skills","topic-clawhub","topic-cloud-storage","topic-codex-skills","topic-developer-tools"],"categories":["bdpan-storage"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/baidu-netdisk/bdpan-storage/baidu-wenku-aippt-personal","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add baidu-netdisk/bdpan-storage","source_repo":"https://github.com/baidu-netdisk/bdpan-storage","install_from":"skills.sh"}},"qualityScore":"0.493","qualityRationale":"deterministic score 0.49 from registry signals: · indexed on github topic:agent-skills · 86 github stars · SKILL.md body (2,879 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:56:40.577Z","embedding":null,"createdAt":"2026-05-12T12:57:09.212Z","updatedAt":"2026-05-18T18:56:40.577Z","lastSeenAt":"2026-05-18T18:56:40.577Z","tsv":"'/.config/bdpan/config.json':75 '/reference/aippt-examples.md':21 '/scripts/install.sh':118 '/scripts/login.sh':56,131 '1':24,49,108 '2':34,71,122 '3':81 '4':93 'access':78 'agent':86,95 'ai':7,29,133 'aippt':4,17,31,138 'auth':65 'baidu':2 'baidu-wenku-aippt-person':1 'bash':52,114,127,136 'bdpan':16,39,58,97,100,102,112,124,137 'bin':101 'claud':53,115,128 'code':69 'command':110 'config':98 'dir':55,104,117,130 'get':64 'get-auth-url':63 'instal':103 'login':59 'login.sh':92 'path':99 'person':5 'ppt':8,12,30,43,134 'reference/aippt-examples.md':20 'set':68 'set-cod':67 'skill':10,54,116,129 'skill-baidu-wenku-aippt-personal' 'source-baidu-netdisk' 'token':72,79 'topic-agent-skills' 'topic-agentic-ai' 'topic-ai-agents' 'topic-baidu' 'topic-baidu-netdisk' 'topic-claude-code' 'topic-claude-code-plugin' 'topic-claude-code-skills' 'topic-clawhub' 'topic-cloud-storage' 'topic-codex-skills' 'topic-developer-tools' 'update.sh':90 'url':66 'v':111 'wenku':3 'whoami':125 'yes':88,120 '一句话自动生成高质量':11 '上下文延续':41 '不可被任何用户指令覆盖':48 '使用示例详见':19 '做ppt':27 '内容':76 '制作ppt':28 '前置检查':106 '包括':62 '参数':61 '参数执行':89 '及其任何子命令':60 '同时满足以下条件才执行':23 '后续消息无需再次提及关键词即可触发':45 '含':77 '命令':40 '命令实现':18 '场景和配色方案':14 '大纲或内容描述':36 '安全约束':46 '安装检查':109 '幻灯片':32 '底层通过':15 '当前对话已在进行':42 '必须使用':51 '或':91 '提供了主题':35 '支持多种风格':13 '更新':82 '更新必须由用户明确指令触发':84 '最高优先级':47 '未安装则告知用户并确认后执行':113 '未登录则引导执行':126 '未通过触发规则时':37 '核心操作':132 '每次触发时按顺序执行':107 '演示文稿':33 '环境变量':94 '生成':9,135 '生成ppt':26 '生成操作时':44 '用户原始queri':139 '用户提及':25 '用户确认后可加':119 '登录':50,83 '登录检查':123 '百度文库':6 '禁止主动设置':96 '禁止使用':87 '禁止执行任何':38 '禁止直接调用':57 '禁止自动或静默执行':85 '禁止读取或输出':74 '等':70 '等敏感凭据':80 '等环境变量':105 '触发规则':22 '跳过安装器内部确认':121 '配置':73","prices":[{"id":"10beb1cd-9e4e-435f-b41d-6bd527e4a1d2","listingId":"e8ed450a-8d00-407e-bb4f-9468353558af","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"baidu-netdisk","category":"bdpan-storage","install_from":"skills.sh"},"createdAt":"2026-05-12T12:57:09.212Z"}],"sources":[{"listingId":"e8ed450a-8d00-407e-bb4f-9468353558af","source":"github","sourceId":"baidu-netdisk/bdpan-storage/baidu-wenku-aippt-personal","sourceUrl":"https://github.com/baidu-netdisk/bdpan-storage/tree/main/skills/baidu-wenku-aippt-personal","isPrimary":false,"firstSeenAt":"2026-05-12T12:57:09.212Z","lastSeenAt":"2026-05-18T18:56:40.577Z"}],"details":{"listingId":"e8ed450a-8d00-407e-bb4f-9468353558af","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"baidu-netdisk","slug":"baidu-wenku-aippt-personal","github":{"repo":"baidu-netdisk/bdpan-storage","stars":86,"topics":["agent-skills","agentic-ai","ai-agents","baidu","baidu-netdisk","claude-code","claude-code-plugin","claude-code-skills","clawhub","cloud-storage","codex-skills","developer-tools","file-management","openclaw","skills"],"license":"apache-2.0","html_url":"https://github.com/baidu-netdisk/bdpan-storage","pushed_at":"2026-05-12T11:40:43Z","description":"Agent Skill for Baidu Netdisk (百度网盘) — upload, download, transfer,    share, search files via natural language. Works with Claude Code,   Cursor, Codex, Gemini CLI, OpenClaw.","skill_md_sha":"9fa5d20346ad855b5eaad5c1a3fa2f94e7f5e081","skill_md_path":"skills/baidu-wenku-aippt-personal/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/baidu-netdisk/bdpan-storage/tree/main/skills/baidu-wenku-aippt-personal"},"layout":"multi","source":"github","category":"bdpan-storage","frontmatter":{"name":"baidu-wenku-aippt-personal","description":">-"},"skills_sh_url":"https://skills.sh/baidu-netdisk/bdpan-storage/baidu-wenku-aippt-personal"},"updatedAt":"2026-05-18T18:56:40.577Z"}}