# Pain Metric Falls Away — effect skill for numbers & charts

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

A painful metric (hours, cost, errors) draws a falling line while the number counts down and the mood lifts.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [Numbers & charts](https://varg.ai/how-to/browse/skills/numbers.md)
- **Slug:** `pain-metric-falls`
- **Status:** live
- **Publisher:** HeyGen (community)
- **License:** Apache-2.0
- **Source:** https://github.com/heygen-com/hyperframes/tree/main/registry/components/decline-chart
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Decline Chart](https://github.com/heygen-com/hyperframes/tree/main/registry/components/decline-chart) by HeyGen (HyperFrames), Apache-2.0. The write-up and recipes below are varg's.

Line drops steeply as the value counts down; the background goes from dark/red-tinted to clean once the product arrives.

**When:** The problem → solution turn in the first third of a film.

**Watch out:** Do not open on the solution's numbers before the pain has been shown.

**Timing:** Count down 1–1.5 s, line draw in the same window, background shift 0.6 s after.

**Also called:** decline chart, cost drops, problem stat

### In HyperFrames

```bash
npx hyperframes add decline-chart
```

### In Remotion

```tsx
const v = interpolate(frame,[0,40],[480,32],{extrapolateRight:'clamp',easing:Easing.inOut(Easing.cubic)});
<h1>{Math.round(v)} hrs/month</h1>
```

### In CapCut

Counter text template counting down; keyframe the background Adjust → Saturation/Temperature after the drop.

### Ready-made components

- [Decline Chart](https://skills.varg.ai/component/hf.decline-chart/) (hyperframes): npx hyperframes add decline-chart
- [Count Up](https://skills.varg.ai/component/hf.count-up/) (hyperframes): npx hyperframes add count-up
- [Animated Number](https://skills.varg.ai/component/motionprimitives.animated-number/) (motion-primitives): npx motion-primitives@latest add animated-number

### Where this comes from

- [Bohdan Motion: Secureframe launch video, one pain per scene](https://x.com/bohdanmotion/status/2069369111231049803)

## Use when

- The problem → solution turn in the first third of a film.

## Not for

- Do not open on the solution's numbers before the pain has been shown.

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/bede991a6c6c/take-pain-metric-falls.mp4 — The Decline Chart component rendered as installed (npx hyperframes add decline-chart), defaults only (credit: Rendered by varg · HyperFrames Decline Chart, https://hyperframes.heygen.com/catalog/components/decline-chart)

## More numbers & charts skills

- [Big Stat Count-Up](https://varg.ai/how-to/skills/big-stat-count-up.md): One huge number counts from zero to its value and lands, with a short label under it.
- [Odometer Digit Roll](https://varg.ai/how-to/skills/odometer-digit-roll.md): Each digit rolls on its own wheel to the target, places settling right to left like an odometer.
- [Bars Grow with Value Labels](https://varg.ai/how-to/skills/bars-grow-with-labels.md): Bars rise from the baseline in a staggered cascade with values riding their tops.
- [Line Draws with Riding Label](https://varg.ai/how-to/skills/line-draws-riding-label.md): A line draws itself left to right while the current value rides the pen tip, ending on a dot and big label.
- [Ranked Bar Race](https://varg.ai/how-to/skills/ranked-bar-race.md): Ranked bars grow and overtake each other over time while the axis rescales and a year/date ticks.
- [Progress Ring Fills](https://varg.ai/how-to/skills/progress-ring-fills.md): A thin ring draws on to a percentage while the number in its center counts up in sync.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
