commit

commit is a skill for Claude Code, Codex from pedrohcgs/claude-code-my-workflow. It costs 135 tokens per session (583 once invoked), scanned A, original, MIT.

An explicitly triggered workflow for saving code changes, sending them to a shared Git repository, opening a pull request, and merging it into the main branch. A pull request is a proposed change that can be reviewed before merging.

In plain words
What is it for?
Use it when you want to commit changes, push them, open a pull request, ship the work, or merge approved changes into the main branch.
Why use it?
It runs project quality, consistency, and compilation checks before changes are committed. It stops when those checks fail unless the user explicitly chooses to continue.

Skill for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it when you want to commit changes, push them, open a pull request, ship the work, or merge approved changes into the main branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/commit
About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,760 stars · on GitHub · psantanna.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 pedrohcgs/claude-code-my-workflow --skill commit
Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow

Made for: Claude Code, Codex.

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/pedrohcgs/claude-code-my-workflow/commit/github.svg)](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/commit)
Your own site
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/commit"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/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/pedrohcgs/claude-code-my-workflow/commit"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 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 pass 7 Sept 2026
How audits are shown
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.00135 $0.00583
Opus 5.5 $0.00054 $0.00233
Sonnet 5.5 $0.00027 $0.00117
Haiku 4.5 $0.00014 $0.00058

Measured 27d ago against content hash fcc8f921977f, 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 27d 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.

.agents/skills/commit/SKILL.md · 30 lines

What it actually says

commit

This skill's instructions live in .claude/skills/commit/SKILL.md. Read that file now and follow it, with the files it points to. Read AGENTS.md first if you have not already.

It was written for Claude Code. Running it from Codex, Antigravity or another agent:

  • Arguments. Where it says $ARGUMENTS, use what the user asked for.
  • Claude Code agents. Where a step hands work to an agent in .claude/agents/ (through the Agent or Task tool), do that step where it appears in the procedure: never later, and never skip it. A step that gates what follows still gates it (/commit runs its verifier before it commits). Read the agent's file for what the step checks.
  • Fresh context. If the step needs a context that has not seen your work, for example a claim verifier that must never see the draft, run it in a separate session or worker that has not seen the draft, if your tool can start one, and give it only what the step says to pass. If it cannot, do the step yourself, mark every result it produced not independently verified, and tell the user to repeat that check in Claude Code (/verify-claims for citations) before relying on it.
  • Claude Code settings. allowed-tools, model, effort, argument-hint and disable-model-invocation in the source's frontmatter configure Claude Code. Ignore them.
  • Guards. Claude Code's guard hooks do not run for you. Follow the rules in AGENTS.md yourself; the git pre-commit gate and CI still apply to your commits.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 27d ago Changed · -143 lines fcc8f921977f
  2. 1mo ago Changed 4f33ea28a569
  3. 2mo ago Changed · +26 lines · +30 tokens per session 899017f9ba57
  4. 3mo ago First seen · 147 lines · 105 tokens per session scan A 361ca7da5bc3

Subscribe to this mod's changes

commit is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,760 stars, last pushed 27d ago), licensed MIT. It adds 135 tokens to every session and 583 once invoked, about $0.0005 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

commit compared with skills from other repositories

commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
commitpedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA135Claude Code, Codex
attributionstatsclaw/statsclawSkill1051mo agoMITA17Claude Code
what-did-i-get-donemichael-denyer/pstack-claudeSkill5.2ktodayMITA24Claude Code
commitparcadei/Continuous-Claude-v3Skill4.0k18d agoMITA12Claude Code
pr-reviewoliver-kriska/claude-elixir-phoenixSkill580todayMITA59Claude Code
phx-pr-reviewoliver-kriska/claude-elixir-phoenixSkill580todayMITA61Claude Code, Codex
private-secret-scanningjamditis/claude-skills-journalismSkill4723d agoMITA40Claude Code, Codex