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/github.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/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 consolidate-commits

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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: 4 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 63
    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 66
    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 69
    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 84
    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.
How audits are shown
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.5 $0.00039 $0.00741
Sonnet 5.5 $0.00020 $0.00371
Haiku 4.5 $0.00010 $0.00185

Measured 2mo ago against content hash 29fd34729533, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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,958 stars, last pushed today), with no licence file. It adds 98 tokens to every session and 1,853 once invoked, about $0.0004 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-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

pr-track-v1

Create a GitHub tracking issue in Kilo-Org/kilocode that captures a merged Kilo v1 PR's behavior so it can be re-implemented or verified in opencode v2. Use when the user invokes /pr-track-v1 or asks to track a v1 core fix/feature for the v2 rewrite.

Kilo-Org/kilocode · 72 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