Token导航 LogoToken导航

Agent Skill · 研究检索

n8n-hosting-&-configuration(n8n 托管和配置)

n8n-hosting-&-configuration 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

n8n-hosting-&-configuration 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 21,158。

总安装 4,951周安装 255GitHub Stars 公开资料未说明下载 3,680核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:n8n-hosting-&-configuration(n8n 托管和配置)
来源仓库:https://github.com/willsigmon/sigstack
仓库路径:skills/n8n-hosting-&-configuration
安装命令:
npx skills add willsigmon/sigstack --skill "n8n-hosting-&-configuration"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add willsigmon/sigstack --skill "n8n-hosting-&-configuration"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找和筛选与 n8n 托管及配置相关的信息。适合根据关键词快速定位候选结果,辅助部署决策。n8n-hosting-&-configuration 属于研究检索类 Skill,可作为该场景下的辅助能力补充。可结合来源仓库和 README 核验具体用法和配置项。安装前建议确认权限范围和是否会触发命令执行或文件操作。

安装方式:通过 GitHub 仓库添加,支持 Codex、Claude 等宿主。

来源仓库内路径:skills/n8n-hosting-&-configuration

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add willsigmon/sigstack --skill "n8n-hosting-&-configuration";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

n8n-hosting-&-configuration 怎么安装?

在终端执行 npx skills add willsigmon/sigstack --skill "n8n-hosting-&-configuration"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

n8n-hosting-&-configuration 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

n8n-hosting-&-configuration 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

n8n-hosting-&-configuration 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

n8n-hosting-&-configuration 用的人多吗?

公开数据是累计安装 4,951 次,近一周安装 255 次,下载 3,680 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

n8n-hosting-&-configuration 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
n8n-hosting-&-configuration

n8n 托管和配置 · 本页

4,951—权限未标注未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
n8n Hosting & Configuration
description
Self-host n8n - Docker, environment variables, databases, scaling, security, enterprise features
allowed-tools
Read, Write, Edit, Bash, WebFetch

n8n Hosting & Configuration

Deploy and configure self-hosted n8n instances.

Quick Start

Docker (Recommended)

docker run -d \
  --name n8n \
  -p 5678:5678 \
  -v n8n_data:/home/node/.n8n \
  -e N8N_BASIC_AUTH_ACTIVE=true \
  -e N8N_BASIC_AUTH_USER=admin \
  -e N8N_BASIC_AUTH_PASSWORD=secure-password \
  n8nio/n8n

Docker Compose (Production)

version: '3.8'

services:
  n8n:
    image: n8nio/n8n:latest
    restart: always
    ports:
      - "5678:5678"
    environment:
      - N8N_HOST=n8n.yourdomain.com
      - N8N_PORT=5678
      - N8N_PROTOCOL=https
      - WEBHOOK_URL=https://n8n.yourdomain.com/
      - GENERIC_TIMEZONE=America/New_York
      - TZ=America/New_York
      - DB_TYPE=postgresdb
      - DB_POSTGRESDB_HOST=postgres
      - DB_POSTGRESDB_DATABASE=n8n
      - DB_POSTGRESDB_USER=n8n
      - DB_POSTGRESDB_PASSWORD=${POSTGRES_PASSWORD}
      - N8N_ENCRYPTION_KEY=${ENCRYPTION_KEY}
      - N8N_USER_MANAGEMENT_JWT_SECRET=${JWT_SECRET}
    volumes:
      - n8n_data:/home/node/.n8n
    depends_on:
      - postgres

  postgres:
    image: postgres:15
    restart: always
    environment:
      - POSTGRES_USER=n8n
      - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
      - POSTGRES_DB=n8n
    volumes:
      - postgres_data:/var/lib/postgresql/data

volumes:
  n8n_data:
  postgres_data:

NPM Installation

npm install n8n -g
n8n start

Environment Variables

Core Settings

# Instance Configuration
N8N_HOST=localhost              # Hostname
N8N_PORT=5678                   # Port
N8N_PROTOCOL=https              # http or https
WEBHOOK_URL=https://n8n.example.com/  # Public webhook URL

# Timezone
GENERIC_TIMEZONE=America/New_York
TZ=America/New_York

# Encryption (REQUIRED for production)
N8N_ENCRYPTION_KEY=your-32-char-encryption-key

# User Management
N8N_USER_MANAGEMENT_JWT_SECRET=your-jwt-secret
N8N_USER_MANAGEMENT_DISABLED=false

Database Configuration

SQLite (Default)
# Uses ~/.n8n/database.sqlite by default
DB_TYPE=sqlite
DB_SQLITE_DATABASE=/home/node/.n8n/database.sqlite
PostgreSQL (Recommended for Production)
DB_TYPE=postgresdb
DB_POSTGRESDB_HOST=localhost
DB_POSTGRESDB_PORT=5432
DB_POSTGRESDB_DATABASE=n8n
DB_POSTGRESDB_USER=n8n
DB_POSTGRESDB_PASSWORD=secure-password
DB_POSTGRESDB_SCHEMA=public

# Connection pooling
DB_POSTGRESDB_POOL_SIZE=10
MySQL/MariaDB
DB_TYPE=mysqldb
DB_MYSQLDB_HOST=localhost
DB_MYSQLDB_PORT=3306
DB_MYSQLDB_DATABASE=n8n
DB_MYSQLDB_USER=n8n
DB_MYSQLDB_PASSWORD=secure-password

Execution Settings

# Execution mode
EXECUTIONS_MODE=queue           # regular or queue

# Process settings
EXECUTIONS_PROCESS=main         # main or own (separate process)
EXECUTIONS_TIMEOUT=3600         # Timeout in seconds
EXECUTIONS_TIMEOUT_MAX=7200     # Max timeout

# Data retention
EXECUTIONS_DATA_SAVE_ON_ERROR=all
EXECUTIONS_DATA_SAVE_ON_SUCCESS=none  # Save storage
EXECUTIONS_DATA_SAVE_ON_PROGRESS=false
EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true
EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE=336     # Hours (14 days)

Queue Mode (Redis)

EXECUTIONS_MODE=queue
QUEUE_BULL_REDIS_HOST=localhost
QUEUE_BULL_REDIS_PORT=6379
QUEUE_BULL_REDIS_PASSWORD=redis-password
QUEUE_BULL_REDIS_DB=0

# Worker settings
QUEUE_BULL_REDIS_TIMEOUT_THRESHOLD=10000
QUEUE_HEALTH_CHECK_ACTIVE=true

Authentication

# Basic Auth
N8N_BASIC_AUTH_ACTIVE=true
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=secure-password

# JWT Auth
N8N_JWT_AUTH_ACTIVE=true
N8N_JWT_AUTH_HEADER=Authorization
N8N_JWKS_URI=https://your-auth-provider/.well-known/jwks.json

# LDAP (Enterprise)
N8N_AUTH_LDAP_ENABLED=true
N8N_AUTH_LDAP_URL=ldap://ldap.example.com:389
N8N_AUTH_LDAP_BIND_DN=cn=admin,dc=example,dc=com
N8N_AUTH_LDAP_BIND_PASSWORD=ldap-password

Security Settings

# HTTPS
N8N_SSL_KEY=/path/to/private.key
N8N_SSL_CERT=/path/to/certificate.crt

# Security headers
N8N_SECURE_COOKIE=true

# IP restrictions
N8N_EDITOR_BASE_URL=https://n8n.example.com
N8N_BLOCK_ENV_ACCESS_IN_NODE=true

# Endpoint restrictions
N8N_METRICS=true
N8N_METRICS_PREFIX=n8n_

Logging

# Log level
N8N_LOG_LEVEL=info              # debug, info, warn, error
N8N_LOG_OUTPUT=console          # console or file
N8N_LOG_FILE_LOCATION=/var/log/n8n/

# Log streaming (Enterprise)
N8N_EXTERNAL_STORAGE_ENABLED=true

Email (SMTP)

N8N_EMAIL_MODE=smtp
N8N_SMTP_HOST=smtp.example.com
N8N_SMTP_PORT=587
 [email protected] 
N8N_SMTP_PASS=smtp-password
N8N_SMTP_SSL=true
 [email protected] 

Scaling & High Availability

Horizontal Scaling with Queue Mode

# docker-compose.yml
version: '3.8'

services:
  n8n-main:
    image: n8nio/n8n
    environment:
      - EXECUTIONS_MODE=queue
      - QUEUE_BULL_REDIS_HOST=redis
    command: n8n start
    # ... other config

  n8n-worker-1:
    image: n8nio/n8n
    environment:
      - EXECUTIONS_MODE=queue
      - QUEUE_BULL_REDIS_HOST=redis
    command: n8n worker
    deploy:
      replicas: 3

  redis:
    image: redis:alpine
    volumes:
      - redis_data:/data

  postgres:
    image: postgres:15
    # ... config

volumes:
  redis_data:

Kubernetes Deployment

apiVersion: apps/v1
kind: Deployment
metadata:
  name: n8n
spec:
  replicas: 1
  selector:
    matchLabels:
      app: n8n
  template:
    metadata:
      labels:
        app: n8n
    spec:
      containers:
      - name: n8n
        image: n8nio/n8n:latest
        ports:
        - containerPort: 5678
        env:
        - name: DB_TYPE
          value: postgresdb
        - name: DB_POSTGRESDB_HOST
          valueFrom:
            secretKeyRef:
              name: n8n-secrets
              key: db-host
        envFrom:
        - secretRef:
            name: n8n-secrets
        volumeMounts:
        - name: data
          mountPath: /home/node/.n8n
      volumes:
      - name: data
        persistentVolumeClaim:
          claimName: n8n-pvc
---
apiVersion: v1
kind: Service
metadata:
  name: n8n
spec:
  selector:
    app: n8n
  ports:
  - port: 5678
    targetPort: 5678
  type: ClusterIP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: n8n
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt
spec:
  tls:
  - hosts:
    - n8n.example.com
    secretName: n8n-tls
  rules:
  - host: n8n.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: n8n
            port:
              number: 5678

Worker Configuration

# Main instance (editor + webhooks)
n8n start

# Worker instances (execution only)
n8n worker --concurrency=10

# Webhook processor
n8n webhook

Reverse Proxy

Nginx Configuration

server {
    listen 443 ssl http2;
    server_name n8n.example.com;

    ssl_certificate /etc/letsencrypt/live/n8n.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/n8n.example.com/privkey.pem;

    location / {
        proxy_pass http://localhost:5678;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        # WebSocket support
        proxy_read_timeout 86400;
        proxy_send_timeout 86400;
    }

    # Increase body size for file uploads
    client_max_body_size 100M;
}

Traefik (Docker)

services:
  n8n:
    image: n8nio/n8n
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.n8n.rule=Host(`n8n.example.com`)"
      - "traefik.http.routers.n8n.entrypoints=websecure"
      - "traefik.http.routers.n8n.tls.certresolver=letsencrypt"
      - "traefik.http.services.n8n.loadbalancer.server.port=5678"

External Secrets Management

HashiCorp Vault

# Enable external secrets
N8N_EXTERNAL_SECRETS_ENABLED=true
N8N_EXTERNAL_SECRETS_BACKEND=vault

# Vault configuration
VAULT_ADDR=https://vault.example.com
VAULT_TOKEN=your-vault-token
VAULT_MOUNT_PATH=secret

AWS Secrets Manager

N8N_EXTERNAL_SECRETS_ENABLED=true
N8N_EXTERNAL_SECRETS_BACKEND=aws

AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=your-access-key
AWS_SECRET_ACCESS_KEY=your-secret-key

Environment-based Secrets

# Reference in n8n as: {{ $env.MY_SECRET }}
MY_SECRET=secret-value
API_KEY=api-key-value

Backup & Recovery

Database Backup

# PostgreSQL backup
pg_dump -h localhost -U n8n -d n8n > backup.sql

# Restore
psql -h localhost -U n8n -d n8n < backup.sql

File System Backup

# Backup n8n data directory
tar -czf n8n-backup.tar.gz /home/node/.n8n

# Includes:
# - credentials (encrypted)
# - workflows (if file-based)
# - settings

Export/Import Workflows

# Export all workflows via API
curl -X GET "http://localhost:5678/api/v1/workflows" \
  -H "X-N8N-API-KEY: $API_KEY" > workflows.json

# Import workflow
curl -X POST "http://localhost:5678/api/v1/workflows" \
  -H "X-N8N-API-KEY: $API_KEY" \
  -H "Content-Type: application/json" \
  -d @workflow.json

Enterprise Features

Source Control (Git)

# Enable source control
N8N_SOURCECONTROL_ENABLED=true
N8N_SOURCECONTROL_DEFAULT_BRANCH=main

Environments

# Development
N8N_ENVIRONMENT=development

# Staging
N8N_ENVIRONMENT=staging

# Production
N8N_ENVIRONMENT=production

Log Streaming

N8N_LOG_STREAMING_ENABLED=true
N8N_LOG_STREAMING_DESTINATION=https://logs.example.com

RBAC (Role-Based Access Control)

  • Owner: Full access
  • Admin: Manage users and settings
  • Member: Execute and edit workflows
  • Viewer: Read-only access

SSO/SAML

N8N_AUTH_SAML_ENABLED=true
N8N_AUTH_SAML_METADATA_URL=https://idp.example.com/metadata

Monitoring

Health Check

# Liveness
GET /healthz

# Readiness
GET /healthz/readiness

Metrics (Prometheus)

N8N_METRICS=true
N8N_METRICS_PREFIX=n8n_

# Scrape endpoint
GET /metrics

Example metrics:

  • n8n_workflow_executions_total
  • n8n_workflow_execution_duration_seconds
  • n8n_active_workflows

Grafana Dashboard

{
  "panels": [
    {
      "title": "Executions per minute",
      "targets": [{
        "expr": "rate(n8n_workflow_executions_total[1m])"
      }]
    },
    {
      "title": "Execution duration",
      "targets": [{
        "expr": "histogram_quantile(0.95, n8n_workflow_execution_duration_seconds_bucket)"
      }]
    }
  ]
}

Troubleshooting

Common Issues

Webhook Not Accessible
# Check WEBHOOK_URL is set correctly
WEBHOOK_URL=https://your-public-url/

# Ensure port is exposed
-p 5678:5678
Database Connection Failed
# Test PostgreSQL connection
psql -h $DB_POSTGRESDB_HOST -U $DB_POSTGRESDB_USER -d $DB_POSTGRESDB_DATABASE

# Check credentials and network
Memory Issues
# Increase Node.js memory
NODE_OPTIONS=--max-old-space-size=4096
Execution Timeout
# Increase timeout
EXECUTIONS_TIMEOUT=7200
EXECUTIONS_TIMEOUT_MAX=14400

Logs

# Docker logs
docker logs n8n -f

# Increase verbosity
N8N_LOG_LEVEL=debug

Output Format

DEPLOYMENT:
  Type: [Docker/K8s/NPM]
  Database: [SQLite/PostgreSQL/MySQL]
  Mode: [Single/Queue]

ENVIRONMENT:
  [Key environment variables]

SCALING:
  Workers: [Number]
  Concurrency: [Per worker]

SECURITY:
  Auth: [Method]
  SSL: [Yes/No]
  Secrets: [Storage method]

MONITORING:
  Metrics: [Endpoint]
  Logs: [Destination]
  Alerts: [Configuration]

平台分布

Codex

34.39%
按下载量换算1,266

Claude

31.18%
按下载量换算1,147

Cursor

18.2%
按下载量换算670

Gemini CLI

9.99%
按下载量换算368

安全审计

暂无安全审计结果可展示。

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills