Back in May I wrote about extracting my Claude Code process into a template. It was a fair snapshot at the time; but after a busy few weeks of changes, not much of that post still describes what's in the repo. Most of the agents have become skills, Claude no longer reviews its own work alone, and the template now sets up the GitHub side of a new repo as well as the files.

It has also been renamed. claude-toolkit is now coding-toolkit, which is a reasonable clue to the biggest change. This week it got its first tagged releases, v1.0.0 and v1.1.0, so it felt like the right point to write up what changed and, more usefully, why.

What changed, in short

  • One set of rules for every agent: AGENTS.md holds the project's instructions, and CLAUDE.md just imports it
  • Three model families review every change: Claude, Gemini (via Antigravity) and Codex
  • Nine agents became five subagents, a set of shared skills and a lint hook
  • A run-it gate: every PR that changes behaviour is actually used before it opens
  • Setup scripts that protect main and turn on secret scanning, which a template can't copy
  • gitleaks through the pre-commit framework instead of my own regex secret scan
  • Deny rules for Codex as well as Claude, and a written-down list of what Antigravity can't block
  • A supply-chain rule: current major versions only, nothing released in the last 7 days, exact pins
  • New skills: dependency-check, commit-and-pr, debugging, adopt-toolkit and project-retrospective

Three model families

In May, every review in the process was Claude reviewing Claude. The gates did catch things; but they were all the same model family looking at work written by that family, so they tended to share blind spots. I'd rather one model's blind spots didn't decide what ships.

May 2026: one model family Claude agents Nine agents, all Claude PR opens Clean diff Merge v1.1: three model families Claude gates Fresh subagents Antigravity Gemini, local PR opens toolkit-checks Codex review On GitHub Merge Through the PR
The same shape of flow, with two more model families: Gemini before the PR opens and Codex once it has.

The Claude gates still run first, in fresh subagents. Then Gemini reviews the diff locally through Antigravity, read-only and in a clean worktree, on every PR (trivial ones included). Once the PR is open, the Codex GitHub app reviews it against the review guidelines in AGENTS.md. If Codex has suggestions, I check each one, fix what holds up and comment @codex review to go again, until it reacts with a 👍.

One thing I wanted and couldn't have: Codex's review as a required check. The app posts a review rather than a status check, so a ruleset can't require it. The alternative is a workflow running openai/codex-action, which would need an API key in every repo, cost something per PR, and not run on PRs from forks. So it's a rule in process.md instead, with the reasoning written down so I don't relitigate it in a month.

The model choices on the Claude side haven't changed: Opus for the code reviewer and phase acceptance, Sonnet for the rest.

Agents into skills

Adding Codex and Antigravity meant the instructions couldn't live only in .claude/. The gate instructions now sit in .agents/skills/, where Codex and Antigravity read them, with links from .claude/skills/ for Claude Code. The project's rules moved the same way: AGENTS.md is the source and CLAUDE.md is a one-line import.

Shared by every tool AGENTS.md Project rules .agents/skills/ Gates, workflows, frameworks Claude Code Gates start a fresh subagent Codex Reads the same skills Antigravity Reads the same skills
One copy of the rules and skills. Only the codex and antigravity review skills stay Claude-only.

The important detail is independence. A gate that has seen the author's reasoning tends to agree with it, so each gate skill sets context: fork and an agent:, which makes Claude Code start it in a fresh subagent from .claude/agents/. Despite the name, that doesn't fork the conversation. Codex and Antigravity don't start a fresh agent for a skill, so there the rule is to run a gate in a new session rather than the one that wrote the code.

Not everything needed to be an agent. Doc generation, refactoring and optimisation build on what the session already knows, so they're skills that run in the main conversation. The linter didn't need a model at all; it's now a hook that runs the project's own formatters and linters after each edit Claude makes, in monorepos too, and only reports back what they couldn't fix. It costs no tokens, which is hard to argue with.

The process now

The overall shape is the same as in May: gates before the PR opens, findings folded into the branch, periodic reviews at phase boundaries, and a fast path for small changes. Most of the changes are about what each gate sees and what it checks.

Every edit Lint hook, no tokens Pre-PR gates (same diff for all) Claude gates + doc generator Antigravity (Gemini) Run it PR opens CI + Codex review Merge Phase boundary (end of a build-guide phase or project) Codebase review + tech debt Doc generator + AGENTS.md refresh Project retrospective Trivial-change fast path ≤ 50 lines changed, ≤ 2 files, no critical paths → Antigravity, plus run it if behaviour changes
Phase acceptance still runs on the PR that closes a build-guide phase.

Three changes are worth calling out.

The first is the run-it gate. Tests and reviewers check the code; nothing was checking the result. So every PR that changes behaviour is now used the way it will be used before it opens: start the app, call the endpoint, run the script. If the change acts on something outside the repo, it runs against a throwaway target, and where there's a preview and an apply, both run, followed by a re-run that should have nothing left to do. If it changes setup, it's followed from a fresh clone. What was run, and what it showed, goes in the PR body.

The second is review scope. Each gate used to see whatever it happened to look at; now they all review the output of review-diff.sh, which covers the whole change against the default branch: commits, staged and unstaged edits, and untracked files. A new file that isn't staged yet can't slip past a review. The size thresholds also count lines added plus lines removed, so a rewrite that adds 40 lines and removes 40 counts as 80, not zero.

The third is a retrospective at the end of a phase or project. It's one page with at most three follow-ups, and it stays a draft until I've confirmed each item; only confirmed items are saved to docs/retrospectives/. It was trialled twice on the v1.0 work, and the open v1.2 items came straight out of those runs.

What a template can't copy

This one caught me out. GitHub templates copy files, not repo settings; so every repo created from the May version started with main unprotected, no secret scanning and no Dependabot. The hooks were there, but hooks can be skipped with --no-verify.

There are now two setup scripts. Both are dry runs by default and safe to re-run:

# fill in placeholders, swap the README for a stub, install the git hooks
.github/scripts/init-from-template.sh           # preview
.github/scripts/init-from-template.sh --apply

# after the first PR merges: main ruleset, secret scanning, push protection, Dependabot
.github/scripts/apply-repo-defaults.sh          # preview
.github/scripts/apply-repo-defaults.sh --apply

The ruleset allows PR-only changes to main and requires toolkit-checks to pass. CI also checks that every status check a ruleset requires is reported by a workflow job, so a renamed job can't quietly lock a repo.

For existing repos there's an adopt-toolkit skill: it copies what's missing, merges what's already there without overwriting it, and adapts the required check and ruleset to the target repo, all through a PR.

Guardrails, revisited

The git hooks were rebuilt. The secret scan in May was my own set of regexes; it's now gitleaks through the pre-commit framework, alongside private-key, file-size and conflict-marker checks, all pinned to release commit SHAs. The commit-msg and pre-push hooks are still the repo's own, but now with integration tests that make real commits and pushes. pre-push blocks pushes straight to the default branch, asking the remote which branch that is rather than assuming main.

Permissions moved the other way: the allow list got shorter, and it's designed for auto mode. Deny rules keep Claude's file tools away from .env files, keys, cloud credentials and Terraform state. It's worth being clear that this is a guardrail, not a sandbox. Codex now gets the same deny rules through a permission profile in .codex/config.toml, plus a read-only profile for reviews; the codex skill stops rather than run without it. Antigravity can't take per-repo rules, so the docs give a tested user-settings snippet for home-folder credentials, and say plainly what it can't block. The .gitignore covers every deny rule too, with a test to keep the two in step.

The supply-chain rule is new: current major versions only, nothing released in the last 7 days, and exact pins. The dependency-check skill applies it to any dependency, including the pre-commit hooks themselves, since pre-commit autoupdate happily takes the newest release however new it is. That's now documented as off limits.

Testing the template on itself

Before tagging v1.0 I created repos from the template and followed the quick start from a fresh clone. The first trial passed every step that mattered, from a bad commit message and a fake token caught by gitleaks through to the ruleset rejecting a direct push made with --no-verify. It also found four smaller issues: GitHub's 404 text leaking into the script output, a re-run planning changes that were already applied, new repos keeping the toolkit's README, and one way to push a PR's head straight to main.

The second trial found my favourite bug of the lot. The init tests used the toolkit's own README, AGENTS.md, LICENSE and CODEOWNERS as fixtures, so toolkit-checks passed in the toolkit and failed in every project created from it. The tests now carry their own fixtures. That one would have been quite embarrassing, so it does make me feel slightly better about the run-it gate.

New skills

Alongside the gates, the toolkit picked up a handful of workflow skills:

  • dependency-check: release dates, the 7-day rule, exact pins, transitive cool-downs, and private registries or proxies
  • commit-and-pr: branch name, a secret-name check before staging, local checks, which gates ran, then a Conventional Commits message and a PR body from the template; it hands over the commands by default
  • debugging: reproduce, narrow down, one hypothesis at a time, fix the root cause, and a regression test seen failing first
  • adopt-toolkit: brings the toolkit into an existing repo
  • project-retrospective: as above

The planning and thinking skills from May (requirements, research, tree of thought, trade-off analysis and the strategy frameworks) are still in the default set. AGENTS.md also picked up one rule that's more about me than the agents: before building a fix, suggest two or three options with a recommendation, and let me decide.

What's next

The v1.2 list came mostly from the retrospectives. A test that the Claude, Codex and Antigravity deny lists stay in step; re-reviewing edits made after the gates have run, which happened on three PRs; and making sure known gaps reach docs/tech-debt.md rather than living only in PR bodies. The bigger one is using adopt-toolkit on a real repo rather than a throwaway one; if that goes well (or badly), it'll probably be its own post.

The toolkit is on GitHub as a public template. It's my own working setup and it keeps changing; so fork it, or just take the pieces you want.