ag-n8n-skills
v1.0.4
Published
π€ n8n Automation Expert Agent with Skills for Antigravity IDE - Build production-ready n8n workflows with AI assistance
Downloads
36
Maintainers
Readme
β‘ n8n Antigravity Skills
AI Agent & Skills for production-ready n8n workflow automation
β‘ Quick Install
π New to this? See QUICK_START.md for step-by-step instructions by platform
Universal Installation (All Platforms)
# Install to your project
npx ag-n8n-skills initThat's it for Antigravity or Claude Code! Just start using it. β¨
For Other AI Assistants (Cursor, Windsurf, Cline, etc.)
# 1. Install skills
npx ag-n8n-skills init
# 2. Convert to your platform's format
chmod +x scripts/convert-to-rules.sh
./scripts/convert-to-rules.shThis creates .cursorrules, .windsurfrules, .clinerules, .continuerc.json, and more!
π Platform-Specific Guides
| Platform | Guide | Time | |----------|-------|------| | Claude Code | Quick Start | 30s | | Windsurf | Quick Start | 2m | | Cursor | Quick Start | 2m | | Cline | Quick Start | 5m | | Continue.dev | Quick Start | 3m | | Aider | Quick Start | 5m | | All Platforms | Compatibility Guide | - |
What Gets Installed
.agent/
βββ agents/
β βββ n8n-automation-expert.md # π€ Expert Agent
βββ skills/
βββ n8n-automation/ # π οΈ 8 Specialized Skills
βββ n8n-template-search/ # π NEW: Multi-source template discovery
βββ n8n-mcp-tools-expert/ # MCP tools usage
βββ n8n-workflow-patterns/ # Workflow architecture
βββ n8n-expression-syntax/ # Expression syntax
βββ n8n-validation-expert/ # Error handling
βββ n8n-node-configuration/ # Node configuration
βββ n8n-code-javascript/ # JavaScript code
βββ n8n-code-python/ # Python code
# After conversion (optional):
.cursorrules # β Cursor auto-detects this
.windsurfrules # β Windsurf auto-detects this
.clinerules # β Cline configuration
.continuerc.json # β Continue.dev configuration
AIDER_USAGE.md # β Aider instructionsπ― Platform-Specific Quick Start
π Claude Code (Zero Config)
npx ag-n8n-skills init
# Done! Just ask: "Create an n8n workflow for webhook processing"π Windsurf / Cursor
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# Restart IDE, then use @ mentions or just ask naturallyπ¦ Cline / Continue.dev (VSCode)
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# Reload VSCode window (Cmd/Ctrl+Shift+P β "Reload Window")βοΈ Aider (CLI)
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# See AIDER_USAGE.md for commandsπ€ What's Included
Expert Agent
| Agent | Description | |-------|-------------| | n8n-automation-expert | Expert n8n workflow architect with 8+ years experience. Masters n8n JSON syntax, all versions (0.x to 1.x), native nodes, LLM integrations, and troubleshooting. |
Skills (8 Total)
| Skill | Purpose |
|-------|---------|
| n8n-automation | π― Master skill orchestrating all 8 sub-skills |
| π n8n-template-search | Template discovery from MCP library, n8n.io, GitHub, forum |
| n8n-mcp-tools-expert | MCP tool usage for n8n operations |
| n8n-workflow-patterns | Architectural patterns for workflows |
| n8n-expression-syntax | Expression syntax ($json, $node) |
| n8n-validation-expert | Error handling and debugging |
| n8n-node-configuration | Complex node configuration |
| n8n-code-javascript | JavaScript code nodes |
| n8n-code-python | Python code nodes |
π Usage
Automatic Detection
The AI automatically detects and applies the n8n expert when you mention:
You: "Create a webhook that sends Slack notifications"
AI: π€ Using @n8n-automation-expert...
You: "Debug my n8n workflow"
AI: π€ Applying n8n debugging skills...What You Can Build
- β Webhook β Process β Respond workflows
- β Scheduled automations (daily reports, syncs)
- β AI agents with LangChain nodes
- β Multi-service integrations (Slack, Gmail, Sheets)
- β Error handling with retry patterns
- β Complex conditional routing
Example Requests
"Create a workflow that triggers on webhook and sends data to Slack"
"Build a daily scheduled workflow that fetches API data and emails a report"
"Design an AI agent workflow using OpenAI for customer support"
"Debug why my n8n HTTP Request node returns 401"π οΈ CLI Commands
# Install .agent folder
ag-n8n-skills init
# Update to latest version
ag-n8n-skills update
# Check installation status
ag-n8n-skills statusOptions
ag-n8n-skills init --force # Overwrite existing .agent folder
ag-n8n-skills init --path ./app # Install in specific directory
ag-n8n-skills init --quiet # Suppress output (for CI/CD)
ag-n8n-skills init --dry-run # Preview actions without executingπ Requirements
- Node.js >= 16.0.0
- AI Coding Assistant: Claude Code, Windsurf, Cursor, Cline, Continue.dev, or Aider
- π‘ Full compatibility guide: See COMPATIBILITY.md
- n8n instance (optional, for deployment)
MCP Tools Integration
For full functionality, configure the n8n-mcp-server:
{
"n8n-mcp": {
"command": "npx",
"args": ["-y", "@leonardsellem/n8n-mcp-server"],
"env": {
"N8N_API_URL": "http://localhost:5678/api/v1",
"N8N_API_KEY": "your-api-key"
}
}
}π‘ Features
| Feature | Description | |---------|-------------| | π Template Discovery | Searches 2,709+ MCP templates + n8n.io + GitHub before building | | π Multi-Source Search | Discovers templates from MCP library, n8n.io, GitHub repositories, and community forums | | π€ Intelligent Agent | Enhanced with skill usage directives for better decision-making | | β Validation | Validates workflows at every step | | π MCP Integration | Uses MCP tools for node discovery and configuration | | π‘οΈ Error Handling | Implements proper error handling patterns | | π Documentation | Adds Sticky Notes to explain complex logic | | β‘ Production Ready | Builds workflows that work flawlessly |
π Multi-Platform Support
Compatible AI Assistants
| Assistant | Support | Native Format | Converted Format | Setup Time |
|-----------|---------|---------------|------------------|------------|
| Antigravity β | β
Native | .agent/ | - | π’ 0 min |
| Claude Code | β
Native | .agent/ | - | π’ 0 min |
| Claude Desktop | β
Native | .agent/ | - | π’ 0 min |
| Windsurf | β
Excellent | .agent/ | .windsurfrules | π’ 1 min |
| Cursor | β
Excellent | .agent/ | .cursorrules | π’ 1 min |
| Cline (VSCode) | π‘ Good | - | .clinerules | π‘ 2 min |
| Continue.dev | π‘ Good | - | .continuerc.json | π‘ 2 min |
| Aider | π‘ Manual | - | AIDER_USAGE.md | π 5 min |
β = Recommended | β = Full Support | π‘ = Good Support
π Converting to Rules Format
Why Convert?
The native .agent/ format works best with Antigravity and Claude Code/Desktop. For other AI assistants, we convert it to their preferred format:
- Cursor β
.cursorrules(auto-detected) - Windsurf β
.windsurfrules(auto-detected) - Cline β
.clinerules(manual config) - Continue.dev β
.continuerc.json(auto-detected) - Aider β
AIDER_USAGE.md(instructions)
Automatic Conversion (One Command)
# After installing skills
./scripts/convert-to-rules.shThis creates 5 files automatically:
β
.cursorrules β Cursor rules file
β
.windsurfrules β Windsurf rules file
β
.clinerules β Cline configuration
β
.continuerc.json β Continue.dev config
β
AIDER_USAGE.md β Aider instructionsWhat Happens During Conversion?
The script:
- β
Reads
.agent/structure - β Extracts agent instructions and skill references
- β Converts to each platform's format
- β Creates platform-specific files
- β Preserves all functionality
No data loss - .agent/ folder remains unchanged!
Manual Conversion (Optional)
If you prefer to customize:
# View the script first
cat scripts/convert-to-rules.sh
# Run with verbose output
bash -x scripts/convert-to-rules.sh
# Or create individual files manually
# See COMPATIBILITY.md for templatesπ± Platform-Specific Usage
Using with Claude Code
# Install
npx ag-n8n-skills init
# Use naturally
"Create an n8n workflow that sends Slack notifications on webhook"Features: β Auto-detection | β MCP tools | β Template search | β All skills
Using with Cursor
# 1. Install and convert
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# 2. Restart Cursor
# 3. Use with @ mentions or naturally
"Create webhook workflow @n8n-automation-expert"
# Or just: "Create webhook workflow for Slack"Features: β Auto-detection | π‘ MCP (community) | β Template search (web) | β All skills
Tip: .cursorrules is auto-detected. You can also reference skills directly:
@.agent/skills/n8n-automation/n8n-template-search/SKILL.mdUsing with Windsurf
# 1. Install and convert
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# 2. Restart Windsurf
# 3. Use naturally or with @ mentions
"Build n8n workflow for webhook processing"Features: β Auto-detection | π‘ MCP (community) | β Template search (web) | β All skills
Tip: Windsurf reads .windsurfrules automatically and understands skill references.
Using with Cline (VSCode)
# 1. Install and convert
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# 2. Configure Cline to read .clinerules
# (Check Cline docs for current config method)
# 3. Reload VSCode window
# Cmd/Ctrl+Shift+P β "Reload Window"
# 4. Explicitly mention files when needed
"Read .agent/agents/n8n-automation-expert.md and create webhook workflow"Features: π‘ Manual loading | π‘ MCP (config) | β Template search (web) | β All skills
Using with Continue.dev (VSCode)
# 1. Install and convert
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# 2. Reload VSCode
# Continue.dev auto-reads .continuerc.json
# 3. Use custom commands
/n8n-template-search "webhook processing"
/n8n-build "webhook to Slack"
/n8n-debug "validation error"Features: β Context providers | π‘ MCP (plugin) | β Template search (web) | β All skills
Custom Commands:
/n8n-template-search- Search for templates/n8n-build- Build workflows with agent/n8n-debug- Debug with validation expert
Using with Aider (CLI)
# 1. Install and convert
npx ag-n8n-skills init
./scripts/convert-to-rules.sh
# 2. Read AIDER_USAGE.md for commands
# 3. Load agent manually
aider --read .agent/agents/n8n-automation-expert.md
# Or load specific skill
aider --read .agent/skills/n8n-automation/n8n-template-search/SKILL.mdFeatures: π‘ Manual loading | β No MCP | β Template search (web) | β All skills
Common workflows:
# Template search
aider --read .agent/skills/n8n-automation/n8n-template-search/SKILL.md
# Then: "Find webhook templates"
# Build workflow
aider --read .agent/agents/n8n-automation-expert.md
# Then: "Create Slack notification workflow"
# Multiple skills
aider \
--read .agent/agents/n8n-automation-expert.md \
--read .agent/skills/n8n-automation/n8n-workflow-patterns/SKILL.mdπ Verification After Installation
Check Installation
# Verify .agent/ folder exists
ls -la .agent/
# Should show:
# .agent/agents/n8n-automation-expert.md
# .agent/skills/n8n-automation/...Check Conversion
# After running convert script
ls -la | grep -E '\.(cursorrules|windsurfrules|clinerules|continuerc)'
# Should show (if conversion ran):
# .cursorrules
# .windsurfrules
# .clinerules
# .continuerc.jsonTest Usage
Claude Code:
# Just ask in chat
"Help me create an n8n workflow"Cursor/Windsurf:
# Check rules loaded
# Look for confirmation in status bar or settings
# Then ask: "Create n8n workflow"Cline/Continue:
# Check VSCode output panel for config messages
# Try custom commands (Continue) or file references (Cline)π Full compatibility guide: COMPATIBILITY.md
π Understanding Rules Conversion
What is it? Converting .agent/ format to platform-specific files (.cursorrules, .windsurfrules, etc.)
Why? Better auto-detection and platform-specific optimizations
How? One command: ./scripts/convert-to-rules.sh
π Detailed conversion guide: CONVERSION_GUIDE.md
π What's New: Template Search Skill
Comprehensive Template Discovery
The new n8n-template-search skill provides intelligent template discovery from multiple sources:
Sources:
- π₯ MCP Template Library (2,709+ curated templates) - Fast & reliable
- π n8n.io/workflows - Latest community templates
- π» GitHub - Code examples and patterns
- π¬ Community Forum - Real-world use cases
Search Capabilities:
// Search by keyword
search_templates({query: "webhook slack notification"})
// Search by specific nodes
search_templates({
searchMode: "by_nodes",
nodeTypes: ["n8n-nodes-base.webhook", "n8n-nodes-base.slack"]
})
// Search by workflow pattern
search_templates({searchMode: "by_task", task: "webhook_processing"})
// Web search for recent templates
WebFetch({
url: "https://n8n.io/workflows/?search=topic",
prompt: "Find templates with descriptions"
})Benefits:
- β Always find the best template before building from scratch
- β Discover recent community patterns and best practices
- β Learn from real-world workflow implementations
- β Reduce development time with proven templates
Learn more: See n8n-template-search documentation
π How Rules Conversion Works
The Universal Format
All skills are stored in universal .agent/ format (Markdown):
.agent/
βββ agents/
β βββ n8n-automation-expert.md β Agent instructions
βββ skills/
βββ n8n-automation/ β 8 specialized skills
βββ SKILL.md
βββ [sub-skills]/Why Markdown?
- β Human-readable
- β Version control friendly
- β Works with any AI that reads text
- β Easy to customize
Automatic Conversion Flow
Step 1: Install Step 2: Convert Step 3: Use
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β npx ag-n8n- β β ./scripts/ β β Restart IDE β
β skills init β β β convert-to- β β β β
β β β rules.sh β β Start coding! β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
.agent/ folder Platform files AI uses your
created created preferred formatWhat Gets Created
# Original (stays unchanged)
.agent/
βββ agents/n8n-automation-expert.md
βββ skills/n8n-automation/...
# After conversion (new files)
.cursorrules β Cursor
.windsurfrules β Windsurf
.clinerules β Cline
.continuerc.json β Continue.dev
AIDER_USAGE.md β AiderFormat Comparison
| Format | Size | Platform | Auto-detect | Customizable |
|--------|------|----------|-------------|--------------|
| .agent/ | ~2,500 lines | Claude, Windsurf, Cursor | β
| β
β
β
|
| .cursorrules | ~80 lines | Cursor | β
| β
β
|
| .windsurfrules | ~70 lines | Windsurf | β
| β
β
|
| .clinerules | ~40 lines | Cline | β οΈ | β
|
| .continuerc.json | ~30 lines | Continue.dev | β
| β
β
β
|
| AIDER_USAGE.md | ~100 lines | Aider | β | β
|
Key Point: Rules files are summaries that reference the full .agent/ folder. They don't duplicate contentβthey tell the AI where to find it.
Conversion Script Details
# What the script does:
./scripts/convert-to-rules.sh
1. β
Reads .agent/agents/n8n-automation-expert.md
2. β
Extracts key instructions and skill paths
3. β
Generates platform-specific format:
- Cursor: Markdown rules with @ references
- Windsurf: Markdown with directory structure
- Cline: Configuration hints
- Continue.dev: JSON with custom commands
- Aider: CLI usage instructions
4. β
Writes files (doesn't modify .agent/)
5. β
Shows success messageWhen to Re-run Conversion
Re-run the script when:
- β
You update
.agent/content - β You switch to a new AI assistant
- β Rules file gets deleted or corrupted
- β You want to reset to defaults
# Safe to run multiple times
./scripts/convert-to-rules.sh
# Overwrites existing files with fresh versionsπ¦ Quick Start Decision Tree
Which AI assistant are you using?
ββ Claude Code / Claude Desktop
β ββ npx ag-n8n-skills init
β β
Done! No conversion needed
β
ββ Cursor / Windsurf
β ββ npx ag-n8n-skills init
β ββ ./scripts/convert-to-rules.sh
β ββ Restart IDE
β β
Done!
β
ββ Cline / Continue.dev (VSCode)
β ββ npx ag-n8n-skills init
β ββ ./scripts/convert-to-rules.sh
β ββ Reload VSCode window
β β
Done!
β
ββ Aider (CLI)
ββ npx ag-n8n-skills init
ββ ./scripts/convert-to-rules.sh
ββ Read AIDER_USAGE.md
ββ Use --read flags
β
Done!π Documentation Index
Getting Started
- π Quick Start - Choose your platform and get started in minutes
- π README - This file, overview and main documentation
- π Conversion Guide - Detailed guide to rules conversion
Platform Support
- π Compatibility Guide - Complete multi-platform support guide
- π» Platform-Specific Setup:
- Claude Code (30 seconds)
- Windsurf (2 minutes)
- Cursor (2 minutes)
- Cline (5 minutes)
- Continue.dev (3 minutes)
- Aider (5 minutes)
Skills Documentation
- π― Master Skill - Overview of all 8 skills
- π Template Search - Multi-source template discovery
- π€ Agent - Expert agent documentation
- π οΈ Individual Skills:
Project Information
Quick Links
| Document | Purpose | Time to Read | |----------|---------|--------------| | QUICK_START.md | Get started with your platform | 2 min | | COMPATIBILITY.md | Understand platform support | 10 min | | CONVERSION_GUIDE.md | Learn about rules conversion | 5 min | | Template Search Skill | Template discovery guide | 5 min |
β Pague um Cafezinho
Se este projeto te ajudou, considere fazer uma contribuiΓ§Γ£o via Pix:
Escaneie o QR code acima para contribuir π
Credits
Based on concept for Romuald CzΕonkowski - www.aiadvisors.pl/en
Adapted by Julio Borges - www.julioborges.net.br
π License
MIT Β© Julio Borges
Made with β€οΈ for the n8n community
β Star this repo Β· π Report Bug Β· π‘ Request Feature
