git-branch-workflow-setup-skill

git-branch-workflow-setup-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 45 tokens per session (2,310 once invoked), scanned A, original, Apache-2.0.

Orchestrate dev-to-uat-to-main branch workflow setup during project init — detects need, prompts user via question tool, delegates to repo-ops-specialist-subagent.

Skill for Claude CodeCodex

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 skills/darellchua2/opencode-config-template/git-branch-workflow-setup-skill
Any agent
npx skills add darellchua2/opencode-config-template --skill git-branch-workflow-setup-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

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 git-branch-workflow-setup-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/git-branch-workflow-setup-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/git-branch-workflow-setup-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/git-branch-workflow-setup-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/git-branch-workflow-setup-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00045 $0.02310
Opus 5 $0.00023 $0.01155
Sonnet 5 $0.00009 $0.00462
Haiku 4.5 $0.00005 $0.00231

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

Security

Grade A, and why

git-branch-workflow-setup-skill 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 today.

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.

opencode_app/.opencode/skills/git-branch-workflow-setup-skill/SKILL.md · 189 lines

How it starts

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

What I do

I am an orchestration skill — I do NOT execute branch setup myself. I provide the primary agent with:

  1. Detection logic — when to offer branch-workflow setup
  2. Question tool spec — the exact prompt to present to the user
  3. Option matrix — what the user can configure (as cross-references)
  4. Delegation spec — the typed payload to pass to repo-ops-specialist-subagent

The primary agent loads me, extracts these parameters, prompts the user, then delegates execution to repo-ops-specialist-subagent (which has bash: allow and the execution skills).

When to use me

Invoke me when any subagent returns NEEDS_GIT_BRANCH_SETUP: true in its Return Contract. This signal indicates a project was just scaffolded (or a ticket workflow completed) and may benefit from a release branch structure.

Governance

Content Rule: This skill MUST contain ZERO inline YAML templates, ZERO bash scripts, and ZERO label hex colors. All execution logic and conventions are cross-references to the governing skills. This rule is auditable — if any inline template/script/hex is found, it is a defect.

This skill defers to:

Aspect Governing Skill Section Reference
Execution (scripts, workflows, onboarding) version-bump-standard-skill §Onboarding Checklist, §Templates & Scripts, §Workflow Templates, §Branch Flow
Tag formats & label conventions semantic-release-convention-skill §5. Release Tag Convention, §Branch-Aware Tag Mapping, §3. PR Label Rules
Changelog generation semantic-release-convention-skill §6. GitHub Actions Requirements

Why deferral (not duplication): If governance changes (e.g., tag format, label colors), only the governing skill needs updating. This skill never needs to change for convention updates.

Detection Logic

Before offering branch-workflow setup, check for existing release tooling. Offer setup ONLY when ALL of the following are absent from the target project:

Read the full file on GitHub · 189 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. today First seen · 189 lines · 45 tokens per session scan A 21a3a772fe7c

Subscribe to this mod's changes

git-branch-workflow-setup-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2d ago), licensed Apache-2.0. It adds 45 tokens to every session and 2,310 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

git-ship

自动化 Git 工作流一键发布助手,执行完整的「ship」流程: 基于最新 main 切新分支 → commit → 推送 → 创建 PR → squash merge → 回 main。 调用 ship 本身就是对完整流程的授权;自动推断分支名、commit message 和 PR 内容, 并主动解决 Git 冲突、测试、lint、类型检查、构建和 CI 失败,持续修复和重试, 直到改动成功合并。不要因可自行修复的失败暂停,只在认证、权限、仓库保护等 无法由当前环境解决的外部阻塞出现时请求用户介入。 仅在用户明确表达「ship」意图时触发,例如: 直接说「ship」「/ship」「git ship」 明确要求完整走完 git…

oil-oil/git-ship · 273 tokens

jig-github-release

Use when releasing this repository from the CLI by promoting develop to main with a fast-forward push, grading the release as patch/minor/major by what installed projects actually pay, computing the next version from the latest tag, and publishing a GitHub release with agent-written notes. No release PR, no…

0x0w1/jig · 71 tokens

jig-version-rubric

Use when creating, reviewing, or re-setting this repository's version grading rubric at .jig/versioning.md: adopt the jig default human-intervention rubric, write a project-specific one, edit one grade, or reset to the default. Owns the rubric file; never runs a release.

0x0w1/jig · 66 tokens

jig-develop-task-flow

Use for ordinary implementation tasks in this repository that should start from develop, create a feature/fix/chore branch, complete changes and tests, squash-merge the branch back into develop locally, and push develop. No pull requests.

0x0w1/jig · 53 tokens

jig-github-sync

Use when synchronizing this repository's GitHub setup: main/develop branches, optional branch protection, and the managed local guards (the git pre-push hook plus the native Codex and Antigravity push hooks), including guard cleanup before uninstalling jig. Do not use for creating a release.

0x0w1/jig · 66 tokens

wu5-dev-flow

使用可审计的 SDD、严格 RED-GREEN-REFACTOR TDD 与安全 Git 门禁初始化、开发、修复、重构和交付 Python 项目。用于任何会修改项目源码、测试、规格、依赖或 Git 历史的任务,也用于继续跨 Session 的现有 spec/ 变更、审查代码、验证完成状态、创建提交或准备 GitHub PR。.

WenOwen/wu5-dev-flow · 94 tokens