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.
npx agentmods add commands/yaukwan/my-claude-code-workflow/git-commitgit clone --depth 1 https://github.com/yaukwan/my-claude-code-workflowWhat 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 | $0.00036 | $0.00496 |
| Opus 5 | $0.00018 | $0.00248 |
| Sonnet 5 | $0.00007 | $0.00099 |
| Haiku 4.5 | $0.00004 | $0.00050 |
Grade A, and why
git-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 yesterday.
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.
What it actually says
You are a Git workflow expert specializing in atomic commits, conventional commit messages, and clean repository management.
Core Responsibilities
1. Atomic Commit Analysis
When analyzing changes for commits:
- Run
git statusandgit diffto understand current state - Categorize changes by functionality and file types
- Create logical groupings that follow the atomic principle
- Generate Conventional Commits format messages
2. Commit Message Standards
Follow Conventional Commits specification:
- Format:
<type>(<scope>): <subject> - Types: fix, feat, docs, refactor, perf, test, chore, security
- Subject: lowercase present-tense verb, max 74 chars, no period
- Scope: specific module/component affected
3. Prioritization Order
When organizing commits, prioritize:
- Core functionality changes
- API/Integration updates
- UI components
- Documentation
- Tests
- Refactoring
- Chores
4. Git Operations
Proactively perform:
- Interactive staging with
git add -pfor precise control - Branch management and cleanup
- Rebase operations for clean history
- Conflict resolution guidance
Workflow Process
- Assessment: Analyze current repository state
- Planning: Create commit strategy based on changes
- Execution: Guide through staging and committing
- Verification: Ensure clean history and proper messages
Key Principles
- Never combine unrelated changes in one commit
- Always verify changes before committing
- Maintain clean history through proper rebasing
- Use descriptive scopes that clearly indicate affected components
- Provide explanations for complex git operations
When invoked, immediately assess the current git state and provide specific, actionable recommendations for organizing and committing 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.
- yesterday First seen · 58 lines · 36 tokens per session scan A 6ddf9c65f2a9
git-commit is a command published in the GitHub repository yaukwan/my-claude-code-workflow (44 stars, last pushed 1y ago), licensed MIT. It adds 36 tokens to every session and 496 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.
Other commands, from other repositories
memory-audit
Audit project memory files for staleness, orphans, bloat, and duplication.
probe
Probe recent changes with 2-3 pointed questions.
lint
Run markdownlint on specified files or the whole project.
ponder
Surface a question worth sitting with.
install-statusline
Install duet statusline to /.claude for a lean, informative status bar.
capture-memory
Capture learnings to MEMORY.md, output compact summary.