Agent skill

Object Separation

by Barty-Bart in Barty-Bart/motion-graphics

Separate a person, product or hand from the background in a video, on the user's own computer with SAM 2.

Custom licenceAuto-check passedMedia & Creative

Install Object Separation

skills CLI
$ npx skills add Barty-Bart/motion-graphics --skill object-separation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Barty-Bart/motion-graphics object-separation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Barty-Bart/motion-graphics.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/object-separation .claude/skills/object-separation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
object-separation
GitHub stars
493
Token cost
~2.4k tokens
SKILL.md length
566 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
Custom licence

At a glance

Separate a person, product or hand from the background in a video, on the user's own computer with SAM 2.

  • Works in 6 steps: Set up in a folder that can be deleted → Scan the computer and pick the model → Pick the click points → …
  • Someone wants to separate
  • SKILL.md covers 1. Set up in a folder that can…, 2. Scan the computer and pick…, 3. Pick the click points and 4. Separate the subject, plus 3 more sections
  • Calls python3, pip and ffmpeg

What it does

Object Separation is an agent skill from Barty-Bart/motion-graphics. Separate a person, product or hand from the background in a video, on the user's own computer with SAM 2. Scans the machine first to pick the right model size, then outputs the same video with the separated subject highlighted in green, plus frame-by-frame masks. Use when someone wants to separate, isolate, cut out or rotoscope something in a video.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Media & Creative. It works with Python and NVIDIA AI Platform. The repository describes itself as: Motion-graphics skills for Claude Code and Codex.

When your agent uses it

  • Someone wants to separate
  • Rotoscope something in a video

Example prompts

  • “/object-separation”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Set up in a folder that can be deleted
  2. Scan the computer and pick the model
  3. Pick the click points
  4. Separate the subject
  5. Output the video with the subject in green
  6. Clean up (optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 83355bb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • pip
    • ffmpeg

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Object Separation loads about 2.4k tokens when it runs. Until then it costs about 92 tokens; SKILL.md has 566 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 566 words (~2,354 tokens).

“Separate one subject from the background in a video. Everything runs on the user's computer and nothing is uploaded. The result is the same video with the subject highlighted in green, so the user can see exactly what was separated…”

— opening of SKILL.md by Barty-Bart, Custom licence
name
object-separation

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/object-separation of Barty-Bart/motion-graphics.

Open the folder on GitHubat commit 83355bb

Compare with similar skills

Object Separation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Object Separation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Object Separation this skillBarty-Bart/motion-graphics493—~2.4kAutomated safety check: PassCustom licence
Ermdougcalobrisi/erm112—~1.3kAutomated safety check: NotesMIT
Refactor OpCVCUDA/CV-CUDA2.7k—~1.5kAutomated safety check: PassCustom licence
Dstack Prototypingdstackai/dstack2.3k—~1.6kAutomated safety check: PassMPL-2.0
Nsight Graphics AnalyzerLuna5ama/Alpha-Piscium156—~4.7kAutomated safety check: PassGPL-3.0
Optimize OpCVCUDA/CV-CUDA2.7k—~834Automated safety check: PassCustom licence

Similar skills

  • Erm

    dougcalobrisi/erm

    Install and run erm, the local CLI that removes filler words / disfluencies (um, uh, er, erm, ah, hmm, mhm, mm, uh-huh and elongations) from spoken-audio recordings.

    112 GitHub stars~1.3k tokensUpdated 1 mo ago
    Media & CreativeAuto-check: notes
  • Refactor Op

    CVCUDA/CV-CUDA

    Find and safely apply per-operator refactoring / redundancy-reduction opportunities in a CV-CUDA operator (near-duplicate Tensor/VarShape kernels, reinvented shared utilities, dead code).

    2.7k GitHub stars~1.5k tokensUpdated 21 days ago
    DevelopmentAuto-check passed
  • Dstack Prototyping

    dstackai/dstack

    Use with the dstack skill for model-serving work when the image, serving command, resources, backend/fleet choice, or service behavior is not proven.

    2.3k GitHub stars~1.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Nsight Graphics Analyzer

    Luna5ama/Alpha-Piscium

    Drive NVIDIA Nsight Graphics 2026.1+ from the command line for GPU performance analysis, frame capture, frame trace inspection, draw-call inspection, NVTX/D3DPERF stage timing, replay metadata…

    156 GitHub stars~4.7k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Optimize Op

    CVCUDA/CV-CUDA

    Drive a single-operator optimization campaign per .agents/guidance/OPTIMIZATIONGUIDELINES.md, with a deterministically enforced definition-of-done and versioned MR summary.

    2.7k GitHub stars~834 tokensUpdated 21 days ago
    AI & LLM EngineeringAuto-check passed
  • Install, convert, debug, and benchmark sim2real ONNX GPU and TensorRT inference backends on onboard JetPack 5 Orin hosts such as g1-cable.

    145 GitHub stars~1.1k tokensUpdated 10 days ago
    AI & LLM EngineeringAuto-check passed

More from Barty-Bart/motion-graphics

  • Motion Broll

    Barty-Bart/motion-graphics

    Turn a talking-head video and its transcript into motion-graphic B-roll timed to the speaker's words, in a continuous one-shape style (one element that morphs and never cuts, driven by a cursor…

    493 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check passed

Questions about Object Separation

What does Object Separation do?

Separate a person, product or hand from the background in a video, on the user's own computer with SAM 2. Object Separation is an agent skill from Barty-Bart/motion-graphics. Separate a person, product or hand from the background in a video, on the user's own computer with SAM 2.

When should I use Object Separation?

Object Separation fits situations like: someone wants to separate; rotoscope something in a video.

How do I install Object Separation in Claude Code?

Run `npx skills add Barty-Bart/motion-graphics --skill object-separation -a claude-code`. Or copy the skill folder (skills/object-separation in Barty-Bart/motion-graphics) into .claude/skills/object-separation in your project. Claude Code loads it when a task matches its description.

How do I install Object Separation in Codex?

Run `npx skills add Barty-Bart/motion-graphics --skill object-separation -a codex`. Or copy the skill folder (skills/object-separation in Barty-Bart/motion-graphics) into .agents/skills/object-separation in your project. Codex loads it when a task matches its description.

Can I use Object Separation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Barty-Bart/motion-graphics --skill object-separation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/object-separation, .gemini/skills/object-separation, .github/skills/object-separation and .opencode/skills/object-separation in your project.

What does Object Separation need to run?

Going by SKILL.md and its folder, Object Separation needs the command-line tools its instructions call (python3, pip and ffmpeg). Our summary lists: Python 3.

Does Object Separation access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Object Separation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Object Separation use?

Object Separation has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Object Separation use?

About 2.4k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Object Separation?

Skills that share tags, products or a category with Object Separation: Erm (dougcalobrisi/erm, 112 stars), Refactor Op (CVCUDA/CV-CUDA, 2.7k stars), Dstack Prototyping (dstackai/dstack, 2.3k stars) and Nsight Graphics Analyzer (Luna5ama/Alpha-Piscium, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Object Separation?

Barty-Bart (a GitHub user) maintains it in Barty-Bart/motion-graphics, which has 493 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 5, 2026.

Source: Barty-Bart/motion-graphics on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.