Sam3 agent video

From healthonrails/annolid · View interactive version

Sam3 agent video is an AI agent skill from the GitHub repository healthonrails/annolid. Use SAM3 Agent windowed tracking for long videos with occlusions, repeated instances, or identity carry-over.

How to use this skill

Skill file

SAM3 Agent Video Tracking

Use this skill when the user wants to track one or more instances across a long video and the problem is likely to need:

Prefer this path

Call sam3_agent_video_track when:

Suggested tool call:

sam3_agent_video_track(
  video_path="...",
  agent_prompt="mouse",
  window_size=5,
  stride=5,
  propagation_direction="forward",
  dry_run=false
)

Prefer lighter tools instead when

Input checklist

Before running the tool, confirm:

Output contract

The tool returns a JSON summary containing:

Use the summary path as the canonical artifact for downstream review or follow-up automation.

Prompt template

When responding to the user, keep the request concrete:

  1. State the target object(s).
  2. State whether the video is long, crowded, or occluded.
  3. State the preferred output folder if one was requested.
  4. Call sam3_agent_video_track with the smallest window size that still preserves identity.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.