spritecook-upload-assets

Installation
SKILL.md

SpriteCook Upload Assets

Use this skill when a local image file should become a reusable SpriteCook asset_id.

Pair it with spritecook-workflow-essentials for credential safety, manifests, and downstream asset reuse.

Preferred Flow

  1. Inspect the local file path without printing file bytes.
  2. Determine file_name, MIME content_type, optional size_bytes, and whether pixel should be true.
  3. Call create_asset_upload(file_name=..., content_type=..., pixel=..., size_bytes=...).
  4. Upload the file bytes to the returned upload_url with HTTP PUT and the returned headers.
  5. Call finalize_asset_upload(upload_token=...).
  6. Use the returned asset_id in the next SpriteCook tool.

The upload URL and token are short-lived secrets. Do not print them in user-facing prose, save them to project files, or include them in manifests.

PowerShell Pattern

Installs
59
GitHub Stars
24
First Seen
Jun 20, 2026
spritecook-upload-assets — spritecook/skills