Spritecook Generate Tilesets 标志

Spritecook Generate Tilesets

组织
SpriteCook
spritecook-generate-tilesets

SpriteCook 瓷砖集生成指南。通过 SpriteCook MCP 工具生成自动拼接瓷砖集、选择瓷砖尺寸、使用参考/编辑/风格素材 ID,以及保存生成的瓷砖集素材 ID 时,请与 spritecook-workflow-essentials 搭配使用。

概览

发布者SpriteCook
代码仓库skills
技能名称spritecook-generate-tilesets
星标数
51
复刻数
4
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 SpriteCook 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Spritecook Generate Tilesets AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/SpriteCook/skills/tree/main/skills/spritecook-generate-tilesets
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpriteCook/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/spritecook-generate-tilesets .claude/skills/spritecook-generate-tilesets
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Spritecook Generate Tilesets,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Spritecook Generate Tilesets。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Spritecook Generate Tilesets 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

SpriteCook Generate Tilesets

Use this skill for SpriteCook tileset generation. Pair it with spritecook-workflow-essentials for credits, manifests, safe downloads, and asset tracking.

Requires: A connected SpriteCook MCP server. If disconnected, explain that connection is needed and use the host's native connection flow when authorized. Do not install software or change authentication settings as part of an art task.

Tools

list_tileset_options

Call this when you need current supported perspectives, piece sets, tile sizes, elevations, edge modes, output dimensions, or defaults.

generate_tileset

Generate a game-ready tileset. The tool returns a job immediately by default; follow the returned poll.tool and poll.arguments until canonical assets entries are ready.

ParameterTypeDefaultDescription
promptstringrequiredTerrain/material request, e.g. mossy dungeon floor
style_modestringpixelpixel or detailed
perspectivestringtopdowntopdown, platformer, or isometric
piece_setstringregistry default15-piece, 17-piece-base, autotile-16-set, isometric-3x5-32, or isometric-2x4-64
tile_sizeintregistry defaultFinal tile size in pixels
elevationstringregistry defaultno-elevation or minimal where supported
edgesstringtransparenttransparent or two_surfaces; two_surfaces only works for 15-piece top-down
variationsint1Number of variations, 1-4
modelstringnullOptional model override. Omit to use SpriteCook's tileset default
colorsstring[]nullOptional hex color guidance, max 64
force_enabledboolfalseForce the output toward force_colors
force_colorsstring[]nullOptional forced hex palette, max 64
project_idstringnullOwned project to place the tileset in
reference_asset_idstringnullExisting tileset asset to use as source/reference; tileset settings are inherited
edit_asset_idstringnullExisting tileset asset to edit; tileset settings are inherited
style_asset_idstringnullExisting asset to use as visual style guide only
wait_secondsint0Optional bounded wait from 0-90 seconds before returning the polling contract

reference_asset_id and edit_asset_id are mutually exclusive. The referenced asset must belong to the SpriteCook account.

Recommended Defaults

  • For top-down pixel autotiles, start with style_mode="pixel", perspective="topdown", piece_set="15-piece", tile_size=32, edges="transparent".
  • For top-down inner-corner base tiles, use piece_set="17-piece-base" and keep edges="transparent".
  • For side-view platformers, use perspective="platformer", piece_set="autotile-16-set", edges="transparent".
  • For detailed top-down tilesets, use style_mode="detailed" and call list_tileset_options before choosing size/elevation.
  • Use model only when the user explicitly wants to compare models.

Reference Workflow

  • When the user asks to use a saved tileset preset, use list_presets(mode="tileset", query=...) and get_preset_settings first, then map the returned tileset settings into generate_tileset.
  • If the user has a local image file path, use spritecook-upload-assets first, then pass the returned asset ID as reference_asset_id, edit_asset_id, or style_asset_id.
  • If the user supplies a small data URL or raw base64 value, call import_asset first, then pass the returned asset ID as reference_asset_id, edit_asset_id, or style_asset_id.
  • Use reference_asset_id when the existing tileset should guide a new generation while preserving its tile size/layout.
  • Use edit_asset_id when the user wants a direct change to an existing tileset.
  • Use style_asset_id as a style guide image when the image should affect only visual style, palette, proportions, and rendering, not tileset layout. The prompt does not need to repeat that the image is a style guide unless the user asks to emphasize a specific detail.
  • When referencing or editing a tileset, do not change style_mode, perspective, piece_set, tile_size, or elevation; SpriteCook inherits and locks those settings.
  • edges is not inherited. When the source is a two_surfaces set, pass edges="two_surfaces" again on every edit or reference generation; otherwise the request falls back to transparent.
  • Edits and reference generations skip the layout guide grid that fresh generations use, so they fail or produce pieces that don't tile more often. An edit can fail with tileset_unusable; the credits are refunded. When an edit fails twice, generate from the set as reference_asset_id or start fresh with a clearer prompt instead of retrying the same edit.

Prompting

  • Keep prompts short and material-focused: snowy stone path, muddy swamp grass, volcanic rock, clean wooden floor.
  • For single-surface tilesets, name one main material.
  • For two_surfaces, name both surfaces clearly: grass and water, volcanic rock and lava.
  • Avoid asking for labels, UI, characters, props, or scene composition inside the tileset.

Output Handling

  • Pass wait_seconds=90 on generate_tileset; most tilesets finish inside it, so polling is rarely needed. Otherwise follow the returned polling contract with check_job_status until the job reaches a terminal state.
  • Check every variation before using it. About one in three can have a full interior tile that doesn't wrap (opposite edges differ in brightness) or pieces that don't meet cleanly, and the response doesn't flag it. Compare the full tile's left and right edges and its top and bottom edges, and paint a small test map with spritecook-use-dual-grid-tilesets for 15-piece sets. A full tile that doesn't wrap shows as a checkerboard over large areas. Pick a clean variation or regenerate.
  • 15-piece sets keep the grid's stepped silhouette on diagonals. Shorelines get a soft edge, but a diagonal coast still reads as steps.
  • Save each returned asset_id in the project manifest or task notes.
  • Use sprite_url as the canonical downloadable tileset image.
  • Treat url, pixel_url, and raw_url as compatibility aliases.
  • If a successful response contains warning.code="asset_output_unavailable", execute the supplied warning.recovery tool call.

常见问题

Spritecook Generate Tilesets AI 技能有什么作用?

SpriteCook 瓷砖集生成指南。通过 SpriteCook MCP 工具生成自动拼接瓷砖集、选择瓷砖尺寸、使用参考/编辑/风格素材 ID,以及保存生成的瓷砖集素材 ID 时,请与 spritecook-workflow-essentials 搭配使用。

为什么在 TypingMind 中使用 Spritecook Generate Tilesets?

因为您只需安装一次,就能搭配任何模型使用。Spritecook Generate Tilesets 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Spritecook Generate Tilesets?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/SpriteCook/skills/tree/main/skills/spritecook-generate-tilesets。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Spritecook Generate Tilesets?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Spritecook Generate Tilesets 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Spritecook Generate Tilesets 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Spritecook Generate Tilesets AI 技能免费吗?

是的。SpriteCook 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇