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 skills add affectionatec/agentic-engineering --skill git-workflowgit clone --depth 1 https://github.com/affectionatec/agentic-engineeringWrote 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/affectionatec/agentic-engineering/git-workflow)<a href="https://agentmods.dev/skills/affectionatec/agentic-engineering/git-workflow"><img src="https://agentmods.dev/badge/skills/affectionatec/agentic-engineering/git-workflow/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/skills/affectionatec/agentic-engineering/git-workflow"><img src="https://agentmods.dev/badge/skills/affectionatec/agentic-engineering/git-workflow.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.00104 | $0.01809 |
| Opus 5.5 | $0.00042 | $0.00724 |
| Sonnet 5.5 | $0.00021 | $0.00362 |
| Haiku 4.5 | $0.00010 | $0.00181 |
Grade A, and why
git-workflow 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 3mo 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Git Workflow — Shipping Through the Gate
Core constraint:
mainis read-only for agents. Work lands on task branches, ships as draft PRs carrying verification evidence, and merges only after the verifier's PASS and a human who has read the diff. The agent never merges its own PR.
Quick Reference
| Use when | Code work starts (branch first); a task is built and needs to ship; parallel agents share a repo |
| Skip when | Doc-only edits the user has exempted, or repos where the user explicitly owns all git operations |
| Output | One branch + one draft PR per task, the PR description carrying the done condition and verdict reference |
| Sequence | IMPL PLAN task starts → BRANCH → build → self-check → DRAFT PR → VERIFY → PASS → ready → human gate → MERGE → STATUS ✅ |
| Iron rule | One task, one branch, one PR. Never commit to main. Never merge your own PR. |
| Sibling skills | [[project-kickoff-prd]] · [[technical-specification]] · [[architecture-decision-record]] · [[implementation-plan]] · [[status-tracker]] · [[independent-verification]] · [[agents-md-template]] |
Why This Exists
The rest of the chain defines what to build (IMPL PLAN), how to prove it (VERIFY), and how to remember it (STATUS) — but without a git contract, how code actually lands is left to agent defaults, and agent defaults are destructive: commits straight to main, three tasks bundled into one diff, "done" declared with nothing pushed.
Two concepts the chain repeats — merging through the verification gate and the human gate — only become operational when there is a branch to verify and a PR for the human to read. This skill is that contract.
Branch Protocol
- main is protected. Agents never commit to it, never push to it, never rewrite it.
- One branch per task, created from up-to-date main at task start (the branch is the workspace — the In-Flight Checkpoint references it):
- Naming:
task/<task-id>-<slug>— e.g.task/m1-t2-user-model - For long milestones, an optional integration branch
milestone/<id>— task branches then fork from and PR into it
- Naming:
- Never reuse a branch across tasks. Never let a task branch outlive its merge.
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.
- 3mo ago First seen · 107 lines · 104 tokens per session scan A 738594fdeec8
git-workflow is a skill published in the GitHub repository affectionatec/agentic-engineering (5 stars, last pushed 5mo ago), licensed MIT. It adds 104 tokens to every session and 1,809 once invoked, about $0.0004 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.
git-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| git-workflowaffectionatec/agentic-engineering | Skill | 5 | 5mo ago | MIT | A | 104 | Claude Code |
| paseo-alignfirst-workspacepaleo/alignfirst | Skill | 91 | yesterday | CC0-1.0 | A | 45 | Claude Code, Codex |
| changelog-generatorborghei/Claude-Skills | Skill | 1.3k | yesterday | none | A | 48 | Claude Code |
| gitvanducng/skills | Skill | 7 | today | MIT | A | 95 | Claude Code |
| patpat-shipgoiltpatpat/patpat | Skill | 1 | yesterday | MIT | A | 26 | Claude Code, Codex |
| gcamprcompforge/devloop | Skill | 5 | today | none | A | 51 | Claude Code |
| git-masteryunseo-kim/agent-toolbox | Skill | 1 | today | none | A | 118 | Claude Code, Codex |