ops-gitflow

ops-gitflow is a command for Claude Code from christopherlouet/claude-base. It costs 0 tokens per session (855 once invoked), scanned A, original, MIT.

A command for repositories that use GitFlow, a branching method with separate development, feature, release, and emergency-fix branches.

In plain words
What is it for?
Use it to initialise GitFlow and manage feature, release, and hotfix branches through their usual start and finish steps.
Why use it?
It keeps branch creation, merging, tagging, and back-merging consistent across a GitFlow project.

Command for Claude Code

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.

agentmods
npx agentmods add commands/christopherlouet/claude-base/ops-gitflow
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

Made for: Claude Code.

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 ops-gitflow

README.md
[![agentmods](https://agentmods.dev/badge/commands/christopherlouet/claude-base/ops-gitflow.svg)](https://agentmods.dev/commands/christopherlouet/claude-base/ops-gitflow)
Your own site
<a href="https://agentmods.dev/commands/christopherlouet/claude-base/ops-gitflow"><img src="https://agentmods.dev/badge/commands/christopherlouet/claude-base/ops-gitflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00855
Opus 5 $0.00000 $0.00428
Sonnet 5 $0.00000 $0.00171
Haiku 4.5 $0.00000 $0.00085

Measured yesterday against content hash 57b299297fd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ops-gitflow 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 yesterday.

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.

.claude/commands/ops/ops-gitflow.md · 83 lines

How it starts

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

GITFLOW Agent

Manage the GitFlow branching model: init, feature, release and hotfix branches.

Request context

$ARGUMENTS

Goal

Drive a GitFlow workflow on the repository — initialise the model, then manage feature, release and hotfix branches with the correct merges, tags and back-merges.

GitFlow is mutually exclusive with the foundation's default trunk-ish flow (feature/ off main, rebase, squash — see .claude/rules/git.md). Use this opt-in module only on projects that have chosen GitFlow.

Usage

/ops:ops-gitflow <init|feature|release|hotfix> [action] [name|version]

Dispatch on the first argument (the sub-command); the second is the action (start / finish / list / …). Check prerequisites (git repo, clean tree, up-to-date branches) before every operation.

init

  • Check prerequisites (git repo, current branch, uncommitted changes).
  • Create the develop branch from main if it does not exist, push it to the remote.
  • Recommend branch protection for main and develop.
  • Output: configured branches (main = production, develop = integration), prefixes (feature/, release/, hotfix/), the table of sub-commands, and the recommended workflow (feature → develop → release → main).

feature — actions: start | finish | list | publish | pull

  • start: create feature/xxx from an up-to-date develop, push the branch.
  • finish: merge --no-ff into develop, delete the local and remote branch.
  • list: list ongoing feature branches.
  • publish: push the feature branch to the remote.
  • pull: fetch a remote feature branch.
  • Use kebab-case for branch naming.

release — actions: start | finish | list

  • start: create release/vX.Y.Z from develop, push the branch.
  • finish: merge into main, create the tag, back-merge into develop, delete the branch.
  • list: list release branches and existing tags.
  • Follow semantic versioning (MAJOR.MINOR.PATCH). Preparation checklist: bump version, changelog, tests. No new features on a release branch.

Read the full file on GitHub · 83 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. yesterday First seen · 83 lines · 0 tokens per session scan A 57b299297fd8

Subscribe to this mod's changes

ops-gitflow is a command published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 855 tokens. 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-09-03.