rebase

rebase is a command for Claude Code from NVIDIA-AI-Blueprints/video-search-and-summarization. It costs 23 tokens per session (5,123 once invoked), scanned A, original, Apache-2.0.

A command that rebases Git changes onto a target branch such as v2.1 and helps resolve conflicts while preserving data.

In plain words
What is it for?
Use it when updating a Git branch onto v2.1 or another target branch and resolving the resulting conflicts.
Why use it?
It reduces the risk of losing changes while bringing a branch up to date with another branch.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when updating a Git branch onto v2.1 or another target branch and resolving the resulting conflicts.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nvidia-ai-blueprints/video-search-and-summarization/rebase
About the project

NVIDIA AI Blueprint for Video Search and Summarization (VSS) is a reference architecture for applications that use AI to search, analyze, question, and summarize live or recorded video. It is intended for building video analytics agents with vision-language models, language models, retrieval-augmented generation, and NVIDIA NIM microservices. The catalogue entries provide coding-agent rules, skills, commands, agents, instructions, and settings associated with the project.

NVIDIA-AI-Blueprints/video-search-and-summarization · 1,968 stars · on GitHub · build.nvidia.com

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.

Clone the repo
git clone --depth 1 https://github.com/NVIDIA-AI-Blueprints/video-search-and-summarization

Made for: Claude Code.

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 rebase

README.md
[![agentmods](https://agentmods.dev/badge/commands/nvidia-ai-blueprints/video-search-and-summarization/rebase/github.svg)](https://agentmods.dev/commands/nvidia-ai-blueprints/video-search-and-summarization/rebase)
Your own site
<a href="https://agentmods.dev/commands/nvidia-ai-blueprints/video-search-and-summarization/rebase"><img src="https://agentmods.dev/badge/commands/nvidia-ai-blueprints/video-search-and-summarization/rebase/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 rebase

Your own site · 80×15
<a href="https://agentmods.dev/commands/nvidia-ai-blueprints/video-search-and-summarization/rebase"><img src="https://agentmods.dev/badge/commands/nvidia-ai-blueprints/video-search-and-summarization/rebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,123 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 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.00023 $0.05123
Opus 5.5 $0.00009 $0.02049
Sonnet 5.5 $0.00005 $0.01025
Haiku 4.5 $0.00002 $0.00512

Measured 2mo ago against content hash 536f43dbe929, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rebase 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 2mo 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.

services/vios/.claude/commands/rebase.md · 393 lines

How it starts

The opening of the file, as written. The whole thing — 393 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

You are a data-preserving git rebase and conflict-resolution assistant. The main branch is v2.1. Your overriding constraint: never discard work from either side. When in doubt, keep both.


Usage

/rebase                      # rebase current branch onto origin/v2.1
/rebase --onto <branch>      # rebase onto a specific target
/rebase --resolve            # resume: resolve conflicts in an already-paused rebase/merge
/rebase --status             # inspect conflicts without changing anything
/rebase --abort              # safely abort and restore pre-rebase state
/rebase --auto               # resolve all conflicts autonomously; no user prompts
/rebase --auto --onto <branch>  # auto mode onto a specific target

Parse the user's arguments. If none are given, default target is origin/v2.1. --auto is not the default and must be explicitly passed.

Set $TARGET to the resolved target branch: the value of --onto <branch> if provided, otherwise origin/v2.1. All subsequent commands that operate on the target branch use $TARGET.

Argument validation

Validate all flags before doing any git work. If validation fails, print a concise error and a usage hint, then stop without modifying anything.

Invalid combinations — reject with an error:

Combination Error message
--status --auto --status and --auto are incompatible: --status inspects without acting
--abort --auto --abort and --auto are incompatible
--abort --resolve --abort and --resolve are incompatible
--resolve --onto <branch> --resolve resumes an existing rebase; --onto is only valid when starting a new one

Read the full file on GitHub · 393 lines

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. 2mo ago First seen · 393 lines · 23 tokens per session scan A 536f43dbe929

Subscribe to this mod's changes

rebase is a command published in the GitHub repository NVIDIA-AI-Blueprints/video-search-and-summarization (1,968 stars, last pushed yesterday), licensed Apache-2.0. It adds 23 tokens to every session and 5,123 once invoked, about $0.0001 per session on Opus 5.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-08-30.

Related

rebase compared with commands from other repositories

rebase next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rebaseNVIDIA-AI-Blueprints/video-search-and-summarizationCommand2.0kyesterdayApache-2.0A23Claude Code
projectUntrivial-ai/agent-orchestratorCommand14k5d agoApache-2.0A0Claude Code
commit-push-pranthropics/claude-plugins-officialCommand46kyesterdayApache-2.0A8Claude Code
CHANGELOGbytedance/UI-TARS-desktopCommand40k29d agoApache-2.0A0Claude Code
commitguanyang/open-agent-hubCommand986yesterdayMITA28Claude Code
fix-commentsrohitg00/awesome-claude-code-toolkitCommand2.8k5mo agoApache-2.0A13Claude Code
releasekomunite/kalfaCommand2466mo agoMITA13Claude Code