ppt-workflow-location
它能做什么
这项技能涵盖通过辅助智能体制作 PowerPoint 演示文稿,并在输出落入嵌套文件夹时找到它。它适合生成后找不到幻灯片文件的人。
适用场景
- ✓当辅助智能体制作了 PowerPoint,而我找不到它的时候。
- ✓当我需要制作包含特定幻灯片和内容的演示文稿的时候。
- ✓当输出文件可能位于意外的嵌套文件夹中的时候。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/ppt-workflow-location/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请制作一份关于我们营销计划的 10 页演示文稿,然后找到辅助智能体保存的文件,并把它复制到这里。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会请辅助智能体制作演示文稿并报告路径,然后用 find 查找所有 .pptx 文件,并把正确的那个复制到工作文件夹。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PowerPoint Generation and Location Workflow
When to Use This Skill
Use this workflow when:
- Direct document generation tools fail or are unavailable
- You need to create PowerPoint presentations with specific slide content and structure
- Output files may be created in unexpected nested directories within the workspace
Step 1: Generate PowerPoint via shell_agent
Delegate the PowerPoint creation task to shell_agent with clear specifications:
Use shell_agent to create a PowerPoint presentation with:
- Specify the exact number of slides needed
- Define the content/topic for each slide
- Request the file be saved with a clear filename (e.g., presentation.pptx)
- Ask the agent to confirm the file path after creation
Example task description:
Create a PowerPoint presentation with 10 slides covering [topic]. Each slide should have a title and bullet points. Save it as presentation.pptx and tell me the full file path.
Step 2: Locate the Output File
PowerPoint files created by shell_agent may be in nested workspace directories. Use the find command to locate them:
# Find all .pptx files in the workspace
find . -name "*.pptx" -type f
# Or search for a specific filename
find . -name "presentation.pptx" -type f
Step 3: Copy to Working Directory
Once located, copy the file to your working directory:
# Copy the found file to current directory
cp /path/to/found/presentation.pptx .
# Or move it if you prefer
mv /path/to/found/presentation.pptx .
Step 4: Verify the File
Confirm the file exists and is accessible:
# List the file with details
ls -la presentation.pptx
# Check file size to ensure it's not empty
file presentation.pptx
Common Pitfalls
- Don't assume the file is in the current directory - shell_agent may create files in subdirectories
- Don't skip the find step - always verify the file location before proceeding
- Check file size - ensure the PowerPoint file is not empty (0 bytes)
- Request confirmation - ask shell_agent to report the file path after creation
Example Workflow
# Step 1: shell_agent creates the presentation (done via task delegation)
# Step 2: Find the created file
find . -name "*.pptx" -type f
# Output: ./workspace/task_123/output/presentation.pptx
# Step 3: Copy to working directory
cp ./workspace/task_123/output/presentation.pptx .
# Step 4: Verify
ls -la presentation.pptx
# Output: -rw-r--r-- 1 user user 45632 Jan 15 10:30 presentation.pptx
Troubleshooting
| Problem | Solution |
|---|---|
| File not found with find | Search broader: find / -name "*.pptx" 2>/dev/null |
| File is 0 bytes | Re-run shell_agent task; ensure it completed successfully |
| Permission denied | Check directory permissions with ls -la on parent dirs |
| Multiple .pptx files found | Use more specific search: find . -name "*presentation*.pptx" |
常见问题
如何找到文件?
指南使用 find 命令搜索 .pptx 文件或特定的文件名。
文件被复制到哪里?
复制到当前的工作文件夹中。
为什么文件可能难以找到?
指南指出,辅助智能体创建的文件可能保存在嵌套的工作区文件夹中。
详情
作者的原始描述
Generate PowerPoint files using shell_agent and locate them in nested workspace directories
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #12946
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。