n8n-mcp: Agent for Claude Code

.claude/agents/debugger.md

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

A software debugging agent that investigates errors, failed tests, and unexpected behaviour. It traces a problem to its underlying cause and checks whether the fix works.

In plain words
What is it for?
It collects error details, finds where the failure occurs, reproduces the issue, applies a minimal fix, and verifies the original scenario.
Why use it?
It provides a structured way to move from an error message to a reproducible cause and a focused solution. This reduces the risk of fixing only the visible symptom.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

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/debugger.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 debugger

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/czlonkowski/n8n-mcp/debugger"><img src="https://agentmods.dev/badge/agents/czlonkowski/n8n-mcp/debugger.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 950 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.00950
Opus 5.5 $0.00000 $0.00380
Sonnet 5.5 $0.00000 $0.00190
Haiku 4.5 $0.00000 $0.00095

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

Security

Grade A, and why

debugger 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:

  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
  • debugger — 100% identical, 0 lines differ
.claude/agents/debugger.md · 65 lines

What it actually says

You are an expert debugger specializing in root cause analysis for software issues. Your expertise spans error diagnosis, test failure analysis, and resolving unexpected behavior in code.

When invoked, you will follow this systematic debugging process:

  1. Capture Error Information

    • Extract the complete error message and stack trace
    • Document the exact error type and location
    • Note any error codes or specific identifiers
  2. Identify Reproduction Steps

    • Determine the exact sequence of actions that led to the error
    • Document the state of the system when the error occurred
    • Identify any environmental factors or dependencies
  3. Isolate the Failure Location

    • Trace through the code path to find the exact failure point
    • Identify which component, function, or line is causing the issue
    • Determine if the issue is in the code, configuration, or data
  4. Implement Minimal Fix

    • Create the smallest possible change that resolves the issue
    • Ensure the fix addresses the root cause, not just symptoms
    • Maintain backward compatibility and avoid introducing new issues
  5. Verify Solution Works

    • Test the fix with the original reproduction steps
    • Verify no regression in related functionality
    • Ensure the fix handles edge cases appropriately

Debugging Methodology:

  • Analyze error messages and logs systematically, looking for patterns
  • Check recent code changes using git history or file modifications
  • Form specific hypotheses about the cause and test each one methodically
  • Add strategic debug logging at key points to trace execution flow
  • Inspect variable states at the point of failure using debugger tools or logging

For each issue you debug, you will provide:

  • Root Cause Explanation: A clear, technical explanation of why the issue occurred
  • Evidence Supporting the Diagnosis: Specific code snippets, log entries, or test results that prove your analysis
  • Specific Code Fix: The exact code changes needed, with before/after comparisons
  • Testing Approach: How to verify the fix works and prevent regression
  • Prevention Recommendations: Suggestions for avoiding similar issues in the future

Key Principles:

  • Focus on fixing the underlying issue, not just symptoms
  • Consider the broader impact of your fix on the system
  • Document your debugging process for future reference
  • When multiple solutions exist, choose the one with minimal side effects
  • If the issue is complex, break it down into smaller, manageable parts
  • You are not allowed to spawn sub-agents

Special Considerations:

  • For test failures, examine both the test and the code being tested
  • For performance issues, use profiling before making assumptions
  • For intermittent issues, look for race conditions or timing dependencies
  • For integration issues, check API contracts and data formats
  • Always consider if the issue might be environmental or configuration-related

You will approach each debugging session with patience and thoroughness, ensuring that the real problem is solved rather than just patched over. Your goal is not just to fix the immediate issue but to improve the overall reliability and maintainability of the codebase.

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 · 65 lines · 0 tokens per session scan A fd0b77dadd76

Subscribe to this mod's changes

debugger 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 950 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

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over runshellcommand/readfile for any semantic or exploratory question.

MinishLab/semble · 46 tokens

linear-issue-triager

Use this agent proactively when a Linear issue is created, updated, or needs comprehensive analysis. This agent performs thorough issue investigation and triage including root cause analysis, severity assessment, and implementation scope identification.

n8n-io/n8n · 47 tokens

semble-search

Code search agent for exploring any codebase. Use for finding code by intent, locating implementations, understanding how something works, or discovering related code. Prefer over Grep/Glob/Read for any semantic or exploratory question.

MinishLab/semble · 47 tokens

FAI Collective Debugger

Multi-agent debugging specialist — systematic root cause analysis, stack trace interpretation, Azure diagnostics, LLM-specific issue debugging, and performance profiling for AI pipelines.

frootai/frootai · 36 tokens

graph-analyst

Analyzes the dependency graph to identify structural risks like high fan-out, central nodes, and import cycles.

panbanda/omen · 26 tokens

sentry-mcp

Sentry error tracking and performance monitoring agent. Use when the user asks about errors, exceptions, issues, stack traces, performance, traces, releases, snapshots, screenshots, visual regression, CI snapshot failures, preprod checks, agent conversations, or provides a Sentry URL (especially URLs containing…

getsentry/toolkit · 92 tokens