[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75XD1S3K52MKJ9D3H35XJSX":3,"skill-same:01M75XD1S3K52MKJ9D3H35XJSX":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M75XD1S3K52MKJ9D3H35XJSX","ppt-operation",null,"Presentation operation capability for creating, editing, formatting, and exporting PowerPoint presentations using Microsoft PowerPoint COM automation.","Passer1072\u002Fpi-assistant","Passer1072","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F145087619?v=4","01M75XC0MZ6M2ME6HQFR310ECB","PASSER","01M75XC0NNDJ8J4BSG4XEJ46FZ",0,"MIT","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop-assistant\u002Fskills\u002Fppt-operation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: ppt-operation\ndescription: Presentation operation capability for creating, editing, formatting, and exporting PowerPoint presentations using Microsoft PowerPoint COM automation.\n---\n\n# PPT Operation Capability\n\nUse this skill when the user asks to create, edit, format, or export PowerPoint presentations (.pptx).\n\n**Requirement**: Microsoft PowerPoint must be installed. If unavailable, tell the user and do not pretend the operation succeeded.\n\n## Available Tools\n\nThere are two backends for PowerPoint. Pick by the rules in **Tool Selection** below.\n\n**COM backend (drives Microsoft PowerPoint directly — works on the live, on-screen app):**\n\n| Tool | When to use |\n|------|-------------|\n| `ppt_create` | Create a new .pptx from an array of slide definitions |\n| `ppt_read` | Extract slide titles and text content from an existing .pptx |\n| `office_ppt_run` | COM escape hatch: operate a deck **currently open** in PowerPoint, make changes **visible live**, or animations \u002F master layout \u002F notes \u002F PDF export through PowerPoint |\n\n**File backend (`mcp_pptx_*`, python-pptx — edits the .pptx file on disk, no PowerPoint needed):**\n\n| Tool | When to use |\n|------|-------------|\n| `mcp_pptx_create_presentation` | Create a new deck on disk |\n| `mcp_pptx_apply_slide_template` \u002F `mcp_pptx_create_slide_from_template` | Professional templates and themed layouts |\n| `mcp_pptx_add_chart` \u002F `mcp_pptx_add_table` \u002F `mcp_pptx_add_shape` | Rich content elements |\n| `mcp_pptx_manage_slide_transitions` \u002F `mcp_pptx_apply_picture_effects` | Transitions and visual effects |\n| other `mcp_pptx_*` | Images, hyperlinks, connectors, text management, extract text |\n\n> `mcp_pptx_*` come from the optional **PPT 高级设计 (GongRzhe)** MCP server. If these tools are not in your tool list the server is disabled — use `office_ppt_run` for complex work instead.\n\n## Tool Selection (COM vs file backend)\n\n- **A deck is already OPEN in PowerPoint, or the user wants the change to appear live on screen** → use the COM tools (`ppt_read` \u002F `ppt_create` \u002F `office_ppt_run`). `mcp_pptx_*` **cannot** touch a file that PowerPoint has open (file lock; changes would not show in the open window).\n- **Simple new deck from a few title\u002Fcontent slides** → `ppt_create`.\n- **Rich design on a file on disk** (templates, themes, charts, tables, shapes, transitions, master layout) → prefer `mcp_pptx_*` so you don't have to hand-write COM PowerShell. If the same file happens to be open, close it first or fall back to `office_ppt_run`.\n\n## Execution Policy\n\n1. **Always use a tool** — never claim a presentation was created or modified without a successful tool call.\n2. Ask for the file path if not provided. Default to `$env:USERPROFILE\\Documents\\` if unspecified. `mcp_pptx_*` expects an absolute path.\n3. Use `ppt_read` (or `mcp_pptx_*` extract) first to understand the existing structure before editing.\n4. Use `ppt_create` for simple new decks; use `mcp_pptx_*` for template\u002Fdesign\u002Fchart work on a closed file, and `office_ppt_run` only when the deck is open in PowerPoint or must stay live.\n\n## ppt_create — Slide Definitions\n\n```\nppt_create(\n  path=\"C:\\Users\\user\\Documents\\deck.pptx\",\n  slides=[\n    { \"title\": \"Company Overview\", \"content\": \"Founded 2020\\nHeadquarters: Beijing\\n500+ employees\", \"layout\": 1 },\n    { \"title\": \"Key Metrics\", \"content\": \"Revenue: ¥50M\\nGrowth: 35%\\nNPS: 72\", \"layout\": 1 },\n    { \"title\": \"Thank You\", \"layout\": 7 }\n  ]\n)\n```\n\n**Layout values:** 1=Title+Content (default), 2=Title+Body, 7=TitleOnly, 12=Blank\n\n**In content:** Use `\\n` to separate bullet points.\n\n## office_ppt_run — Common Examples\n\n**Add speaker notes to all slides:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\nfor ($i = 1; $i -le $pres.Slides.Count; $i++) {\n    $pres.Slides.Item($i).NotesPage.Shapes.Item(2).TextFrame.TextRange.Text = \"Speaker notes for slide $i\"\n}\n$pres.Save()\n$pres.Close()\nWrite-Output \"Notes added to $($pres.Slides.Count) slides\"\n```\n\n**Export presentation to PDF:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\n$pres.ExportAsFixedFormat('C:\\Users\\user\\Documents\\deck.pdf', 2)  # 2 = ppFixedFormatTypePDF\n$pres.Close()\nWrite-Output \"Exported to PDF\"\n```\n\n**Change slide background color (RGB):**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\nfor ($i = 1; $i -le $pres.Slides.Count; $i++) {\n    $bg = $pres.Slides.Item($i).Background\n    $bg.Fill.ForeColor.RGB = 0x1E3A5F  # Dark blue\n    $bg.Fill.Solid()\n}\n$pres.Save()\n$pres.Close()\nWrite-Output \"Background color set\"\n```\n\n**Apply a theme from a .thmx file:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\n$pres.ApplyTheme('C:\\path\\to\\theme.thmx')\n$pres.Save()\n$pres.Close()\nWrite-Output \"Theme applied\"\n```\n\n**Add a new slide at the end:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\n$newSlide = $pres.Slides.Add($pres.Slides.Count + 1, 1)\n$newSlide.Shapes.Title.TextFrame.TextRange.Text = \"New Slide Title\"\n$newSlide.Shapes.Item(2).TextFrame.TextRange.Text = \"Content here\"\n$pres.Save()\n$pres.Close()\nWrite-Output \"Slide added\"\n```\n\n## Output Conventions\n\n- Report the output file path and slide count after creation.\n- For edits, confirm what was changed.\n- If PowerPoint is not installed, clearly say so rather than failing silently.\n","# PPT Operation Capability\n\nUse this skill when the user asks to create, edit, format, or export PowerPoint presentations (.pptx).\n\n**Requirement**: Microsoft PowerPoint must be installed. If unavailable, tell the user and do not pretend the operation succeeded.\n\n## Available Tools\n\nThere are two backends for PowerPoint. Pick by the rules in **Tool Selection** below.\n\n**COM backend (drives Microsoft PowerPoint directly — works on the live, on-screen app):**\n\n| Tool | When to use |\n|------|-------------|\n| `ppt_create` | Create a new .pptx from an array of slide definitions |\n| `ppt_read` | Extract slide titles and text content from an existing .pptx |\n| `office_ppt_run` | COM escape hatch: operate a deck **currently open** in PowerPoint, make changes **visible live**, or animations \u002F master layout \u002F notes \u002F PDF export through PowerPoint |\n\n**File backend (`mcp_pptx_*`, python-pptx — edits the .pptx file on disk, no PowerPoint needed):**\n\n| Tool | When to use |\n|------|-------------|\n| `mcp_pptx_create_presentation` | Create a new deck on disk |\n| `mcp_pptx_apply_slide_template` \u002F `mcp_pptx_create_slide_from_template` | Professional templates and themed layouts |\n| `mcp_pptx_add_chart` \u002F `mcp_pptx_add_table` \u002F `mcp_pptx_add_shape` | Rich content elements |\n| `mcp_pptx_manage_slide_transitions` \u002F `mcp_pptx_apply_picture_effects` | Transitions and visual effects |\n| other `mcp_pptx_*` | Images, hyperlinks, connectors, text management, extract text |\n\n> `mcp_pptx_*` come from the optional **PPT 高级设计 (GongRzhe)** MCP server. If these tools are not in your tool list the server is disabled — use `office_ppt_run` for complex work instead.\n\n## Tool Selection (COM vs file backend)\n\n- **A deck is already OPEN in PowerPoint, or the user wants the change to appear live on screen** → use the COM tools (`ppt_read` \u002F `ppt_create` \u002F `office_ppt_run`). `mcp_pptx_*` **cannot** touch a file that PowerPoint has open (file lock; changes would not show in the open window).\n- **Simple new deck from a few title\u002Fcontent slides** → `ppt_create`.\n- **Rich design on a file on disk** (templates, themes, charts, tables, shapes, transitions, master layout) → prefer `mcp_pptx_*` so you don't have to hand-write COM PowerShell. If the same file happens to be open, close it first or fall back to `office_ppt_run`.\n\n## Execution Policy\n\n1. **Always use a tool** — never claim a presentation was created or modified without a successful tool call.\n2. Ask for the file path if not provided. Default to `$env:USERPROFILE\\Documents\\` if unspecified. `mcp_pptx_*` expects an absolute path.\n3. Use `ppt_read` (or `mcp_pptx_*` extract) first to understand the existing structure before editing.\n4. Use `ppt_create` for simple new decks; use `mcp_pptx_*` for template\u002Fdesign\u002Fchart work on a closed file, and `office_ppt_run` only when the deck is open in PowerPoint or must stay live.\n\n## ppt_create — Slide Definitions\n\n```\nppt_create(\n  path=\"C:\\Users\\user\\Documents\\deck.pptx\",\n  slides=[\n    { \"title\": \"Company Overview\", \"content\": \"Founded 2020\\nHeadquarters: Beijing\\n500+ employees\", \"layout\": 1 },\n    { \"title\": \"Key Metrics\", \"content\": \"Revenue: ¥50M\\nGrowth: 35%\\nNPS: 72\", \"layout\": 1 },\n    { \"title\": \"Thank You\", \"layout\": 7 }\n  ]\n)\n```\n\n**Layout values:** 1=Title+Content (default), 2=Title+Body, 7=TitleOnly, 12=Blank\n\n**In content:** Use `\\n` to separate bullet points.\n\n## office_ppt_run — Common Examples\n\n**Add speaker notes to all slides:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\nfor ($i = 1; $i -le $pres.Slides.Count; $i++) {\n    $pres.Slides.Item($i).NotesPage.Shapes.Item(2).TextFrame.TextRange.Text = \"Speaker notes for slide $i\"\n}\n$pres.Save()\n$pres.Close()\nWrite-Output \"Notes added to $($pres.Slides.Count) slides\"\n```\n\n**Export presentation to PDF:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\n$pres.ExportAsFixedFormat('C:\\Users\\user\\Documents\\deck.pdf', 2)  # 2 = ppFixedFormatTypePDF\n$pres.Close()\nWrite-Output \"Exported to PDF\"\n```\n\n**Change slide background color (RGB):**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\nfor ($i = 1; $i -le $pres.Slides.Count; $i++) {\n    $bg = $pres.Slides.Item($i).Background\n    $bg.Fill.ForeColor.RGB = 0x1E3A5F  # Dark blue\n    $bg.Fill.Solid()\n}\n$pres.Save()\n$pres.Close()\nWrite-Output \"Background color set\"\n```\n\n**Apply a theme from a .thmx file:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\n$pres.ApplyTheme('C:\\path\\to\\theme.thmx')\n$pres.Save()\n$pres.Close()\nWrite-Output \"Theme applied\"\n```\n\n**Add a new slide at the end:**\n```powershell\n$pres = $Ppt.Presentations.Open('C:\\Users\\user\\Documents\\deck.pptx')\n$newSlide = $pres.Slides.Add($pres.Slides.Count + 1, 1)\n$newSlide.Shapes.Title.TextFrame.TextRange.Text = \"New Slide Title\"\n$newSlide.Shapes.Item(2).TextFrame.TextRange.Text = \"Content here\"\n$pres.Save()\n$pres.Close()\nWrite-Output \"Slide added\"\n```\n\n## Output Conventions\n\n- Report the output file path and slide count after creation.\n- For edits, confirm what was changed.\n- If PowerPoint is not installed, clearly say so rather than failing silently.\n",{"name":5,"description":7},"main","9472a58974a90ced8c5d1093f22097b63695c65f","packages\u002Fdesktop-assistant\u002Fskills\u002Fppt-operation","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant","https:\u002F\u002Fgithub.com\u002FPasser1072","小孩子不懂事写着玩","2026-06-30 20:18:39",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Passer1072\u002Fpi-assistant --skill ppt-operation",{"tool":37,"command":38},"bunx","bunx skills add Passer1072\u002Fpi-assistant --skill ppt-operation",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Passer1072\u002Fpi-assistant --skill ppt-operation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop-assistant\u002Fskills\u002Fppt-operation\u002FSKILL.md",true,[],[46,52,59,66,73,80],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":19},"01M75XD653SR2XQ4VANK0MW2RG","voice-input","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop-assistant\u002Fskills\u002Fvoice-input\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M75XD42PV96TYTK929ADGEJ5","system-operation","Windows system operation capability for controlling the desktop through background commands, system APIs, safe PowerShell, process launch, window control, and GUI automation when needed.","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop-assistant\u002Fskills\u002Fsystem-operation\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M75XCYWS1KYJPJRHEGNGZN5B","excel-operation","Spreadsheet operation capability for reading, writing, formatting, and automating Excel workbooks using Microsoft Excel COM automation.","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop-assistant\u002Fskills\u002Fexcel-operation\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M75XCVSHXG5CXDYY97TQ738B","document-operation","Document operation capability for creating, inspecting, editing, verifying, formatting, exporting, and managing Word documents using Microsoft Word COM automation.","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop-assistant\u002Fskills\u002Fdocument-operation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M75XCTQQK8NBC7BJ2NY319SM","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M75XCSPR9QXFK43VRDT94QJK","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002FPasser1072\u002Fpi-assistant\u002Fblob\u002Fmain\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[]]