- Home
- Skills
- Image & Video
- Shot Runtime — Paste Shot Lengths, Get Total vs Target
Shot Runtime — Paste Shot Lengths, Get Total vs Target
Paste one shot name and length per row, plus an optional target; get the total runtime, each shot's share, and the total-minus-target difference. Lengths are seconds, m:ss or h:mm:ss.
$5
Works with the AI Agents you already use
Shot Runtime — Paste Shot Lengths, Get Total vs Target
Example session with this skill installed
python3 scripts/shot_runtime.py examples/shots.csv
- Read your context and instructions
- Compiled the shot runtime
Formula: total = sum of readable shot lengths; share = length / total * 100.
m:ss and h:mm:ss are durations. Clock times and dates are unreadable.
row | shot | input | seconds | share | status
1 | Opening | 0:45 | 45.00 | 36.7% | ok
2 | Interview | 1:05 | 65.00 | 53.1% | ok
3 | Credits | 12.5s | 12.50 | 10.2% | ok
Total: 122.50 seconds (2:02.50)
Connects securely to your tools. The creator never sees your data.
About this skill
Paste one shot name and length per row, plus an optional target, and get the total runtime, each shot's share, and the total-minus-target difference. Lengths are seconds, m:ss, or h:mm:ss; clock times and dates are reported as unreadable. No editing advice is provided.
Input
CSV or TSV with exactly name,length columns. Length accepts nonnegative seconds (decimals, an optional leading +, an optional s), m:ss with seconds 00–59, or h:mm:ss with minutes and seconds 00–59. For example, 1:05 means one minute and five seconds. Numeric seconds may contain at most 50 digits; longer values are marked too long and counted as unreadable. Dates, clock times such as 12:30 pm, 1m05s, negative values, malformed durations and blank lengths are unreadable. Input may be UTF-8 or UTF-16, up to 100,000 bytes and 2,000 data rows.
Calculations
- Total is the sum of readable lengths, shown in seconds and m:ss. If any row is unreadable, the total is labeled as readable rows only with the count of rows not counted; it is not presented as a complete total.
- Share = length ÷ total × 100, to one decimal place. If any row is unreadable, or the total is zero, shares are omitted.
- Target difference = total − target (positive means over target); omitted when any length is unreadable.
- Decimal arithmetic is used throughout.
Run it
python3 scripts/shot_runtime.py examples/shots.csv (also --target 2:30, --format markdown, json, csv). Requires Python 3.9+ and the standard library only. Tests: python3 -m unittest discover tests.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Video Skills.
Lengths accepted: seconds, m:ss, h:mm:ss only. Dates, clock times such as 12:30 pm, 1m05s style strings, negative values and blank lengths are unreadable. Numeric seconds are limited to 50 digits. With any unreadable row, the total is readable rows only and shares and the target difference are omitted. No editing advice. Input limited to 100,000 bytes and 2,000 data rows; UTF-8 or UTF-16.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.9+