animejs-v4-ai-guidelines: Instructions file for Claude Code

CLAUDE.md

animejs-v4-ai-guidelines CLAUDE.md is an instructions file for Claude Code from Makio64/animejs-v4-ai-guidelines. It costs 3,190 tokens per session, scanned A, original, MIT.

Project instructions for using anime.js version 4, a JavaScript library for creating web animations.

In plain words
What is it for?
They guide imports, global time settings, and the format for writing simple animations in anime.js v4.
Why use it?
They prevent code from using older anime.js version 3 syntax and document required setup choices.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is Makio64/animejs-v4-ai-guidelines's own configuration. It tells Claude Code how to work on animejs-v4-ai-guidelines itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything animejs-v4-ai-guidelines configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to Makio64/animejs-v4-ai-guidelines. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Makio64/animejs-v4-ai-guidelines/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Makio64/animejs-v4-ai-guidelines

Made for: Claude Code.

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-v4-ai-guidelines CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/makio64/animejs-v4-ai-guidelines/claude-md/github.svg)](https://agentmods.dev/instructions/makio64/animejs-v4-ai-guidelines/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/makio64/animejs-v4-ai-guidelines/claude-md"><img src="https://agentmods.dev/badge/instructions/makio64/animejs-v4-ai-guidelines/claude-md/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-v4-ai-guidelines CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/makio64/animejs-v4-ai-guidelines/claude-md"><img src="https://agentmods.dev/badge/instructions/makio64/animejs-v4-ai-guidelines/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,190 This file is loaded in full into every session.
When invoked 3,190 The same file โ€” it is already loaded in full.
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.03190 $0.03190
Opus 5 $0.01595 $0.01595
Sonnet 5 $0.00638 $0.00638
Haiku 4.5 $0.00319 $0.00319

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

Security

Grade A, and why

animejs-v4-ai-guidelines CLAUDE.md 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 11d 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.

CLAUDE.md ยท 396 lines

How it starts

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

Anime.js v4 Reference Guide for AI Assistants

๐Ÿšจ CRITICAL: ALWAYS USE ANIME.JS V4 SYNTAX ๐Ÿšจ

This project uses Anime.js v4.x.x - DO NOT use v3 syntax under any circumstances

If you're about to write import anime from 'animejs' - STOP! That's v3. This project uses v4. Use the correct import below.

๐Ÿš€ Quick Start - Essential Setup

1. Correct v4 Import (REQUIRED)

// โœ… CORRECT v4 imports
import { animate, createTimeline, stagger, utils, svg, eases, engine } from 'animejs';

// โŒ WRONG v3 import - NEVER USE THIS
// import anime from 'animejs';

2. Configure Time Units to Seconds (SET ONCE IN APP ENTRY POINT)

// โš ๏ธ IMPORTANT: Set this ONLY ONCE in your app's main entry point
// For React: App.js/App.tsx or index.js/index.tsx
// For Vue: main.js/main.ts
// For vanilla JS: The main script file that loads first

import { engine } from 'animejs';

// Set ONLY in the app's entry point, NOT in components
engine.timeUnit = 's';

// Now ALL durations use seconds everywhere: 1 = 1 second, 0.5 = 500ms
// DO NOT set this in individual components - it's a global setting!

3. Single-Line Format for Simple Animations (REQUIRED)

// โœ… GOOD - Clean, readable, one line for simple tweens
animate('.element', { x: 250, duration: 1, ease: 'outQuad' });

// โŒ BAD - Unnecessary multi-line for simple tweens
animate('.element', {
  x: 250,
  duration: 1,
  ease: 'outQuad'
});

โœ… Quick Validation Checklist

Before generating anime.js code, verify:

  • Using import { animate, ... } from 'animejs' NOT import anime
  • Set engine.timeUnit = 's' ONLY ONCE in app entry point (NOT in components)
  • Using seconds for all durations (1 = 1 second)
  • Simple animations on ONE LINE
  • Using animate() NOT anime()
  • Using createTimeline() NOT anime.timeline()
  • Using ease: NOT easing:
  • Using to: for values, NOT value:
  • Using on prefix for callbacks (onUpdate, onComplete)
  • Using loop and alternate NOT direction
  • Using correct v4 stagger syntax with stagger()
  • Using shorthand properties (x, y, z) when possible

Read the full file on GitHub ยท 396 lines

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. 11d ago First seen ยท 396 lines ยท 3,190 tokens per session scan A d9087e59c1a8

Subscribe to this mod's changes

animejs-v4-ai-guidelines CLAUDE.md is an instructions file published in the GitHub repository Makio64/animejs-v4-ai-guidelines (45 stars, last pushed 1y ago), licensed MIT. It adds 3,190 tokens to every session, about $0.0159 per session on Opus 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-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex ยท 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart โ€” add a new integration in 5 steps, integration architecture and integrationmanifest โ€” file tracking.

github/spec-kit ยท 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode ยท 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,469 tokens