SkillAgentSearch skills...

rpc-agent

Screenshot any URL across real device viewports, framed in device bezels. A CLI and MCP server so AI coding agents can check their own UI work.

Install / Use

claude mcp add akintola4 -- npx -y github:akintola4/rpc-agent

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

74/100

Supported Platforms

Claude Code
Claude Desktop
Cursor

Our assessment of rpc-agent

rpc-agent scores 74/100 on our quality scale, 3791st of 4,700 Development & Engineering skills we index.

Its MCP Server is 47 KB long, well organised into 45 sections with 25 code examples: long enough that it reads more like full documentation than a focused instruction file, which agents can find harder to follow.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
21/30
Structure
20/20
Description
15/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 21 days ago, so rpc-agent is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-11-13. Automated pattern scan on 2026-11-13. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

rpc-agent compared with similar skills

All 4 of these similar skills score higher than rpc-agent; compare them before choosing.

SkillScoreStarsUpdatedFormat
rpc-agent (this skill)by akintola474321d agoMCP Server
taste-skillby Leonxlnx100121.1ktodayCLAUDE.md
Agent-Reachby Panniantong100114.5ktodayCLAUDE.md
hyperframesby heygen-com10089.6ktodayCLAUDE.md
rufloby ruvnet10082.4ktodayCLAUDE.md

Frequently asked questions

How do I install rpc-agent?
Run claude mcp add akintola4 -- npx -y github:akintola4/rpc-agent. The install tabs above show the steps for each supported agent.
Which AI agents does rpc-agent work with?
It is written for Claude Code, Claude Desktop and Cursor, as a MCP Server file. Other agents that read the same format can often use it too.
Is rpc-agent safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is rpc-agent still maintained?
The repository was last updated 21 days ago, so rpc-agent is actively maintained.

rpc-agent

<img src="https://raw.githubusercontent.com/akintola4/rpc-agent/main/docs/media/banner.png" width="100%" alt="rpc-agent: CLI + MCP server · device screenshots for AI agents · Claude Code, Codex, Cursor. A line drawing of a laptop, tablet and phone with a terminal in front running rpc shot; the Claude Code and Cursor marks and a terminal-prompt glyph for Codex sit beside it, with lines into the prompt."> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/akintola4/rpc-agent/main/docs/media/hero-dark.png"> <img alt="A site captured by rpc on an iPhone 15, an iPad Air 11 and a 1440 px desktop, each framed in its device bezel" src="https://raw.githubusercontent.com/akintola4/rpc-agent/main/docs/media/hero-light.png"> </picture>

Screenshot a URL at real device viewports, optionally framed in a device bezel, so an AI coding agent can look at the UI it just built. It's a CLI and an MCP server in one package, with Playwright (Chromium) doing the capture.

The device catalog (49 phones, tablets, laptops and monitors) and the SVG bezels come from the Responsive Point Check Chrome extension. See NOTICE for where the artwork comes from.

Install

Requires Node 20.12 or newer. Run it without installing:

npx rpc-agent install          # first run: download headless Chromium (~210 MB on disk)
npx rpc-agent shot localhost:3000 -d iphone-15,desktop-1440 --bezels

Or install it globally to get the rpc command:

npm i -g rpc-agent
rpc install                    # first run: download Chromium
rpc doctor                     # checks Chromium is installed and launches
rpc shot https://example.com --bezels

Chromium is not downloaded when the package installs. rpc install (or npx rpc-agent install) fetches it with rpc's own Playwright version, so the browser always matches the one rpc launches. It installs only Chromium's headless shell (plus Playwright's small ffmpeg), not the full Chrome for Testing build, since captures never open a visible window (rpc install --headed adds it for rpc login). Until you run it, every command says Chromium is missing and prints that command, instead of failing with Playwright's own error. Browsers go to Playwright's usual cache, so other Playwright projects on the same version share them.

From source

git clone https://github.com/akintola4/rpc-agent.git
cd rpc-agent
pnpm install && pnpm build
node dist/cli.js install
pnpm link --global             # optional: puts this build's `rpc` on your PATH

Without the link, run node /absolute/path/to/rpc-agent/dist/cli.js where these docs say rpc, or pnpm rpc from inside the repo.

CLI

rpc run with no arguments: the banner, prompts for the URL, devices and bezels, a spinner per device, a results table and the list of files written, then the three framed screenshots

rpc                    # interactive: pick a URL, devices and options
rpc shot <url> [options]
rpc check <url> [options]  # pre-launch audit, see Ship-check below
rpc record <url> [options] # a few seconds of video of the page or one element
rpc login <url> [--form]   # sign in once; later shots of that origin use the session
rpc sessions [list|clear [origin]]
rpc devices [--json]
rpc doctor [--json]    # is Chromium installed, and does it launch?
rpc install [--headed] # download Chromium with rpc's own Playwright version
rpc mcp
rpc help <command>     # options and examples for one command

Run rpc with no arguments in a terminal and it asks for the URL (defaulting to a dev server on localhost:3000, 5173, 4321 or 8080 if one is running), lets you tick devices from a grouped list (iPhone 15 Pro, iPad Air 11" and Desktop 1440 are preselected) and pick bezels, full page, dark mode or reduced motion. It shows a summary, asks before capturing, and prints the equivalent rpc shot command at the end so you can re-run it.

rpc shot in a terminal shows each device's progress, a results table and the files it wrote:

<img alt="rpc shot in a terminal: a capture summary, one line per device with HTTP status and time, a results table, and the list of files written" src="https://raw.githubusercontent.com/akintola4/rpc-agent/main/docs/media/terminal-shot.png" width="720">

| Option | Meaning | | --- | --- | | -d, --devices <ids> | Comma-separated device ids or aliases. Default iphone-15-pro,desktop-1440 | | -b, --bezels | Also write a copy framed in the device bezel | | -f, --full-page | Capture the full scroll height, however tall (up to --max-height) | | --slices | With --full-page, also write viewport-tall JPEG review slices | | --slice-width <px> | Maximum slice width. Default 768 | | --max-height <px> | Full-page cap in CSS px. Default 60000 | | --reduced-motion | Emulate prefers-reduced-motion: reduce | | --finish-animations | Jump animations to their end state before capturing. See Animation-aware capture | | --no-unpin | With --full-page, keep pinned sections as they are instead of collapsing them | | -o, --out <dir> | Output directory. Default ./.rpc-shots | | --wait-for <selector> | Wait for a visible element before capturing | | --wait <ms> | Extra settle delay after load | | --color-scheme <s> | light, dark or no-preference | | --timeout <ms> | Navigation timeout. Default 30000 | | --no-emulate | Viewport and DPR only: no mobile user agent or touch | | --json | Print the result as JSON | | --open | Open the output folder when done (open, xdg-open or explorer) | | --cookie <c> | name=value[; Domain=…; Path=…], repeatable. See Authenticated pages | | --header <h> | Name: value, repeatable, sent to the target origin only | | --storage-state <file> | Load a Playwright storageState JSON | | --no-session | Don't use the session saved by rpc login | | --allow-origin <o> | Also send headers and loaded cookies to this origin, repeatable |

The URL can be a full URL, a bare local host (localhost:3000 becomes http://), a bare domain (example.com becomes https://) or a path to a local .html file.

rpc shot localhost:3000 -d iphone-15,ipad,desktop-1440 --bezels
rpc shot https://example.com/pricing --full-page --slices --color-scheme dark
rpc shot localhost:5173 -d pixel --wait-for '[data-ready]' --json

Output files are named <host>[-<path>]-<device>.png, with -framed.png for bezel copies and -slice-NN.jpg for slices, for example .rpc-shots/localhost-3000-iphone-15.png. Re-running overwrites them, so the paths stay the same between runs.

Aliases: iphone, mobile, phone (iphone-15-pro), android, pixel (pixel-8), galaxy (galaxy-s24), ipad, tablet (ipad-air-11), macbook (macbook-air-13), laptop (laptop-1280), desktop (desktop-1440), imac (imac-24). Run rpc devices for the full list.

What a capture does

Each device gets a fresh browser context with its CSS viewport, device pixel ratio and, for phones and tablets, a mobile user agent plus touch. The page loads, then rpc waits for network idle (up to 10 s, so dev servers with HMR sockets don't hang it), web fonts and pending images. CSS animations, transitions and Web Animations are finished before the shot.

With --full-page, rpc first scrolls through the page one viewport at a time so lazy images and IntersectionObserver content load, then scrolls back to the top. A page that fits in one Chromium capture (16,384 device px) is taken in one pass. A taller one is taken as clipped segments of about 8,000 device px and stitched into one PNG in Node, with no height limit apart from --max-height (60,000 CSS px by default; taller pages are cut there and marked clipped). Both paths render the page as if the viewport were the whole document, so sticky headers and fixed elements appear once, at the top, and 100vh sections keep their real height.

Bezels frame the above-the-fold viewport. With --bezels --full-page you get both: the full page raw, and the first screen framed.

Animation-aware capture

A stitched shot of a page with scroll animations used to come out wrong in three ways: pinned scroll sections left tall blank bands, text was caught halfway through its reveal, and carousels froze on whatever slide was up.

Settle

Before each capture, and at every step of the full-page warm-up scroll, rpc waits until the visible part of the page stops moving: no style or class change on a visible element for 150 ms (120 ms per warm-up step), and, at the warm-up steps, no finite animation running on one. The screenshot itself ends finite CSS and Web Animations (Playwright's animations: 'disabled'), so the wait just before it only watches for JS-driven changes, the kind a GSAP tween makes. It gives up after 2 s (800 ms per step, 8 s for the whole warm-up), so a page that never stops can't hang it. Anything still changing or animating when a step runs out of time is treated as a loop (a JS marquee, a ticker, a long CSS animation), and later steps stop waiting for it. A static page only pays the quiet period. The result is on each shot as motion.settle: settled, ms, and the selectors still active.

Pinned sections

GSAP ScrollTrigger pins a section by wrapping it in a .pin-spacer with padding below it, then fixing the section in place while you scroll through that padding. A full-page capture renders the page at scroll 0, where the section sits at the top of its spacer and the padding is empty, so the shot gets a blank band as tall as the pin's scroll distance. With --full-page, rpc collapses each pin it finds. The spacer loses its padding, the section goes back into normal flow, and the shot shows it once with the rest of the page right after it. A sticky section that is the only child of a much taller parent gets the same treatment. The rules go in an injected stylesheet as !important, so when the library rewrites its inline styles during the capture, they still win. Each collapsed pin is listed in motion.unpinned with the CSS px removed, and the stitched height is measured after the collapse. --no-unpin turns it off.

| --no-unpin (before) | default (after) | | --- | --- | | <img alt="A full-page shot of a fixture with a pinned orange section: a 2100px white band sits between the section and the green outro" src="https://raw.githubusercontent.com/akintola4/rpc-agent/main/docs/media/motion/pinned-before.png" width="240"> | <img alt="The same page with the pin collapsed: blue intro, orange section, green outro, no gap" src="https://raw.githubusercontent.com/akintola4/rpc-agent/main/docs/media/motion/pinned-after.png" width="240"> |

Finish animations

--finish-animations is for JS-driven motion, which the screenshot can't end on its own. It calls .finish() on every finite Web Animation (CSS animations and transitions too, so layout measured before the capture is the end state). If window.gsap exists, tweens and timelines on its global timeline that don't repeat forever go to progress(1). If window.ScrollTrigger exists, triggers that aren't scrubbed or pinned get their animation set to progress(1). Scrubbed and pinned ones follow the scroll position, so they keep their scroll-0 state. Each library step runs in its own try/catch and does nothing when the library isn't there. Infinite loops are left alone. The counts are in motion.finished.

Reduced motion

--reduced-motion still emulates prefers-reduced-motion: reduce. On a site that respects it, that's the cleanest fix, because the animations never run.

Warnings

Each shot gets a warnings list in the JSON, and the terminal prints them under the device:

ok desktop-1440 (1440x900 @1x)
   .rpc-shots/localhost-3000-desktop-1440.png  1440x900
   warn: 3 

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated21d ago
Forks0

Languages

TypeScript

Trust signals

92/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 low