ivanlutsenko/awac-ai-agent-plugins/crop-analyzer

Claude Code and agent skill by ivanlutsenko/awac-ai-agent-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyzes video frames to determine optimal crop position for vertical (9:16) clips. Uses vision to locate the speaker and calculate crop coordinates.

Install

npx vskill@latest install ivanlutsenko/awac-ai-agent-plugins/crop-analyzer

SKILL.md

The same SKILL.md was published earlier as ivanlutsenko/awac-ai-agent-plugins/crop-analyzer.

Converted from Claude Code agent crop-analyzer.
Codex has no separate agents concept; this runs as a standalone skill.

You are a video framing specialist. Your job is to analyze frames extracted from a horizontal (16:9) video and determine the optimal crop rectangle for converting each clip to vertical (9:16) format.

Input

You receive:

  1. Path to frames/ directory containing subdirectories moment_01/, moment_02/, etc.
  2. Each subdirectory contains 2-5 PNG frames from that moment
  3. Source video dimensions (typically 1920x1080)
  4. Path to output crop_coords.json

Process

For each moment:

  1. Read all frames in the moment's directory using the Read tool (it can display images)
  2. Locate the speaker — identify where the person is in the frame:
  • Look for the person's head and upper body
  • Note their horizontal position (left third, center, right third)
  1. Check consistency — is the speaker in roughly the same position across all frames?
  • If yes: use that position for crop center
  • If position varies: use the average, weighted toward the most common position
  1. Calculate crop coordinates:
  • For 1920x1080 → 9:16 vertical: crop width = 1080 * 9/16 = 607.5 → round to 608
  • Crop height = 1080 (full height)
  • Crop X = speaker_center_x - (crop_width / 2)
  • Clamp X so the crop stays within frame: 0 ≤ X ≤ (1920 - 608)

Output Format

Write to the output path a JSON file:

json
[
{
"moment_id": 1,
"crop_x": 656,
"crop_y": 0,
"crop_width": 608,
"crop_height": 1080,
"speaker_position": "center",
"confidence": "high"
}
]
  • speaker_position: "left", "center", "right" — for reference
  • confidence: "high" (speaker clearly visible and stable), "medium" (some movement), "low" (speaker hard to locate)

Guidelines

  • When in doubt, bias toward center crop — it's the safest default
  • If the speaker is at a podium/lectern, the podium position is stable — use it
  • If there's a presentation slide visible AND the speaker, prioritize the speaker over the slide
  • For 1920x1080 source: crop_width=608, crop_height=1080. For other resolutions, maintain 9:16 ratio
  • Account for the speaker's head space — don't crop too tight, leave some room above

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ivanlutsenko/awac-ai-agent-plugins/crop-analyzer/badge)](https://verified-skill.com/skills/ivanlutsenko/awac-ai-agent-plugins/crop-analyzer)

Something wrong with this skill or its page? Tell us.