vale-ai-tells: Skill for Claude Code

.claude/skills/rebase/SKILL.md

rebase is a skill for Claude Code from tbhb/vale-ai-tells. It costs 106 tokens per session (1,885 once invoked), scanned A, original, MIT.

A controlled Git workflow for rebasing, which replays your branch's commits on top of a newer base branch. It chooses the base, handles the replay, checks the result, and reports what changed.

In plain words
What is it for?
Use it to update a feature branch onto its base, resolve the resulting conflicts through the associated workflow, and verify that commits were not unintentionally changed or dropped.
Why use it?
It reduces mistakes when updating a branch, such as rebasing onto the wrong branch or continuing after unresolved problems. A range-diff compares the commits before and after the replay.

Skill for Claude Code

Written for Claude Code: hooks in frontmatter. Also seen: reads .claude/ paths.

This is tbhb/vale-ai-tells's own configuration. It tells Claude Code how to work on vale-ai-tells itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vale-ai-tells configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tbhb/vale-ai-tells. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tbhb/vale-ai-tells/main/.claude/skills/rebase/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tbhb/vale-ai-tells

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/skills/tbhb/vale-ai-tells/rebase/github.svg)](https://agentmods.dev/skills/tbhb/vale-ai-tells/rebase)
Your own site
<a href="https://agentmods.dev/skills/tbhb/vale-ai-tells/rebase"><img src="https://agentmods.dev/badge/skills/tbhb/vale-ai-tells/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/tbhb/vale-ai-tells/rebase"><img src="https://agentmods.dev/badge/skills/tbhb/vale-ai-tells/rebase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,885 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 57
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 138
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 82
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00106 $0.01885
Opus 5 $0.00053 $0.00942
Sonnet 5 $0.00021 $0.00377
Haiku 4.5 $0.00011 $0.00188

Measured 12d ago against content hash 4dc106aa9991, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/continue-rebase.sh, scripts/guard-rebase.sh, scripts/marker-scan.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/rebase/SKILL.md · 151 lines

How it starts

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

Rebase workflow

Move the branch onto its base, then establish that what came out is right.

A guard hook runs alongside. It refuses a rebase started by hand and a continue past a conflict git never checked. It also refuses a dropped commit that isn't empty, a bare stash pop, and a force push without a lease.

Preflight

!bash ${CLAUDE_SKILL_DIR}/scripts/preflight.sh

Step 0: the checklist

Track these steps with the session's task-list tools where it carries them. Newer harnesses leave those tools out by default, and a session without them works the list in order as written.

  1. Choose the base
  2. Settle the working tree
  3. Start the rebase
  4. Resolve whatever it stops on
  5. Verify the result
  6. Report

Preflight reporting a merge or cherry-pick in progress stops everything. Say what's in the way and hand back. A rebase already in progress is the other case, and that one resumes at step 4.

Step 1: choose the base

Preflight computed this under == rebase base ==. Take its recommendation.

  • Local default branch carries everything the remote has, so rebase onto the local branch.
  • Local default branch sits behind the remote, so rebase onto origin/<default> and skip the stale local copy.

The commit skill's preflight makes the same decision, and both reach the same answer. Where the operator names a different base, use theirs and say why it differs.

Nothing to replay means nothing to do. Say so and stop.

Step 2: settle the working tree

--autostash handles a dirty tree, and start-rebase.sh passes it. It scopes the save to this rebase and never touches the shared stash stack, which is what makes it the sanctioned form here.

The stashed work sits outside the worktree while you resolve a conflict, so nothing you see there reflects it. It can also conflict on the way back once the replay finishes.

Where the work needs to survive a cancelled rebase as well, park it in a throwaway commit first:

git commit -am wip --no-verify

That's the one sanctioned --no-verify in this repository, and git reset --soft HEAD~1 afterwards removes it before anything reaches history.

Read the full file on GitHub · 151 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 151 lines · 106 tokens per session scan A 4dc106aa9991

Subscribe to this mod's changes

rebase is a skill published in the GitHub repository tbhb/vale-ai-tells (93 stars, last pushed 2d ago), licensed MIT. It adds 106 tokens to every session and 1,885 once invoked, about $0.0005 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-08-30.

Related

Other skills, from other repositories

anti-slop

Remove AI slop from any voice-bearing prose — original posts, threads, articles, long-form, emails, docs, READMEs, marketing copy, bios, scripts. Use when drafting text meant to sound like a specific person or brand, when rewriting text that reads generic, corporate, or AI-generated, or when asked to humanize…

aixarizzo/kill-slop · 138 tokens

kill-slop

Audit a file or draft for AI slop and off-voice lines against the author's bound voice, report findings with in-voice swaps, then apply approved fixes. Use when the user says "kill slop", "/kill-slop [file]", "find the slop in this", "audit this for slop", or wants a deck, article, page, or draft cleaned to sound like…

aixarizzo/kill-slop · 119 tokens

humanizer

Humanize and de-slop AI-sounding prose while preserving meaning, specific detail, and genuine human quirks. When a voice sample or style profile is available, rewrite in that writer's actual voice. Remove recurring AI tells such as inflated significance, stock vocabulary, uniform rhythm, excessive hedging, formulaic…

hannsxpeter/humanizer · 168 tokens

authenticity-check

Score how authentically text reads as a real human author's work, flag spans that read as AI-generated, AI-templated, or generically derivative, and run a separate read-only scan for suspicious Unicode provenance carriers. Return an authenticity band, a 0-100 score, provenance signals, and span-level reasons. Use when…

hannsxpeter/authenticity-check · 185 tokens

ai-slop-detector

Universal prose audit. Scores writing on TWO axes — AI-Slop (does this read like AI wrote it?) and Comprehension (can a fresh reader follow this?). Use PROACTIVELY as a mandatory final QA pass on ANY prose generated for humans to read — every email (internal or external), proposal, report, status update, blog post…

MahmoudHalat/slop-cop · 239 tokens

humanizer-czech

Odstraň znaky AI-generovaného psaní z českého textu. Použij při editaci nebo revizi textu, aby zněl přirozeněji a lidštěji. Detekuje a opravuje 27 vzorců včetně: nafouklého významu, propagačního jazyka, anglického slovosledu, kalků, nominalizace, monotónního rytmu, nadužívání spojek, typických českých AI klišé…

bejek/humanizer-czech · 168 tokens