claude-remotion-kickstart: Command for Claude Code

.claude/commands/screenshot.md

screenshot is a command for Claude Code from jhartquist/claude-remotion-kickstart. It costs 11 tokens per session (604 once invoked), scanned A, original, MIT.

A command that opens a web page with Playwright, sets the browser viewport to 1280 by 720 pixels, and captures viewport and full-page screenshots. Playwright is a tool for controlling a browser in tests or scripts.

In plain words
What is it for?
It helps capture website screenshots, follow optional instructions such as scrolling or clicking, and save the images under public/screenshots/.
Why use it?
It gives developers a repeatable way to record how a page looks at a specified screen size, including content below the initial view.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

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

Reuse

Borrowing it

Nothing to install: this file belongs to jhartquist/claude-remotion-kickstart. 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/jhartquist/claude-remotion-kickstart/main/.claude/commands/screenshot.md
Clone the repo
git clone --depth 1 https://github.com/jhartquist/claude-remotion-kickstart

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 screenshot

README.md
[![agentmods](https://agentmods.dev/badge/commands/jhartquist/claude-remotion-kickstart/screenshot/github.svg)](https://agentmods.dev/commands/jhartquist/claude-remotion-kickstart/screenshot)
Your own site
<a href="https://agentmods.dev/commands/jhartquist/claude-remotion-kickstart/screenshot"><img src="https://agentmods.dev/badge/commands/jhartquist/claude-remotion-kickstart/screenshot/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 screenshot

Your own site · 80×15
<a href="https://agentmods.dev/commands/jhartquist/claude-remotion-kickstart/screenshot"><img src="https://agentmods.dev/badge/commands/jhartquist/claude-remotion-kickstart/screenshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 604 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 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.00011 $0.00604
Opus 5 $0.00005 $0.00302
Sonnet 5 $0.00002 $0.00121
Haiku 4.5 $0.00001 $0.00060

Measured 10d ago against content hash 5887c7b14257, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

screenshot 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 10d 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.

.claude/commands/screenshot.md · 75 lines

How it starts

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

context

This command uses the Playwright MCP server to navigate to any URL, resize the viewport to 1280x720, and take screenshots.

Screenshots are automatically saved to public/screenshots/ for use in the project.

task

Take screenshots of the URL provided in $1, following any special instructions in $2:

  1. Parse arguments:

    • $1: URL to navigate to (required)
    • $2: Special instructions (optional) - e.g., "scroll to bottom", "click login button", "wait 5 seconds"
  2. Navigate and resize:

    • Navigate to the URL using mcp__playwright__browser_navigate
    • Resize viewport to 1280x720 using mcp__playwright__browser_resize
  3. Follow special instructions (if provided):

    • If $2 contains instructions, execute them using appropriate Playwright tools
    • Examples: clicking elements, scrolling, waiting, typing text, etc.
  4. Take screenshots:

    • Take viewport screenshot: mcp__playwright__browser_take_screenshot
      • filename: public/screenshots/viewport-{timestamp}.png
    • Take full page screenshot: mcp__playwright__browser_take_screenshot
      • filename: public/screenshots/fullpage-{timestamp}.png
      • fullPage: true
  5. Move screenshots to correct location:

    • Playwright saves to .playwright-mcp/public/screenshots/ by default
    • Create public/screenshots/ if it doesn't exist
    • Move all PNG files from .playwright-mcp/public/screenshots/ to public/screenshots/
    • Command: mkdir -p public/screenshots && mv .playwright-mcp/public/screenshots/*.png public/screenshots/
  6. Confirm completion:

    • List the screenshots that were saved
    • Show the full paths to the screenshot files

examples

Basic screenshot:

/screenshot https://example.com

Screenshot with wait:

/screenshot http://localhost:3000 "wait 2 seconds"

Screenshot after clicking:

/screenshot https://example.com "click the login button"

Screenshot after scrolling:

/screenshot https://example.com "scroll to bottom"

Read the full file on GitHub · 75 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. 10d ago First seen · 75 lines · 0 tokens per session scan A 5887c7b14257

Subscribe to this mod's changes

screenshot is a command published in the GitHub repository jhartquist/claude-remotion-kickstart (116 stars, last pushed 9mo ago), licensed MIT. It adds 11 tokens to every session and 604 once invoked, about $0.0001 per session on Opus 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.