hero-diff-highlight

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

An animated code comparison showing a deleted line in red and an added line in green. This kind of comparison is commonly used to explain changes in a code review or pull request.

In plain words
What is it for?
Use it for pull-request explanations, changelogs, refactoring stories, and developer-tool introductions.
Why use it?
It makes a code change easy to understand at a glance instead of presenting an unexplained block of source code.

Skill for Claude CodeCodex

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

Good fit Use it for pull-request explanations, changelogs, refactoring stories, and developer-tool introductions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unclecheng-li/ai_animation/hero-diff-highlight
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,542 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-diff-highlight
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-diff-highlight

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/unclecheng-li/ai_animation/hero-diff-highlight"><img src="https://agentmods.dev/badge/skills/unclecheng-li/ai_animation/hero-diff-highlight.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 151 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.00151
Opus 5.5 $0.00000 $0.00060
Sonnet 5.5 $0.00000 $0.00030
Haiku 4.5 $0.00000 $0.00015

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

Security

Grade A, and why

hero-diff-highlight 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 10d 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-diff-highlight/SKILL.md · 27 lines

What it actually says

Hero Diff Highlight

A dark code editor reveals a red deletion then a green addition with a soft pulse. Function: PR / code-change explainer.

Purpose

  • Developer tools, changelog, and refactor heroes
  • Contextual line chrome with traffic-light window bar
  • Monospace diff readability at 28px

Specs

  • Neutral lines fade up first; del then add enter
  • Add line pulses once after landing
  • Entry: index.html

Usage

npx hyperframes preview
ui2v motion publish . --version 1.0.0

Notes

Escape & as &amp; in HTML source so lint/render stays valid.

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. 10d ago First seen · 27 lines · 0 tokens per session scan A 264c58b1c56d

Subscribe to this mod's changes

hero-diff-highlight is a skill published in the GitHub repository Unclecheng-li/AI_Animation (1,542 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 151 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.