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 | $0.00028 | $0.01020 |
| Sonnet 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 today.
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.
- today First seen · 205 lines · 57 tokens per session scan A 140c58b543a0
rebase is a skill published in the GitHub repository bengous/claude-code-plugins (4 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 2,040 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
security-pipeline
Use when security verification is needed - pre-commit security checks, vulnerability scanning, STRIDE threat analysis. Integrates with /handoff-verify --security and /commit-push-pr. CWE Top 25 based.
github-commenting
How to post clean, rich, deduplicated GitHub PR review comments — suggestion blocks, multi-line anchors, markers, formatting rules. Load before posting or fixing any PR comment.
git-pushing
Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests.
commit-msg
You receive a git diff of staged changes via stdin. Generate a commit message.
ag-rebobinar
Undo estruturado. Reverte N acoes do Claude com log detalhado do que foi desfeito. Vai alem de git checkout — rastreia mudancas por sessao, arquivo, e commit, com opcao de revert seletivo.
ag-versionar-codigo
Gerencia git - branches, commits semanticos, PRs, releases e changelog. Use ao final de cada fase ou feature para manter historico limpo.