npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kimuson/motion-kit

v0.2.3

Published

An agent-first framework for programmatic video.

Readme

motion-kit

An agent-first framework for programmatic video.

Your coding agent writes the scenes in React/TSX, looks at its own frames, and renders the MP4.

npm version npm downloads CI license

A frame of the motion-kit promo video, made with motion-kit

Watch the example videos, each rendered from this repository.

Getting started

motion-kit is meant to be driven by a coding agent. Add the motion-kit skill and ask for a video; the skill tells the agent how to set up a project, run the CLI and read the guides that ship with the package.

npx skills add d-kimuson/motion-kit

Or as a Claude Code plugin:

/plugin marketplace add d-kimuson/motion-kit
/plugin install motion-kit@motion-kit

To try it without installing the skill, point the agent at it in your prompt:

Make a 15-second launch video for my CLI tool with motion-kit.
Reference: https://raw.githubusercontent.com/d-kimuson/motion-kit/main/skills/motion-kit/SKILL.md

How it works

1. The agent writes the video as React

A video is a Composition: a React component plus its size, frame rate and duration, exported from an entry file. Every frame is a pure function of time, so the same frame always renders the same pixels.

// entry.tsx
import { defineComposition, defineCompositions, useTime } from '@kimuson/motion-kit';
import { easing, interpolate } from '@kimuson/motion-kit/motion';
import { z } from 'zod';

const props = z.object({ title: z.string().default('Hello from motion-kit') });

const Scene = ({ title }: z.infer<typeof props>) => {
  const opacity = interpolate(useTime(), [0, 0.6], [0, 1], { easing: easing.easeOutCubic });
  return (
    <div
      style={{
        width: '100%',
        height: '100%',
        display: 'grid',
        placeItems: 'center',
        background: '#07080c',
        color: '#f8f8f8',
        fontFamily: 'system-ui, sans-serif',
        fontSize: 96,
      }}
    >
      <p style={{ margin: 0, opacity: opacity.ok ? opacity.value : 0 }}>{title}</p>
    </div>
  );
};

export const compositions = defineCompositions([
  defineComposition({
    id: 'hello',
    component: Scene,
    schema: props,
    width: 1920,
    height: 1080,
    fps: { numerator: 30, denominator: 1 },
    durationInFrames: 150,
  }),
]);

2. The agent checks its own frames

contact-sheet samples the timeline into one labelled PNG, so the agent sees the whole flow in a single image instead of watching a video. frame captures any one frame the same way.

npx @kimuson/motion-kit contact-sheet entry.tsx --every 30 --out sheet.png

The sheet of the 46-second promo video in examples/promo:

A contact sheet of the promo video: sampled frames in a grid, each labelled with its frame and time

3. You review in the preview and hand comments back

preview serves a page where you scrub and play the Composition with its audio and a timeline of its Sequences. Click an element to comment on it, then Copy Markdown: each comment carries its time, the JSX file and line, and a motion-kit frame command, ready to paste back to the agent.

npx @kimuson/motion-kit preview entry.tsx

The motion-kit preview page: the picture, the side panel and the timeline of named Sequences

4. The agent renders the MP4

npx @kimuson/motion-kit render entry.tsx --out out.mp4

Every command takes --json and answers with one versioned envelope, and a failure is a Diagnostic with a stable code and a hint rather than a stack trace. That is what lets the agent go round write, check and fix on its own.

Documentation

The guides ship inside the npm package and npx @kimuson/motion-kit docs prints them, so the agent reads the guide of the version it runs.

Contributing

Working on motion-kit itself (setup, building, testing) is covered in dev-docs/README.md.

License

MIT