commit-staged

commit-staged is a skill for Claude Code from fcakyon/claude-codex-settings. It costs 46 tokens per session (564 once invoked), scanned A, original, Apache-2.0.

A workflow for turning already staged changes in a code repository into a commit, including review of the staged diff and a short commit message.

In plain words
What is it for?
Checking staged files, reviewing their changes, simplifying the diff when needed, and creating a commit using a standard type such as fix, feat, or docs.
Why use it?
It helps ensure the commit describes the actual staged work and follows the project's naming rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the github-dev plugin — 6 skills, 4 agents shipped together

Good fit Checking staged files, reviewing their changes, simplifying the diff when needed, and creating a commit using a standard type such as fix, feat, or docs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fcakyon/claude-codex-settings/commit-staged
About the project

claude-codex-settings is a collection of configurations and reusable extensions for Claude Code, OpenAI Codex, Cursor, and related coding tools. Developers use its skills, commands, hooks, agents, plugins, and MCP servers to shape coding-agent workflows and connect alternative model APIs. The catalogue entries are components of this collection that can be installed into supported coding tools.

fcakyon/claude-codex-settings · 1,132 stars · on GitHub · claudesettings.com

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 fcakyon/claude-codex-settings --skill commit-staged
Clone the repo
git clone --depth 1 https://github.com/fcakyon/claude-codex-settings

Made for: Claude Code.

Or install github-dev, the plugin that ships this one along with the rest of its 6 skills, 4 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/commit-staged.svg)](https://agentmods.dev/skills/fcakyon/claude-codex-settings/commit-staged)
Your own site
<a href="https://agentmods.dev/skills/fcakyon/claude-codex-settings/commit-staged"><img src="https://agentmods.dev/badge/skills/fcakyon/claude-codex-settings/commit-staged.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 564 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.00046 $0.00564
Opus 5 $0.00023 $0.00282
Sonnet 5 $0.00009 $0.00113
Haiku 4.5 $0.00005 $0.00056

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

Security

Grade A, and why

commit-staged 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 7d 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.

plugins/github-dev/skills/commit-staged/SKILL.md · 64 lines

How it starts

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

Commit Staged

Complete workflow for creating commits following project standards.

When explicitly invoked with extra text, treat that text as additional context about the changes and include it in commit planning and commit messages. When session history includes findings, motivation, or rationale, include the strongest points in the commit message body instead of relying on the diff alone.

Process

First, run the /simplify skill on the staged diff and apply its findings before committing. Docs-only diffs are a no-op.

  1. Preferred execution

    • If subagents are available, use github-dev:commit-creator for the full workflow.
    • Pass along any extra invocation text as additional context.
    • Otherwise follow the manual steps below.
  2. Analyze staged files only

    • Check all staged files: git diff --cached --name-only
    • Read diffs: git diff --cached
    • Completely ignore unstaged changes
  3. Commit message format

    • First line: {type}: brief description (max 50 chars)
    • Types: feat, fix, refactor, docs, style, test, build
    • Use plain language. Avoid jargon, buzzwords, and repo shorthand unless an exact command or tool name is needed.
    • Use findings and motivation from session history when available.
    • Focus on 'why' not 'what'
    • 1 sentence conventional style + 1-2 short motivation/findings sentences if possible
    • For complex changes, add bullet points after blank line
  4. Message examples

    • feat: add sign-in flow
    • fix: stop duplicate jobs on save
    • docs: add skills install snippets
  5. Documentation update

    • Check README.md for:
      • New features that should be documented
      • Outdated descriptions no longer matching implementation
      • Missing setup instructions for new dependencies
    • Update as needed based on staged changes
  6. Execution

    • Commit uses HEREDOC syntax for proper formatting
    • Verify commit message has correct format
    • Don't add test plans to commit messages

Read the full file on GitHub · 64 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. 7d ago First seen · 64 lines · 46 tokens per session scan A f20cfe101804

Subscribe to this mod's changes

commit-staged is a skill published in the GitHub repository fcakyon/claude-codex-settings (1,132 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 564 once invoked, about $0.0002 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

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

chinese-commit-conventions

A Chinese-language convention for writing Git commit messages, based on Conventional Commits, a standard format that tools can use to classify changes and build changelogs.

Leodorareluctant259/superpowers-zh · 28 tokens

git-authoring

Authors and executes git work end to end — Conventional Commits messages, pull-request content, release notes, and pull-request review, plus the repository operations an engineer runs daily: branching, rebasing, squashing, cherry-picking, reverting, merge-conflict resolution, stashes, tags, remotes, and recovery…

n-shadloo/git-authoring · 220 tokens

atomic-commits

Commit discipline for every repository — small atomic commits, Conventional Commits messages, only commit working states. Use whenever creating git commits, splitting work into commits, or writing commit messages, in any project.

AkshitIreddy/agent-skills · 45 tokens

signal-commit

Stage all changes and create a conventional commit from the diff. Zero prompts, zero confirmation by default. Use when user types /signal-commit, "commit everything", "just commit", "signal commit", or asks to commit current changes without specifying a message. Supports --draft (show message without committing) and…

mattbaconz/signal · 75 tokens

signal-pr

Stage all changes, commit, push, then open a pull request. Title and body are generated from the diff and commit history. Use when user types /signal-pr, "open a PR", "create pull request", "ship a PR", or "make a PR". Requires gh CLI.

mattbaconz/signal · 62 tokens