sp-layer-ops

sp-layer-ops is a skill for Claude Code, Codex from IvanYangYangXi/artclaw_bridge. It costs 71 tokens per session (2,111 once invoked), scanned A, original, MIT.

A Substance Painter guide for managing layers, masks, blend modes, and opacity in a texture project. Substance Painter is a 3D texturing application where surface changes are commonly organized in layer stacks.

In plain words
What is it for?
Use it to add, delete, move, or duplicate fill layers; change their blend modes or opacity; and work with masks in a Substance Painter texture set.
Why use it?
It provides the required steps for finding the right texture set and layer stack before editing. It also notes that Substance Painter has no undo API, so destructive changes should be preceded by saving the project.

Skill for Claude CodeCodex

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

Good fit Use it to add, delete, move, or duplicate fill layers; change their blend modes or opacity; and work with masks in a Substance Painter texture set.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops
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-layer-ops
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-layer-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops/github.svg)](https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops)
Your own site
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops/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-layer-ops

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sp-layer-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,111 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.00071 $0.02111
Opus 5.5 $0.00028 $0.00844
Sonnet 5.5 $0.00014 $0.00422
Haiku 4.5 $0.00007 $0.00211

Measured 3mo ago against content hash 5cdd0684fbac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sp-layer-ops 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 3mo 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-layer-ops/SKILL.md · 254 lines

How it starts

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

SP 层操作

Substance Painter 层管理:创建、删除、移动、复制层,设置混合模式和透明度,管理遮罩。

⚠️ 仅适用于 Substance Painter — 通过 run_python 执行 ⚠️ SP 无 Undo API — 破坏性操作前建议先保存项目(参见 sp-operation-rules)


前置:获取目标纹理集的层栈

所有层操作都需要先指定目标纹理集(Texture Set)和层栈(Stack)。

import substance_painter.project
import substance_painter.textureset
import substance_painter.layerstack

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    # 获取第一个纹理集(或按名称查找)
    ts = substance_painter.textureset.all_texture_sets()[0]
    stack = substance_painter.textureset.Stack.from_name(ts.name())
    print(f"目标纹理集: {ts.name()}")

添加层

添加 Fill Layer(填充层)

import substance_painter.project
import substance_painter.textureset
import substance_painter.layerstack

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    ts = substance_painter.textureset.all_texture_sets()[0]
    stack = substance_painter.textureset.Stack.from_name(ts.name())

    # 在层栈顶部插入一个填充层(只需 InsertPosition,不需要 stack 参数)
    root = substance_painter.layerstack.get_root_layer_nodes(stack)
    pos = substance_painter.layerstack.InsertPosition.above_node(root[-1]) if root else substance_painter.layerstack.InsertPosition.from_textureset_stack(stack)
    new_layer = substance_painter.layerstack.insert_fill(pos)
    new_layer.set_name("MyFillLayer")
    print(f"✅ 已添加填充层: {new_layer.get_name()}")

添加 Paint Layer(绘画层)

import substance_painter.project
import substance_painter.textureset
import substance_painter.layerstack

if not substance_painter.project.is_open():
    print("❌ 没有打开的项目")
else:
    ts = substance_painter.textureset.all_texture_sets()[0]
    stack = substance_painter.textureset.Stack.from_name(ts.name())

    root = substance_painter.layerstack.get_root_layer_nodes(stack)
    pos = substance_painter.layerstack.InsertPosition.above_node(root[-1]) if root else substance_painter.layerstack.InsertPosition.from_textureset_stack(stack)
    new_layer = substance_painter.layerstack.insert_paint(pos)
    new_layer.set_name("MyPaintLayer")
    print(f"✅ 已添加绘画层: {new_layer.get_name()}")

Read the full file on GitHub · 254 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. 3mo ago First seen · 254 lines · 71 tokens per session scan A 5cdd0684fbac

Subscribe to this mod's changes

sp-layer-ops is a skill published in the GitHub repository IvanYangYangXi/artclaw_bridge (39 stars, last pushed 7mo ago), licensed MIT. It adds 71 tokens to every session and 2,111 once invoked, about $0.0003 per session on Opus 5.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

sp-layer-ops compared with skills from other repositories

sp-layer-ops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sp-layer-opsIvanYangYangXi/artclaw_bridgeSkill397mo agoMITA71Claude Code, Codex
dcc-mcpdcc-mcp/dcc-mcp-coreSkill78todayMITA167Claude Code
dcc-mcp-skills-creatordcc-mcp/dcc-mcp-coreSkill78todayMITA74Claude Code
dcc-cuadcc-mcp/dcc-mcp-coreSkill78todayMITA131Claude Code, Codex
marketplace-publish-extensiondcc-mcp/dcc-mcp-coreSkill78todayMITA88Claude Code
mesh-opsdcc-mcp/dcc-mcp-coreSkill78todayMITA85Claude Code
clawhub-compatdcc-mcp/dcc-mcp-coreSkill78todayMITA59Claude Code