rebase-skill

rebase-skill is a skill for Claude Code, Codex from PaulRBerg/agent-skills. It costs 49 tokens per session (2,838 once invoked), scanned A, original, MIT.

A controlled workflow for updating one skill from its external source while keeping local changes. Here, rebase means merging file changes, not rewriting the repository's Git history.

In plain words
What is it for?
Use it when explicitly asked to rebase a named skill, or when its scheduled workflow invokes it. It supports selecting a source and version, previewing changes, merging them, validating the result, and publishing an authorised update.
Why use it?
It prevents an update from being run without permission and helps preserve local customizations during an upstream change. Preview mode separates inspection from edits, commits, and publication.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; $skill-name invocation.

Good fit Use it when explicitly asked to rebase a named skill, or when its scheduled workflow invokes it. It supports selecting a source and version, previewing changes, merging them, validating the result, and publishing an authorised update.

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

Made for: Claude Code, Codex.

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-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/paulrberg/agent-skills/rebase/github.svg)](https://agentmods.dev/skills/paulrberg/agent-skills/rebase)
Your own site
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/rebase"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/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-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/paulrberg/agent-skills/rebase"><img src="https://agentmods.dev/badge/skills/paulrberg/agent-skills/rebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,838 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.00049 $0.02838
Opus 5.5 $0.00020 $0.01135
Sonnet 5.5 $0.00010 $0.00568
Haiku 4.5 $0.00005 $0.00284

Measured 24d ago against content hash bd2c1fddccf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rebase-skill 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 24d 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.

.agents/internal-skills/rebase-skill.md · 200 lines

How it starts

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

Rebase Skill

Update one skills/<name>/ from its external source while keeping local customizations layered over the upstream content. Here, "rebase" means a three-way content merge. It does not mean rewriting this repository's Git history.

Invocation and Authority

Run only when the user explicitly invokes @rebase-skill, asks to rebase a named skill from its external source, or when the scheduled caller in Scheduled Runs invokes it. General maintenance requests, discovered upstream releases, and another skill's recommendations do not authorize this workflow. Do not schedule it elsewhere or invoke it autonomously.

User instructions take precedence over this skill. An apply request authorizes the selected update through validation, commit, and publication under repository rules. A preview request or --dry-run permits inspection and a proposed diff only. It does not authorize repository edits, provenance updates, commits, or publication.

@rebase-skill <skill-name> [--source <repository-url>] [--path <upstream-skill-path>] [--ref <ref>] [--dry-run]

Examples:

@rebase-skill grill-me --dry-run
@rebase-skill retro --source <repository-url> --path <upstream-skill-path> --ref <tag-or-commit>

Require one existing local skill. Resolve omitted source details from provenance and import history. Never infer a source from a matching skill name alone. Without --ref, use the source repository's current default-branch tip. Resolve the target ref to a full commit ID before comparison.

Scheduled Runs

The user authorized one scheduled caller. Circadian's weekly skill-upstream-rebase task runs this workflow in apply mode for every skill discovered by jobs/rebase-upstream-skills.sh. Each run discovers the union of README "Forked Skills" rows and active .agents/skill-upstreams/<name>.md records from fresh origin/main. It excludes the provenance index and deduplicates names. No per-skill scheduler list needs an update.

Read the full file on GitHub · 200 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. 24d ago First seen · 200 lines · 49 tokens per session scan A bd2c1fddccf4

Subscribe to this mod's changes

rebase-skill is a skill published in the GitHub repository PaulRBerg/agent-skills (104 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 2,838 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-10-16.

Related

rebase-skill compared with skills from other repositories

rebase-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rebase-skillPaulRBerg/agent-skillsSkill1042d agoMITA49Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill85kyesterdayMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
re0-mergeLilMGenius/paperthinSkill1.4ktodayMITA70Claude Code