← Back to Skills Marketplace
825
Downloads
0
Stars
2
Active Installs
9
Versions
Install in OpenClaw
/install materials-cli
Description
Render JSON schemas to images and generate schemas from prompts using declare-render and AI.
Usage Guidance
This skill appears to do what it says — render/validate JSON schemas and optionally generate schemas using OpenAI. Before installing: (1) Be aware it depends on node and node-canvas (native system libs) — follow the provided install steps for your OS; (2) the package references local file dependencies (materials-agents, declare-render) which may not be available when installing from an external registry; the generate command will fail unless you install the materials-agents package or pass an API key and model via flags; (3) the generate flow sends your OPENAI_API_KEY to OpenAI (or to any base URL you set) — only provide a key you trust and consider using a key with limited scope or rate limits; (4) if installing code from an unknown source, review the materials-agents and declare-render packages (or run the CLI in an isolated environment) to ensure there are no unexpected network calls or behaviors. Overall: functionally coherent, but double-check packaging and the auxiliary packages before use.
Capability Analysis
Type: OpenClaw Skill
Name: materials-cli
Version: 1.0.8
The materials-cli bundle is a legitimate utility for rendering JSON schemas into images and generating schemas using the OpenAI API. The code follows standard Node.js CLI patterns, using commander for argument parsing, inquirer for interactive prompts, and node-canvas (via declare-render) for image generation. While the utility performs environment checks using execSync in src/utils/install.ts, these are limited to verifying the presence of required system libraries like cairo and pango. No evidence of data exfiltration, malicious prompt injection, or unauthorized network activity was found.
Capability Assessment
Purpose & Capability
Name/description (render schemas, generate via AI) align with the code: render, validate, and generate commands are implemented and use declare-render and OpenAI. One oddity: package manifests reference local file dependencies (e.g., "materials-agents": "file:../materials-agents" and declare-render via local paths) which is unusual for a published package and may indicate the repository was packaged from a monorepo rather than prepared for publishing. This is likely a packaging/installation issue, not a capability mismatch.
Instruction Scope
SKILL.md and code only instruct the agent/CLI to load schema files, render them, validate them, or call an AI helper to produce schemas. The generate flow explicitly requires an OpenAI API key (or uses CLI flag), and no instructions request unrelated files, system credentials, or unknown external endpoints.
Install Mechanism
Registry entry has no install spec (instruction-only), but the package includes source and lockfiles. Dependencies include native 'canvas' (node-canvas) which requires platform libraries and rebuild steps; the code surfaces helpful install guidance. The biggest oddity: package.json/lock reference file:../ local packages (declare-render, materials-agents). That makes typical npm/pnpm installation fragile or confusing when installing from a registry or an unknown source.
Credentials
Declared required env is OPENAI_API_KEY (and the CLI also optionally reads OPENAI_MODEL and OPENAI_BASE_URL, which are reasonable). No other secrets or unrelated credentials are requested. The primary credential (OpenAI key) is appropriate for the generate command.
Persistence & Privilege
Skill does not request always:true or any special permanent agent privileges. It does not modify other skills or system-wide configs. It runs as a normal CLI-style tool.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install materials-cli - After installation, invoke the skill by name or use
/materials-cli - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.8
Update CLI documentation and validation
v1.0.7
materials-cli 1.0.7
- Updated dependencies and bumped version to 1.0.7.
- Minor adjustments and maintenance to documentation.
- No breaking changes or new features introduced.
v1.0.6
- Updated environment metadata key from "openclaw" to "clawdbot" in SKILL.md.
- Bumped version to 1.0.6.
- Updated lockfile and project metadata for consistency.
v1.0.5
Bump to 1.0.5.
v1.0.4
Publish to Claw Hub; declare-render ^1.1.4.
v1.0.3
CLI entry point, generate command, esbuild build, error details, overflow layout
v1.0.2
Include src, bin, dist for complete installation
v1.0.1
Update to use declare-render 1.1.0 with built-in schema normalization
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Materials Cli?
Render JSON schemas to images and generate schemas from prompts using declare-render and AI. It is an AI Agent Skill for Claude Code / OpenClaw, with 825 downloads so far.
How do I install Materials Cli?
Run "/install materials-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Materials Cli free?
Yes, Materials Cli is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Materials Cli support?
Materials Cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Materials Cli?
It is built and maintained by White (@cai-zhuo); the current version is v1.0.8.
More Skills