ChatGPT Agent Skill plugin — supported way to save generated files to Library?

  1. Is there a supported first-party mechanism for an Agent Skill to export a generated file into a persistent conversation file snapshot?

  2. Has anyone successfully used files__manage_library.upload from an ordinary ChatGPT Agent Skill?

  3. Is the documented plugin UI function window.openai.uploadFile(file, { library: true }) relevant here, or does it require a different plugin architecture?

  4. What is the simplest demonstrated approach to preserving exact original-file bytes and retrieving them from a separate ChatGPT conversation?

  5. Can an MCP App widget receive the exact original bytes of a file created by an Agent Skill in ChatGPT’s temporary container, and then save that file using window.openai.uploadFile(file, { library: true })?

  6. If supported, what mechanism transfers those bytes into the widget without reconstructing the original file or requiring the customer to download and re-upload it?

I’m looking for a supported, reproducible solution rather than an undocumented workaround.

The project uses synthetic test data, and no changes to the existing implementation are being made until we identify a credible solution.

Thanks for any technical guidance.