productivity-kit: Skill for Claude Code

.claude/skills/commit/SKILL.md

commit is a skill for Claude Code from laaibaQasim/productivity-kit. It costs 34 tokens per session (737 once invoked), scanned A, original, MIT.

A local Git workflow that checks changed files for exposed secrets, creates a short commit message, and commits the current work. Git is a tool for tracking changes to code.

In plain words
What is it for?
Use it when you want to review and safely commit staged or unstaged changes in a repository.
Why use it?
It adds a safety check before committing, helping catch API keys, passwords, private keys, environment files, and patch files. It also stops when there is nothing to commit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to laaibaQasim/productivity-kit. 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/laaibaQasim/productivity-kit/main/.claude/skills/commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/laaibaQasim/productivity-kit

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 commit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/laaibaqasim/productivity-kit/commit"><img src="https://agentmods.dev/badge/skills/laaibaqasim/productivity-kit/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 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.00034 $0.00737
Opus 5.5 $0.00014 $0.00295
Sonnet 5.5 $0.00007 $0.00147
Haiku 4.5 $0.00003 $0.00074

Measured 1mo ago against content hash 69c509018e93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commit 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 1mo 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/commit/SKILL.md · 81 lines

How it starts

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

Commit

Safely commit the current working changes with a concise, descriptive message.

Step 1 — Gather the diff

git status --short
git diff HEAD

If there are no changes (git status reports nothing), stop and tell the user "Nothing to commit — working tree is clean."

Step 2 — Scan for sensitive data

Before doing anything else, scan the full diff for the patterns below. If ANY match is found, stop immediately, show the user the exact file and line, and do NOT commit.

Patterns to reject:

Category Examples to detect
.env file staged diff --git a/.env or diff --git a/.env.
API keys tokens matching sk-[A-Za-z0-9]{20,}, AIza[0-9A-Za-z\-_]{35}, AKIA[0-9A-Z]{16}
GitHub PATs ghp_[A-Za-z0-9]{36}, github_pat_
Generic secrets variable names containing SECRET, PASSWORD, PASSWD, TOKEN, PRIVATE_KEY assigned to a string literal
Private keys `-----BEGIN (RSA
Patch files staged any file ending in .patch

Use Grep on the diff output for each pattern. If clean, proceed.

Step 3 — Stage changes

If nothing is staged yet (git diff --cached is empty), stage all tracked changes:

git add -u

Do not git add . — do not stage untracked files the user has not explicitly added. If the user wants to stage specific files, ask them which ones before staging.

Step 4 — Write the commit message

Analyse the staged diff and write a commit message that:

  • Summarises the what and why in ≤ 72 characters on the first line.
  • Uses imperative mood ("Add", "Fix", "Remove", "Update" — not "Added", "Adds").
  • Optionally includes a blank line followed by a short body (2–4 bullet points) for complex changes — skip the body for small/obvious commits.
  • Does not mention file names unless they are the entire point of the change.
  • Does not start with "Commit", "Update files", or other filler phrases.

Step 5 — Commit

git commit -m "$(cat <<'EOF'
<first line — ≤72 chars>

- <optional bullet 1>
- <optional bullet 2>
EOF
)"

Read the full file on GitHub · 81 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. 1mo ago First seen · 81 lines · 34 tokens per session scan A 69c509018e93

Subscribe to this mod's changes

commit is a skill published in the GitHub repository laaibaQasim/productivity-kit (4 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 737 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

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

contributing

How to contribute to evlog, covering commit and PR conventions, changesets, the Definition of Done, testing rules, and the authored skills that walk through building a new adapter, enricher, framework integration, or map rule. Load this for any question about contributing, opening a PR, or adding something to the…

HugoRCD/evlog · 68 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

development-workflow

Detailed development workflow with modular patterns for git, review, testing, and deployment.

athola/claude-night-market · 20 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

commit-push-pr

Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.

brycewang-stanford/Auto-Empirical-Research-Skills · 28 tokens