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.
git clone --depth 1 https://github.com/C0ntr0lledCha0s/claude-code-plugin-automationsWrote 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.
[](https://agentmods.dev/commands/c0ntr0lledcha0s/claude-code-plugin-automations/commit-smart)<a href="https://agentmods.dev/commands/c0ntr0lledcha0s/claude-code-plugin-automations/commit-smart"><img src="https://agentmods.dev/badge/commands/c0ntr0lledcha0s/claude-code-plugin-automations/commit-smart/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.
<a href="https://agentmods.dev/commands/c0ntr0lledcha0s/claude-code-plugin-automations/commit-smart"><img src="https://agentmods.dev/badge/commands/c0ntr0lledcha0s/claude-code-plugin-automations/commit-smart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.01542 |
| Opus 5.5 | $0.00006 | $0.00617 |
| Sonnet 5.5 | $0.00003 | $0.00308 |
| Haiku 4.5 | $0.00002 | $0.00154 |
Grade A, and why
commit-smart 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.
How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smart Commit
Intelligently analyze and commit changes with automatic file grouping and conventional commit formatting.
Usage
/commit-smart # Interactive mode (default)
/commit-smart all # Analyze all changes, suggest grouped commits
/commit-smart staged # Commit only staged changes
/commit-smart context # Review conversation and commit relevant files
/commit-smart scope # Commit by functional scope
Arguments
- First argument (optional): Commit mode - accessed as first positional parameter
all: Analyze all changes and suggest grouped commitsstaged: Commit only staged changescontext: Review conversation history and commit relevant filesscope: Commit by scope (auth, api, ui, etc.)interactive: Interactive mode with confirmation prompts (default)
Input validation: Only accepts predefined modes: all, staged, context, scope, interactive. Invalid inputs are rejected to prevent command injection.
Workflow
When this command is invoked:
-
Validate argument (CRITICAL - prevents command injection):
- ONLY accept predefined modes from the allowlist
- Reject any invalid input immediately
- DO NOT pass user input directly to shell commands
-
Load issue cache: Read
.claude/github-workflows/active-issues.jsonfor tracked issues -
Analyze changes: Run git status and diff to identify all modified files
-
Detect related issues:
- Load
relatedIssuesarray fromenv.json(set via/issue-track select) - Check branch name for issue numbers (e.g.,
feature/issue-42) - Detect branch scope and match against issue labels
- Score issues by relevance:
- +100: Branch-selected issue (in
relatedIssuesarray) - +50: Scope match (issue has branch's detected scope label)
- +10-30: Keyword/file matches
- +100: Branch-selected issue (in
- Load
-
Invoke managing-commits skill: Delegate to skill for intelligent grouping
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.
- 1mo ago First seen · 190 lines · 16 tokens per session scan A 8c7b270594d3
commit-smart is a command published in the GitHub repository C0ntr0lledCha0s/claude-code-plugin-automations (3 stars, last pushed 8mo ago), licensed MIT. It adds 16 tokens to every session and 1,542 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.
Other commands, from other repositories
standup
Review my git commits from the past workday and generate a standup summary.
git
The pre-finish status: branch, hygiene findings, message checks, workflow lint, template state.
session-report
Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.
commit
A command that examines staged Git changes and proposes a commit message using the Conventional Commits format, such as feat, fix, or docs. Git is a tool for tracking changes to code.
git-workflow
Run review, tests, and commit steps, then prepare a pull request.
commit
Context-aware Git commit assistant with smart pre-commit checks.