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 skills/j-pster/psters_ai_workflow/commit-changes-repo-workernpx skills add J-Pster/Psters_AI_Workflow --skill commit-changes-repo-workergit clone --depth 1 https://github.com/J-Pster/Psters_AI_WorkflowWrote 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/skills/j-pster/psters_ai_workflow/commit-changes-repo-worker)<a href="https://agentmods.dev/skills/j-pster/psters_ai_workflow/commit-changes-repo-worker"><img src="https://agentmods.dev/badge/skills/j-pster/psters_ai_workflow/commit-changes-repo-worker.svg" alt="Measured on agentmods" 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.00062 | $0.01462 |
| Opus 5 | $0.00031 | $0.00731 |
| Sonnet 5 | $0.00012 | $0.00292 |
| Haiku 4.5 | $0.00006 | $0.00146 |
Grade A, and why
commit-changes-repo-worker 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 6d 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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Commit Changes Repo Worker
A focused, self-contained worker that handles one repository end-to-end: inspect files → classify each file by ticket → group → make multiple targeted commits → report.
Spawned as a generalPurpose subagent (model: fast) from the /pwf-commit-changes command.
All instances run in parallel (one per repo).
Inputs (provided in the parent prompt)
| Variable | Description |
|---|---|
REPO_PATH |
Absolute path to the git repository |
REPO_NAME |
Short repo name (e.g. frontend, backend) |
TICKET_LIST |
Newline-separated list of TICKET-XXX: title entries |
Step 1 — Discover Changed Files
Run:
git -C <REPO_PATH> status --short
Parse the output to get a list of all changed/untracked files (any status: M, A, D, ??, R, etc.).
If the list is empty → skip to Step 5 (nothing_to_commit).
Step 2 — Analyze Each File Independently
For every file identified in Step 1, fetch its individual diff:
# For tracked/modified/staged files:
git -C <REPO_PATH> diff HEAD -- "<file>"
# If the above returns nothing (e.g. newly staged or untracked):
git -C <REPO_PATH> diff --cached -- "<file>"
For each file, determine:
- What it does (based on file path + diff content)
- Which ticket from
TICKET_LISTit most likely relates to, orNONE
Matching heuristics:
- File name/path aligns with the ticket's feature area (e.g.
tasks/→ ticket about tasks) - Diff content (added/removed lines) matches the ticket description
- If a file clearly belongs to multiple tickets, assign it to the one with the highest coverage
- Config, tooling, migration, and infra files with no clear ticket → assign
NONE
Build a map: file → TICKET-XXX (or NONE)
Step 3 — Group Files by Ticket
Group all files by their assigned ticket:
Group 1: TICKET-727 → [src/app/features/tasks/components/task-detail/task-detail.component.html]
Group 2: TICKET-726 → [src/app/shared/components/text-input/text-input.component.scss, ...]
Group 3: NONE → [src/database/migrations/1234567-SomeMigration.ts]
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.
- 6d ago First seen · 175 lines · 62 tokens per session scan A d11e7eab1a69
commit-changes-repo-worker is a skill published in the GitHub repository J-Pster/Psters_AI_Workflow (289 stars, last pushed 5mo ago), licensed MIT. It adds 62 tokens to every session and 1,462 once invoked, about $0.0003 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 skills, from other repositories
development-workflow
Detailed development workflow with modular patterns for git, review, testing, and deployment.
ship-it
Code commit, PR creation, merge, and issue closure workflow via GitHub CLI (gh). Triggers after a goal (GitHub Issue) implementation is complete — commit code, push branch, create PR, merge, then close the issue. Use when the user says "提交代码", "commit and merge", "创建PR", "合入", "关闭issue", "ship-it", or when a goal…
git-workflow
Git operations: commits, branches, PRs, and conflict resolution.
git-expert
Expert-level Git version control with advanced workflows, branching strategies, and best practices for team collaboration. Use when the user mentions version control, collaboration, or workflow, or when the task involves Essential Git Commands, Advanced Git Techniques, Branching Strategies, or Conflict Resolution.
gza-task-improve
Address feedback for a gza task inline — reads review findings and/or unresolved comments, checks out the branch, fixes must-fix items and comments, runs verify, and commits.
lakefs-versioning
Use when lakeFS data versioning — Git-like branching for data lakes, atomic commits, time travel, CI/CD. Use when working with lakefs versioning.