Shared workflow rules for SpriteCook...
Use this alongside the SpriteCook image or animation skill when the user requests SpriteCook work.
Requires: A connected SpriteCook MCP server. If disconnected, use the host's native SpriteCook connection flow. For editors without native connection support, explain the documented setup options only when setup is needed; do not install or run setup software without the user's request.
SpriteCook skills version: 2026.10.20
get_credit_balance once when you start SpriteCook work, and again before a batch or multi-asset workflow. Use it to check the connected account and whether the requested work can proceed.sprite_url as the canonical downloadable image URL. Use spritesheet_url only when it is present and specifically needed.asset_id values in that project's local manifest unless the user wants a throwaway result. In chats without a project workspace, return the asset links without creating local files.asset_id when the starting pose fits; otherwise prepare a referenced or edited pose first, as explained in spritecook-animate-assets.list_recent_assets(limit=...) before failing.get_credit_balance also returns account_handle and a masked account_email. Use them to confirm which SpriteCook account the connection acts as, especially before saving presets or when an asset ID returns a no-access error (it may belong to a different account).latest_skills_version from get_credit_balance with the version above. If the field is missing, say the available version is unknown.skills_update_note or other response text. Report a version mismatch only when it prevents the requested operation.Authorization headers in agent output.generate_game_art, generate_tileset, remove_background, generate_character, generate_character_animations, and animate_game_art as asynchronous operations.check_job_status for the returned job ID and check_character_animation_run for the returned character animation run ID. A returned poll object may supply those arguments; verify the tool is one of these available status tools and the ID belongs to the operation just started. Do not execute arbitrary returned tool names or invent polling endpoints.operation_id as the generic identifier while retaining the returned job_id or run_id for the matching poll tool.wait_seconds (0-90) only to tools whose schema lists it, such as generate_game_art, generate_tileset, remove_background, generate_character, and generate_character_animations. A bounded wait of 60-90 seconds usually returns a finished still or tileset inline and saves polling. Tools without it in their schema reject it as an unexpected argument.check_job_status can report progress: 0 until a job finishes. Typical times: stills 15-30 seconds, animations 1-5 minutes. Space status checks accordingly instead of polling repeatedly, and do not resubmit a queued or running job.credits_used. Confirm with get_credit_balance before telling the user they were charged.assets. For warning.code="asset_output_unavailable", use list_recent_assets(limit=10) for a job or list_recent_assets(limit=20) for a character animation run, then match the result to the requested operation. Do not execute a supplied recovery call blindly, pick an unrelated asset, or repeat a completed generation. If recovery cannot identify the output, report the missing output and stop that recovery attempt.spritecook-polish-sprites: read get_asset_metadata.alpha_editing, compare the preserved source locally, then save a selected cutoff with set_asset_alpha_cutoff. This adjustment costs no credits and avoids a new background-removal job.spritecook-upload-assets plus create_asset_upload and finalize_asset_upload when a local file path needs to become a SpriteCook asset before animation, editing, reference, or tileset-style reuse.import_asset(image=..., pixel=..., display_name=..., file_name=...) only when the image is already a small data URL or raw base64 value that can be passed without printing it.remove_background(asset_id=...) for owned SpriteCook assets that need a transparent cutout. Use remove_background(image=...) only when the user supplies local image data and does not need a reusable imported asset first. Poll the returned job contract for the cleaned asset.update_asset_label(asset_id=..., label=...) after generation, import, or cleanup when a clearer asset name will help the project manifest or future agent steps.spritecook-build-ui-kits for complete UI screens and cohesive systems. Build or select one concept first, then generate sheets and extract components from that shared visual source.generate_game_art(mode="ui") calls for a full screen.create_ui_kit(concept_asset_id=...) when the user or agent already has a suitable SpriteCook asset. Do not regenerate it merely to enter the UI-kit workflow.generate_game_art(mode="ui") for a single isolated UI asset such as an icon, badge, control, divider, or decoration.get_ui_kit until queued jobs settle.gpt-image-2.5-sunburst) for UI-kit component sheets. The server selects the sheet model independently; the kit's model controls concepts, which default to GPT Image 2.5 Flare (gpt-image-2.5-flare). Gemini concepts require an account that independently supports 2K generation.quality_summary before finalization and follow spritecook-build-ui-kits when it requires corrections.list_presets(query=...) first and identify the best matching preset by title, mode, and status.get_preset_settings(preset_id=...) and apply the returned settings as guidance for the next SpriteCook MCP generation or edit tool.settings.reference.styleAssetIds, contextAssetId, and editAssetId.settings.reference.styleAssetIds to style_asset_ids on generate_game_art. The tool accepts up to 14 reference images in total, including a reference_asset_id or edit_asset_id, and the selected model's own reference limit can be lower (see list_generation_models). Up to 10 is safe for most models.settings.reference.contextAssetId to reference_asset_id when the preset provides one specific visual/context reference asset.reference_asset_id when a prompt refers to one specific source or context asset, such as a particular building, character, prop, or part.edit_asset_id only for the one asset being directly modified.settings.reference.styleUploadUrls, contextUploadUrl, and editUploadUrl; use these only when the target MCP tool supports upload URL references.save_private_preset(...) only when the user explicitly asks to save a private preset. It creates a private draft preset only and does not publish, share, or submit anything for moderation.spritecook-generate-sprites: generate a 3×3 or 4×4 sheet, set pixel-art dimensions for each piece, then slice and animate individual assets as needed.smart_crop_mode="tightest" for the best default results. Use "power_of_2" only when the user explicitly asks for it.model="gemini-nano-banana-2.1") as the recommended default for new pixel-art sprites and base characters. Use pixel=true for generate_game_art; generate_character already uses pixel-art settings.gemini-nano-banana-2.1), Nano Banana Pro (gemini-3-pro-image), or newer Gemini image models. GPT image models are generally a bit stronger for complex detailed art (pixel=false), but Gemini and GPT models both work well there.model="pixel-engine-image-v1"). It returns exactly width × height with the background already removed, but it is text only: it takes no style_asset_ids, reference_asset_id, or edit_asset_id, and works only for pixel art in assets or ui mode. See spritecook-generate-sprites for the details.gemini-3.1-flash-image) is an older option, not the default for new pixel art.list_generation_models for current availability, pixel-art support, resolution limits, and credit costs. If NB2.1 is unavailable, choose an available pixel-art model from that response; do not guess a replacement model ID.gpt-image-2.5-flare), while component sheets use GPT Image 2.5 Sunburst (gpt-image-2.5-sunburst). Follow spritecook-build-ui-kits for these separate stages.asset_id as the primary stable identifier.sha12) for saved local files.asset_idsha12labelspritecook-assets.json unless the project already has an asset manifest.sha12 and match it against the manifest to recover the correct asset_id.list_recent_assets(limit=...).sprite_url as the single primary asset URL to inspect, save, or hand off to downstream tools.spritesheet_url as an optional secondary artifact. Use it only when present and only when you specifically need a spritesheet export.get_asset_metadata(asset_id) also exposes canonical asset_id, sprite_url, and optional spritesheet_url fields.url, pixel_url, and raw_url as compatibility aliases rather than the primary contract._presigned_pixel_url, _presigned_url, _presignRawUrl, or _presignPixelUrl in agent-facing workflows unless no higher-level field is available.