spritecook-upload-assets

spritecook-upload-assets is a skill for Claude Code from SpriteCook/claude-plugin. It costs 59 tokens per session (545 once invoked), scanned A, a copy of spritecook-upload-assets, MIT.

A workflow for uploading local image files to SpriteCook, a service for creating and working with image assets. It turns a file path into a reusable SpriteCook asset identifier.

In plain words
What is it for?
Uploading reference images, style guides, tilesets, animation sources, or images for background removal and later SpriteCook workflows.
Why use it?
It avoids manually handling encoded image data or exposing API keys and temporary upload details in logs or project files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the spritecook plugin — 9 skills, 1 MCP server shipped together

Good fit Uploading reference images, style guides, tilesets, animation sources, or images for background…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spritecook/claude-plugin/spritecook-upload-assets
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SpriteCook/claude-plugin --skill spritecook-upload-assets
Clone the repo
git clone --depth 1 https://github.com/SpriteCook/claude-plugin

Made for: Claude Code.

Or install spritecook, the plugin that ships this one along with the rest of its 9 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spritecook-upload-assets

README.md
[![agentmods](https://agentmods.dev/badge/skills/spritecook/claude-plugin/spritecook-upload-assets.svg)](https://agentmods.dev/skills/spritecook/claude-plugin/spritecook-upload-assets)
Your own site
<a href="https://agentmods.dev/skills/spritecook/claude-plugin/spritecook-upload-assets"><img src="https://agentmods.dev/badge/skills/spritecook/claude-plugin/spritecook-upload-assets.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00545
Opus 5 $0.00030 $0.00272
Sonnet 5 $0.00012 $0.00109
Haiku 4.5 $0.00006 $0.00055

Measured 7d ago against content hash dbc045abaa28, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

spritecook-upload-assets scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to spritecook-upload-assets — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/spritecook-upload-assets/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

On Windows, upload without printing bytes:

Invoke-WebRequest -Method Put -Uri $uploadUrl -InFile $path -ContentType $contentType | Out-Null

Use variables for $uploadUrl, $path, and $contentType; do not echo them if they include the upload token.

When To Use Inline Import

Use import_asset(image=...) only when the image is already a small data URL or base64 value that can be passed directly without logging it.

Do not use shell commands that print base64 to the terminal. If encoding is necessary, store the value in memory or a private variable and pass it directly to the MCP tool.

Reusing Uploaded Assets

  • Use reference_asset_id when the uploaded asset is one specific source or context image.
  • Use edit_asset_id only when the uploaded asset is the one image being directly modified.
  • Use style_asset_ids on generate_game_art when uploaded assets are ambient style guides; pass up to 10 IDs.
  • Use style_asset_id on generate_tileset for one tileset style guide image.
  • Use asset_id on animate_game_art when the uploaded asset is the source to animate.

Save the returned asset_id and a local file hash in the project manifest when the workspace is writable.

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 48 lines · 59 tokens per session scan A dbc045abaa28

Subscribe to this mod's changes

spritecook-upload-assets is a skill published in the GitHub repository SpriteCook/claude-plugin (17 stars, last pushed 20d ago), licensed MIT. It adds 59 tokens to every session and 545 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to spritecook-upload-assets, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

general-video

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…

heygen-com/hyperframes · 92 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

diagnostic-stem-delivery

Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.

HKUDS/OpenSpace · 23 tokens

chengfeng-check-updates

An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.

Agentchengfeng/chengfeng-videocut-skills · 120 tokens