debug-execution
This skill diagnoses why an n8n workflow failed, produced wrong results, or stopped running by examining actual execution data.
Identity proven by GitHub's verified organisation badge (n8n-io)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- Apache-2.0 (permissive)
- Pin
- 782ab71pinned Oct 9, 2026
- Context cost
- about 1,400 tokenswhen the skill loads
- GitHub stars
- 0on n8n-io/n8n-kiro-power
- Scripts
- None found
What it does
“Diagnose an n8n workflow that failed, produced the wrong result, or stopped running, working from execution data rather than the workflow definition. Use when the user reports a broken, failing, or flaky workflow, asks why a run failed, or asks what changed. Triggers: my n8n workflow failed, why did this workflow break, n8n execution error, workflow stopped working, debug this workflow, intermittent failures.”
Generated summary from the skill's own text
This skill diagnoses why an n8n workflow failed, produced wrong results, or stopped running by examining actual execution data. It reads node outputs and errors from failed runs, compares against workflow versions, and identifies root causes like missing input, API changes, expired credentials, or rate limits.
When to use it
- User reports a workflow execution error or unexpected output
- Investigating why a workflow stopped running or became intermittent
- Analyzing execution data to find which node failed first
- Comparing workflow versions to identify what changed before failures
When not to
- Fixing workflow logic or structure without access to execution data
- Resolving issues when execution history is unavailable or cleared
- Credential problems the user must fix themselves
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add n8n-io/n8n-kiro-power --skill debug-executionInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install n8n-io/n8n-kiro-power debug-execution@782ab71797e68e5633f3a037359fe9fd7aab3f3dInstalls the commit we checked (782ab71).
Copy by hand
Download the folder at 782ab71 and put it in .claude/skills/debug-execution for Claude Code and in .agents/skills/debug-execution for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "debug-execution" by n8n. Source, pinned to commit 782ab71797e68e5633f3a037359fe9fd7aab3f3d: https://github.com/n8n-io/n8n-kiro-power/tree/782ab71797e68e5633f3a037359fe9fd7aab3f3d/skills/debug-execution 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/debug-execution/ for Claude Code and .agents/skills/debug-execution/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/n8n/debug-execution
SKILL.md at the pin
--- name: debug-execution description: "Diagnose an n8n workflow that failed, produced the wrong result, or stopped running, working from execution data rather than the workflow definition. Use when the user reports a broken, failing, or flaky workflow, asks why a run failed, or asks what changed. Triggers: my n8n workflow failed, why did this workflow break, n8n execution error, workflow stopped working, debug this workflow, intermittent failures." compatibility: Requires Kiro with Agent Plugins support and n8n 2.34.0 or later with execution read access. metadata: author: n8n version: "1.0.0" --- # Debugging a failed n8n workflow Use this when a workflow failed, produced the wrong result, or stopped running. Work from evidence. Do not guess from the workflow definition alone. Apply the [connect-n8n pre-flight](../connect-n8n/SKILL.md) before the first n8n tool call in a conversation. Use the schemas the server actually lists. Keep investigation and repair on the native connection selected by that preflight. Resolve an ambiguous instance before reading or changing a workflow. ## Order of investigation 1. **Find the relevant run.** Use the execution the user identified, or search with `search_workflow_executions` for the workflow and reported time. For an execution error, filter to failures. For incorrect output, include successful runs too. If the workflow stopped running, check when it last ran; do not substitute an unrelated old failure. Note whether the problem is constant or intermittent. 2. **Open it.** Call `get_workflow_execution` with `includeData: true` to read node results; the default response contains metadata only. Use `nodeNames` and `truncateData` when useful to limit the returned data. Find the first node that failed, not the last. Later errors are usually consequences. 3. **Read the input to the failing node**, not only its error. Compare the actual fields and values with what the node expects before diagnosing a shape mismatch. 4. **Compare against the version that ran.** Inspect the workflow definition saved with the execution when available. `get_workflow_details` describes the current draft and published version, which may differ from the failed run. Use version history to resolve the difference before editing. 5. **Check whether it changed.** If it used to work, `get_workflow_history` and `get_workflow_versions_diff` show what was edited and when. Match that against the date failures started. ## Common causes - **Missing input.** Check whether the upstream node emitted items and whether those items contain the expected fields. A node receiving no items may not run. - **Shape change.** An upstream API changed its response. The execution data shows the real payload; compare it against what the expression expects. - **Credential expired or revoked.** The error is an auth failure from the external service, not from n8n. The user has to fix the credential; you cannot. - **Rate limit or timeout.** Look for a 429, a socket error, or evidence of a service limit. Check whether retrying could duplicate a write before adding retry behavior. - **A change that was never tested.** The history diff shows an edit right before the first failure. ## Reporting Say three things, in this order: 1. Which node failed and what the error was. 2. Why, in terms of the actual input data you read. 3. The fix, and whether it is something you can apply or something the user has to do. Do not propose a fix you have not grounded in execution data. "It might be the credential" is not a diagnosis when you can read the error. ## Fixing - Read `update_workflow`'s advertised input schema before constructing operations. Its operation and node objects are not Workflow SDK factory calls. If Kiro truncates tool discovery, inspect its saved response. Kiro 1.1.70's old bundled power path omits nested schemas entirely; its saved response cannot recover those fields. Report this [client limitation](../../docs/setup-helper.md#troubleshooting) before editing if the operation schema is unavailable. Do not infer field names from SDK code or an error message. - Apply the grounded fix with `update_workflow`. Inspect validation warnings. Before any test, apply the [build-workflow test checks](../build-workflow/SKILL.md#test-before-you-claim-it-works): prepare pin data, inspect which nodes remain unpinned, and obtain authorization for their I/O or state changes unless already authorized. Unpinned command, file, and Code nodes can execute on the n8n host during `test_workflow`. - Run `test_workflow` and read its result. Report which nodes were simulated. A pinned HTTP or credentialed node cannot prove an API, auth, connectivity, or rate-limit failure is fixed. If a real check is needed, explain its effects and use an authorized `execute_workflow` call with an explicit execution mode. Read the final execution result; otherwise leave the integration unverified. - For failures that are safe to retry, prefer an `update_workflow` call with a `setNodeSettings` operation setting `retryOnFail` and `maxTries` over restructuring the workflow. - If the fix needs error handling the workflow does not have, explain the options and ask. Do not add an Error Trigger or an error workflow silently. - Report whether the change is in the draft or the published version. A passing draft test does not update the production workflow. Publish only if the user authorized it, then verify the relevant published behavior. Check live effects before changing workflow-level settings, which can reactivate a published workflow. ## Limits - Agent conversations are not workflow executions. `get_workflow_execution` and `search_workflow_executions` cover workflow runs only, including workflows an Agent called as a tool. - Execution data is retained according to the instance settings. If the run you want is gone, say so rather than reasoning about a run you cannot see. - If tools or workflow data are unavailable, use [connect-n8n](../connect-n8n/SKILL.md) to distinguish version or feature limits, OAuth permissions, workflow exposure, and user access. Do not diagnose a failure from a definition when the necessary execution evidence is missing.
From n8n-io/n8n-kiro-power at 782ab71, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 782ab71Files
- SKILL.md6.3 KB · 40f99d2adbda
1 file, 6.3 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 782ab71More from n8n
agent-builder
Agent Builder orchestrates the creation, modification, testing, and publishing of n8n Agents.
Claude Code, Codex, Cursor +3 · about 2.3K tokens · pinned 6 days ago
data-table-manager
This skill manages n8n Data Tables through creation, import, querying, and mutation operations.
Claude Code, Codex, Cursor +3 · about 2.1K tokens · pinned 6 days ago
debugging-executions
Debug workflow execution failures by inspecting failed nodes, re-running executions, and comparing expected versus actual values.
Claude Code, Codex, Cursor +3 · about 2.5K tokens · pinned 6 days ago
instance-awareness
This skill teaches the agent to resolve ambiguous requests by reading the instance's activity log and workflow history instead of asking the user to clarify.
Claude Code, Codex, Cursor +3 · about 1.3K tokens · pinned 6 days ago
intent-recognition
Classifies automation requests by determining which primitive owns the top-level control flow (workflow, agent, needs clarification, or out-of-scope) and…
Claude Code, Codex, Cursor +4 · about 6.9K tokens · pinned 6 days ago
n8n-cli
This skill enables agents to manage n8n workflows, credentials, executions, and instance resources via the n8n CLI command-line tool.
Claude Code, Codex, Cursor +4 · about 2.9K tokens · pinned 6 days ago
Related in Observability
creating-replay-vision-scanners
Guides agents through creating Replay Vision scanners, LLM probes that watch session recordings on a schedule and log findings as observations.
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 3.3K tokens · pinned 6 days ago
exploring-replay-vision-observations
This skill guides agents through reading observations from Replay Vision scanners, understanding their findings across session recordings, and taking action…
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 3.3K tokens · pinned 6 days ago
exploring-scouts
Explore and understand PostHog Signals scouts through read-only tools, examining fleet configuration, recent runs, performance metrics, and durable team…
by PostHogOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 11K tokens · pinned 6 days ago
investigating-replay
Gathers session recording metadata, user profile, event timeline, and linked error issues in parallel to give a complete investigation when a user provides a…
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.3K tokens · pinned 6 days ago
resolving-ingestion-warnings
This skill diagnoses and resolves PostHog ingestion warnings that occur during event processing.
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 6.8K tokens · pinned 6 days ago
signals-scout-feature-flags
This skill monitors PostHog feature flags for evaluation anomalies and cleanup opportunities.
by PostHogOfficial publisher
Claude Code, Codex, Cursor +3 · about 13.4K tokens · pinned 6 days ago
Open roles at n8n
3 open roles on the jobs board
- Forward Deployed Engineer - US East Coast
Boston | California | Pennsylvania | New York | Massachusetts | Virginia | Colorado | New Jersey | Georgia | Texas (Remote)
- Forward Deployed Engineer - EMEA
Germany | Netherlands | Portugal | London Office | Ireland | United Kingdom | Spain (Remote)
- Agentic Engineering Platform Engineer
Remote (Europe) (Remote)