frames-cli

frames-cli is a skill for Claude Code, Codex from viticci/frames-cli. It costs 55 tokens per session (5,949 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 5,949 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.05949
Opus 5.5 $0.00022 $0.02380
Sonnet 5.5 $0.00011 $0.01190
Haiku 4.5 $0.00006 $0.00595

Measured 16d ago against content hash f0dc02ee0415, 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 16d 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 · 273 lines

How it starts

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

Apple Frames CLI

frames 1.5.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.
  • 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 · 273 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. 16d ago Changed · +1 lines f0dc02ee0415
  2. 1mo ago Changed · +22 lines 22cb28048c86
  3. 1mo ago Changed · +13 lines 3a76d432ff17
  4. 1mo 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 (413 stars, last pushed 17d ago), licensed MIT. It adds 55 tokens to every session and 5,949 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

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens