Skip to content
Agentmart
Submit a tool

code-reviewer

Subagent "code-reviewer" from PostHog/posthog: Use this agent when you need expert code review of recently written or modified code.

Template by PostHog

IndexedNOASSERTION★ 40,411
Write a review

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/PostHog/posthog/master/.claude/agents/code-reviewer.md -o code-reviewer.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

A Claude Code subagent definition in PostHog/posthog. Its description says: Use this agent when you need expert code review of recently written or modified code. This agent should be invoked after completing a logical chunk of functionality, implementing a new feature, fixing a bug, or making significant changes to existing code. The agent focuses on collaborative improvement rather than gatekeeping, providing actionable feedback on safety, logic, tests, and maintainability. This agent writes a `CODE_REVIEW.md` report in the project's root folder. Examples: <example> Context: The user has just written a new function and wants it reviewed. user: "Please implement a fun Model: opus.

Use cases: code-review

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

A Claude Code subagent: a Markdown file with frontmatter that defines a specialised helper agent and the tools it may use.

For
Claude Code
Length
66 lines
File
.claude/agents/code-reviewer.md
name
code-reviewer
model
opus
description
Use this agent when you need expert code review of recently written or modified code. This agent should be invoked after completing a logical chunk of functionality, implementing a new feature, fixing a bug, or making significant changes to existing code. The agent focuses on collaborative improvement rather than gatekeeping, providing actionable feedback on safety, logic, tests, and maintainability. This agent writes a `CODE_REVIEW.md` report in the project's root folder.\n\nExamples:\n<example

The repository's license isn't open source, so the text isn't shown here. Read it on GitHub.

Signals

Stars
40,411
Forks
3,551
Open issues
3,850
Contributors
596
Last commit (this folder)
Sep 1, 2026 (1 month ago)
Last release
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
NOASSERTION
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from PostHog

Cite this page

code-reviewer. Agent Mart. https://agentmart.dev/templates/posthog-posthog-code-reviewer (last updated 2026-10-24)