spritecook-workflow-essentials
Installation
SKILL.md
SpriteCook Workflow Essentials
Use this alongside the SpriteCook image or animation skill whenever SpriteCook MCP tools are available.
Requires: SpriteCook MCP server connected to your editor. Set up with npx spritecook-mcp setup or see spritecook.ai.
Preflight Checklist
- Check credits first with
get_credit_balancebefore starting a batch or multi-asset workflow. - Prefer presigned download URLs over authenticated asset endpoints.
- Save important
asset_idvalues in a local manifest whenever there is a writable workspace, unless the user explicitly wants a throwaway result. - When a workflow involves follow-up generations or animations for the same subject, identify and reuse the canonical
asset_idinstead of generating from scratch again. - If the agent loses track of generated asset IDs, recover them with
list_recent_assets(limit=...)before failing.
Credential Safety
- Never ask the user to paste a SpriteCook API key into chat, prompts, code blocks, shell commands, or generated files.
- Never print, persist, echo, or inline API keys or
Authorizationheaders in agent output. - Prefer SpriteCook MCP tools, presigned URLs, or a preconfigured local connector/helper that handles authentication outside the prompt.
- If a raw API call is required and no authenticated helper exists, stop and ask the user to configure one.
Defaults
- Prefer
smart_crop_mode="tightest"for the best default results. Use"power_of_2"only when the user explicitly asks for it. - Model guidance:
gemini-2.5-flash-image: cheapestgemini-3.1-flash-image-preview: recommended defaultgemini-3-pro-image-preview: most expensive
Asset Manifest
- Treat
asset_idas the primary stable identifier. - Store a 12-character SHA-256 prefix (
sha12) for saved local files. - Use a minimal manifest entry shape:
asset_idsha12- optional
label
- Prefer a simple machine-readable file such as
spritecook-assets.jsonunless the project already has an asset manifest. - Before generating a new reference asset or asking the user for an asset id, check the local manifest first.
- Before reusing a local file, compute its
sha12and match it against the manifest to recover the correctasset_id.
Downloading Assets
- For recent-asset recovery flows, prefer
list_recent_assets(limit=...). - Treat
sprite_urlas the single primary asset URL to inspect, save, or hand off to downstream tools. - Treat
spritesheet_urlas an optional secondary artifact. Use it only when present and only when you specifically need a spritesheet export. - For single-asset inspection flows,
get_asset_metadata(asset_id)also exposes a primaryurlplus optionalspritesheet_url. - Avoid relying on low-level internal fields such as
_presigned_pixel_urlor_presigned_urlin agent-facing workflows unless no higher-level field is available. - Avoid direct authenticated download endpoints in skill-driven workflows unless a helper handles auth out of band.
Related skills
More from spritecook/skills
spritecook-generate-sprites
Still-image generation guide for SpriteCook. Use with spritecook-workflow-essentials when generating pixel art or detailed/HD assets, choosing models, and keeping style consistency with reference assets.
265spritecook-animate-assets
Animation guide for SpriteCook. Use with spritecook-workflow-essentials when importing source images, writing stronger motion prompts, and animating existing assets.
183