Environment Kit 标志

Environment Kit

组织
SummerEngine
environment-kit

生成模块化环境套件:以统一视觉风格制作墙壁、地砖、柱子、门和拱门。

Add to TypingMind

概览

发布者SummerEngine
代码仓库summer
技能名称environment-kit
星标数
91
复刻数
8
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/environment-kit .claude/skills/environment-kit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Environment Kit。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Environment Kit — Style-Locked Modular Pieces

A kit is a family of meshes — wall, floor, door, pillar, corner, arch — that the level designer snaps together to build interiors and exteriors. The skill exists to solve one specific failure mode: generating each piece with a fresh prompt produces six pieces that look like they came from six different games. The fix is the style anchor pattern — generate one piece first, lock its prompt suffix, and reuse that exact suffix for every subsequent piece.

The backing operation is assets.generate_3d, called once per piece; each call answers with a job that jobs.wait follows. A 6-piece kit is six generations and about 5 minutes. Generation uses credits, so confirm scope before starting (dryRun: true on one piece's call gives its credits).

When to use

  • "Build me a dungeon kit — walls, floor, door, pillar."
  • "I need modular wall pieces for a sci-fi corridor."
  • "Make a tileset for a wooden tavern interior."
  • "Generate the pieces for a stone temple — I'll assemble the level."
  • The user wants to build a level out of repeating, snapping pieces.

When NOT to use

  • A single hero prop (single chest, single throne) → prop-model.
  • Open-world terrain (rolling hills, forests) → use a heightmap + scattered organic models from organic-model.
  • Repeating flat surfaces only (just walls and floors, no decorative pieces) → asset-strategy Pipeline 2 (textures + CSG) is cheaper and snaps perfectly to grid.
  • Characters or vehicles in the scene — those are separate skills.

The style anchor pattern

This is the whole skill. Get it right and the kit looks unified. Get it wrong and every piece is wasted.

  1. Generate the anchor piece first. Pick the most visually defining piece — usually the wall or the door. Iterate the prompt until the user approves it visually.
  2. Extract the style suffix. Everything after the object description. Example anchor prompt:
    A stone dungeon wall section, mossy granite blocks with iron reinforcements, 
    torch-bracket sconce, weathered surface. Game asset, centered, stylized 
    low-poly game art, warm torchlight palette, white background, isolated object.
    The suffix to lock is everything from Game asset, ... onward, plus mossy granite blocks with iron reinforcements, weathered surface, warm torchlight palette — the material + palette tokens.
  3. Reuse the suffix verbatim for every other piece. Only change the object description at the front.

| Anchor: wall | A stone dungeon wall section, ... + LOCKED SUFFIX | | Floor tile | A stone dungeon floor tile, square, ... + SAME LOCKED SUFFIX | | Pillar | A stone dungeon pillar, square base, fluted shaft, ... + SAME LOCKED SUFFIX | | Door | A stone dungeon doorway, arched, heavy wooden door with iron studs, ... + SAME LOCKED SUFFIX | | Corner block | A stone dungeon corner wall section, two walls joined at right angle, ... + SAME LOCKED SUFFIX | | Arch | A stone dungeon archway with keystone, ... + SAME LOCKED SUFFIX |

If the user says "the door doesn't match the rest", the answer is almost always: the suffix drifted. Check the exact strings.

Snap-grid alignment

Kit pieces only feel modular if they snap to a fixed grid. Pick the grid before generating and tell the user.

Grid sizeUse forNotes
1mTight interiors (dungeons, ship corridors, cells)Wall = 1×3×0.3m. Floor = 1×1m. Most common.
2mStandard interiors (homes, taverns, offices)Wall = 2×3×0.3m. Floor = 2×2m. Halves piece count.
4mExteriors and large halls (temples, warehouses, throne rooms)Wall = 4×4×0.4m. Floor = 4×4m. Quarter the piece count for the same area.

Critical: include the dimensions in the prompt. assets.generate_3d doesn't enforce them, but Hunyuan respects scale cues — 2 meter tall wall section produces a mesh that imports near 2m tall. Then verify with summer_inspect_resource and scale-correct in the editor if needed.

Steps

1. Confirm scope and pick the grid

About to build a dungeon kit. Suggested pieces: wall, floor, pillar, door, corner, arch (6 generations, ~5 min). Snap grid: 2m (standard interior). OK?

2. Generate the anchor (wall)

Use the prop-style prompt with explicit dimensions:

assets.generate_3d({
  prompt: "A 2 meter wide by 3 meter tall stone dungeon wall section, mossy granite blocks with iron reinforcements, torch-bracket sconce, weathered surface. Game asset, centered, stylized low-poly game art, warm torchlight palette, white background, isolated object.",
  model: "hunyuan",
  targetPolycount: 1500
})
jobs.wait({ jobId: "<job.id>", timeoutSeconds: 50 })   // again until finished; result.assetId
assets.get({ assetId: "<assetId>" })
summer_import_asset_by_id(assetId="<assetId>", path="res://assets/kits/dungeon/wall.glb")

Show the result to the user. Iterate the anchor until approved — every other piece copies its style.

3. Lock the suffix and generate the remaining pieces

Once the user says "yes, that's the look", store the locked suffix and crank through the rest. Same model, same targetPolycount scale. Only the object description changes. Start every piece first, then wait on the jobs: they run side by side.

# Floor
assets.generate_3d({ prompt: "A 2 by 2 meter square stone dungeon floor tile, mossy granite blocks with iron reinforcements, weathered surface. Game asset, centered, stylized low-poly game art, warm torchlight palette, white background, isolated object.", model: "hunyuan", targetPolycount: 800 })

# Pillar
assets.generate_3d({ prompt: "A 3 meter tall stone dungeon pillar, square base, fluted shaft, mossy granite blocks with iron reinforcements, weathered surface. Game asset, ...", model: "hunyuan", targetPolycount: 1500 })

# Door, Corner, Arch — same pattern. Then jobs.wait on each job id.

For each finished job, capture the returned assetId, then import that exact ID with summer_import_asset_by_id. Do not search for generated pieces by name after creating them; exact IDs are the production path.

Polycount targets per kit piece: walls/floors 800–1500 tris (placed dozens of times), decorative (pillar, arch) 1500–3000, doors 2000–3000.

4. Import and stage in a kit scene

Don't dump the kit into the level scene. Make a kit_dungeon.tscn that holds one of every piece, labelled, positioned next to each other on the snap grid. The level designer instantiates from there.

summer_instantiate_scene(scenePath="res://assets/kits/dungeon/kit_dungeon.tscn", parent="./KitRoot", scene="res://assets/kits/dungeon/wall.glb", name="Wall")
summer_set_prop(scenePath="res://assets/kits/dungeon/kit_dungeon.tscn", path="./KitRoot/Wall", key="position", value="Vector3(0, 0, 0)")
# ...repeat for floor, pillar, door, corner, arch with positions Vector3(2,0,0), Vector3(4,0,0), ...
summer_save_scene(scenePath="res://assets/kits/dungeon/kit_dungeon.tscn")

Three things the shape of those calls encodes:

  • A .glb is instantiated, not assigned. There is no scene property on Node3D, and an imported .glb is a scene, not a Mesh — ResourceLoader.get_recognized_extensions_for_type("Mesh") on the shipped 4.6.1 binary returns ["tres", "mesh", "res"], with no glb. Use summer_instantiate_scene, which adds the model as a child in one op.
  • Every scene-mutating tool takes an explicit scenePath, and node paths are relative to that scene's root (./).
  • summer_set_prop's property argument is named key, not property.

5. Verify scale and pivots

summer_inspect_resource(path="res://assets/kits/dungeon/wall.glb")

Check the AABB. If the wall is 1.85m tall when you asked for 3m, scale it in the editor (or re-import with Scale in the import dock). Pivots should sit at the bottom-back corner for walls and bottom-center for floors — that makes snapping to a 2m grid trivial. If pivots are wrong, use the "Center to Origin" import option.

Anti-patterns

  • Drifting style suffix. Each piece gets a slightly different suffix → the kit looks mismatched. Copy-paste the exact string.
  • Different polycount per piece. A 5k-tri pillar next to a 500-tri wall reads as "the pillar is a hero piece" — wrong; they should feel like equal kit citizens. Match polycount within ~2× across the kit.
  • Skipping the anchor approval. If you generate all six pieces in a batch, you bake in whatever the first call's interpretation of the style was — and the user may hate it after six generations.
  • Generating walls / floors as individual meshes when you only need a tileable texture. A flat wall section is cheaper as a textured CSGBox3D. Reserve the kit for pieces that need actual geometric detail (sconces, mouldings, doorways, arches).
  • No scale cue in the prompt. Wall comes back 0.4m tall. Always include 2 meter wide by 3 meter tall (or your chosen grid).
  • Forgetting the snap grid. A 1.87m-tall wall with no scale fix → level looks crooked when tiled.

Edge cases

  • Curved or organic kit (cave, alien hive). Modular geometry resists snapping. Generate longer pieces (4m walls, transition tiles) and accept some overlap. Or switch to procedural — design-level can scatter cave pieces with rotation jitter.
  • Outdoor kit (cliffs, ruins, forest path). Use the kit pattern but accept rotation/jitter at placement time. Mesh edges should fade naturally rather than snap cleanly. Pair with organic-model for foliage scatter.
  • Sci-fi kit (corridors, doors, terminals). The style suffix becomes critical — clean panels, soft cyan emissive trim, brushed metal, white background, isolated object. Hard surfaces drift more than organic ones; review every piece.
  • The user wants to add a piece later. The locked suffix lives in the kit's notes (drop it in assets/kits/dungeon/STYLE.md if the user wants persistence). Reuse it verbatim for any addition — never re-derive.

Without Summer Engine

In a session without Summer Engine tools (the assets profile; the summer-assets skill has the whole loop), do steps 1-3 and skip steps 4-5 (staging in a kit scene). Save the file where the person asked with out (the summer-assets skill says how), and tell them the path and format. Tell the person the grid from step 1, so they can check scale and pivots in their own engine.

Fallback (no MCP)

  1. Run each prompt at the Summer dashboard (or Hunyuan / Trellis web UIs), keeping the locked suffix.
  2. Download each .glb.
  3. Drop into res://assets/kits/<kit-name>/.
  4. Build the kit-display scene manually in Summer Engine, with one of each piece snapped to the grid.
  5. Hand to the level designer.

Handoff

After the kit is staged:

Dungeon kit ready: res://assets/kits/dungeon/ with wall, floor, pillar, door, corner, arch on a 2m snap grid. Display scene at res://assets/kits/dungeon/kit_dungeon.tscn.

Next: hand off to the level-design step — instantiate kit pieces into level_01.tscn, snap to the 2m grid, dress with props (prop-model) and foliage (organic-model). For lighting, see 3d-lighting.

See also

  • prop-model — for the chests, statues, and decorative props that dress the kit.
  • organic-model — for foliage and rocks that break up modular repetition.
  • asset-strategy — Pipeline 2 (textures + CSG) is the cheaper alternative when pieces are flat.
  • scene-composition — how to organize the kit scene and the level scenes that consume it.
  • 3d-lighting — interior kit pieces typically need warm point lights at sconce positions.

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
assets.generate_3d, summer_assets_generate_3dsummer assets generate-3d
summer_assets_generate_imagesummer assets generate-image
summer_assets_getsummer assets get
summer_assets_searchsummer assets search
summer_add_nodesummer engine add-node
summer_get_scene_treesummer engine get-scene-tree
summer_import_asset_by_idsummer engine import-asset-by-id
summer_import_from_urlsummer engine import-from-url
summer_inspect_nodesummer engine inspect-node
summer_inspect_resourcesummer engine inspect-resource
summer_instantiate_scenesummer engine instantiate-scene
summer_save_scenesummer engine save-scene
summer_set_propsummer engine set-prop
jobs.wait, summer_jobs_waitsummer jobs wait

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Environment Kit AI 技能有什么作用?

生成模块化环境套件:以统一视觉风格制作墙壁、地砖、柱子、门和拱门。

为什么在 TypingMind 中使用 Environment Kit?

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

如何在 TypingMind 中安装 Environment Kit?

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

哪些 AI 模型可以使用 Environment Kit?

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

Environment Kit 可以搭配多少个 AI 模型使用?

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

Environment Kit AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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