Skip to content
How it learnsFrom coding sessions, reviews, Slack and docs.Only what fitsEach session gets the few rules its task needs.Pull request reviewEvery PR checked against your team’s rules.Keep it trueA gate, conflicts, disputes and stale rules, handled.HandoffsCarry the work to another session or a teammate.SecurityWhat it sends, what it changes and how to leave.
Engineering teamsOne agent or several: what one person learns, every session uses.PR review onlyInstall the GitHub App. Nothing on anyone’s machine.Teams that mix agentsClaude Code, Cursor, Codex and Copilot, the same rules.On your ownYour corrections follow you across repos, machines and agents.Book a call30 minutes with Roei, if you want a hand. Never required.
DocsPricingSign in
Connect your agents →
For teamsOn your ownPR review onlyHow it learnsOnly what fitsPull request reviewKeep it trueSecurityDocsPricingSign inConnect your agents →
Home/Blog

Blog

AGENTS.md, Cursor rules and Copilot instructions

  • AGENTS.md vs CLAUDE.md
  • copilot-instructions.md
  • Keep rule files in sync
  • Sync rules across repos
  • Why Codex ignores it
  • 3,905 files checked
  • Why Copilot ignores it
  • Cursor Team Rules
  • Cursor rules
  • Claude Code and AGENTS.md
  • AGENTS.md research

CLAUDE.md and context engineering

  • Why Claude ignores it
  • CLAUDE.md length
  • Test a CLAUDE.md rule
  • One CLAUDE.md for all projects
  • Context engineering, Claude 5
  • Which rules got used
  • Context rot, stale rules
  • Growing CLAUDE.md
  • Claude Code best practices
  • Karpathy CLAUDE.md
  • Committing CLAUDE.md

Built-in agent memory

  • Agent memory compared
  • GitHub Copilot Memory
  • Make Claude Code remember
  • Claude Code auto memory
  • Claude Tag vs Claude Code
  • Codex memories
  • Cursor memories
  • Memory or documentation?

Team knowledge and shared conventions

  • Claude Code team memory
  • Stop correcting agents
  • Stop repeated mistakes
  • Who owns CLAUDE.md
  • Claude Code second brain
  • Shared memory across agents
  • Hand off between agents
  • Company brain
  • Slack decisions
  • Memory poisoning
  • Karpathy's LLM wiki
  • ADRs for agents

Skills, hooks and permissions

  • Rules vs skills
  • Block banned commands
  • CLAUDE.md vs skills vs hooks
  • Claude Code hooks
  • Codex skills
  • Auto mode
  • Claude Code skills

AI code review and PR guardrails

  • PR review against AGENTS.md
  • Review PRs against team rules
  • CodeRabbit alternatives
  • PR review for team conventions
  • Review comments to rules

Memory tools and alternatives

  • Best company brain tools
  • claude-mem alternatives
  • Unblocked alternatives
  • Supermemory alternatives
  • Mem0 alternatives
  • claude-mem
  • Best MCP memory servers
  • Supermemory Company Brain alternatives

Blog

CodeRabbit alternatives for your team's own rules

Published November 26, 2026

Short answer: if you want pull request review that follows the rules your team actually set, and not generic best practices, compare tools by where the rules come from. CodeRabbit, GitHub Copilot code review and Claude Code Review read the rule files in your repo. Greptile and Qodo import those files into a rule store and also learn from past reviews. Cursor Bugbot reads its own BUGBOT.md. Harbor reads the rule files from the base branch and adds the rules your team settled in coding sessions, review threads, Slack and docs, the same rules it gives your coding agents while they write.

What to compare

  • Where do the rules come from? A file or config someone writes by hand, or rules learned from how the team already works.
  • Which branch are they read from? If the review reads the pull request's own branch, a pull request can soften a rule and break it in the same diff.
  • Do the agents get the same rules? Or only the reviewer, after the code is written.
  • Who can change a rule? Whether a person approves a learned rule, or it applies on its own.

The options

ToolWhere its rules come fromGood fit
CodeRabbitAGENTS.md, CLAUDE.md and other agents' rule files by default, plus path instructions in .coderabbit.yamlStrong general review, with rules you already wrote down
GreptileRules in .greptile/ or greptile.json, rule files imported at setup, and what it learns from comments and reactionsRules about existing helpers and calls across a large codebase
QodoRule files imported into its rule store, plus rules its Rule Miner (beta) writes from accepted review commentsTeams that want a managed rule store with scopes per folder
GitHub Copilot code review.github/copilot-instructions.md, .instructions.md files and AGENTS.md, from the head branchTeams already on Copilot who want the least setup
Claude Code ReviewCLAUDE.md, and REVIEW.md from the base branchClaude Team and Enterprise plans
Cursor Bugbot.cursor/BUGBOT.md; Cursor project rules do not applyTeams on Cursor, with one extra file to keep
HarborRule files from the base branch, plus rules learned from sessions, review threads, Slack and docsTeams on several coding agents whose rules live in people's heads and review threads

The per-file detail, which branch each tool reads and the vendor sources are in which AI code reviewers read AGENTS.md and CLAUDE.md.

When CodeRabbit is still the right pick

If your rules are already written down in AGENTS.md or CLAUDE.md and you want a broad reviewer with nothing else to set up, CodeRabbit reads both by default. Path instructions cover the conventions that only hold in one folder. Switching only pays off if the rules you care about are not in a file yet, or if a pull request must not be able to change them.

What Harbor does differently

  • Rules nobody wrote down. Harbor learns a rule when someone says it once, in a coding session, a review thread, Slack or a doc. A person approves it, or a policy you set does.
  • The base branch. It reads CLAUDE.md, AGENTS.md, .claude/rules, Cursor and Copilot rules and CONTRIBUTING.md from the base branch, so a pull request cannot rewrite the rules it is checked against.
  • One list for the agents and the review. Before each prompt, Claude Code, Codex, Cursor and GitHub Copilot get the few rules that fit the task. The review checks the same rules after.
  • It informs, it does not block. It comments on the line that breaks a rule, quotes the rule, and never fails the check. It also comments on bugs it finds beside the rules.

On a public repo it checks the repo's own files only, so private rules never appear in public comments.

Caveats

  • Every AI reviewer here is a model, not a deterministic checker. Keep a linter for rules that are a code pattern.
  • If your team uses one agent, one Git host and rules that rarely change, a built-in reviewer may be enough.
  • Greptile and Qodo also learn from past reviews; compare what each learns from before you pick.

Try it

Install the GitHub App and turn on Code review. Nothing runs on anyone's machine, and the Free plan includes 10 reviews.

Related. Best tool to review pull requests against your team's coding conventions and how to review pull requests against your own team's rules.

Questions

What is the best CodeRabbit alternative for checking PRs against our team's own rules?

It depends on where your rules live. If they are already in AGENTS.md or CLAUDE.md, CodeRabbit, Copilot code review and Claude Code Review read them. Greptile and Qodo import the files into a rule store and learn from past reviews. Harbor reads the files from the base branch and adds rules learned from coding sessions, review threads, Slack and docs, the same rules it gives your coding agents.

Does CodeRabbit read AGENTS.md and CLAUDE.md?

Yes. By its docs, CodeRabbit reads both by default, along with other agents' rule files, and takes path instructions in .coderabbit.yaml.

Can a pull request change the rules it is reviewed against?

With Copilot code review it can, since Copilot reads instructions from the head branch. Claude Code Review reads REVIEW.md from the base branch, Qodo counts a file edit once it is merged, and Harbor reads every rule file from the base branch.

Which code reviewers learn rules from past reviews?

Greptile adjusts to review comments, replies and reactions. Qodo's Rule Miner, in beta, writes rules from review comments developers accepted. Harbor learns rules from review threads, coding sessions, Slack and docs, and a person or a policy you set approves each one.

Does Harbor block a merge when a pull request breaks a rule?

No. It comments on the line, quotes the rule, and never fails the check. The Free plan includes 10 reviews.

More on AI code review and PR guardrails

  • CodeRabbit and AGENTS.md: which AI reviewers read your rules?
  • How to review pull requests against your own team's rules
  • Best tool to review pull requests against your team's coding conventions
  • How to turn PR review comments into agent rules

Review pull requests against your team’s rules →

Your team’s rules, in every agent, checked on every PR.

Harbor is shared memory for your team’s Claude Code, Cursor, Codex and Copilot. Free for you and one teammate. No card. No end date.

Start free →

Product

  • How it learns
  • Only what fits
  • Pull request review
  • Keep it true
  • Handoffs
  • The result
  • Security
  • For coding agents
  • Pricing

Developers

  • Docs
  • Quickstart
  • Install
  • CLI
  • MCP server
  • Served and cited
  • Rule-file checker
  • Blog
  • Answers

Guides

  • Why Claude ignores CLAUDE.md
  • AGENTS.md vs CLAUDE.md
  • Share Claude Code memory with a team
  • Why Codex ignores AGENTS.md
  • Why Cursor ignores rules
  • Copilot instructions vs AGENTS.md
  • Shared memory across agents
  • Copilot Memory and Dreaming

Compare

  • All comparisons
  • vs Mem0
  • vs Zep
  • vs Unblocked
  • vs ByteRover
  • vs Cognee
  • vs Hindsight
  • vs OpenViking
  • vs Supermemory
  • vs Glen
  • vs MemPalace
  • vs Sentra
  • vs Trail-code
  • vs Qodo

Company

  • Questions
  • Contact
  • X
  • LinkedIn
  • Privacy Policy
  • Terms of Service
  • Data Processing Agreement
  • Refund Policy
© 2026 HarborConnect your agents