sp-bake-export

sp-bake-export is a skill for Claude Code, Codex from IvanYangYangXi/artclaw_bridge. It costs 67 tokens per session (2,326 once invoked), scanned A, original, MIT.

A workflow for baking and exporting texture maps in Substance Painter, a 3D-texturing application. Texture baking creates maps such as normals or ambient occlusion from model data.

In plain words
What is it for?
Bake maps for selected texture sets, configure baking settings, and export textures using Substance Painter’s Python interface.
Why use it?
It provides the relevant Substance Painter steps and checks, reducing mistakes when preparing textures for export.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Bake maps for selected texture sets, configure baking settings, and export textures using Substance Painter’s Python interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanyangyangxi/artclaw_bridge/sp-bake-export
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IvanYangYangXi/artclaw_bridge --skill sp-bake-export
Clone the repo
git clone --depth 1 https://github.com/IvanYangYangXi/artclaw_bridge

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sp-bake-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sp-bake-export/github.svg)](https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sp-bake-export)
Your own site
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sp-bake-export"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sp-bake-export/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sp-bake-export

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sp-bake-export"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sp-bake-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,326 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.02326
Opus 5 $0.00034 $0.01163
Sonnet 5 $0.00013 $0.00465
Haiku 4.5 $0.00007 $0.00233

Measured 11d ago against content hash 7ed65a037723, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

sp-bake-export scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/official/substance_painter/sp-bake-export/SKILL.md · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SP 烘焙与导出

Substance Painter 贴图烘焙(Baking)和纹理导出(Export)工作流。

⚠️ 仅适用于 Substance Painter — 通过 run_python 执行


贴图烘焙

烘焙所有纹理集的所有贴图

import substance_painter.project
import substance_painter.baking

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    # 异步烘焙所有已选中的纹理集贴图
    # 返回一个可调用的 stop 函数,用于中止烘焙
    substance_painter.baking.bake_selected_textures_async()
    print("✅ 已启动所有纹理集烘焙(异步)")

烘焙指定纹理集

import substance_painter.project
import substance_painter.textureset
import substance_painter.baking

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    # 获取指定纹理集
    ts = substance_painter.textureset.all_texture_sets()[0]

    # 异步烘焙该纹理集
    substance_painter.baking.bake_async(ts)
    print(f"✅ 纹理集 '{ts.name()}' 已启动烘焙(异步)")

烘焙贴图类型

SP 支持烘焙的常见贴图类型:

贴图类型 说明
Normal 法线贴图(从高模到低模)
AO (Ambient Occlusion) 环境光遮蔽
Curvature 曲率贴图
World Space Normal 世界空间法线
Position 位置贴图
Thickness 厚度贴图
ID 材质 ID 贴图

配置烘焙参数

import substance_painter.project
import substance_painter.textureset
import substance_painter.baking

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    # 通过 BakingParameters.from_texture_set() 获取烘焙参数
    ts = substance_painter.textureset.all_texture_sets()[0]
    params = substance_painter.baking.BakingParameters.from_texture_set(ts)
    print(f"当前烘焙参数: {params}")

    # 修改烘焙参数 — 使用 BakingParameters 对象的方法
    # 具体可用方法取决于 SP 版本

纹理导出

列出导出预设

import substance_painter.project
import substance_painter.export

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    # 列出所有用户自定义的资源导出预设
    resource_presets = substance_painter.export.list_resource_export_presets()
    print("用户资源导出预设:")
    for preset in resource_presets:
        print(f"  {preset}")

    # 列出所有预定义的导出预设(如 UE4、Unity 等内置预设)
    predefined_presets = substance_painter.export.list_predefined_export_presets()
    print("预定义导出预设:")
    for preset in predefined_presets:
        print(f"  {preset}")

Read the full file on GitHub · 276 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 276 lines · 67 tokens per session scan A 7ed65a037723

Subscribe to this mod's changes

sp-bake-export is a skill published in the GitHub repository IvanYangYangXi/artclaw_bridge (35 stars, last pushed 4mo ago), licensed MIT. It adds 67 tokens to every session and 2,326 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dcc-mcp-core

Foundation library for the DCC Model Context Protocol (MCP) ecosystem. Provides Rust-powered action management, skills system, IPC transport, MCP Streamable HTTP server (2025-03-26 spec, with 2025-06-18 and 2025-11-25 awareness), sandbox security, shared memory, screen capture, USD scene support, and telemetry for…

dcc-mcp/dcc-mcp-core · 109 tokens

maya-pipeline

Domain skill — Maya asset pipeline orchestration: set up project directory structures, export scenes to USD, and coordinate multi-step DCC workflows. Use when initialising a Maya project or exporting assets for a downstream pipeline. Not for raw geometry editing — use maya-geometry for that. Not for low-level USD file…

dcc-mcp/dcc-mcp-core · 74 tokens

imagemagick-tools

Infrastructure skill — image processing and manipulation via ImageMagick: resize, composite, convert formats, add watermarks. Use when batch-processing textures, thumbnails, or rendered images at the file level. Not for in-DCC texture or material editing — use a domain skill bound to the specific DCC for that.

dcc-mcp/dcc-mcp-core · 67 tokens

asset-source

Gateway skill for cross-DCC asset import — search and resolve assets into a validated AssetDescriptor (local path + attribution). Demo source returns static catalog entries; production sources can add download or remote resolution without changing the contract.

dcc-mcp/dcc-mcp-core · 47 tokens

ffmpeg-media

Infrastructure skill — media conversion and processing via FFmpeg: convert video/audio formats, extract frames, resize, and transcode. Use when manipulating raw media files (mp4, mov, wav, image sequences) regardless of DCC context. Not for DCC-specific render output handling — use a domain pipeline skill for…

dcc-mcp/dcc-mcp-core · 77 tokens

maya-geometry

Domain skill — Maya geometry primitives: create spheres, cubes, cylinders; bevel, extrude, and merge polygon components. Use for individual geometry creation or editing operations inside Maya. Not for full asset export pipelines — use maya-pipeline for that. Not for USD scene inspection — use usd-tools for that.

dcc-mcp/dcc-mcp-core · 65 tokens