Claude Code workflow kit

N8n Claude Code Guide

Connect n8n to Claude Code via SSH for powerful automation workflows

390 stars 71 forksWorkflow kits Source

Install

From source
git clone https://github.com/theNetworkChuck/n8n-claude-code-guide.git

From the README

n8n + Claude Code Integration Guide
Connect n8n to Claude Code (or other AI terminal tools) via SSH for powerful automation workflows.

Video: n8n + Claude Code is OVERPOWERED

Table of Contents

- Prerequisites
- Architecture Overview
- Setup Guide
  - 1. Install Claude Code
  - 2. Configure n8n SSH Credentials
  - 3. Test the Connection
- Basic Usage
  - Simple Claude Command
  - Adding Context (Working Directory)
  - Using Skills and Agents
- Session Management
  - Creating a Session ID
  - Resuming Sessions
- Advanced Workflows
  - Slack Integration (Mobile Access)
- Troubleshooting
- Resources

Prerequisites

You'll need three things:

1. n8n Instance - Self-hosted or cloud
2. AI Terminal Tool - Claude Code (recommended), Gemini CLI, or Codex
3. Coffee - That's just the rules

Claude Code Requirements

- Requires an Anthropic Pro subscription or API access
- Can be installed on any Linux-based machine (including Mac, Windows WSL)

Where to Install Claude Code

You can install Claude Code on:

Architecture Overview

The magic? SSH. That's it. n8n uses the SSH node to remotely execute Claude Code commands on your server.

Setup Guide

1. Install Claude Code

On your Linux server (Ubuntu example):

2. Configure n8n SSH Credentials

1. In n8n, add an SSH node to your workflow
2. Click Create New Credential
3. Fill in your server details:

4. Click Save - Look for "Connection tested successfully"

3. Test the Connection

First, test with a basic command:

If that works, test Claude Code:

You should see the Claude Code version in the output.

Basic Usage

Simple Claude Command

Use the -p (print) flag for headless mode - send a prompt and get a response:

SSH Node Command:

The -p flag puts Claude in "print mode" - it processes your prompt and returns the result…
Read the full README on GitHub

Details

Last updated
10 December 2025

FAQ

What is N8n Claude Code Guide?

Connect n8n to Claude Code via SSH for powerful automation workflows It is a workflow kit for Claude Code, from theNetworkChuck/n8n-claude-code-guide on GitHub.

How do I install N8n Claude Code Guide?

Clone theNetworkChuck/n8n-claude-code-guide from GitHub and follow the setup steps in its README.

Is N8n Claude Code Guide popular?

theNetworkChuck/n8n-claude-code-guide has 390 GitHub stars and 71 forks. It was last updated on 10 December 2025.

More workflow kits

Browse the most popular Claude Code mods, all workflow kits, or the skills and MCP server directories.