altimate-code: Skill for OpenCode

.opencode/skills/data-viz/SKILL.md

data-viz is a skill for OpenCode from AltimateAI/altimate-code. It costs 189 tokens per session (1,981 once invoked), scanned A, original, MIT.

A code-based toolkit guide for building interactive charts, dashboards, and data-reporting interfaces with libraries such as Recharts, Nivo, D3, and Tremor.

In plain words
What is it for?
Use it to create metric displays, line and bar charts, heatmaps, maps, flow diagrams, custom visualizations, and interactive analytics views in React, HTML, or Python environments.
Why use it?
It provides a defined approach for turning data into usable interfaces without requiring a specific business-intelligence product.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions Claude Code.

This is AltimateAI/altimate-code's own configuration. It tells OpenCode how to work on altimate-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything altimate-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AltimateAI/altimate-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AltimateAI/altimate-code/main/.opencode/skills/data-viz/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AltimateAI/altimate-code

Made for: OpenCode.

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 data-viz

README.md
[![agentmods](https://agentmods.dev/badge/skills/altimateai/altimate-code/data-viz/github.svg)](https://agentmods.dev/skills/altimateai/altimate-code/data-viz)
Your own site
<a href="https://agentmods.dev/skills/altimateai/altimate-code/data-viz"><img src="https://agentmods.dev/badge/skills/altimateai/altimate-code/data-viz/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 data-viz

Your own site · 80×15
<a href="https://agentmods.dev/skills/altimateai/altimate-code/data-viz"><img src="https://agentmods.dev/badge/skills/altimateai/altimate-code/data-viz.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 189 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,981 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.00189 $0.01981
Opus 5.5 $0.00076 $0.00792
Sonnet 5.5 $0.00038 $0.00396
Haiku 4.5 $0.00019 $0.00198

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

Security

Grade A, and why

data-viz 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 1mo 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.

.opencode/skills/data-viz/SKILL.md · 151 lines

How it starts

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

AI-First Data Visualization

Philosophy

Build production-quality interactive data interfaces with modern component libraries — no vendor lock-in, embeddable anywhere. When no tool is specified, build code-first. When the user explicitly names a BI tool, use it — only suggest code-first if they ask for options or hit a technical blocker.

Technology Stack

Full API patterns & code: references/component-guide.md

Framework Priority

  1. React + Tailwind — Default when JSX/TSX supported
  2. HTML + CSS + Vanilla JS — Fallback (use D3 or Chart.js)
  3. Python (Plotly/Dash) — Python-only environments only

Library Selection

Library Best For
shadcn/ui charts Default first choice — general dashboards, most chart types
Recharts Line, bar, area, composed, radar — fine-grained control
Tremor KPI cards, metric displays, full dashboard layouts
Nivo Heatmaps, treemaps, choropleth, calendar, Sankey, funnel
visx Bespoke custom viz — D3-level control with React
D3.js Force-directed graphs, DAGs, maps — maximum flexibility
Victory When animation quality matters most

Supporting: Tailwind CSS · Radix UI · Framer Motion · Lucide React · date-fns · Papaparse · lodash

Building a Visualization

Step 1: Understand the Data Story

Before code, identify: What question does the data answer? Who is the audience (exec → KPIs only, analyst → drill-down, public → narrative)? What's the ONE key insight? Design around it.

Step 2: Choose Chart Type

Data Relationship Chart Type Library
Trend over time Line, Area shadcn/Recharts
Category comparison Bar (horizontal if many) shadcn/Recharts
Part of whole Donut, Treemap shadcn/Nivo
Distribution Histogram, Box, Violin Nivo/visx
Correlation Scatter, Bubble Recharts/visx
Geographic Choropleth, Dot map Nivo/D3
Hierarchical Treemap, Sunburst Nivo
Flow / Process Sankey, Funnel Nivo/D3
Single KPI Metric card, Gauge, Sparkline Tremor/shadcn
Multi-metric overview Dashboard grid of cards Tremor + shadcn
Ranking Horizontal bar, Bar list Tremor
Column/model lineage Force-directed DAG D3
Pipeline dependencies Hierarchical tree, DAG D3/Nivo
Multi-dimensional quality Radar/Spider Recharts
Activity density over time Calendar heatmap Nivo
Incremental change breakdown Waterfall Recharts (custom)

Read the full file on GitHub · 151 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. 1mo ago First seen · 151 lines · 189 tokens per session scan A 3fffc2fbe92c

Subscribe to this mod's changes

data-viz is a skill published in the GitHub repository AltimateAI/altimate-code (813 stars, last pushed today), licensed MIT. It adds 189 tokens to every session and 1,981 once invoked, about $0.0008 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

Other skills, from other repositories

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

synthetic-sciences/openscience · 42 tokens

aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard…

synthetic-sciences/openscience · 74 tokens

geopandas

Python library for working with geospatial vector data including shapefiles, GeoJSON, and GeoPackage files. Use when working with geographic data for spatial analysis, geometric operations, coordinate transformations, spatial joins, overlay operations, choropleth mapping, or any task involving…

synthetic-sciences/openscience · 125 tokens

hdf5-pde-data-loading

Patterns for loading PDE simulation datasets (PDEBench, PhiFlow, JAX-CFD) from HDF5 files. Handles layout detection (single tensor vs separate variables), spatial/temporal downsampling, multi-variable systems, HuggingFace and DaRUS data sources, and efficient PyTorch DataLoader creation. Use when preparing PDE data…

synthetic-sciences/openscience · 82 tokens

markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

synthetic-sciences/openscience · 53 tokens

polars

Fast in-memory DataFrame library for datasets that fit in RAM. Use when pandas is too slow but data still fits in memory. Lazy evaluation, parallel execution, Apache Arrow backend. Best for 1-100GB datasets, ETL pipelines, faster pandas replacement. For larger-than-RAM data use dask or vaex.

synthetic-sciences/openscience · 69 tokens