egomotion-estimation

egomotion-estimation is a skill for Claude Code, Codex from benchflow-ai/skillsbench. It costs 24 tokens per session (505 once invoked), scanned A, original, Apache-2.0.

A video-analysis method that estimates how the camera moves between frames and labels movements such as panning, tilting, rolling, or zooming.

In plain words
What is it for?
Use it to classify camera motion in video, including frames where several movements happen at once.
Why use it?
It separates camera movement from changes in the scene and reduces flickering labels over time.

Skill for Claude CodeCodex

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

Good fit Use it to classify camera motion in video, including frames where several movements happen at once.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benchflow-ai/skillsbench/egomotion-estimation
About the project

SkillsBench is a benchmark for measuring how effectively AI agents use modular skills—folders containing instructions, scripts, and resources—to complete specialized tasks. It helps researchers and developers evaluate both skill quality and agent behavior, including tasks that require combining multiple skills. The catalogue’s skills and instructions are evaluated as part of this workflow.

benchflow-ai/skillsbench · 1,757 stars · on GitHub · skillsbench.ai

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 benchflow-ai/skillsbench --skill egomotion-estimation
Clone the repo
git clone --depth 1 https://github.com/benchflow-ai/skillsbench

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 egomotion-estimation

README.md
[![agentmods](https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/egomotion-estimation/github.svg)](https://agentmods.dev/skills/benchflow-ai/skillsbench/egomotion-estimation)
Your own site
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/egomotion-estimation"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/egomotion-estimation/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 egomotion-estimation

Your own site · 80×15
<a href="https://agentmods.dev/skills/benchflow-ai/skillsbench/egomotion-estimation"><img src="https://agentmods.dev/badge/skills/benchflow-ai/skillsbench/egomotion-estimation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 505 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.00024 $0.00505
Opus 5 $0.00012 $0.00253
Sonnet 5 $0.00005 $0.00101
Haiku 4.5 $0.00002 $0.00051

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

Security

Grade A, and why

egomotion-estimation 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 7d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

tasks/dynamic-object-aware-egomotion/environment/skills/egomotion-estimation/SKILL.md · 40 lines

What it actually says

When to use

  • You need to classify camera motion (Stay/Dolly/Pan/Tilt/Roll) from video, allowing multiple labels on the same frame.

Workflow

  1. Feature tracking: goodFeaturesToTrack + calcOpticalFlowPyrLK; drop if too few points.
  2. Robust transform: estimateAffinePartial2D (or homography) with RANSAC to get tx, ty, rotation, scale.
  3. Thresholding (example values)
    • Translate threshold th_trans (px/frame), rotation (rad), scale delta (ratio).
    • Allow multiple labels: if scale and translate are both significant, emit Dolly + Pan; rotation independent for Roll.
  4. Temporal smoothing: windowed mode/median to reduce flicker.
  5. Interval compression: merge consecutive frames with identical label sets into start->end.

Decision sketch

labels=[]
for each frame i>0:
    lbl=[]
    if abs(scale-1)>th_scale: lbl.append("Dolly In" if scale>1 else "Dolly Out")
    if abs(rot)>th_rot: lbl.append("Roll Right" if rot>0 else "Roll Left")
    if abs(dx)>th_trans and abs(dx)>=abs(dy): lbl.append("Pan Left" if dx>0 else "Pan Right")
    if abs(dy)>th_trans and abs(dy)>abs(dx): lbl.append("Tilt Up" if dy>0 else "Tilt Down")
    if not lbl: lbl.append("Stay")
    labels.append(lbl)

Heuristic starting points (720p, high fps; scale with resolution/fps)

  • Tune thresholds based on resolution and frame rate (e.g., normalize translation by image width/height, rotation in degrees, scale as relative ratio).
  • Low texture/low light: increase feature count, use larger LK windows, and relax RANSAC settings.

Self-check

  • Fallback to identity transform on failure; never emit empty labels.
  • Direction conventions consistent (image right shift = camera pans left).
  • Multi-label allowed; no forced single label.
  • Compressed intervals cover all sampled frames; keys formatted correctly.
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. 7d ago First seen · 40 lines · 24 tokens per session scan A ae9c89b1c228

Subscribe to this mod's changes

egomotion-estimation is a skill published in the GitHub repository benchflow-ai/skillsbench (1,757 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 24 tokens to every session and 505 once invoked, about $0.0001 per session on Opus 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-09-03.