branch-integration

branch-integration is a skill for Claude Code, Codex from thiientv/godmode. It costs 69 tokens per session (336 once invoked), scanned A, original, MIT.

A structured review of an existing codebase's design and organization. It examines how parts of the software depend on one another and where responsibilities belong.

In plain words
What is it for?
Use it for architecture audits, breaking apart tightly connected modules, modernizing a codebase, or prioritizing structural improvements.
Why use it?
It helps explain why future changes are becoming difficult, risky, or hard to test, using evidence from the code and its history.

Skill for Claude CodeCodex

Part of the godmode plugin — 34 skills, 1 hook shipped together

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/thiientv/godmode/branch-integration
Any agent
npx skills add thiientv/godmode --skill branch-integration
Clone the repo
git clone --depth 1 https://github.com/thiientv/godmode

Made for: Claude Code, Codex.

Or install godmode, the plugin that ships this one along with the rest of its 34 skills, 1 hook.

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 branch-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/thiientv/godmode/branch-integration.svg)](https://agentmods.dev/skills/thiientv/godmode/branch-integration)
Your own site
<a href="https://agentmods.dev/skills/thiientv/godmode/branch-integration"><img src="https://agentmods.dev/badge/skills/thiientv/godmode/branch-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 336 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.00069 $0.00336
Opus 5 $0.00034 $0.00168
Sonnet 5 $0.00014 $0.00067
Haiku 4.5 $0.00007 $0.00034

Measured 5d ago against content hash 81be947c659b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

branch-integration 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 5d 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/branch-integration/SKILL.md · 41 lines

What it actually says

Branch Integration

Finishing is a decision gate, not an automatic merge.

Final inspection

  1. Run git status and inspect the full diff from the intended base.
  2. Check for untracked files, generated artifacts, secrets, unrelated edits, and migration or release notes that belong in the branch.
  3. Run the relevant focused and broad checks with fresh output.
  4. Summarize the behavior, evidence, limits, and known follow-ups.

Use completion-verification; a green suite alone does not choose the integration path.

Present explicit options

  • Merge locally: integrate into the target branch after review.
  • Open a pull request: preserve the branch for collaborative review.
  • Keep the branch: leave it available for later work.
  • Discard: delete only after confirming no unique work remains.

Do not push, merge, delete a branch, or remove a worktree unless the user or the repository's explicit automation authorizes that action. If checks are blocked, present the blocked state instead of hiding it in a success summary.

Completion condition

The chosen integration path is recorded, the final diff and evidence match the scope, and cleanup is either performed safely or intentionally deferred.

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. 5d ago First seen · 41 lines · 69 tokens per session scan A 81be947c659b

Subscribe to this mod's changes

branch-integration is a skill published in the GitHub repository thiientv/godmode (93 stars, last pushed 9d ago), licensed MIT. It adds 69 tokens to every session and 336 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.

Related

Other skills, from other repositories

agent-evaluation-v2

Agent Evaluation workflow skill. Use this skill when the user needs Testing and benchmarking LLM agents including behavioral testing, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 49 tokens

agent-evaluation

Agent Evaluation workflow skill. Use this skill when the user needs Testing and benchmarking LLM agents including behavioral testing, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 47 tokens

agent-evaluation-v3

Agent Evaluation workflow skill. Use this skill when the user needs Testing and benchmarking LLM agents including behavioral testing, and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 49 tokens

rulesync

Generates and syncs AI rule configuration files (.cursorrules, CLAUDE.md, copilot-instructions.md) across 20+ coding tools from a single source. Use when syncing AI rules, running rulesync commands, importing or generating rule files, or managing shared AI coding configurations.

dyoshikawa/rulesync · 64 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens

loop

Full execution protocol for MODE: LOOP — the compound-engineering loop: brainstorm → plan → build → review → improve, iterating under defense-in-depth stop conditions with generator/critic separation, durable resumable state, and mandatory compounding learning capture. Loaded on demand by the architect when the loop…

ZaxbyHub/opencode-swarm · 72 tokens