spritecook-use-presets — Claude Code skill: SpriteCook presets over
This skill pulls your saved SpriteCook presets through MCP and maps their settings onto new asset generation. Useful when a set of images has to share one look.
npx skills add SpriteCook/skills --skill spritecook-use-presets -a claude-codeWhat spritecook-use-presets does
A preset in SpriteCook is a saved bundle of settings and a prompt recipe. You tune it in the app, then the agent fetches it over MCP and reuses it, so a batch of related assets keeps the same style, model, dimensions and colour guidance.
The skill runs alongside spritecook-workflow-essentials and the generation skill for your asset type. It calls list_presets(query=...) with the preset name or intent, picks the best match by title, mode and description, then calls get_preset_settings(preset_id=...) and maps the result onto tool arguments: prompt, themeText, styleText, width, height, pixel, bgMode, colors. References go to style_asset_ids (up to 10), reference_asset_id and edit_asset_id; tilesets use tilesetPerspective, tilesetPieceSet and tilesetElevation.
A preset guides style, it does not overwrite what you asked for. If several presets look plausible, the skill asks a short clarifying question first. Published presets return media URLs that some generation tools cannot consume — in that case the text, model and size settings still apply, and the agent tells you the media reference was skipped. Saving happens only through save_private_preset, as a private draft, with no publishing or moderation.
What it helps with
- generate a sprite set that matches a saved preset
- map preset settings onto MCP generation arguments
- carry style reference images into a new generation
- save working settings as a private preset for later runs
- disambiguate between several similarly named presets
Example prompts for the agent
- use my character preset for a blue wizard idle sprite
- generate assets in the same style as my saved preset
- save these settings as a private preset
How to install spritecook-use-presets
1Skills CLI (Vercel)
npx skills add SpriteCook/skills --skill spritecook-use-presets -a claude-code2Manually: put the files in place
~/.claude/skills/spritecook-use-presets/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/spritecook-use-presets/
1Skills CLI (Vercel)
npx skills add SpriteCook/skills --skill spritecook-use-presets -a codex2Manually: put the files in place
.agents/skills/spritecook-use-presets/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add SpriteCook/skills --skill spritecook-use-presets -a cursor2Manually: put the files in place
.cursor/skills/spritecook-use-presets/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install SpriteCook/skills spritecook-use-presets2Manually: put the files in place
.github/skills/spritecook-use-presets/SKILL.md1Skills CLI (Vercel)
npx skills add SpriteCook/skills --skill spritecook-use-presets -a gemini-cli2Platform CLI
gemini skills install https://github.com/SpriteCook/skills --path skills/spritecook-use-presetsManually: put the files in place
.devin/skills/spritecook-use-presets/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add SpriteCook/skills --skill spritecook-use-presets -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about spritecook-use-presets
How do I install spritecook-use-presets in Claude?
Run npx skills add SpriteCook/skills --skill spritecook-use-presets -a claude-code. The skill lands in ~/.claude/skills/spritecook-use-presets/SKILL.md.
What does spritecook-use-presets do?
It fetches your saved SpriteCook presets over MCP and applies their prompt, theme, style, size, colour and reference-image settings to new generations.
When does the skill reach for a preset?
Only when you explicitly ask for one, name a saved preset, or imply continuity with a known style. Ordinary generation requests skip preset lookup.
Source text
SKILL.md · MIT
--- name: spritecook-use-presets description: "Use SpriteCook saved presets through MCP. Use when the user explicitly asks to use a preset, refers to one of their saved SpriteCook presets, asks for the same style/settings as a saved preset, or asks to save a private preset for future consistent asset generation." --- # SpriteCook Use Presets Use this skill with `spritecook-workflow-essentials` and the relevant generation skill. Presets are saved SpriteCook settings and prompt recipes. Their purpose is to help the user get consistent, similar output later, especially when they need a collection of related assets with the same style, model, prompt structure, dimensions, color guidance, and reference images. Users can fine-tune and save presets in the SpriteCook app, then ask an agent to use those presets through MCP. ## When To Use Presets - Use presets when the user explicitly says `use my preset`, names a saved preset, or asks for assets matching a saved SpriteCook setup. - Use presets when the user implies continuity with a named saved style or workflow, such as `use my character preset for this`. - Do not browse presets by default for ordinary generation requests. If the user does not mention or imply a preset, use the normal SpriteCook generation workflow. - Use `save_private_preset` only when the user asks to save a preset or preserve these settings for future use. ## Fetch And Apply 1. Call `list_presets(query=...)` with the user's preset name or intent. 2. Pick the best match by title first, then mode, status, description, and settings. 3. If multiple plausible presets remain, ask a concise clarification before generating. 4. Call `get_preset_settings(preset_id=...)` for the selected preset. 5. Map returned settings into the relevant MCP tool: - `prompt` -> base prompt or prompt guidance. - `themeText` -> `theme`. - `styleText` -> `style`. - `width`, `height`, `pixel`, `bgMode`, `aspectRatio`, `smartCropEnabled`, `smartCropMode`, `detailedModel`, `resolution`, `quality`, and `colors` -> matching generation arguments when the target tool supports them. - `settings.reference.styleAssetIds` -> `style_asset_ids` for `generate_game_art`, up to 10 asset IDs. - `settings.reference.contextAssetId` -> `reference_asset_id` for `generate_game_art`. - `settings.reference.editAssetId` -> `edit_asset_id` for `generate_game_art` only when the user is modifying that specific image. - `tilesetPerspective`, `tilesetPieceSet`, and `tilesetElevation` -> `generate_tileset` settings. 6. Preserve the user's requested subject or change. The preset should guide style/settings; it should not override the user's new intent unless the user asks for an exact repeat. ## Reference Images - Private draft presets can return owned asset IDs: - `settings.reference.styleAssetIds` - `settings.reference.contextAssetId` - `settings.reference.editAssetId` - Published presets can return frozen preset media URLs: - `settings.reference.styleUploadUrls` - `settings.reference.contextUploadUrl` - `settings.reference.editUploadUrl` - Use `style_asset_ids` directly for `settings.reference.styleAssetIds` when calling `generate_game_art`; pass at most 10 IDs. - Use `reference_asset_id` for `settings.reference.contextAssetId` when the preset provides one specific visual/context reference. - Use `edit_asset_id` only for `settings.reference.editAssetId`, when the user is modifying that specific image. - Treat style asset IDs as ambient style guide images: they establish style, palette, proportions, and rendering for new related assets. The prompt does not need to restate that they are style references unless the user asks to emphasize a specific detail. - If a preset returns multiple style asset IDs but the target tool only accepts one, prefer the first style asset unless the user asks to choose differently. - If a preset returns upload URLs that the target MCP generation tool cannot consume, still use the text/model/size/color settings and mention that the media reference could not be applied through that tool. ## Saving Presets - Use `save_private_preset(...)` only after the user asks to save a preset. - Save presets as private drafts only. Do not publish, share, or submit anything for moderation. - Include the settings that matter for repeatability: prompt pattern, theme, style, model, size, pixel mode, background mode, smart crop, quality, colors, and supported reference/edit/style images. - Use `style_references`, `reference_image`, `edit_image`, and preview asset IDs when the user wants the saved preset to include those images. - If saving fails because of the private preset limit or unavailable reference assets, explain the user-facing problem briefly and do not retry with missing references unless the user asks. ## Practical Pattern When the user says `Use my character preset for a blue wizard idle sprite`: 1. `list_presets(query="character")` 2. Select the likely character preset. 3. `get_preset_settings(preset_id="...")` 4. Generate with the preset's style/settings plus the new subject: `blue wizard idle sprite`.
© SpriteCook · MIT · SpriteCook/skills