Xpersona
S

SynthClaw

CLAWHUB · Unverified

Render Blender files with agent-controlled procedural parameters for synthetic data generation. A key capability of this skill is returning dynamic quality m...

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174rwe41d9e861mxc8h6pyj4n83j3q4:synthclaw
  1. Install using `clawhub skill install s174rwe41d9e861mxc8h6pyj4n83j3q4:synthclaw` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/ayakimovich/synthclaw before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ayakimovich-synthclaw/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

151,385 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: synthclaw
license: MIT
metadata:
  version: 0.2.6
description: Render Blender files with agent-controlled procedural parameters for synthetic data generation. A key capability of this skill is returning dynamic quality metrics (Naturalness and LPIPS) upon generation and measuring dataset-wide diversity (Shannon entropy), allowing agents to be guided by the metric results to iteratively optimize parameter ranges and improve synthetic data usefulness. Supports CYCLES (production) and EEVEE (fast testing) render engines.
---

## Agent Rules & Guidelines (CRITICAL)

> [!IMPORTANT]
> To ensure correct execution and environment compatibility, any agent ingesting this skill MUST adhere to the following rules:
> 1. **Strictly Use Provided Tools**: You MUST use the provided high-level python tools (`render_procedural_scene`, `render_procedural_dataset`, `analyze_blend`, `analyze_dataset`) for all Blender rendering and analysis tasks.
> 2. **Prohibition of Custom Python Scripts**: Do NOT write custom Python scripts that import `bpy` (Blender Python API) or write manual file-writing rendering loops. The environment does not support direct `bpy` imports outside of the provided headless context wrapper.
> 3. **Prohibition of Direct CLI Calls**: Do NOT execute raw `blender` commands directly in the shell (e.g. `blender -b -P ...`). Always use the designated tool calls.
> 4. **Mandatory Discovery Phase**: You MUST call `analyze_blend` first before attempting to render any `.blend` file. This is required to discover the exact names of the available Value Nodes, materials, objects, and collections in the scene.
> 5. **Handling Heavy Scenes & Timeouts**: For heavy scenes with complex compositing pipelines or large file sizes (e.g. over 200 MB), EEVEE may time out. If EEVEE runs exceed the 60-second limit, pass a custom, larger `timeout` argument to `render_procedural_scene` or run production Cycles rendering (which automatically configures Metal GPU on macOS and CUDA elsewhere).
> 6. **Multi-Pass Compositing and Missing Composite Output Nodes**: When rendering complex multi-pass blend files (like `plaque_plate.blend`) that utilize compositor `File Output` nodes but lack the standard `Composite` node:
>    * The skill automatically detects the missing output node and dynamically creates/links a `Composite` fallback node (fully compatible with Blender 4.x and Blender 5.0+ group outputs) so that standard single-frame renders (`render_procedural_scene`) correctly write the fully fused image to the main output file rather than an empty base plate.
>    * Relative output paths (e.g., `../output/masks/`) configured in the compositor are automatically cleaned and routed under the target `output_dir`.

## When to Use

- Generate synthetic training data with controlled parameter variations
- Create procedural image datasets with ground truth metadata
- Automate rendering workflows for ML training data
- When you need parameter-sweep renders without manual Blender 

README.md

# SynthClaw: OpenClaw Agent for Blender Procedural Data Render Skill

SynthClaw is aimed at lowering the barriers of procedural image and ground truth generation using pre-prepared Blender files by turining command line tools into agentic operation attainable through natural language. In other words, this project transforms static Blender files into **agentic tools**. By bridging OpenClaw (or other agentic harnesses) with Blender’s Python API (`bpy`), an LLM can autonomously manipulate procedural nodes (like noise scale, roughness, or color intensity) and trigger high-quality renders based on natural language prompts.

A core feature of this skill is the generation of **dynamic quality metrics (Naturalness and LPIPS)** upon rendering. This provides a closed-loop feedback mechanism, enabling the agent to evaluate the quality of its output and iteratively optimize parameters guided directly by the metric results.

## 🛠 Project Purpose

The goal is to move away from manual "slider-pushing." Instead of opening Blender to tweak a material, you can tell the agent:

> *"Generate a render where the texture is much grainier and the surface looks like wet marble."*

The agent identifies the correct **Value Nodes**, updates their defaults, and returns a rendered image for review.

### Supported Render Engines
- **CYCLES**: Production quality, photorealistic (natively supports GPU acceleration via Metal on macOS Apple Silicon and CUDA/OptiX on other platforms, 30 min timeout)
- **EEVEE**: Fast real-time rendering (testing, 1 min timeout)

---

## 📂 Project Structure

This repository is designed as an installable Python package for OpenClaw agents:

* `src/synthclaw/`: Contains the OpenClaw execution wrappers (`blender_skill.py`, `analyze_skill.py`) that trigger background system processes.
* `scripts/`: Internal Blender execution code (`agent_bridge.py`, `analyze_blends.py`). These are loaded directly into Blender by the wrappers.
* `assets/config/`: JSON tool schemas provided to your LLM agent (`render_schema.json`, `analyze_schema.json`).
* `assets/`: Contains `low.blend` and `high.blend` required for testing agent configurations.
* `tests/`: Automated unit tests for validating Blender environment setup and output.
* `pyproject.toml`: Local package definition.

---

## 🚀 Setup Instructions

### 1. Blender File Preparation (Blender 4.0+)

For the agent to "see" your controls, you must explicitly name your **Value Nodes**:

1. Open your `.blend` file.
2. In the **Shader Editor**, add an **Input > Value** node.
3. Connect it to your procedural math/texture inputs.
4. **Critical Step:** Select the Value node, press `N` for the sidebar, and under **Item > Name**, set a unique name (e.g., `GrainScale`).
* *Note: The script looks at the internal Name, not just the Label.*



### 2. Environment Configuration

Ensure `blender` is in your system `$PATH`. Test this by running:

```bash
blender --version

```

*Requirement: Version 4.0.0 or higher.*

### 3. Install

_meta.json

{
  "ownerId": "kn72phxf9c8sn2bxwsd8mere3h83kg09",
  "slug": "synthclaw",
  "version": "0.2.6",
  "publishedAt": 1783943037018
}

skill-card.md

## Description:

SynthClaw helps agents analyze Blender scenes, adjust procedural Value Nodes, render synthetic images or datasets, and return quality metrics such as Naturalness, LPIPS, and dataset diversity.

This skill is ready for commercial/non-commercial use.

## Publisher:

[ayakimovich](https://clawhub.ai/user/ayakimovich)

### License/Terms of Use:

MIT

## Use Case:

Developers and ML data engineers use this skill to generate controlled synthetic image datasets from prepared Blender files, inspect scene parameters before rendering, and use image quality metrics to guide parameter tuning.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can run Blender locally on user-selected .blend files and inherits the process environment.

Mitigation: Use trusted .blend files, run the skill in a constrained environment where possible, and avoid exposing secrets through environment variables.

Risk: Dataset rendering can delete TIFF files under the selected output directory during cleanup.

Mitigation: Choose a fresh, dedicated output directory for each run so unrelated TIFF files cannot be removed.

Risk: Complex Blender scenes can be resource-intensive or time out during headless rendering.

Mitigation: Analyze the blend file first, start with EEVEE test renders, and set explicit timeouts or use production Cycles renders when appropriate.

## Reference(s):

- [ClawHub SynthClaw skill page](https://clawhub.ai/ayakimovich/skills/synthclaw)

## Skill Output:

**Output Type(s):** [files, text, configuration, guidance]

**Output Format:** [JSON status objects with rendered image or dataset file paths, logs, scene analysis, and optional metric values]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can produce PNG render outputs, routed compositor outputs, dataset directories, and Naturalness, LPIPS, or Shannon entropy metrics when dependencies and inputs are available.]

## Skill Version(s):

0.2.6 (source: frontmatter and pyproject.toml)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

dummy_config.json

{"output_dir": "output/dummy", "num_images": 2, "randomizations": []}

Sponsored

Ads related to SynthClaw and adjacent AI workflows.