Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add bengous/claude-code-plugins/plugin install gitWrote 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.
[](https://agentmods.dev/skills/bengous/claude-code-plugins/rebase)<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/rebase"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-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.
<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/rebase"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/rebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.02040 |
| Opus 5.5 | $0.00023 | $0.00816 |
| Sonnet 5.5 | $0.00011 | $0.00408 |
| Haiku 4.5 | $0.00006 | $0.00204 |
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.
How it starts
The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Interactive Rebase
Rewrite the commits of the current branch: keep, squash, reword or drop each one.
$ARGUMENTS selects the range, or names a follow-up:
| Argument | Meaning |
|---|---|
N |
the last N commits (HEAD~N) |
<rev> |
every commit since the merge base with <rev> — it edits those commits, it does not move the branch onto <rev> |
X..Y |
every commit since X |
continue | skip | abort | status |
act on a rebase that stopped on a conflict |
The backend never opens an editor and never prompts. It prints one JSON object per call; you ask the questions and feed the answers back in. You write the message suggestions in Phase 3, and the user sees every one before it is used.
Phase 0: Follow-ups
If the argument is continue, skip, abort or status, run that mode and
stop:
run `"${CLAUDE_PLUGIN_ROOT}/scripts/rebase.ts" {argument}`
Report step on success. On ok: false, report error and detail; when
guidance is present, print every line of it. Then stop — no other phase runs.
exec-failed on continue or skip means a commit message was never applied
and neither mode can replay it. Say so, and offer /git:rebase abort — never retry
the same mode. backup_ref, when set, names the branch that still holds the
history as it was before the rebase started.
Phase 1: Plan
run `"${CLAUDE_PLUGIN_ROOT}/scripts/rebase.ts" plan {argument}`
capture: exit_code, stdout, stderr
if stdout is empty OR is not valid JSON:
STOP — report "rebase backend failed" with exit_code and stderr
plan = parse stdout as JSON
if plan.ok == false:
STOP — report plan.error and plan.detail:
not-a-git-repo the command needs a git repository
dirty-worktree commit or stash first; detail lists the files
rebase-already-in-progress finish it with /git:rebase continue, skip or abort
invalid-range detail says which revision was rejected
if plan.commits is empty:
STOP — tell the user there is nothing to rebase in that range
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.
- 1mo ago Changed 8ca9285d96b2
- 2mo ago Changed 44a610ddf22f
- 2mo ago First seen · 205 lines · 57 tokens per session scan A 140c58b543a0
rebase is a skill published in the GitHub repository bengous/claude-code-plugins (6 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 2,040 once invoked, about $0.0002 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-09-11.
rebase compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rebasebengous/claude-code-plugins | Skill | 6 | today | MIT | A | 57 | Claude Code |
| development-workflowathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 20 | Claude Code |
| git-workflowvstorm-co/pydantic-deepagents | Skill | 1.1k | today | MIT | A | 17 | Claude Code, Codex |
| retroRune-kit/rune | Skill | 96 | yesterday | MIT | A | 57 | Claude Code |
| gitRune-kit/rune | Skill | 96 | yesterday | MIT | A | 60 | Claude Code |
| safeguardRune-kit/rune | Skill | 96 | yesterday | MIT | A | 41 | Claude Code |
| stepwise-task-executionmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 33 | Claude Code, Codex |