vscode-gitlens: Skill for Claude Code

.claude/skills/consolidate-commits/SKILL.md

consolidate-commits is a skill for Claude Code from gitkraken/vscode-gitlens. It costs 98 tokens per session (1,853 once invoked), scanned A, original, no licence file.

A branch-cleanup tool that combines a feature branch's commits into the smallest useful set and checks that the final files are unchanged.

In plain words
What is it for?
Use it to clean up, squash, restructure, or curate commits into a reviewable history.
Why use it?
It removes confusing add-then-undo history and makes changes easier to review before merging or opening a pull request.

Skill for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/.

This is gitkraken/vscode-gitlens's own configuration. It tells Claude Code how to work on vscode-gitlens 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 vscode-gitlens configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gitkraken/vscode-gitlens. 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/gitkraken/vscode-gitlens/main/.claude/skills/consolidate-commits/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gitkraken/vscode-gitlens

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 consolidate-commits

README.md
[![agentmods](https://agentmods.dev/badge/skills/gitkraken/vscode-gitlens/consolidate-commits.svg)](https://agentmods.dev/skills/gitkraken/vscode-gitlens/consolidate-commits)
Your own site
<a href="https://agentmods.dev/skills/gitkraken/vscode-gitlens/consolidate-commits"><img src="https://agentmods.dev/badge/skills/gitkraken/vscode-gitlens/consolidate-commits.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,853 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00098 $0.01853
Opus 5 $0.00049 $0.00927
Sonnet 5 $0.00020 $0.00371
Haiku 4.5 $0.00010 $0.00185

Measured 6d ago against content hash 29fd34729533, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

consolidate-commits 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 6d 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.

.claude/skills/consolidate-commits/SKILL.md · 95 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 6d ago First seen · 95 lines · 98 tokens per session scan A 29fd34729533

Subscribe to this mod's changes

consolidate-commits is a skill published in the GitHub repository gitkraken/vscode-gitlens (9,922 stars, last pushed today), with no licence file. It adds 98 tokens to every session and 1,853 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

commit-code

Analyze code changes to prepare conventional commit message and commit to a new branch.

abdullahkhawer/devops-skills · 18 tokens

github-pr-workflow

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

paperclipai/paperclip · 39 tokens

release-jetbrains

Use when releasing the Kilo JetBrains plugin -- resolve a version ("next rc" or explicit), run the prepare workflow, edit and commit a filtered human-readable changelog on the release PR, then watch publish to completion.

Kilo-Org/kilocode · 50 tokens

kilocode-merge-minimizer

Use when changing shared upstream-owned files to add Kilo-specific behavior, editing kilocodechange markers in shared code, or moving additive behavior out of shared code to reduce upstream merge conflicts. Do not use for changes confined to Kilo-owned paths such as packages/kilo-vscode/ or packages/kilo-ui/.

Kilo-Org/kilocode · 76 tokens

commit-staged

This skill should be used when user asks to "commit these changes", "write commit message", "stage and commit", "create a commit", "commit staged files", or explicitly invokes "commit-staged".

fcakyon/claude-codex-settings · 46 tokens

github-ops

GitHub repository operations — issues, PRs, code search, and config-as-code workflows. Use when creating a GitHub issue for a network finding, opening a pull request for a config change, searching repos for IP or VLAN references, or committing an audit report to a repository.

automateyournetwork/netclaw · 61 tokens