frames-cli

frames-cli is a skill for Claude Code, Codex from viticci/frames-cli. It costs 55 tokens per session (6,771 once invoked), scanned A, original, MIT.

A command-line tool that adds Apple device frames to screenshots and screen recordings. It can detect the device from image dimensions and process folders of files.

In plain words
What is it for?
Use it to create device mockups, check which device frame matches an image, and batch-frame screenshots or videos. Video processing requires ffmpeg and ffprobe.
Why use it?
It removes the need to add device bezels by hand or manage separate image and video editing workflows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create device mockups, check which device frame matches an image, and batch-frame screenshots or videos. Video processing requires ffmpeg and ffprobe.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/viticci/frames-cli/skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add viticci/frames-cli --skill skill
Clone the repo
git clone --depth 1 https://github.com/viticci/frames-cli

Made for: Claude Code, Codex.

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 frames-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/viticci/frames-cli/skill/github.svg)](https://agentmods.dev/skills/viticci/frames-cli/skill)
Your own site
<a href="https://agentmods.dev/skills/viticci/frames-cli/skill"><img src="https://agentmods.dev/badge/skills/viticci/frames-cli/skill/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 frames-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/viticci/frames-cli/skill"><img src="https://agentmods.dev/badge/skills/viticci/frames-cli/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,771 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.06771
Opus 5.5 $0.00022 $0.02708
Sonnet 5.5 $0.00011 $0.01354
Haiku 4.5 $0.00006 $0.00677

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

Security

Grade A, and why

frames-cli 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 12d 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.

skill/SKILL.md · 291 lines

How it starts

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

Apple Frames CLI

frames 1.8.0 is a single-file Python CLI that applies Apple device bezels to screenshots and videos, auto-detects devices from input dimensions, applies masks when needed, and can merge multiple framed results. Video support uses external ffmpeg 5.1+ and ffprobe 5.1+ with no extra Python media stack.

What Agents Should Know

  • frames is the default command. frames screenshot.png and frames frame screenshot.png are equivalent.
  • Use --json for automation with frame, info, video, video-info, and doctor. Global flags --json, --assets, --verbose, and --no-color work before or after subcommands. list, list-colors, colors, and setup retain human-readable output.
  • Device support comes from the installed asset bundle, not hardcoded names in this skill. Use frames list and frames list-colors as the source of truth when exact names matter.
  • The standard asset pack covers iPhone 18 Pro, iPhone 18 Pro Max, and iPhone Duo. After updating the CLI, frames setup downloads it; if frames doctor says the pack predates these devices, run setup again. Duo capture sizes are verified in the Xcode 27.1 simulator, not on hardware; do not claim real-device verification.
  • Apple HomeView (pack 4.3.1): 1088 × 1088 screenshots (HomeView Capture app) and 1080 × 1080 QuickTime captures resolve to HomeView (Silver, Starlight, Rose Pink, Space Gray). --device "HomeView Wall Mounted" selects the wall-mounted model (Silver, Space Gray). The frames are unofficial, built from Apple Store product images.
  • On macOS, the default asset location is the Apple Frames shortcut folder in iCloud Drive. That avoids downloading a second copy when the user already has the shortcut assets installed.
  • Use frames video ... for .mp4, .mov, and .m4v; the default frames ... path is for images.
  • Use frames video-info ... to probe videos and resolve the matching frame metadata without rendering.
  • Video framing requires external ffmpeg 5.1+ and ffprobe 5.1+. frames setup checks this and can offer a Homebrew install on macOS; frames doctor reports video tool readiness.
  • frames video preserves single-video audio by default. Pass --strip-audio when the user asks for silent output, privacy-safe delivery, or validation clips where audio does not matter.
  • frames video --preset compact|balanced|best controls H.264/HEVC export size/quality, including HEVC-alpha; best is the default. The default video canvas is opaque white except with --alpha or --codec hevc-alpha. For small opaque exports, use --preset compact with --background black or --background "#RRGGBB". Video exports report output file size and source-vs-output savings in human and JSON output.
  • Use frames video --codec hevc-alpha ... for transparent HEVC-with-alpha .mov delivery on macOS with a compatible ffmpeg build. Use --alpha or --background transparent for ProRes 4444 .mov editing/compositing output unless --codec hevc-alpha is explicitly selected. Normal H.264/HEVC MP4 output is opaque; legacy --alpha --codec hevc still selects ProRes.
  • Explicit ProRes and HEVC-alpha output file paths must use a .mov extension. Use an output directory when you want the CLI to pick the .mov filename.
  • Use frames video --rotate clockwise|counterclockwise|180 ... when a screen recording's visual orientation differs from its encoded dimensions. This is common with some landscape iPad recordings that probe as portrait.
  • H.264/HEVC MP4 and HEVC-alpha MOV exports pad odd dimensions to even encoded dimensions. Check output_dimensions and padded for individual outputs, or top-level dimensions for merges, in JSON output.

Read the full file on GitHub · 291 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. 12d ago Changed · +1 lines b989855b57a3
  2. 17d ago Changed · +14 lines b33c96a993b7
  3. 20d ago Changed · +1 lines b26b3e2b7d90
  4. 26d ago Changed · +1 lines 00c5ae8a6dea
  5. 28d ago Changed · +1 lines 7c1098a04014
  6. 1mo ago Changed 4efa8cba045d
  7. 2mo ago Changed · +1 lines f0dc02ee0415
  8. 2mo ago Changed · +22 lines 22cb28048c86
  9. 2mo ago Changed · +13 lines 3a76d432ff17
  10. 3mo ago First seen · 237 lines · 55 tokens per session scan A 60bb35a58cf0

Subscribe to this mod's changes

frames-cli is a skill published in the GitHub repository viticci/frames-cli (470 stars, last pushed 3d ago), licensed MIT. It adds 55 tokens to every session and 6,771 once invoked, about $0.0002 per session on Opus 5.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.

Related

frames-cli compared with skills from other repositories

frames-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frames-cliviticci/frames-cliSkill4703d agoMITA55Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code