json-render-react

json-render-react is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 43 tokens per session (2,677 once invoked), scanned A, a copy of react, Apache-2.0.

A React renderer that turns JSON specifications into React components. React is a JavaScript library for building user interfaces from reusable components.

In plain words
What is it for?
Use it to build component catalogs, register custom components, and render AI-generated or other JSON-defined web interfaces.
Why use it?
It lets an application describe an interface as structured JSON and then render that description through registered React components.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend-design-skills plugin — 8 skills shipped together

Good fit Use it to build component catalogs, register custom components, and render AI-generated or other JSON-defined web interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/json-render-react
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,226 stars · on GitHub · claudesettings.com

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 fcakyon/claude-codex-settings --skill json-render-react
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install frontend-design-skills, the plugin that ships this one along with the rest of its 8 skills.

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 json-render-react

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/json-render-react/github.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/json-render-react)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/json-render-react"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/json-render-react/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 json-render-react

Your own site · 80×15
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/json-render-react"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/json-render-react.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,677 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 98% copy Near-identical to another mod 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.00043 $0.02677
Opus 5.5 $0.00017 $0.01071
Sonnet 5.5 $0.00009 $0.00535
Haiku 4.5 $0.00004 $0.00268

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

Security

Grade A, and why

json-render-react 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 2d 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.

Origin

This is a copy

98% identical to react — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/frontend-design-skills/skills/json-render-react/SKILL.md · 300 lines

How it starts

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

@json-render/react

React renderer that converts JSON specs into React component trees.

Quick Start

import { defineRegistry, Renderer } from "@json-render/react";
import { catalog } from "./catalog";

const { registry } = defineRegistry(catalog, {
  components: {
    Card: ({ props, children }) => <div>{props.title}{children}</div>,
  },
});

function App({ spec }) {
  return <Renderer spec={spec} registry={registry} />;
}

Creating a Catalog

import { defineCatalog } from "@json-render/core";
import { schema } from "@json-render/react/schema";
import { defineRegistry } from "@json-render/react";
import { z } from "zod";

// Create catalog with props schemas
export const catalog = defineCatalog(schema, {
  components: {
    Button: {
      props: z.object({
        label: z.string(),
        variant: z.enum(["primary", "secondary"]).nullable(),
      }),
      description: "Clickable button",
    },
    Card: {
      props: z.object({ title: z.string() }),
      slots: ["default"],
      description: "Card container with title",
    },
    Layout: {
      props: z.object({}),
      slots: ["default", "header", "footer"],
      description: "Layout with named content regions",
    },
  },
});

// Define component implementations with type-safe props
const { registry } = defineRegistry(catalog, {
  components: {
    Button: ({ props }) => (
      <button className={props.variant}>{props.label}</button>
    ),
    Card: ({ props, children }) => (
      <div className="card">
        <h2>{props.title}</h2>
        {children}
      </div>
    ),
    Layout: ({ children, slots }) => (
      <div>
        <header>{slots?.header}</header>
        <main>{children}</main>
        <footer>{slots?.footer}</footer>
      </div>
    ),
  },
});

Spec Structure (Element Tree)

The React schema uses an element tree format:

{
  "root": {
    "type": "Card",
    "props": { "title": "Hello" },
    "children": [{ "type": "Button", "props": { "label": "Click me" } }]
  }
}

Read the full file on GitHub · 300 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 300 lines · 43 tokens per session scan A a086520bf56d

Subscribe to this mod's changes

json-render-react is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,226 stars, last pushed today), licensed Apache-2.0. It adds 43 tokens to every session and 2,677 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 98% identical to react, differing in 3 lines, and is treated as a copy.

Related

json-render-react compared with skills from other repositories

json-render-react next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
json-render-reactfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A43Claude Code
lov-install-tanstack-querylovstudio/skillsSkill72yesterdayMITA61Claude Code
lov-kill-emojilovstudio/skillsSkill72yesterdayMITA48Claude Code
lov-video-chapter-designlovstudio/skillsSkill72yesterdayMITA51Claude Code
astryx-design-systemrootcastleco/rei-skillsSkill113d agononeA48Claude Code, Codex
algolia-searchrootcastleco/rei-skillsSkill113d agononeA41Claude Code, Codex
form-handling-react-hook-formrootcastleco/rei-skillsSkill113d agononeA58Claude Code, Codex