hero-sparkline-rise

hero-sparkline-rise is a skill for Claude Code, Codex from Unclecheng-li/AI_Animation. It costs 0 tokens per session (153 once invoked), scanned A, original, MIT.

A dark analytics card draws a green sparkline, fades in its area, shows an endpoint dot, and counts up to a growth value.

In plain words
What is it for?
Use it for dashboards, growth reports, KPI cards, and metrics-focused hero sections.
Why use it?
It turns a metric into a visible progression so readers can follow the trend rather than seeing only a final number.

Skill for Claude CodeCodex

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

Good fit Use it for dashboards, growth reports, KPI cards, and metrics-focused hero sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unclecheng-li/ai_animation/hero-sparkline-rise
About the project

AI Animation Skills is a collection of agent instructions and templates for generating single-file HTML animations, including presentations, diagrams, protocol visualizations, phone interfaces, and video-style scenes. People use the skills with AI coding agents to create animated web pages from descriptions or templates. The catalogue entries are the collection's individual generation workflows.

Unclecheng-li/AI_Animation · 1,596 stars · on GitHub

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 Unclecheng-li/AI_Animation --skill hero-sparkline-rise
Clone the repo
git clone --depth 1 https://github.com/Unclecheng-li/AI_Animation

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 hero-sparkline-rise

README.md
[![agentmods](https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/hero-sparkline-rise/github.svg)](https://agentmods.dev/skills/unclecheng-li/ai_animation/hero-sparkline-rise)
Your own site
<a href="https://agentmods.dev/skills/unclecheng-li/ai_animation/hero-sparkline-rise"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/hero-sparkline-rise/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 hero-sparkline-rise

Your own site · 80×15
<a href="https://agentmods.dev/skills/unclecheng-li/ai_animation/hero-sparkline-rise"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/hero-sparkline-rise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 153 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.
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.00000 $0.00153
Opus 5.5 $0.00000 $0.00061
Sonnet 5.5 $0.00000 $0.00031
Haiku 4.5 $0.00000 $0.00015

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

Security

Grade A, and why

hero-sparkline-rise 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 16d 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.

skills/ui2v-motions/01_动效库/itelmn/hero-sparkline-rise/SKILL.md · 27 lines

What it actually says

Hero Sparkline Rise

A dark analytics card draws a green sparkline while the delta counts to +38%. Function: KPI / growth / analytics hero.

Purpose

  • Dashboard, growth report, and metrics heroes
  • Stroke draw + area fade + endpoint dot
  • Night slate analytics chrome

Specs

  • Line dashoffset 1600 over 2.2s
  • Area and endpoint appear after the draw
  • Entry: index.html

Usage

npx hyperframes preview
ui2v motion publish . --version 1.0.0

Notes

If you reshape the path, re-tune stroke-dasharray so the draw finishes with the counter.

Files

What ships with it

6 files 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. 16d ago First seen · 27 lines · 0 tokens per session scan A fede788e90c9

Subscribe to this mod's changes

hero-sparkline-rise is a skill published in the GitHub repository Unclecheng-li/AI_Animation (1,596 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 153 tokens. 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-10-06.

Related

Other skills, from other repositories

fund-holding-viewer

A deployment guide for a Chinese fund-holdings analysis web app. It covers running the app on Alibaba Cloud ECS, a virtual server service, with HTTPS through either a subdomain or a path on an existing domain.

whjin/fundscope · 77 tokens

preline-mcp

Add, integrate, or build Preline UI components and blocks into HTML files via the Preline MCP server. Use when the user mentions "preline", says "/preline", asks to add a UI component, or requests a Preline block (a ready-made page section) using Preline UI.

htmlstreamofficial/preline · 66 tokens

preline-theme-generator

Generate, preview, save, or validate Preline theme CSS using the bundled local generator in this skill. Use when the user asks to create a new Preline theme, match a brand color, translate a mood into a theme, generate light and dark theme CSS, preview theme output without writing files, or review and fix generated…

htmlstreamofficial/preline · 89 tokens

phaser3-engineer

!cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/input-validation.md 2>/dev/null || true !cat skills/shared/protocols/tool-efficiency.md 2>/dev/null || true !cat…

buiphucminhtam/forgewright · 71 tokens

Biome

Biome 2.x — fast all-in-one web toolchain in Rust. Formats, lints, assists. Replaces Prettier + ESLint.

pledgeandgrow/pledge-skills · 33 tokens

prettier-docs

Prettier 3.9.5 — opinionated code formatter. CLI, API, config, plugins, editor integration, CI.

pledgeandgrow/pledge-skills · 34 tokens