npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

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

Readme

⚑ n8n Antigravity Skills

AI Agent & Skills for production-ready n8n workflow automation

npm version License: MIT n8n Multi-Platform Claude Code Cursor Windsurf


⚑ 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 init

That'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.sh

This 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 status

Options

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
  • 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.sh

This creates 5 files automatically:

βœ… .cursorrules          β†’ Cursor rules file
βœ… .windsurfrules        β†’ Windsurf rules file
βœ… .clinerules           β†’ Cline configuration
βœ… .continuerc.json      β†’ Continue.dev config
βœ… AIDER_USAGE.md        β†’ Aider instructions

What Happens During Conversion?

The script:

  1. βœ… Reads .agent/ structure
  2. βœ… Extracts agent instructions and skill references
  3. βœ… Converts to each platform's format
  4. βœ… Creates platform-specific files
  5. βœ… 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.md

Using 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.md

Features: 🟑 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.json

Test 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 format

What 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           ← Aider

Format 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 message

When 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

Skills Documentation

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