artclaw-tool-creator

artclaw-tool-creator is a skill for Claude Code, Codex from IvanYangYangXi/artclaw_bridge. It costs 41 tokens per session (6,074 once invoked), scanned A, original, MIT.

A guided tool for creating custom tools in the ArtClaw system, which connects an AI assistant with digital-content applications. It can package an existing skill, generate a script, or combine tools, then preview and save the result.

In plain words
What is it for?
Use it to create a shortcut around an existing skill, write a custom script, combine multiple tools, and define which inputs users can change.
Why use it?
It turns a tool idea into the files and settings ArtClaw needs. The guided steps make it easier to collect the required details and review the result before saving.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to create a shortcut around an existing skill, write a custom script, combine multiple tools, and define which inputs users can change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanyangyangxi/artclaw_bridge/artclaw-tool-creator
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 artclaw-tool-creator
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 artclaw-tool-creator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivanyangyangxi/artclaw_bridge/artclaw-tool-creator"><img src="https://agentmods.dev/badge/skills/ivanyangyangxi/artclaw_bridge/artclaw-tool-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,074 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.00041 $0.06074
Opus 5.5 $0.00016 $0.02430
Sonnet 5.5 $0.00008 $0.01215
Haiku 4.5 $0.00004 $0.00607

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

Security

Grade A, and why

artclaw-tool-creator 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 1mo 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/universal/artclaw-tool-creator/SKILL.md · 623 lines

How it starts

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

ArtClaw Tool Creator

AI 引导创建自定义 DCC 工具的特殊 Skill。用户通过对话界面完成工具创建流程。

触发条件

  • 命令触发:用户在 ArtClaw Tool Manager 对话面板中输入 /create tool
  • UI 触发:用户点击工具管理器页面的"创建工具"按钮自动发送命令

创建流程状态机

start → select_method → collect_info → generate → preview → confirm → save → complete

流程说明

  1. start: 初始状态,展示创建方式选择
  2. select_method: 用户选择创建方式(包装 Skill / 编写脚本 / 组合工具)
  3. collect_info: 根据选择方式收集必要信息
  4. generate: 生成 manifest.json 和脚本文件
  5. preview: 展示预览,用户确认或修改
  6. confirm: 用户确认保存
  7. save: 写入文件到 ~/.artclaw/tools/user/{tool-name}/
  8. complete: 创建完成

三种创建方式

1. 包装 Skill (skill_wrapper)

将现有 Skill 包装为固定参数的快捷工具。

对话模板:

Agent: 选择要包装的 Skill:
[列出可用 Skills,如:comfyui-txt2img, maya-operation-rules, 等]

用户: comfyui-txt2img

Agent: 该 Skill 有以下参数:prompt, width, height, steps, sampler
暴露哪些参数给用户?其他参数的固定值?

用户: 只暴露 prompt 和 steps,width/height 固定为 1024,sampler 固定为 euler

Agent: [生成预览] 确认创建工具"快速文生图"?
[保存] [修改] [取消]

生成的 manifest.json 结构:

{
  "id": "user/{tool-name}",
  "implementation": {
    "type": "skill_wrapper",
    "skill": "comfyui-txt2img",
    "fixedParams": { "width": 1024, "height": 1024, "sampler": "euler" }
  },
  "inputs": [
    { "id": "prompt", "name": "提示词", "type": "string", "required": true },
    { "id": "steps", "name": "采样步数", "type": "number", "default": 20 }
  ]
}

2. 编写脚本 (script)

使用 DCC 原生 Python API 创建自定义脚本工具。

对话模板:

Agent: 请描述工具功能:

用户: 批量导出选中模型为 FBX,支持指定导出路径和文件前缀

Agent: 需要哪些参数?
- 导出路径(必需)
- 文件前缀(可选,默认为空)
- 包含动画(可选,默认 false)

用户: 是的

Agent: [生成脚本预览] 确认创建工具?
[保存] [修改] [取消]

生成的脚本必须遵循以下规则:

"""工具名称 — 一句话描述。"""
# ── SDK 头(tool-creator 自动注入)──
import os, json
import artclaw_sdk as sdk

def _load_manifest() -> dict:
    manifest_path = os.path.join(os.path.dirname(__file__), "manifest.json")
    with open(manifest_path, "r", encoding="utf-8") as f:
        return json.load(f)
# ── SDK 头结束 ──


def main_function(**kwargs):
    """入口函数。kwargs 由 Tool Manager 传入。"""
    manifest = _load_manifest()

    # ── 1. 参数解析(必须)——从 manifest inputs 读取,不在脚本里硬编码默认值 ──
    parsed = sdk.params.parse_params(manifest.get("inputs", []), kwargs)

    # ── 2. 对象获取 + 筛选(按需;event trigger 工具通常不需要此段)──
    type_cfg = manifest.get("defaultFilters", {}).get("typeFilter", {})
    types = type_cfg.get("types", [])          # 来自 manifest,不硬编码
    source = type_cfg.get("source", "selection")

    if source == "selection":
        explicit = parsed.get("target_paths", "")
        if explicit:
            objects = [{"path": p.strip(), "type": "", "name": p.strip().rsplit("/", 1)[-1]}
                       for p in explicit.split(",") if p.strip()]
        else:
            # 根据工具需求二选一:
            # sdk.context.get_selected_assets()  — Content Browser / 资源管理器
            # sdk.context.get_selected_objects() — 场景 / 视口
            objects = sdk.context.get_selected_assets()
        if types:
            objects = sdk.filters.filter_by_type(objects, types)
        if not objects:
            return sdk.result.fail("NO_INPUT", "未指定目标,且当前无选中对象。")

    # ── 3. 业务逻辑(DCC 原生 API)──
    # import unreal  # UE
    # import bpy     # Blender
    # ...

    # ── 4. 结果上报(必须)──
    return sdk.result.success(data={}, message="完成")

Read the full file on GitHub · 623 lines

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. 1mo ago First seen · 623 lines · 41 tokens per session scan A bf1c97228f43

Subscribe to this mod's changes

artclaw-tool-creator is a skill published in the GitHub repository IvanYangYangXi/artclaw_bridge (36 stars, last pushed 6mo ago), licensed MIT. It adds 41 tokens to every session and 6,074 once invoked, about $0.0002 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

Other skills, from other repositories

dcc-cua

A routing guide for controlling application interfaces through the project’s DCC-CUA system. DCC applications are digital-content tools such as Maya, Blender, and Houdini.

dcc-mcp/dcc-mcp-core · 131 tokens

marketplace-publish-extension

Infrastructure skill — publish (register/update) an extension package to a marketplace catalog. Reads the extension's SKILL.md frontmatter, constructs a CatalogEntry, and upserts it into the target marketplace.json. Optionally commits and pushes when the catalog source is a git repository. Use after scaffolding an…

dcc-mcp/dcc-mcp-core · 88 tokens

mesh-ops

Cross-adapter polygon modeling recipe pack for the shared cross-DCC modeling vocabulary. Structured RECIPES.yaml entries for primitive creation, hard-surface edits, topology cleanup, UV generation, radial arraying, and material assignment. Reusable by every DCC adapter's mesh-ops skill (maya, blender, houdini, 3dsmax…

dcc-mcp/dcc-mcp-core · 85 tokens

example-layered-skill

Example skill — reference implementation of the internal layered architecture pattern (Tools / Services / Utils) for complex skills with shared business logic. Use as a template when a skill outgrows a single scripts/execute.py file. Not intended for production use — see docs/guide/skills.md for the architectural…

dcc-mcp/dcc-mcp-core · 70 tokens

marketplace-create-extension

Infrastructure skill — scaffold a new marketplace extension package (SKILL.md + tools.yaml + scripts/) with MIT-0 licensing. Use when creating a publishable marketplace entry for any DCC host. Not for editing existing extensions or driving live DCC scenes — use domain skills for that.

dcc-mcp/dcc-mcp-core · 62 tokens

clawhub-compat

Example skill — demonstrates full compatibility with the ClawHub/OpenClaw skill format. Use as a reference when creating skills for both the dcc-mcp-core ecosystem and ClawHub marketplace. Not intended for production use — this is an authoring reference only.

dcc-mcp/dcc-mcp-core · 59 tokens