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.
npx skills add IvanYangYangXi/artclaw_bridge --skill sd-pixel-processorgit clone --depth 1 https://github.com/IvanYangYangXi/artclaw_bridgeWrote 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.
[](https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sd-pixel-processor)<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/sd-pixel-processor"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/sd-pixel-processor.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00116 | $0.02558 |
| Opus 5 | $0.00058 | $0.01279 |
| Sonnet 5 | $0.00023 | $0.00512 |
| Haiku 4.5 | $0.00012 | $0.00256 |
Grade A, and why
sd-pixel-processor 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 232 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SD Pixel Processor 使用指南
Pixel Processor 是 SD 的"像素着色器"——对每个像素执行自定义函数图。 适合 AI 使用:本质是数学表达式图,AI 擅长构建数学逻辑。
核心概念
Pixel Processor 节点
├── 输入: input, input:1, ... (最多 N 个图像输入)
├── perpixel: Function Graph (核心! 对每个像素执行的逻辑)
│ ├── 系统变量: $pos(像素UV坐标), $size(图像尺寸), $tiling, $randomseed
│ ├── 函数节点: 数学运算(add/mul/sin/cos...)、采样(samplelum/samplecol)、逻辑(ifelse)
│ └── 输出: 一个 float/float2/float3/float4 值 → 该像素的颜色
└── 输出: unique_filter_output (处理后的图像)
创建 Pixel Processor
步骤 1: 创建节点
pp = graph.newNode("sbs::compositing::pixelprocessor")
pp.setPosition(float2(x, y))
步骤 2: 获取/创建 perpixel 函数图
pp_prop = pp.getPropertyFromId("perpixel", SDPropertyCategory.Input)
fg = pp.newPropertyGraph(pp_prop, "SDSBSFunctionGraph")
步骤 3: 在函数图中添加节点
# 获取当前像素 UV 坐标
pos = fg.newNode("sbs::function::get_float2")
pos.setPosition(float2(-300, 0))
cp = pos.getPropertyFromId("__constant__", SDPropertyCategory.Input)
pos.setPropertyValue(cp, SDValueString.sNew("$pos"))
# 创建常量
c = fg.newNode("sbs::function::const_float1")
c.setPosition(float2(-300, 50))
cp = c.getPropertyFromId("__constant__", SDPropertyCategory.Input)
c.setPropertyValue(cp, SDValueFloat.sNew(0.5))
# 数学运算
mul = fg.newNode("sbs::function::mul")
mul.setPosition(float2(-100, 0))
# 连接
pos.newPropertyConnectionFromId("unique_filter_output", mul, "a")
c.newPropertyConnectionFromId("unique_filter_output", mul, "b")
# 设置输出
fg.setOutputNode(mul, False)
系统变量(get_*节点的 constant 值)
| 变量 | 类型 | 节点 | 说明 |
|---|---|---|---|
$pos |
float2 | get_float2 | 当前像素 UV 坐标 (0~1) |
$size |
float2 | get_float2 | 图像尺寸(像素) |
$tiling |
int | get_integer1 | 平铺模式 |
$randomseed |
int | get_integer1 | 随机种子 |
$number |
int | get_integer1 | 迭代索引(FX-Map 中) |
$depth |
int | get_integer1 | FX-Map 深度 |
| 自定义参数名 | 各种 | get_float1/int1/bool | 图输入参数 |
函数节点完整参考
算术运算
| 节点 ID | 输入 | 输出 | 说明 |
|---|---|---|---|
add |
a, b | float* | a + b |
sub |
a, b | float* | a - b |
mul |
a, b | float* | a * b(同类型) |
mulscalar |
a, b(float1) | float* | 向量 × 标量 |
div |
a, b | float* | a / b |
mod |
a, b | float* | a % b(取模) |
neg |
a | float* | -a |
abs |
a | float* | |
sqrt |
a | float1 | √a |
pow |
a, b | float1 | a^b |
min |
a, b | float* | min(a,b) |
max |
a, b | float* | max(a,b) |
floor |
a | float* | 向下取整 |
ceil |
a | float* | 向上取整 |
lerp |
a, b, t | float* | 线性插值 a+(b-a)*t |
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.
- 8d ago First seen · 232 lines · 116 tokens per session scan A abe7c84c018c
sd-pixel-processor is a skill published in the GitHub repository IvanYangYangXi/artclaw_bridge (35 stars, last pushed 4mo ago), licensed MIT. It adds 116 tokens to every session and 2,558 once invoked, about $0.0006 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.
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…
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…
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.
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.
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…
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.