react-zmage-integration

react-zmage-integration is a skill for Claude Code, Codex from Caldis/react-zmage. It costs 37 tokens per session (334 once invoked), scanned A, original, MIT.

A set of instructions for adding react-zmage, a React image viewer with fullscreen previews, zooming, and gallery browsing, to image content in an app.

In plain words
What is it for?
It is for integrating image previews into React, Next.js, MDX, CMS, Markdown, rich-text, and similar image surfaces.
Why use it?
It explains which integration approach fits ordinary React images, CMS content, Markdown, or generated HTML, reducing setup mistakes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for integrating image previews into React, Next.js, MDX, CMS, Markdown, rich-text, and similar image surfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caldis/react-zmage/react-zmage-integration
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 Caldis/react-zmage --skill react-zmage-integration
Clone the repo
git clone --depth 1 https://github.com/Caldis/react-zmage

Made for: Claude Code, Codex.

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 react-zmage-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/caldis/react-zmage/react-zmage-integration/github.svg)](https://agentmods.dev/skills/caldis/react-zmage/react-zmage-integration)
Your own site
<a href="https://agentmods.dev/skills/caldis/react-zmage/react-zmage-integration"><img src="https://agentmods.dev/badge/skills/caldis/react-zmage/react-zmage-integration/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 react-zmage-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/caldis/react-zmage/react-zmage-integration"><img src="https://agentmods.dev/badge/skills/caldis/react-zmage/react-zmage-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 334 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00037 $0.00334
Opus 5.5 $0.00015 $0.00134
Sonnet 5.5 $0.00007 $0.00067
Haiku 4.5 $0.00004 $0.00033

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

Security

Grade A, and why

react-zmage-integration 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 3mo 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.

docs/.well-known/agent-skills/react-zmage-integration/SKILL.md · 37 lines

What it actually says

react-zmage integration

When to use this skill

Use this skill when a user wants fullscreen image preview, image zoom, a React lightbox alternative, CMS image preview, MDX image preview, or gallery browsing in a React app.

Do not use this skill for unrelated image processing, server-side media transformation, account automation, OAuth setup, webhook setup, or MCP server work. react-zmage is a client-side React package.

Read first

Fetch https://zmage.caldis.me/llms.txt for the compact integration contract. Use https://zmage.caldis.me/llms-full.txt when you need the full README and repository agent notes in one request.

Install

npm install react-zmage

Import the stylesheet once from the app-level style entry:

import 'react-zmage/style.css'

Choose a mode

  • Component mode: replace owned React <img> markup with <Zmage src="..." alt="..." />.
  • Wrapper mode: wrap CMS, MDX, markdown, rich text, or generated HTML with <Zmage.Wrapper>.
  • Imperative mode: call Zmage.browsing(options) from a button, command, callback, or non-image event.

Prefer omitted preset so it resolves to auto. Keep optional behavior props unset during a basic install unless the user asks for them or testing exposes a concrete need.

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. 3mo ago First seen · 37 lines · 37 tokens per session scan A e99645f90530

Subscribe to this mod's changes

react-zmage-integration is a skill published in the GitHub repository Caldis/react-zmage (941 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 334 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

react-zmage-integration compared with skills from other repositories

react-zmage-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-zmage-integrationCaldis/react-zmageSkill9416mo agoMITA37Claude Code, Codex
3d-web-experienceranbot-ai/awesome-skillsSkill15todaynoneA45Claude Code, Codex
add-app-clipranbot-ai/awesome-skillsSkill15todaynoneA54Claude Code, Codex
angularranbot-ai/awesome-skillsSkill15todaynoneA32Claude Code, Codex
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99ktodayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k6d agoMITA62Claude Code, Codex