motion

motion is a command for Codex from alwkala/tidyfactor-design. It costs 0 tokens per session (792 once invoked), scanned A, original, MIT.

A command for defining shared animation settings and small interface effects, such as scroll reveals, hover movement, and completion feedback.

In plain words
What is it for?
Use it to configure animation tokens, scroll-based reveals, focus effects, form-validation feedback, task-completion animations, loading indicators, and other small interface responses.
Why use it?
It keeps motion choices consistent across pages and helps make interactions feel intentional while considering usability and accessibility.

Command for Codex

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.

agentmods
npx agentmods add commands/alwkala/tidyfactor-design/motion
Clone the repo
git clone --depth 1 https://github.com/alwkala/tidyfactor-design

Made for: 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 motion

README.md
[![agentmods](https://agentmods.dev/badge/commands/alwkala/tidyfactor-design/motion.svg)](https://agentmods.dev/commands/alwkala/tidyfactor-design/motion)
Your own site
<a href="https://agentmods.dev/commands/alwkala/tidyfactor-design/motion"><img src="https://agentmods.dev/badge/commands/alwkala/tidyfactor-design/motion.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 792 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00792
Opus 5 $0.00000 $0.00396
Sonnet 5 $0.00000 $0.00158
Haiku 4.5 $0.00000 $0.00079

Measured 4d ago against content hash 80b95ea78616, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

motion 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 4d 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.

.agents/skills/tidyfactor-design/references/commands/motion.md · 63 lines

How it starts

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

Command: motion — Shared Animation, Choreography & Micro-Delight

Runtime entry point for configuring global motion tokens, scroll-reveals, and micro-delight interactions in motion.js and interactions.js.

4-Tier Whimsy & Micro-Interaction Taxonomy

Incorporate purposeful micro-interactions across 4 operational tiers to give prototypes distinct brand character without sacrificing usability or accessibility:

  1. Tier 1: Subtle Whimsy (Default UI Feedback)
    • Micro-lifts on hover (transform: translateY(-2px)), smooth button scale on click, subtle focus ring glows.
    • Defined in tokens.css and components.css.
  2. Tier 2: Interactive Whimsy (Task Celebrations)
    • Sparkle animation on form validation, smooth checkmark draw on task completion, progress step rewards.
    • Defined in interactions.js.
  3. Tier 3: Discovery Whimsy (Exploration Rewards)
    • Subtle Easter eggs, custom keyboard shortcuts (⌘+K, ? modal), hidden theme toggles.
  4. Tier 4: Contextual Whimsy (Charming Microcopy & States)
    • Playful empty states with micro-illustrations, empathetic 404 error states, animated loading dot pulses.

Advanced Motion Recipes & Fixed Z-Stack Layers

Fixed Z-Stack Background Layers

Implement 5 persistent background layers behind page content for ambient depth:

  • #ambient — Fullscreen background color, GSAP-tweened per section (onEnter/onEnterBack).
  • #glow — Soft radial lighting; opacity animates based on active section.
  • #vignette — Subtle edge darkening to direct visual focus toward center.
  • #grain — SVG fractal noise data-URI film grain overlay with low opacity.
  • #progress — Thin accent scroll-progress bar fixed at top of viewport.

Ambient Section Background Color Tweening

ScrollTrigger.create({
  trigger: section,
  onEnter: () => gsap.to('#ambient', { backgroundColor: section.dataset.ambient, duration: 1.1 }),
  onEnterBack: () => gsap.to('#ambient', { backgroundColor: section.dataset.ambient, duration: 1.1 })
});

Read the full file on GitHub · 63 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. 4d ago First seen · 63 lines · 0 tokens per session scan A 80b95ea78616

Subscribe to this mod's changes

motion is a command published in the GitHub repository alwkala/tidyfactor-design (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 792 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-08-31.