---
title: "Baz for Claude Code | One Implementation and Merge Standard"
description: "Baz discovers CLAUDE.md and Skills, gives Claude Code organization-wide context before it plans, and independently reviews every Change before merge."
canonical: "https://baz.ai/solutions/claude-code"
---

# Baz for Claude Code | One Implementation and Merge Standard

Baz discovers CLAUDE.md and Skills, gives Claude Code organization-wide context before it plans, and independently reviews every Change before merge.

## Keep one engineering contract across Claude Code

Claude Code carries guidance in CLAUDE.md, .claude/rules, imported @AGENTS.md, and [Skills](https://baz.ai/docs/agents/skills-and-instructions), plus auto memory it writes itself. Anthropic's own docs call these context, not enforced configuration, with no guarantee Claude follows them. Baz discovers that same guidance, scopes it to the changed paths, and [verifies every Change](https://baz.ai/docs/agents/baz-agents) against it at the commit that was pushed, so the standard holds no matter the session, the model, or what stayed in personal memory.

- [Install Baz Planner](https://baz.ai/planner)
- [View the Baz plugin on GitHub](https://github.com/baz-scm/baz-plugin)

## Claude Code tells the agent how to work. Baz keeps the standard.

Native customization tells an agent how to work. Baz turns the durable guidance already versioned in your repository’s tree into [scoped requirements](https://baz.ai/product/standards) it verifies on every Change, and Skill Maintainer opens a pull request when a rule stops matching the code.

### Native customization

CLAUDE.md, .claude/rules, Skills, hooks, subagents, plugins, MCP, and automatic memory

### Where instructions drift

CLAUDE.md loads as a user message, not the system prompt, so adherence is best-effort. Long context dilutes it, Skills fire only when selected, subagents start fresh, and auto memory never reaches the repository.

### What Baz adds

Baz discovers CLAUDE.md, its @-imported files, .claude/rules, and Skills, then loads only the [rules relevant to the changed paths](https://baz.ai/resources/blog/one-agent-to-control-all-rule-files) and verifies the Change against them.

## A plan Claude Code can defend

Claude Code has plan mode. Baz gives that [plan](https://baz.ai/docs/capabilities/planner) cross-repository evidence, so the approach is grounded before implementation begins.

1. Install the [Baz plugin](https://baz.ai/docs/basics/plugins/claude-code) and run /baz:plan-with-baz in your session.
2. Claude enters plan mode and searches the organization through Baz, not just the local checkout.
3. The plan is routed through risk checks: known bugs, [vulnerabilities](https://baz.ai/docs/capabilities/secure-ai-code), CI failures, and team requirements.
4. Approve the plan, then upload it to Baz so teammates can comment on it, and link it to the PR that implements it.

**Result:** A plan grounded in cross-repository evidence, reviewed by the team in Baz before any code exists, and linked to the PR that ships it.

## One independent merge standard

Claude Code can produce work many ways: Terminal sessions, plugins, Skills, hooks, plan mode, and specialized subagents. Baz reviews the result after the code exists, reading the pushed commit straight from your git server rather than the agent’s workspace, and decides one thing: Whether the Change follows repo guidance, satisfies the intended specification, avoids known risks, and is [ready to merge](https://baz.ai/docs/capabilities/merge-automation).

| Baz capability | Evidence used | Decision supported |
| --- | --- | --- |
| [AI Coding Guidelines](https://baz.ai/product/standards) | AGENTS.md, CLAUDE.md, Cursor rules, and Skills matched to changed paths | Did the agent follow the team's durable instructions? |
| [Verification Agent](https://baz.ai/product/verification) | The approved plan, the ticket and designs, and the running application | Did the agent build what the team asked for? |
| [Code Correctness](https://baz.ai/product/agents) | Execution paths, API contracts, and consumers in this and other repositories, read at pinned commits | Does the Change work, and what does it break beyond the edited files? |
| [Security Review](https://baz.ai/product/security) | Advanced Security, SAST-inside signals, and the agent security reviewer | Does the Change introduce an exploitable risk, including in agent code? |
| [Sessions](https://baz.ai/docs/capabilities/sessions) | What every agent ran, read, found, and skipped | Can the team see how the verdict was reached? |
| [Merger](https://baz.ai/product/merger) | Findings, discussions, approvals, checks, and team merge requirements | Is the Change ready to merge, blocked, or waiting for a human decision? |

## Keep every agent’s strengths. Add one control layer.

Each agent keeps its own way to shape behavior. Baz adds the same evidence before code and the same independent verdict after, taken from the git objects themselves rather than any agent’s copy, so the toolchain can change without resetting the standard.

| Capability | [Claude Code](https://baz.ai/solutions/claude-code) | [OpenAI Codex](https://baz.ai/solutions/codex) | [Cursor](https://baz.ai/solutions/cursor) | [Devin](https://baz.ai/solutions/devin) |
| --- | --- | --- | --- | --- |
| Durable repo guidance | CLAUDE.md, imported AGENTS.md, .claude/rules | AGENTS.md | Project Rules, AGENTS.md | AGENTS.md |
| Baz before code | Packaged Planner plugin and plan capture | Packaged Planner plugin and plan capture | Baz Rule, MCP, and plan capture | Baz MCP with repo-held guidance |
| Baz after code | Independent review and merge verdict | Independent review and merge verdict | Independent review and merge verdict | Independent review and merge verdict |
| Where Baz verifies | The pushed commit, not the local session | The pushed commit, not the worktree or cloud container | The pushed commit, not the editor's working tree | The pushed commit, not Devin's machine |
| Agent setup reviewed for security | Hooks, Skills, plugins, and MCP servers | Skills, plugins, and MCP servers | Hooks, Skills, plugins, and MCP servers | Repo Skills and MCP servers |
| Guidance kept current | Skill Maintainer PRs to CLAUDE.md and Skills | Skill Maintainer PRs to AGENTS.md and Skills | Skill Maintainer PRs to rules and Skills | Skill Maintainer PRs to AGENTS.md and Skills |

## One control layer, whichever agent your team picks

### OpenAI Codex

Baz discovers AGENTS.md and Skills, then applies the matching requirements during an [independent review in GitHub](https://baz.ai/docs/agents/baz-agents), outside the session that produced the code.

[Baz + OpenAI Codex](https://baz.ai/solutions/codex)

### Cursor

Baz discovers repo-held .cursor/rules, AGENTS.md, and Skills, scopes them to the changed paths, and [verifies the result](https://baz.ai/docs/agents/baz-agents) outside the editor.

[Baz + Cursor](https://baz.ai/solutions/cursor)

### Devin

Baz enforces repo-held AGENTS.md and Skills. Teams can move durable requirements out of Knowledge or Playbooks into [versioned repo guidance](https://baz.ai/docs/agents/skills-and-instructions) so every agent and reviewer works from the same contract.

[Baz + Devin](https://baz.ai/solutions/devin)

## Questions teams ask first

### Does Baz replace CLAUDE.md?

No. Baz uses the CLAUDE.md and Skills your team already maintains. It normalizes the [instructions](https://baz.ai/docs/agents/skills-and-instructions), applies the relevant parts during review, and verifies the final Change.

### Can Baz enforce Claude's automatic memory or personal settings?

Baz enforces guidance it can read from connected repositories. Personal memory and uncommitted settings stay private. Requirements that must apply across the organization belong in versioned repo guidance.

### Does Baz review our hooks, plugins, and MCP setup?

Yes. Changes to hooks, Skills, plugins, MCP servers, and model SDK code get the [agent security reviewer](https://baz.ai/product/security), which checks for guardrails that can be bypassed, secrets in skills, and unpinned agent supply chain.

### Does Baz run inside the terminal?

Planner runs inside your Claude Code session through the plugin. Review runs independently in GitHub against the pushed commit, not the local checkout, so creation and approval stay separate.

## Let developers keep Claude Code. Keep one standard for the code.

Connect Baz to your repositories and turn the guidance you already maintain into requirements verified at the commit on every Change, before code and again before merge.

- [Book a demo](https://baz.ai/book-a-demo)
- [View the Baz plugin on GitHub](https://github.com/baz-scm/baz-plugin)
