thebestmensch

Claude Code Multimodel Workflow — Git skill for Claude Code

Git community

v2: server-enforced merge gates for repos shared by humans and coding agents — merge-gate suite attestation, branch rulesets, staged CI, auto-ready flip.

How to install Claude Code Multimodel Workflow

This entry records only its repository, not the path inside it, so there is no exact command to give. Open thebestmensch/claude-code-multimodel-workflow and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Multimodel Workflow does

v2: server-enforced merge gates for repos shared by humans and coding agents — merge-gate suite attestation, branch rulesets, staged CI, auto-ready flip. Templates + reference docs. (v1 plugin at tag plugin-v1-archive)

Alternatives in Git

  • Git MCP — GitHub Repo stars Free open-source remote MCP server for any GitHub project Git integration MCP 7.8k ★
  • Copilot API — Turns GitHub Copilot into an OpenAI/Anthropic API compatible server, usable with Claude Code 3.1k ★
  • MCP Memory Service — GitHub Repo stars MCP server providing semantic memory and persistent storage for Claude Memory service MCP 1.5k ★

README

claude-code-multimodel-workflow

**v2 — server-enforced merge gates for semi-autonomous repos.** (v1 of this repo packaged the full Claude Code workflow as a plugin; it survives at the `plugin-v1-archive` tag. v2 narrows to the piece that proved most worth sharing: the merge-gate infrastructure.)

Templates for putting the **merge decision on the server** so that humans and coding agents can share a repo without per-PR human approval — and without trusting any agent's self-report. Proven on two private instantiations (a multi-branch product monorepo and a single-account homelab monorepo) before extraction; the knobs that differed between them are exactly the parameters these templates expose.

The problem

Path-filtered CI plus advisory bot reviews is theater the moment an agent (or a tired human) can merge: any write-permission integration can post a passing status, a suite that never fired looks the same as a suite that passed, and local git hooks don't exist on a fresh clone. If agents open PRs, the merge gate has to be something no PR author — human or agent — can forge or dodge.

The shape

One **always-run required check** (`merge-gate`) attests that every CI suite the PR's diff *requires* has succeeded on the head SHA, and a **branch ruleset** makes that check — bound to the GitHub Actions app — the only thing standing between green CI and merge. Everything else (bot reviews, coverage receipts) is deliberately advisory.

PR opened ──► suites fire (path-filtered, as usual)
         └──► merge-gate fires (NO path filter — always materializes)
                 │  reads the diff, decides which suites are required,
                 │  polls until each has a successful run for this SHA
                 ▼
          ruleset requires merge-gate (app-bound) ──► merge allowed

The attestation contract

A ruleset closes the forgery class only with **all** of the following; anything less is theater:

  1. Required checks **bound to the GitHub Actions app