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 $0.00036 $0.01056
Sonnet 5 $0.00014 $0.00422
Haiku 4.5 $0.00007 $0.00211

Measured 10d ago against content hash 5cdd0684fbac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 (35 stars, last pushed 4mo ago), licensed MIT. It adds 71 tokens to every session and 2,111 once invoked, about $0.0004 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