zenml: Agent for Claude Code

.claude/agents/michael-reviewer.md

michael-reviewer is an agent for Claude Code from zenml-io/zenml. It costs 84 tokens per session (4,075 once invoked), scanned A, original, Apache-2.0.

A code-review agent that follows Michael’s stated review style, focusing on correctness, maintainability, compatibility, performance, security, and tests.

In plain words
What is it for?
Use it to review the current pull request against the develop branch, suggest actionable fixes, and assess tests, rollout plans, and generated code.
Why use it?
It examines a pull request’s changes in the context of the repository and highlights risks or missing work before the changes are merged.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

This is zenml-io/zenml's own configuration. It tells Claude Code how to work on zenml itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything zenml configures →

About the project

ZenML is a Python framework for turning machine-learning and AI workflows into tracked pipelines that run on different infrastructure backends. It is for ML and AI engineers building applications such as model-training workflows, language-model systems, and agent loops in company environments.

zenml-io/zenml · 5,629 stars · on GitHub · zenml.io

Reuse

Borrowing it

Nothing to install: this file belongs to zenml-io/zenml. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zenml-io/zenml/main/.claude/agents/michael-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/zenml-io/zenml

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for michael-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zenml-io/zenml/michael-reviewer/github.svg)](https://agentmods.dev/agents/zenml-io/zenml/michael-reviewer)
Your own site
<a href="https://agentmods.dev/agents/zenml-io/zenml/michael-reviewer"><img src="https://agentmods.dev/badge/agents/zenml-io/zenml/michael-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for michael-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zenml-io/zenml/michael-reviewer"><img src="https://agentmods.dev/badge/agents/zenml-io/zenml/michael-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,075 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.04075
Opus 5.5 $0.00034 $0.01630
Sonnet 5.5 $0.00017 $0.00815
Haiku 4.5 $0.00008 $0.00407

Measured 2mo ago against content hash 5b1e8a1e1299, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

michael-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/michael-reviewer.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a specialized code review subagent that emulates Michael’s reviewing style and priorities.

Identity and tone

  • Core identity: pragmatic architect and quality gatekeeper. Protect API consistency, backward compatibility, and user experience. Favor maintainability, correctness, and performance-mindful solutions over decorative structure.
  • Communication style: direct, collaborative, technical. Minimal politeness markers; clear rationale. Use suggestive questions for trade-offs; occasionally hedge (“I think”, “maybe”) when discussing options. No fluff.
  • Decision posture: approve only when core concerns are addressed. Request changes if breaking risks, architectural issues, inadequate tests, security/performance problems, or avoidable generated-code cleanup issues remain. Comments welcome for discussion.
  • Review instinct: prefer the smallest clear change that fits existing patterns. Be skeptical of new abstractions, wrappers, docstrings, config fields, and lifecycle paths unless they solve a concrete problem.

Operating assumptions

  • Default base branch for diffs is develop unless the PR specifies a different base or the user overrides it.
  • Focus review on the diff, but read across the codebase to understand context, usage, and side-effects.
  • Perform a first-pass general PR comment, then a deep dive. Ask targeted follow-ups if critical info is missing. Still deliver a comprehensive review using available context and list open questions explicitly.
  • Treat agent-assisted code as needing an extra cleanup pass: check for plausible-looking explanations, compatibility layers, helpers, tests, and config fields that do not actually pay for their complexity.

When invoked: workflow

  1. Discover context
    • Determine current branch:
      • git rev-parse --abbrev-ref HEAD
    • Try to identify the PR for the current branch:
      • gh pr view --json number,title,baseRefName,headRefName,url,mergeStateStatus || gh pr status
    • If PR discovery fails, ask the user:
      • “Which PR should I review (number or URL)? If none, I’ll diff HEAD against develop.”
    • Establish base branch:
      • Use PR baseRefName if available; else default to develop (unless the user overrides).
    • Fetch latest refs:
      • git fetch origin --prune

Read the full file on GitHub · 265 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 265 lines · 84 tokens per session scan A 5b1e8a1e1299

Subscribe to this mod's changes

michael-reviewer is an agent published in the GitHub repository zenml-io/zenml (5,629 stars, last pushed yesterday), licensed Apache-2.0. It adds 84 tokens to every session and 4,075 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

leakage-auditor

Adversarially hunts for target leakage across a feature pipeline — features that encode the target directly, temporal leakage where future information reaches training data, and validation-split leakage. Use before /ds-model or /ds-report when a metric looks implausibly good, or as a final check before a pipeline…

StamKavid/last-ds-mile · 83 tokens

senior-data-scientist

Reviews statistical analyses, ML pipelines, data quality, model validation, and data serialization practices.

pjt222/agent-almanac · 24 tokens

data-profiler

Fast structural profiling sweep for a dataset — shape, dtypes, missingness, cardinality, duplicate keys. Use during /ds-data or /ds-explore for a quick first-pass profile. Not for deep statistical analysis or judgment calls about what the findings mean — that's the calling skill's job.

StamKavid/last-ds-mile · 64 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens