add-gallery-example

add-gallery-example is a skill for Claude Code, Codex from f5/unovis. It costs 63 tokens per session (1,221 once invoked), scanned A, original, Apache-2.0.

A project guide for adding a chart example to the Unovis gallery across its supported frameworks.

In plain words
What is it for?
It helps developers create framework examples, register them in the gallery, and showcase a visualization.
Why use it?
It defines the required files, naming, registration, data, and light and dark previews for a complete gallery entry.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { Example } from '../types'.

Good fit It helps developers create framework examples, register them in the gallery, and showcase a visualization.

Compare 6 skills from other repositories ↓
About the project

Unovis is a modular data-visualization framework for building charts, maps, network graphs, and other visual components in JavaScript or TypeScript applications. It supports React, Angular, Svelte, Vue, Solid, and vanilla projects, with packages that can be imported individually.

f5/unovis · 2,859 stars · on GitHub · unovis.dev

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/f5/unovis
agentmods
npx agentmods add skills/f5/unovis/add-gallery-example

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 add-gallery-example

README.md
[![agentmods](https://agentmods.dev/badge/skills/f5/unovis/add-gallery-example/github.svg)](https://agentmods.dev/skills/f5/unovis/add-gallery-example)
Your own site
<a href="https://agentmods.dev/skills/f5/unovis/add-gallery-example"><img src="https://agentmods.dev/badge/skills/f5/unovis/add-gallery-example/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 add-gallery-example

Your own site · 80×15
<a href="https://agentmods.dev/skills/f5/unovis/add-gallery-example"><img src="https://agentmods.dev/badge/skills/f5/unovis/add-gallery-example.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,221 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.00063 $0.01221
Opus 5.5 $0.00025 $0.00488
Sonnet 5.5 $0.00013 $0.00244
Haiku 4.5 $0.00006 $0.00122

Measured yesterday against content hash 05e1f9a973dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-gallery-example 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 yesterday.

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.

ai/skills/add-gallery-example/SKILL.md · 105 lines

How it starts

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

Examples live in packages/shared/examples/ (consumed by both the website gallery and the multi-framework playground). The public guide packages/website/contributing/guides/gallery-examples.mdx covers the same ground in prose.

1. Create packages/shared/examples/<slug>/

<slug> is kebab-case (e.g. basic-line-chart). Add one implementation per framework plus data and index:

<slug>/
├── data.ts                 # typed dataset: export const data = [...]
├── index.tsx               # website metadata (template below)
├── <slug>.tsx              # React
├── <slug>.ts               # vanilla TypeScript  (entry MUST be named exactly <slug>.ts)
├── <slug>-solid.tsx        # Solid
├── <slug>.svelte           # Svelte
├── <slug>.vue              # Vue
├── <slug>.component.html   # ┓
├── <slug>.component.ts     # ┠ Angular
└── <slug>.module.ts        # ┛

Copy an existing example (e.g. packages/shared/examples/basic-line-chart) to get every framework file right.

2. index.tsx (current shape — includes all six frameworks)

/* eslint-disable import/no-unresolved, import/no-webpack-loader-syntax, @typescript-eslint/no-var-requires */
import React from 'react'
import type { Example } from '../types'
import metadata from '../metadata.json'

const pathname = '<slug>'
const example: Example = {
  component: () => {
    // eslint-disable-next-line @typescript-eslint/naming-convention
    const Component = require(`./${pathname}.tsx`).default
    return <Component />
  },
  pathname,
  ...metadata[pathname],
  codeReact: require(`!!raw-loader!./${pathname}.tsx`).default,
  codeSolid: require(`!!raw-loader!./${pathname}-solid.tsx`).default,
  codeTs: require(`!!raw-loader!./${pathname}.ts`).default,
  codeAngular: {
    html: require(`!!raw-loader!./${pathname}.component.html`).default,
    component: require(`!!raw-loader!./${pathname}.component.ts`).default,
    module: require(`!!raw-loader!./${pathname}.module.ts`).default,
  },
  codeSvelte: require(`!!raw-loader!./${pathname}.svelte`).default,
  codeVue: require(`!!raw-loader!./${pathname}.vue`).default,
  data: require('!!raw-loader!./data').default,
  preview: require(`../_previews/${pathname}.png`).default,
  previewDark: require(`../_previews/${pathname}-dark.png`).default,
}

export default example

Read the full file on GitHub · 105 lines

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. yesterday Changed · +6 lines 05e1f9a973dc
  2. 1mo ago First seen · 99 lines · 63 tokens per session scan A 81cb619b7290

Subscribe to this mod's changes

add-gallery-example is a skill published in the GitHub repository f5/unovis (2,859 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 1,221 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

bklit-ui

Install, compose, theme, and animate Bklit UI charts (the @bklit shadcn registry) in a React / Next.js app. Use when the user wants a chart, graph, or data visualization: line, area, bar, live/streaming line, composed, scatter, candlestick/OHLC, pie, ring/donut, radar, gauge, heatmap, funnel, sankey, sunburst, or…

bklit/bklit-ui · 256 tokens

globestudio

Creates, edits and embeds dotted world maps and animated 3D globes with Globestudio (globestudio.app), a free open source studio with 21 looks. Use when the user wants a dotted map, a dotted or 3D globe, a spinning earth or a stylized world map for a website hero, background, slide, social post or video; when they…

alevizio/globestudio · 193 tokens

estimate-jira

Estimate complexity, effort, and risks for JIRA tickets, features, or projects. Generates structured reports with time estimates, dependencies, risk analysis, and known unknowns. Use when user asks to "estimate", "size", or "analyze complexity" of work items.

ag-grid/ag-charts · 59 tokens

chart-defaults

Find the actual runtime default value of any AG Charts configuration option, and keep JSDoc Default: markers accurate. Use when documenting a default, verifying a change has not altered one, writing tests against default behaviour, or auditing whether a TypeScript comment matches the theme template.

ag-grid/ag-charts · 60 tokens

hot-paths

AG Charts runtime hot paths: which files run per datum, per frame or per interaction, the invariants each tier must hold, and how to evidence a performance claim. Use when reviewing a change that touches series, scene, data-model, scale, interaction or DOM code, when asked whether a diff will cost performance, or when…

ag-grid/ag-charts · 76 tokens

module-definitions

Add or change an AG Charts module definition: which options it owns, how community reports it when missing, how its theme defaults and validation reach the chart, and how the generated module tables stay in step. Use when creating a module, moving a feature into one, adding an option path a module owns, or when a…

ag-grid/ag-charts · 84 tokens