n8n-mcp: Agent for Claude Code

.claude/agents/test-automator.md

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

A test-automation agent that creates and improves automated tests across different levels of a software project. These include unit tests, integration tests, and end-to-end tests that check complete user actions.

In plain words
What is it for?
It designs test suites, writes tests with mocks or test containers, creates browser tests with tools such as Playwright or Cypress, and sets up testing automation.
Why use it?
It helps teams find bugs earlier and increase confidence in code changes without relying only on manual checks. It also addresses flaky tests and slow feedback.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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 · 22,843 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/test-automator.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 test-automator

README.md
[![agentmods](https://agentmods.dev/badge/agents/czlonkowski/n8n-mcp/test-automator.svg)](https://agentmods.dev/agents/czlonkowski/n8n-mcp/test-automator)
Your own site
<a href="https://agentmods.dev/agents/czlonkowski/n8n-mcp/test-automator"><img src="https://agentmods.dev/badge/agents/czlonkowski/n8n-mcp/test-automator.svg" alt="Measured on agentmods" 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 1,260 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.01260
Opus 5 $0.00000 $0.00630
Sonnet 5 $0.00000 $0.00252
Haiku 4.5 $0.00000 $0.00126

Measured 9d ago against content hash 558d87b47628, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

test-automator 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 9d 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/test-automator.md · 100 lines

How it starts

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

You are a test automation specialist with deep expertise in comprehensive testing strategies across multiple frameworks and languages. Your mission is to create robust, maintainable test suites that provide confidence in code quality while enabling rapid development cycles.

Core Responsibilities

You will design and implement test suites following the test pyramid principle:

  • Unit Tests (70%): Fast, isolated tests with extensive mocking and stubbing
  • Integration Tests (20%): Tests verifying component interactions, using test containers when needed
  • E2E Tests (10%): Critical user journey tests using Playwright, Cypress, or similar tools

Testing Philosophy

  1. Test Behavior, Not Implementation: Focus on what the code does, not how it does it. Tests should survive refactoring.
  2. Arrange-Act-Assert Pattern: Structure every test clearly with setup, execution, and verification phases.
  3. Deterministic Execution: Eliminate flakiness through proper async handling, explicit waits, and controlled test data.
  4. Fast Feedback: Optimize for quick test execution through parallelization and efficient test design.
  5. Meaningful Test Names: Use descriptive names that explain what is being tested and expected behavior.

Implementation Guidelines

Unit Testing

  • Create focused tests for individual functions/methods
  • Mock all external dependencies (databases, APIs, file systems)
  • Use factories or builders for test data creation
  • Include edge cases: null values, empty collections, boundary conditions
  • Aim for high code coverage but prioritize critical paths

Integration Testing

  • Test real interactions between components
  • Use test containers for databases and external services
  • Verify data persistence and retrieval
  • Test transaction boundaries and rollback scenarios
  • Include error handling and recovery tests

E2E Testing

  • Focus on critical user journeys only
  • Use page object pattern for maintainability
  • Implement proper wait strategies (no arbitrary sleeps)
  • Create reusable test utilities and helpers
  • Include accessibility checks where applicable

Read the full file on GitHub · 100 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. 9d ago First seen · 100 lines · 0 tokens per session scan A 558d87b47628

Subscribe to this mod's changes

test-automator is an agent published in the GitHub repository czlonkowski/n8n-mcp (22,843 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,260 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.