commit-changes

commit-changes is a skill for Claude Code, Codex from J-Pster/Psters_AI_Workflow. It costs 77 tokens per session (1,042 once invoked), scanned A, original, MIT.

A workflow for committing uncommitted changes across multiple Git repositories. It groups files by ticket number, such as TICKET-123, and creates focused commits for each group.

In plain words
What is it for?
Use it when you have issue text with ticket numbers and want changes in each affected repository committed in focused groups.
Why use it?
Changes from several tasks can become mixed together across repositories. This workflow separates them and labels the resulting commits with the relevant tickets.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when you have issue text with ticket numbers and want changes in each affected repository committed in focused groups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j-pster/psters_ai_workflow/commit-changes
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 J-Pster/Psters_AI_Workflow --skill commit-changes
Clone the repo
git clone --depth 1 https://github.com/J-Pster/Psters_AI_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-changes

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/j-pster/psters_ai_workflow/commit-changes"><img src="https://agentmods.dev/badge/skills/j-pster/psters_ai_workflow/commit-changes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 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.00077 $0.01042
Opus 5.5 $0.00031 $0.00417
Sonnet 5.5 $0.00015 $0.00208
Haiku 4.5 $0.00008 $0.00104

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

Security

Grade A, and why

commit-changes 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.

plugins/psters-ai-workflow/skills/commit-changes/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 Changes Skill

Trigger conditions

Use this skill when the user:

  • Pastes one or more issues (with # Title and Identifier: TICKET-XXX lines) and wants to commit.
  • Says "commit with these tickets", "commit my changes for TICKET-727", "commit everything and tag by ticket", or similar.
  • Runs the /pwf-commit-changes slash command with pasted content.

What to do

Follow the workflow in commands/commit-changes.md exactly.

Summary of phases

  1. Parse — extract { id: "TICKET-XXX", title: "..." } for each ticket from the pasted text.
  2. Discover repos — git -C <path> status --short for every workspace path; skip empty or non-git. Collect only the list of repos with changes (no diffs at orchestrator level).
  3. Spawn one subagent per repo (all in parallel) — each subagent (generalPurpose, model: fast) reads skills/commit-changes-repo-worker/SKILL.md, fetches per-file diffs itself, classifies each file to the best ticket, groups files by ticket, and makes multiple targeted commits (one per group). Reports back a JSON result with a commits array.
  4. Summarize — parse JSON results from all subagents, print a results table (one row per commit), show total commit count.

Worker skill

Each per-repo subagent follows skills/commit-changes-repo-worker/SKILL.md. The main agent passes these inputs to each worker:

  • REPO_PATH — absolute path
  • REPO_NAME — short name
  • TICKET_LIST — formatted list of TICKET-XXX: title

The worker fetches its own per-file diffs — no diff text is passed from the orchestrator.

Key difference from single-commit approach

The worker never runs git add -A. Instead, for each ticket group it runs:

git -C <REPO_PATH> add -- <file1> <file2> ...
git -C <REPO_PATH> commit -m "<ticket-specific message>"

This produces clean, reviewable git history with one commit per ticket per repo.

Commit message rules (rules/commits.mdc — always enforced)

[TICKET-XXXX] <emoji> <type>(<scope>): <subject>

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 · 77 tokens per session scan A f4a245d001b0

Subscribe to this mod's changes

commit-changes is a skill published in the GitHub repository J-Pster/Psters_AI_Workflow (289 stars, last pushed 7mo ago), licensed MIT. It adds 77 tokens to every session and 1,042 once invoked, about $0.0003 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.