continuous-loops

continuous-loops is a skill for Claude Code, Codex from dylantarre/animation-principles. It costs 31 tokens per session (751 once invoked), scanned A, original, MIT.

A guide to animations that repeat continuously, such as loading spinners, pulsing indicators, and background motion.

In plain words
What is it for?
Use it when creating loading states, status indicators, breathing effects, spinners, and other animations that run indefinitely.
Why use it?
It helps repeating motion look smooth and remain noticeable without becoming distracting or tiring.

Skill for Claude CodeCodex

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

Good fit Use it when creating loading states, status indicators, breathing effects, spinners, and other animations that run indefinitely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dylantarre/animation-principles/continuous-loops
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 dylantarre/animation-principles --skill continuous-loops
Clone the repo
git clone --depth 1 https://github.com/dylantarre/animation-principles

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 continuous-loops

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylantarre/animation-principles/continuous-loops/github.svg)](https://agentmods.dev/skills/dylantarre/animation-principles/continuous-loops)
Your own site
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/continuous-loops"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/continuous-loops/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 continuous-loops

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylantarre/animation-principles/continuous-loops"><img src="https://agentmods.dev/badge/skills/dylantarre/animation-principles/continuous-loops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 751 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. Third-party audits
  • Socket pass 16 Sept 2026
  • Snyk pass 16 Sept 2026
How audits are shown
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.00031 $0.00751
Opus 5.5 $0.00012 $0.00300
Sonnet 5.5 $0.00006 $0.00150
Haiku 4.5 $0.00003 $0.00075

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

Security

Grade A, and why

continuous-loops 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/05-by-animation-type/continuous-loops/SKILL.md · 90 lines

How it starts

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

Continuous Loop Animations

Apply Disney's 12 principles to animations that never stop.

Principle Application

Squash & Stretch: Subtle scale oscillation (0.98-1.02) creates organic breathing. Avoid rigid mechanical loops.

Anticipation: Build anticipation into the loop cycle. Brief pause at extremes before reversing.

Staging: Loops should support, not dominate. Keep amplitude subtle for background elements.

Straight Ahead vs Pose-to-Pose: Design keyframe poses that loop seamlessly. End frame must flow into start frame.

Follow Through & Overlapping: Multi-part loops have elements at different phases. Three dots pulse with 120° phase offset.

Slow In/Slow Out: Use ease-in-out for smooth oscillations. Linear motion looks mechanical.

Arcs: Circular motion follows true arcs. Spinners rotate, pendulums swing, orbits circle.

Secondary Action: Primary rotation + secondary wobble. Spinner spins while slightly bouncing.

Timing:

  • Fast loops: 500-800ms (spinners, urgent indicators)
  • Medium loops: 1000-2000ms (pulsing, breathing)
  • Slow loops: 2000-4000ms (ambient, background)

Exaggeration: Minimal for loops - they're already attention-grabbing through repetition.

Solid Drawing: Loops must be seamless. Any jump between end and start destroys the illusion.

Appeal: Loops should be hypnotic, not annoying. Test at 30 seconds - still pleasant?

Timing Recommendations

Loop Type Duration Easing Iterations
Spinner 600-800ms linear (rotation) infinite
Pulse 1500-2000ms ease-in-out infinite
Skeleton Shimmer 1500ms ease-in-out infinite
Typing Dots 1400ms ease-in-out infinite
Breathing 3000-4000ms ease-in-out infinite
Floating 3000-5000ms ease-in-out infinite

Implementation Patterns

/* Smooth spinner */
.spinner {
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Organic pulse */
.pulse {
  animation: pulse 2000ms ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* Staggered dots */
.dot {
  animation: bounce 1400ms ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 160ms; }
.dot:nth-child(3) { animation-delay: 320ms; }

Read the full file on GitHub · 90 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. 3mo ago First seen · 90 lines · 31 tokens per session scan A 5bfcdc028012

Subscribe to this mod's changes

continuous-loops is a skill published in the GitHub repository dylantarre/animation-principles (735 stars, last pushed 11mo ago), licensed MIT. It adds 31 tokens to every session and 751 once invoked, about $0.0001 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-30.

Related

continuous-loops compared with skills from other repositories

continuous-loops next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
continuous-loopsdylantarre/animation-principlesSkill73511mo agoMITA31Claude Code, Codex
cuboid-carouselheygen-com/hyperframesSkill93ktodayApache-2.0A45Claude Code
code-slice-heroheygen-com/hyperframesSkill93ktodayApache-2.0A44Claude Code
canopy-part-titleheygen-com/hyperframesSkill93ktodayApache-2.0A36Claude Code
animation-vocabularyemilkowalski/skillsSkill62kyesterdayMITA98Claude Code
remove-animationsemilkowalski/skillsSkill62kyesterdayMITB127Claude Code
htmlplannotator/effective-htmlSkill4.4k7d agoMITA107Claude Code, Codex