Cinematic: Command for Claude Code

.agents/skills/tidyfactor-cinematic/references/commands/perf.md

perf is a command for Claude Code from TidyFactor/Cinematic. It costs 0 tokens per session (562 once invoked), scanned A, original, no licence file.

A command that checks web asset optimisation against explicit budgets and reports the page's current status. It also catches cases where the source already exceeds limits for animation frames or fonts before optimisation runs.

In plain words
What is it for?
Verifying asset-size budgets, image frame counts, and font lists after or before optimisation.
Why use it?
It replaces a subjective sense of speed or size with checks against defined limits and exposes unsuitable source assets.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: installed under .agents/ (shared by several agents).

This is TidyFactor/Cinematic's own configuration. It tells Claude Code how to work on Cinematic 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 Cinematic configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TidyFactor/Cinematic. 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/TidyFactor/Cinematic/main/.agents/skills/tidyfactor-cinematic/references/commands/perf.md
Clone the repo
git clone --depth 1 https://github.com/TidyFactor/Cinematic

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 perf

README.md
[![agentmods](https://agentmods.dev/badge/commands/tidyfactor/cinematic/perf.svg)](https://agentmods.dev/commands/tidyfactor/cinematic/perf)
Your own site
<a href="https://agentmods.dev/commands/tidyfactor/cinematic/perf"><img src="https://agentmods.dev/badge/commands/tidyfactor/cinematic/perf.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 562 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.
Origin unknown 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.00000 $0.00562
Opus 5 $0.00000 $0.00281
Sonnet 5 $0.00000 $0.00112
Haiku 4.5 $0.00000 $0.00056

Measured today against content hash 24fdcab26cd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

perf 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 today.

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-cinematic/references/commands/perf.md · 51 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. today First seen · 51 lines · 0 tokens per session scan A 24fdcab26cd7

Subscribe to this mod's changes

perf is a command published in the GitHub repository TidyFactor/Cinematic (3 stars, last pushed 2d ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 562 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-09-07.

Related

Other commands, from other repositories

theme-swap

Recolour an extracted site's design around a new brand primary. OKLCH hue rotation preserves perceptual lightness — neutrals, type, spacing, and motion stay untouched. Side-by-side HTML preview + recoloured tokens (DTCG, Tailwind, shadcn, Figma).

Manavarya09/design-extract · 59 tokens

color-palette

Run the full colour workflow — tonal scales, semantic mapping, contrast checks, dark mode, and chart colours — and output a documented palette.

Owl-Listener/designer-skills · 28 tokens

design-screen

Design a complete screen layout from a description or requirements.

Owl-Listener/designer-skills · 11 tokens

responsive-audit

Audit a design's responsive behaviour across breakpoints — layout, touch targets, and content reflow.

Owl-Listener/designer-skills · 20 tokens

ux-motion

Animation and motion rubric. Checks timing, easing, meaning, reduced-motion compliance, and performance for every animation on a surface. Triggers on "motion check", "are the animations good", or "fix the motion". Use when auditing motion or animations, checking durations / easing / reduced-motion / performance, is…

Laith0003/ux-skill · 104 tokens

ux-system

Propose a complete starter design system for a project that doesn't have one. Triggers on "we don't have a design system", "build us a system", "propose tokens", "what should our theme be". Use when proposing a starter design system, generating tokens / foundations / components from a brand brief, the project has no…

Laith0003/ux-skill · 102 tokens