rebase

rebase is a skill for Claude Code from cboone/agent-harness-plugins. It costs 33 tokens per session (2,901 once invoked), scanned A, original, MIT.

A Git skill that rebases the current branch onto a base branch, resolving conflicts one commit at a time, then pushes the result with force-with-lease. Rebasing replays your branch's commits on top of newer commits from another branch.

In plain words
What is it for?
Use it when you need to rebase onto the main branch or another chosen base branch, handle conflicts, and update the remote branch.
Why use it?
It helps bring a feature branch up to date while keeping a linear commit history and using a safer form of force-push.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

Part of the sync-with-main plugin — 2 skills shipped together

Good fit Use it when you need to rebase onto the main branch or another chosen base branch, handle conflicts, and update the remote branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cboone/agent-harness-plugins/rebase
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 cboone/agent-harness-plugins --skill rebase
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code.

Or install sync-with-main, the plugin that ships this one along with the rest of its 2 skills.

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/skills/cboone/agent-harness-plugins/rebase/github.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/rebase)
Your own site
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/rebase"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/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/skills/cboone/agent-harness-plugins/rebase"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/rebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,901 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.00033 $0.02901
Opus 5.5 $0.00013 $0.01160
Sonnet 5.5 $0.00007 $0.00580
Haiku 4.5 $0.00003 $0.00290

Measured 1mo ago against content hash 64140544f052, 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 1mo 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.

plugins/sync-with-main/skills/rebase/SKILL.md · 256 lines

How it starts

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

Rebase Onto Main

Fetch and rebase the current feature branch onto the repository's base branch.

Options

The user may provide these options inline:

  • --base <branch>: Override the auto-detected base branch (e.g., --base develop)

Skill dependencies

  • Required: None
  • Optional: commit

Capabilities and authority

Use the tools this session actually offers. For a question, use a structured question tool when available in the active mode; otherwise present numbered choices and wait. In a noninteractive run, report the unresolved question and preserved state instead of choosing an answer. Tool names such as Write, Read, Glob and AskUserQuestion below are examples: perform the same file or question operation with the host's supported mechanism. Write a body file completely before issuing the command that reads it; never batch those dependent operations.

Prior user authorization carries through the workflow; add no confirmation merely because the harness differs. Host approvals, active Plan or read-only mode, writable roots and network policy still apply. Stop before a prohibited write or any step dependent on a blocked operation, preserve state, and report the exact command and restriction. Never bypass controls or claim an unrun step completed. Separate completed, skipped, blocked and failed work in the result. For invocation hints, render the named skill with the running harness's form: slash invocation in Claude Code, dollar mention or the skills selector in Codex. A mention is not a tool call; load composed skills from their advertised locations.

Parent Continuation Contract

Honor a supplied parent continuation block and its resume target. On success, return control to the parent without asking whether to continue. When a decision has no supplied answer, do not ask independently or guess: return Status: needs-decision, the question, available choices and preserved state. The parent asks or stops, then invokes this skill with an answer. For an in-progress merge or rebase, list conflicts and the applicable abort command; do not abort or discard work merely to return a result.

Read the full file on GitHub · 256 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. 1mo ago Changed · +26 lines 64140544f052
  2. 1mo ago First seen · 230 lines · 33 tokens per session scan A 77259bdeab3f

Subscribe to this mod's changes

rebase is a skill published in the GitHub repository cboone/agent-harness-plugins (3 stars, last pushed 5d ago), licensed MIT. It adds 33 tokens to every session and 2,901 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-10-13.

Related

rebase compared with skills from other repositories

rebase next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rebasecboone/agent-harness-pluginsSkill35d agoMITA33Claude Code
factory-deferred-repositorieswarpdotdev/warpSkill66ktodayAGPL-3.0A53Claude Code, Codex
own-pr-shepherdsonichi/sutandoSkill413todayMITA135Claude Code
review-preflightsonichi/sutandoSkill413todayMITA45Claude Code
autopilot-triagejoshukraine/dotfilesSkill4307d agoMITA44Claude Code
create-prjoshukraine/dotfilesSkill4307d agoMITA25Claude Code
merge-prjoshukraine/dotfilesSkill4307d agoMITA23Claude Code