pptx
Installation
SKILL.md
PPTX creation, editing, and analysis
Execution Rules
- ALL code execution MUST use the
code_interpretertool. Do NOT use theshelltool. - Generate the COMPLETE presentation and upload to S3 in a SINGLE
code_interpretercall. Do NOT split into multiple calls. - Before calling
code_interpreter, callartifact_path(filename="presentation.pptx")to get the S3 bucket and key. - After completion, report the
artifact_refto the user. - If
code_interpreterfails with an error, do NOT retry automatically. Report the error to the user and ask for clarification or guidance. Do not make multiple retry attempts without user input.
Workflow
- Call
artifact_path(filename="presentation.pptx")— returns{ s3_uri, bucket, key, artifact_ref } - Copy the actual
s3_uristring value from the artifact_path result and hardcode it as a string literal in your code_interpreter script. Do NOT use variable references — the code_interpreter runs in an isolated sandbox and cannot access the agent's tool results. - Call
code_interpreterONCE with a single script that does everything: create the presentation, save it, and upload to S3.
!pip install python-pptx