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/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.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00046 | $0.01023 |
| Sonnet 5.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 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.
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.
- 3mo 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 (39 stars, last pushed 7mo ago), licensed MIT. It adds 116 tokens to every session and 2,558 once invoked, about $0.0005 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.
sd-pixel-processor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sd-pixel-processorIvanYangYangXi/artclaw_bridge | Skill | 39 | 7mo ago | MIT | A | 116 | Claude Code, Codex |
| dcc-mcpdcc-mcp/dcc-mcp-core | Skill | 78 | today | MIT | A | 167 | Claude Code |
| dcc-mcp-skills-creatordcc-mcp/dcc-mcp-core | Skill | 78 | today | MIT | A | 74 | Claude Code |
| dcc-cuadcc-mcp/dcc-mcp-core | Skill | 78 | today | MIT | A | 131 | Claude Code, Codex |
| marketplace-publish-extensiondcc-mcp/dcc-mcp-core | Skill | 78 | today | MIT | A | 88 | Claude Code |
| mesh-opsdcc-mcp/dcc-mcp-core | Skill | 78 | today | MIT | A | 85 | Claude Code |
| clawhub-compatdcc-mcp/dcc-mcp-core | Skill | 78 | today | MIT | A | 59 | Claude Code |