JSON Render Table for Openclaw

An AI-powered skill that transforms arbitrary structured datasets into clean, compact PNG images for professional data visualization.

sorphwer
v0.2.0
Feb 16, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install json-render-table

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install json-render-table using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is JSON Render Table?

The JSON Render Table skill is a specialized utility designed for developers and AI agents to convert raw structured data into high-quality visual tables. By leveraging the json-render-cli and Playwright, it generates edge-to-edge screenshots that are far more readable and professional than standard markdown tables. It is a core component for Openclaw Skills users who need to present non-ticket data in a clear, customizable format with full control over themes, column widths, and layout rules.

This skill automates the entire lifecycle of image generation—from schema definition and viewport tuning to final rendering and garbage collection. Whether you are building reports, visualizing API responses, or comparing datasets, this skill provides a robust framework for delivering visual information within an AI-driven workflow.

JSON Render Table Use Cases

  • Visualizing arbitrary rows and columns from structured JSON or CSV datasets.
  • Generating clean data reports for stakeholders without relying on raw text formats.
  • Displaying KPI summaries and categorical information using visual badges.
  • Comparing multiple datasets side-by-side in a compact, readable image format.

How JSON Render Table Works

  1. The skill checks for the existence of json-render-cli and ensures the Playwright Chromium browser is installed.
  2. It analyzes the input data to define the appropriate column schema and row structure.
  3. A configuration JSON is generated in memory based on the compact-table-template.
  4. The configuration is passed to the rendering engine via process substitution to minimize temporary file creation.
  5. Viewport dimensions and screenshot settings are dynamically adjusted to fit the content perfectly.
  6. The tool renders the final PNG to a temporary directory and returns the file path for the agent to display.

JSON Render Table Setup

To prepare your environment for this skill, ensure the CLI and browser dependencies are installed:

# Install the rendering engine globally
npm i -g json-render-cli

# Install the Chromium browser dependency
npx playwright install chromium

JSON Render Table Data Schema & Taxonomy

The skill organizes data using a hierarchical structure of layout components. The following table describes the primary components used:

Component Purpose Technical Detail
Column Structural Layout Defined with explicit widths to ensure stable table alignment.
Row Data Container Groups individual data points into horizontal entries.
Badge Status Visualization Used for categorical fields to provide visual distinction.
Container Spacing Control Manages padding and margins for a compact, edge-to-edge look.
Text Content Rendering Handles font styling and line wrapping within cells.

JSON Render Table Advanced Features

  • Intelligent Viewport Tuning: Automatically adjusts width and height to eliminate excess whitespace or clipping.
  • Model Routing Optimization: Supports delegating rendering tasks to low-cost models like Gemini Flash to save on operational costs.
  • Main-Agent Coordination: Ensures deterministic image delivery by managing garbage collection and file paths across sub-agents.
  • Process Substitution: Uses advanced CLI techniques to avoid the overhead of writing temporary configuration files to disk.
  • Full Theme Support: Seamlessly switches between system, light, and dark modes based on user preference or environment settings.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*