egomotion-estimation

egomotion-estimation is a skill for Claude Code, Codex from xuansenpa1/skillrevise. It costs 24 tokens per session (505 once invoked), scanned A, a copy of egomotion-estimation, MIT.

A guide to estimating how a camera moves through a video, such as panning, tilting, rotating, or moving closer, using changes in tracked image points.

In plain words
What is it for?
Use it to classify camera motion, smooth labels over time, and combine consecutive frames with the same movement into compact intervals.
Why use it?
It helps turn noisy frame-by-frame motion estimates into stable labels and allows more than one type of movement to be recorded at the same time.

Skill for Claude CodeCodex

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

Good fit Use it to classify camera motion, smooth labels over time, and combine consecutive frames with the same movement into compact intervals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xuansenpa1/skillrevise/egomotion-estimation
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 xuansenpa1/skillrevise --skill egomotion-estimation
Clone the repo
git clone --depth 1 https://github.com/xuansenpa1/skillrevise

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/xuansenpa1/skillrevise/egomotion-estimation/github.svg)](https://agentmods.dev/skills/xuansenpa1/skillrevise/egomotion-estimation)
Your own site
<a href="https://agentmods.dev/skills/xuansenpa1/skillrevise/egomotion-estimation"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/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/xuansenpa1/skillrevise/egomotion-estimation"><img src="https://agentmods.dev/badge/skills/xuansenpa1/skillrevise/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.
Origin 100% copy Near-identical to another mod 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.5 $0.00010 $0.00202
Sonnet 5.5 $0.00005 $0.00101
Haiku 4.5 $0.00002 $0.00051

Measured 3mo ago against content hash ae9c89b1c228, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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

This is a copy

100% identical to egomotion-estimation — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

data/skillsbench/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. 3mo 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 xuansenpa1/skillrevise (58 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 505 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to egomotion-estimation, differing in 0 lines, and is treated as a copy.

Related

egomotion-estimation compared with skills from other repositories

egomotion-estimation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
egomotion-estimationxuansenpa1/skillreviseSkill582mo agoMITA24Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code