Skip to main content
skill CX Codex

analytics-metrics — Claude Code skill: charts and KPI dashboards

A skill that hands your agent ready Recharts components: line, bar and pie charts plus KPI cards. Useful when a screen needs metrics, not another table.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hoodini/ai-agents-skills --skill analytics-metrics -a claude-code
Open on GitHub

What analytics-metrics does

The skill ships component templates built on Recharts. You get a line chart with axes and legend, a bar chart, a pie chart with per-category slices, and a KPI card that shows a trend arrow and a percentage change. There is also a formatting module: numbers with K and M suffixes, currency via Intl.NumberFormat, signed percentages.

A dashboard layout example is included — a grid of KPI cards on top, two charts side by side underneath. Everything uses Tailwind classes, and ResponsiveContainer handles width. Run npm install recharts first; without the package the components will not compile.

The skill installs into Claude, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode, dropping SKILL.md into that platform's skills directory. If your project charts with a different library, expect to rewrite the templates — every snippet is tied to the Recharts API.

What it helps with

  • build a metrics screen from KPI cards and charts
  • plot revenue and user counts on one line chart
  • break sales down by category with a bar chart
  • format currency and percentages inside KPI cards
  • lay out a responsive dashboard grid for different screen widths

Example prompts for the agent

  • build a dashboard with four KPI cards and a monthly revenue line chart
  • add a pie chart showing orders split by category
  • move number and currency formatting into a shared utils module

How to install analytics-metrics

1Skills CLI (Vercel)

npx skills add hoodini/ai-agents-skills --skill analytics-metrics -a claude-code

2Manually: put the files in place

~/.claude/skills/analytics-metrics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/analytics-metrics/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about analytics-metrics

How do I install analytics-metrics in Claude?

Run npx skills add hoodini/ai-agents-skills --skill analytics-metrics -a claude-code. The skill lands in ~/.claude/skills/analytics-metrics/SKILL.md.

What does analytics-metrics do?

It gives the agent Recharts chart and KPI card templates so dashboards get assembled from working examples instead of from scratch.

What do I need before using it?

Recharts in the project — install it with npm install recharts. The example components are written in TSX with Tailwind classes.

Similar skills

Everything for Frontend and UI →

From the same set5

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor