git-workflows

git-workflows is a skill for Codex from d4rkNinja/arcforge. It costs 120 tokens per session (3,824 once invoked), scanned A, original, MIT.

Guidance for working with Git, the system that records code changes and coordinates collaboration. It covers branches, commits, merges, rebases, worktrees, remotes, pull requests, tags, releases, and recovery.

In plain words
What is it for?
Use it when choosing or reviewing a branching process, resolving conflicts, changing history, managing worktrees or tags, removing secrets, or verifying repository and release changes.
Why use it?
It helps you inspect the repository's real state and make controlled, verifiable changes without overlooking local edits, remote branches, review rules, or release effects.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when choosing or reviewing a branching process, resolving conflicts, changing history, managing worktrees or tags, removing secrets, or verifying repository and release changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/d4rkninja/arcforge/git-workflows
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 d4rkNinja/arcforge --skill git-workflows
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/arcforge

Made for: 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 git-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/d4rkninja/arcforge/git-workflows/github.svg)](https://agentmods.dev/skills/d4rkninja/arcforge/git-workflows)
Your own site
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/git-workflows"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/git-workflows/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 git-workflows

Your own site · 80×15
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/git-workflows"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/git-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,824 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.00120 $0.03824
Opus 5.5 $0.00048 $0.01530
Sonnet 5.5 $0.00024 $0.00765
Haiku 4.5 $0.00012 $0.00382

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

Security

Grade A, and why

git-workflows 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.

skills/git-workflows/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Think Through Git & Repository Workflows

Production guidance for Git as a content-addressed graph, a distributed state machine, and one layer of a larger repository policy and release system. This skill is not a command cheat sheet and does not assume classical Gitflow is the right workflow.

Core principle: Observe the exact state, establish the expected old state, make the smallest authorized transition, and verify the authoritative result. A branch or tag is a mutable ref; a commit OID identifies an immutable object; hosted approvals, CI, protections, releases, and deployments are separate state.

Domain Law

NO GIT MUTATION WITHOUT:
1. the repository, worktree/index/sequencer state, and unrelated user changes inspected;
2. the exact object/ref transition and publication state identified;
3. local versus remote/hosted authority made explicit;
4. concurrency, retry, recovery, CI, release, and consumer effects handled;
5. the resulting graph, refs, worktree, policy state, and evidence verified.

When to Use

Use this skill when:

  • choosing Gitflow, trunk-based development, short-lived branches, release branches, or a pull-request workflow;
  • creating, changing, merging, rebasing, cherry-picking, deleting, or recovering branches and commits;
  • resolving conflicts or an interrupted merge, rebase, or cherry-pick;
  • fetching, pulling, pushing, force-updating, or coordinating refs across clones;
  • creating or publishing Git tags and software versions;
  • changing protected branches/tags, required checks, reviews, merge queues, signing, or repository policy;
  • designing Git-aware CI, release provenance, backports, monorepo/multi-repo workflows, LFS, or submodules;
  • removing secrets or sensitive data from history, rewriting shared history, or migrating a default branch/workflow;
  • diagnosing corruption, lost commits, reflog recovery, repository scale, shallow/partial/sparse clones, or cross-platform checkout behavior.

When Not to Use

  • For findings, fixes, false-positive disposition, and an approval recommendation on the concrete code changes in a pull request, patch, commit range, or diff, use pull-request-review-gate. This skill may supply exact ref identity, merge-base, hosted review state, and review-freshness evidence.
  • For deployment pipeline implementation and artifact promotion, also use runtime-delivery.
  • For the final production-readiness verdict and current test evidence, also use quality-release.
  • For secret rotation, credential lifecycle, cryptographic policy, or untrusted CI boundaries, also use security-privacy.
  • For a whole-system or organization-wide source-platform architecture decision, use system-architecture-harness; use architecture-review-gate for independent approval.

Read the full file on GitHub · 182 lines

Files

What ships with it

3 files 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. 1mo ago Changed · +17 lines · +18 tokens per session 43976e508de7
  2. 1mo ago First seen · 165 lines · 102 tokens per session scan A a498d2be1f52

Subscribe to this mod's changes

git-workflows is a skill published in the GitHub repository d4rkNinja/arcforge (17 stars, last pushed 1mo ago), licensed MIT. It adds 120 tokens to every session and 3,824 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.