OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add spritecook/skills --skill spritecook-workflow-essentials
Shared workflow rules for SpriteCook. Use together with SpriteCook generation, UI-kit building, animation, import, background-removal, and asset-organization workflows for credits, downloads, asset manifests, safe auth handling, and recommended defaults.
npx skills add spritecook/skills --skill 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.
get_credit_balance before starting a batch or multi-asset workflow.sprite_url as the canonical downloadable image URL. Use spritesheet_url only when it is present and specifically needed.asset_id values in a local manifest whenever there is a writable workspace, unless the user explicitly wants a throwaway result.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).Authorization headers in agent output.generate_game_art, generate_tileset, remove_background, generate_character, generate_character_animations, and animate_game_art as asynchronous operations.poll.tool with its exact poll.arguments. Do not invent a polling endpoint or search arbitrary response fields.operation_id as the generic identifier while retaining the returned job_id or run_id for the matching poll tool.wait_seconds only when the tool exposes it and an explicit bounded wait is useful; the normal default is immediate return.assets. If the response contains warning.code="asset_output_unavailable", execute its supplied warning.recovery tool call.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; use up to 10 IDs.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-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.