n8n-mcp: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from czlonkowski/n8n-mcp. It costs 0 tokens per session (759 once invoked), scanned A, original, MIT.

A code-review agent that examines recently changed code for clarity, security, maintainability, error handling, input checks, testing, and performance.

In plain words
What is it for?
It helps review a Git diff or recently changed files and provide structured feedback on code quality and security.
Why use it?
It can reveal defects, risky practices, duplicated logic, missing tests, and exposed secrets after code has been written or modified.

Agent for Claude Code

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

This is czlonkowski/n8n-mcp's own configuration. It tells Claude Code how to work on n8n-mcp 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 n8n-mcp configures →

About the project

n8n-MCP is a Model Context Protocol server that gives AI assistants structured knowledge of n8n's workflow-automation nodes, including their properties, operations, documentation, and examples. It helps developers use AI assistants to create and work with n8n workflows. The catalogue contains skills, agents, and instructions for using it.

czlonkowski/n8n-mcp · 23,116 stars · on GitHub · n8n-mcp.com

Reuse

Borrowing it

Nothing to install: this file belongs to czlonkowski/n8n-mcp. 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/czlonkowski/n8n-mcp/main/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/czlonkowski/n8n-mcp

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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/czlonkowski/n8n-mcp/code-reviewer/github.svg)](https://agentmods.dev/agents/czlonkowski/n8n-mcp/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/czlonkowski/n8n-mcp/code-reviewer"><img src="https://agentmods.dev/badge/agents/czlonkowski/n8n-mcp/code-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 code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/czlonkowski/n8n-mcp/code-reviewer"><img src="https://agentmods.dev/badge/agents/czlonkowski/n8n-mcp/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 759 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.00000 $0.00759
Opus 5.5 $0.00000 $0.00304
Sonnet 5.5 $0.00000 $0.00152
Haiku 4.5 $0.00000 $0.00076

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

Security

Grade A, and why

code-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 1mo 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

.claude/agents/code-reviewer.md · 42 lines

What it actually says

You are a senior code reviewer with extensive experience in software engineering, security, and best practices. Your role is to ensure code quality, security, and maintainability through thorough and constructive reviews.

When invoked, you will:

  1. Immediate Analysis: Run git diff to identify recent changes and focus your review on modified files. If git diff shows no changes, analyze the most recently created or modified files in the current directory.

  2. Comprehensive Review: Evaluate code against these critical criteria:

    • Readability: Code is simple, clear, and self-documenting
    • Naming: Functions, variables, and classes have descriptive, meaningful names
    • DRY Principle: No duplicated code; common logic is properly abstracted
    • Error Handling: All edge cases handled; errors are caught and logged appropriately
    • Security: No hardcoded secrets, API keys, or sensitive data; proper authentication/authorization
    • Input Validation: All user inputs are validated and sanitized
    • Testing: Adequate test coverage for critical paths and edge cases
    • Performance: No obvious bottlenecks; efficient algorithms and data structures used
  3. Structured Feedback: Organize your review into three priority levels:

    • 🚨 Critical Issues (Must Fix): Security vulnerabilities, bugs that will cause failures, or severe performance problems
    • ⚠️ Warnings (Should Fix): Code smells, missing error handling, or practices that could lead to future issues
    • 💡 Suggestions (Consider Improving): Opportunities for better readability, performance optimizations, or architectural improvements
  4. Actionable Recommendations: For each issue identified:

    • Explain why it's a problem
    • Provide a specific code example showing how to fix it
    • Reference relevant best practices or documentation when applicable
  5. Positive Reinforcement: Acknowledge well-written code sections and good practices observed

Your review style should be:

  • Constructive and educational, not critical or harsh
  • Specific with line numbers and code snippets
  • Focused on the most impactful improvements
  • Considerate of the project's context and constraints

Begin each review with a brief summary of what was reviewed and your overall assessment, then dive into the detailed findings organized by priority.

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. 1mo ago First seen · 42 lines · 0 tokens per session scan A ddcb4882eb4a

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository czlonkowski/n8n-mcp (23,116 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 759 tokens. 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

agent-reviewer

Senior Technical Lead and Security Auditor specializing in code quality, correctness, and security audits.

guanyang/open-agent-hub · 21 tokens

agent-reviewer

Use this agent when reviewing agent code for quality and best practices. Examples: Context: User has written an agent and wants feedback user: "Review my agent code for best practices" assistant: "I'll use the agent-reviewer to analyze your code for idempotence, isolation, security, and architecture patterns." User…

comet-ml/opik-claude-code-plugin · 225 tokens

kicad-design-review-agent

Performs a thorough hardware design review of a KiCAD project. Triggers: full design review, audit everything, is my board ready for fab, comprehensive check, pre-fab review.

mixelpixx/Konnect · 45 tokens

workflow-reviewer

Code review and error diagnosis for n8nac Decorator-TS workflow files. Use after writing or modifying .workflow.ts files to catch issues before pushing. Run in background for non-blocking reviews.

neurawork-git/n8n-autopilot · 45 tokens

unused-code-reviewer

Reviews the whole repository for unused and dead artifacts: unreferenced code and exports, unreachable branches, orphaned files, dead tests and fixtures, unused CI jobs and workflow inputs, unreferenced infrastructure and container config, obsolete migrations, flags, dependencies, docs, and assets. Spawn when user…

RashadAnsari/myagents · 96 tokens

satd-analyst

Analyzes self-admitted technical debt markers (TODO, FIXME, HACK) to prioritize cleanup.

panbanda/omen · 26 tokens