Skip to content

Missing skill for uploading pre-built PNG files to S3 #83

Description

@krishagel

Summary

No available skill supports uploading a pre-built PNG/PDF file directly to S3. The agent was asked to upload a pre-built PNG infographic (not agent-generated) but could not find a sanctioned tool: psd-html-artifact/deliver.js only accepts .html files (hard extension check), and psd-image-gen/generate.js only uploads images it generates itself from a prompt. Per Rule 9, the agent did not write custom S3 upload code and instead offered to wrap the PNG in a minimal HTML page as the closest sanctioned alternative.

Definition of Done

  • Root cause identified: confirm no existing skill supports arbitrary PNG/PDF upload to S3
  • Proposed solution documented (e.g., extend psd-html-artifact to accept PNG/PDF, or create a new psd-file-upload skill)
  • (manual) Solution implemented and verified

Affected failures

ID Occurred At (UTC) User Source Error
249 2026-07-29 19:44:08 beattiet@psd401.net agent_self_report tool_unavailable — no skill supports uploading pre-built PNG to S3

Affected users

Error details

error_class: tool_unavailable
error_message: "User asked to upload a pre-built PNG infographic (not agent-generated via psd-image-gen, not an .html artifact) directly to S3 with a shareable link. No available skill supports uploading an arbitrary pre-existing PNG/PDF file: psd-html-artifact/deliver.js only accepts .html files (hard extension check), and psd-image-gen/generate.js only uploads images it generates itself from a prompt (or edits via --image as a reference input to OpenAI, not a passthrough upload). Per Rule 9 I did not write custom S3 upload code to work around this. Offered to wrap the PNG in a minimal HTML page and deliver that via psd-html-artifact as the closest sanctioned alternative."
context: {"tool": null, "user_facing": true, "self_reported": true}

Acceptance tests / E2E flows

N/A — this is a feature gap, not a code bug.

Affected areas

  • psd-html-artifact/deliver.js (hard .html extension check)
  • psd-image-gen/generate.js (only uploads self-generated images)
  • S3 upload tooling

Out of scope

  • Writing custom S3 upload code as a workaround
  • Changing the agent self-reporting behavior

Risk & rollback

  • Risk: low — new feature/skill addition
  • Rollback: remove the new skill or revert the extension

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions