animejs

animejs is a skill for Claude Code, Codex from delexw/claude-code-misc. It costs 143 tokens per session (3,731 once invoked), scanned A, original, MIT.

A guide for writing animations with anime.js version 4, a JavaScript library for moving and changing elements on web pages. It covers the version’s imports, animation methods, timelines, easing, scrolling, and dragging.

In plain words
What is it for?
Use it when adding animations to HTML, CSS, SVG, or JavaScript interfaces, including scroll effects, drag interactions, and timed sequences.
Why use it?
It helps avoid using older anime.js version 3 syntax with version 4, where the programming interface changed.

Skill for Claude CodeCodex

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

Good fit Use it when adding animations to HTML, CSS, SVG, or JavaScript interfaces, including scroll effects, drag interactions, and timed sequences.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/delexw/claude-code-misc/animejs
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 delexw/claude-code-misc --skill animejs
Clone the repo
git clone --depth 1 https://github.com/delexw/claude-code-misc

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 animejs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/delexw/claude-code-misc/animejs"><img src="https://agentmods.dev/badge/skills/delexw/claude-code-misc/animejs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,731 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.00143 $0.03731
Opus 5.5 $0.00057 $0.01492
Sonnet 5.5 $0.00029 $0.00746
Haiku 4.5 $0.00014 $0.00373

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

Security

Grade A, and why

animejs 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 3mo 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/animejs/SKILL.md · 464 lines

How it starts

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

Anime.js v4 Animation Skill

Anime.js v4 is a modular JavaScript animation engine (10KB full / 3KB WAAPI-only). This skill ensures you write correct v4 syntax — the API changed significantly from v3.

Installation

npm install animejs

CDN (ESM):

<script type="module">
  import { animate } from 'https://cdn.jsdelivr.net/npm/animejs/+esm';
</script>

Core Concept: Named Imports

v4 uses named exports, not a default anime object. Import only what you need:

import { animate, stagger, createTimeline, utils } from 'animejs';

Subpath imports for smaller bundles:

import { animate } from 'animejs/animation';
import { createTimeline } from 'animejs/timeline';
import { createDraggable } from 'animejs/draggable';
import { onScroll } from 'animejs/events';
import { stagger, utils } from 'animejs/utils';
import { waapi } from 'animejs/waapi';

Quick Reference: animate()

animate(targets, parameters);

Targets: CSS selectors, DOM elements, NodeLists, JS objects, or arrays of these.

Parameters combine animatable properties + playback settings + callbacks:

animate('.box', {
  translateX: 250,           // CSS transform
  opacity: [0, 1],           // [from, to]
  scale: { from: 0.5, to: 1 },
  backgroundColor: '#FF0000', // color animation
  duration: 800,
  delay: stagger(100),       // stagger per element
  ease: 'outExpo',           // easing function
  loop: 2,                   // repeat 2 times (3 total plays)
  alternate: true,           // ping-pong
  onComplete: () => console.log('done'),
});

Animatable Properties

Category Examples
CSS opacity, width, height, backgroundColor, borderRadius
Transforms translateX, translateY, rotate, scale, skewX
CSS Variables '--my-var': 100
SVG Attributes cx, r, points, d (via morphTo)
HTML Attributes value, data-count
JS Object Props Any numeric property on a plain object

Read the full file on GitHub · 464 lines

Files

What ships with it

2 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. 3mo ago First seen · 464 lines · 143 tokens per session scan A db2b43fbadda

Subscribe to this mod's changes

animejs is a skill published in the GitHub repository delexw/claude-code-misc (2 stars, last pushed 8mo ago), licensed MIT. It adds 143 tokens to every session and 3,731 once invoked, about $0.0006 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-31.

Related

animejs compared with skills from other repositories

animejs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
animejsdelexw/claude-code-miscSkill28mo agoMITA143Claude Code, Codex
cf-designdinhanhthi/coding-friendSkill414d agoMITA76Claude Code
officecli-pitch-deckiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A163Claude Code, Codex
morph-pptiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A169Claude Code, Codex
officecli-academic-paperiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A141Claude Code, Codex
officecli-pptxiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A106Claude Code, Codex
officecliiOfficeAI/OfficeCLISkill34kyesterdayApache-2.0A56Claude Code, Codex