Frames

Find what drops frames, then prove the fix.

By

Raphael Salaja

Price

Free

Frames is an agent skill by Raphael Salaja that measures whether one interaction stays smooth. It records it on a throttled CPU, traces each slow frame to its cause and proves the fix with a second recording.

What it does

  • Names the route and steps, then throttles the CPU 4x to stand in for a mid-range phone.
  • Records the interaction three times with a script run in the browser.
  • Checks each frame against a 16.7ms budget and each response against 200ms, and says where the time went.
  • Traces causes like animated layout properties, forced layout, state updates every frame and large repaints.
  • Reports before and after numbers from the same steps at the same throttle.

When to use it

Use it when an animation stutters, typing lags or a drawer feels heavy, and you want numbers instead of a feeling.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. It needs the page running in a browser your agent can drive. You call it by name, as /frames; your agent won't load it on its own.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Frames

Find what drops frames, then prove the fix.

By

Raphael Salaja

Price

Free

Frames is an agent skill by Raphael Salaja that measures whether one interaction stays smooth. It records it on a throttled CPU, traces each slow frame to its cause and proves the fix with a second recording.

What it does

  • Names the route and steps, then throttles the CPU 4x to stand in for a mid-range phone.
  • Records the interaction three times with a script run in the browser.
  • Checks each frame against a 16.7ms budget and each response against 200ms, and says where the time went.
  • Traces causes like animated layout properties, forced layout, state updates every frame and large repaints.
  • Reports before and after numbers from the same steps at the same throttle.

When to use it

Use it when an animation stutters, typing lags or a drawer feels heavy, and you want numbers instead of a feeling.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. It needs the page running in a browser your agent can drive. You call it by name, as /frames; your agent won't load it on its own.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Frames

Find what drops frames, then prove the fix.

By

Raphael Salaja

Price

Free

Frames is an agent skill by Raphael Salaja that measures whether one interaction stays smooth. It records it on a throttled CPU, traces each slow frame to its cause and proves the fix with a second recording.

What it does

  • Names the route and steps, then throttles the CPU 4x to stand in for a mid-range phone.
  • Records the interaction three times with a script run in the browser.
  • Checks each frame against a 16.7ms budget and each response against 200ms, and says where the time went.
  • Traces causes like animated layout properties, forced layout, state updates every frame and large repaints.
  • Reports before and after numbers from the same steps at the same throttle.

When to use it

Use it when an animation stutters, typing lags or a drawer feels heavy, and you want numbers instead of a feeling.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. It needs the page running in a browser your agent can drive. You call it by name, as /frames; your agent won't load it on its own.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.