install skill from sorphwer/json-render-cli: npm/skills/use-json-render-cli

json-render-cli / Skills Runtime

No more+------------------+ | ASCII table | +--------+-------+ +-----------+in your chat,Agent can reply with
Any UI You Want rendered as a polished card image

ASCII wireframes can misalign fast and feel cramped, especially on mobile, but pre-rendered image perfectly fixed this, availble in your OpenClaw, Codex, Curser, Claude App and Dify (agent with shell capability)

A CLI built for AI agents — bundled with composable skills that let any agent render rich UI on demand, turning plain data into polished visuals in one prompt.

Interactive Demo

Draw prompts. Send. Preview a skill output card.

YouToday
Please install skill from GitHub path: sorphwer/json-render-cli -> npm/skills/use-json-render-cli
Skill AgentToday
Done. use-json-render-cli is installed from npm/skills. It routes to the right template automatically.

How it works

Prompt in chat, JSON by agent, one CLI render.

Compared with writing HTML/CSS from scratch, this flow typically uses about 60-75% fewer tokens, and a persistent config keeps visual style consistent for faster, repeatable rendering.

Step 1

Send prompt in chat

User states intent in natural language.

Render "Any UI You Want" as a dark four-column PNG card.

I will create the JSON spec first, then run one CLI command.

Step 2

Agent generates JSON

Structured spec is produced before rendering.

{
  "root": {
    "type": "Row",
    "props": { "width": "100%", "height": "100%", "gap": 0 },
    "children": [
      { "type": "Heading", "props": { "text": "Any" } },
      { "type": "Heading", "props": { "text": "UI" } },
      { "type": "Heading", "props": { "text": "You" } },
      { "type": "Heading", "props": { "text": "Want" } }
    ]
  }
}

Step 3

Agent runs one CLI line

JSON goes into a single executable command.

json-render -m "$(cat examples/any-ui-you-want.json)" -c config.json -o landingpage/public/showcase/dark/any-ui-you-want-1x4-tight-half.png --size 3200x520

Output: landingpage/public/showcase/dark/any-ui-you-want-1x4-tight-half.png

Install + Ship

json-render-cli for prompt-to-image workflows

Generate clean PNG outputs for reporting, incident updates, and release communication with one repeatable pipeline.

  1. 1Install the unified skill. Use one command in your agent to install use-json-render-cli from this GitHub repo.
  2. 2Chat with Agent directly. Request image rendering directly; the installed skill routes to the right template.
  3. 3Render and iterate. Use compact templates and get PNG output in one prompt.
install skill from sorphwer/json-render-cli: npm/skills/use-json-render-cli

Compatible with

OpenClaw
Codex
Cursor
Claude

Built with json-render.dev

Acknowledgements

Built in the open. Give it a star if it saved you time.

This project is open-source and free to use. If you find it helpful, a star on GitHub means a lot and helps others discover it too.

Powered by

Built on top of the JSON Render engine.

All skill templates compile to JSON specs and render through json-render — an open-source, config-driven layout engine for producing pixel-perfect PNGs from structured data.

json-render.dev