clawhub · @thomasansems

n8n

S 低风险 低频维护

Manage n8n workflows and automations via API. Use when working with n8n workflows, executions, or automation tasks - listing workflows, activating/deactivating, checking execution status, manually triggering workflows, or debugging automation issues.

下载量
14.5K· —
收藏
48
安装量
156
风险
低
为什么它在这里
作者活跃度 近 30 天 0 次提交,0 次发布。
采用信号 14.5K 次下载 · 156 次安装 · 48 颗收藏
风险事件 重大变更 0 · 安全事件 0 · 废弃通知 0
标签
#self_hosted_and_automation
信任信号 | 默会判断的显化

行家怎么看这个 Agent

把算法评分翻译成行家语言——这些是有经验的用户在决定「要不要用这个工具」时,下意识在检查的维度。

质量层级 S 前 0.1% 的精英级 Agent。万级下载 + 多版本迭代 + 高安装量——社区用脚投票的结果。
低频维护 低频维护。偶有提交,但节奏较慢——适合稳定需求,不适合快速迭代场景。
低风险 无已知安全或重大变更事件。当前窗口期内干净。
跨榜曝光 同时出现在多个榜单的 Agent 通常是真实有价值的——单一维度的高分可能偶然,多维度交叉验证则难以作假。

出现在以下榜单

该 Agent 在哪些榜单中有排名。

暂无榜单排名数据。

更新日志

来自 ClawHub 的版本更新记录。

# Changelog - n8n Enhanced Workflow Management Skill

## Version 2.0.0 - 10 Feb  2026

### 🎉 Major Enhancement Release

Complete redesign of the n8n skill with comprehensive workflow lifecycle management capabilities.

### ✨ New Features

#### Testing & Validation
- **Structure Validation:** `n8n_tester.py` validates workflow integrity
  - Node and connection validation
  - Credential checking
  - Configuration verification
  - Flow analysis
- **Dry-Run Testing:** Test workflows with sample data before activation
- **Test Suites:** Run multiple test cases against workflows
- **Validation Reports:** Human-readable test reports with errors and warnings

#### Execution Monitoring
- **Enhanced Execution Tracking:** Real-time execution monitoring
- **Detailed Statistics:** Success/failure rates, execution patterns
- **Error Analysis:** Identify and categorize failure patterns
- **Retry Logic:** Built-in retry support for failed executions

#### Performance Optimization
- **Performance Analysis:** `n8n_optimizer.py` provides comprehensive metrics
  - Execution metrics (success rate, failure patterns)
  - Node analysis (complexity, expensive operations)
  - Connection analysis (parallel paths, bottlenecks)
  - Performance scoring (0-100)
- **Bottleneck Detection:** Identify workflow performance issues
  - Sequential expensive operations
  - High failure rates
  - Missing error handling
- **Optimization Suggestions:** Actionable recommendations
  - Parallel execution opportunities
  - Caching strategies
  - Batch processing
  - Error handling improvements
  - Complexity reduction
- **Optimization Reports:** Human-readable performance reports

### 📝 API Extensions

#### n8n_api.py Enhancements
- `validate_workflow()` - Validate workflow structure
- `dry_run_workflow()` - Test workflow with mock data
- `get_workflow_statistics()` - Get execution statistics
- `analyze_workflow_performance()` - Performance analysis
- CLI support for `create`, `validate`, and `stats` commands

#### New Modules
- **n8n_tester.py** - Testing and validation
  - Structure validation
  - Dry-run execution
  - Test suite runner
  - Report generation
- **n8n_optimizer.py** - Performance optimization
  - Performance analysis
  - Bottleneck detection
  - Optimization suggestions
  - Report generation

### 📚 Documentation

#### New Documentation
- **README.md** - Quick start guide with examples
- **SKILL.md** - Comprehensive documentation (16KB)
  - All CLI commands
  - Python API examples
  - Common workflows
  - Best practices
  - Troubleshooting guide
- **templates/README.md** - Template documentation
  - Template descriptions
  - Configuration guides
  - Test data examples
- **CHANGELOG.md** - This file

#### Updated Documentation
- Enhanced quick reference
- Added validation examples
- Performance optimization guides
- Template usage examples

### 🗂️ File Structure

```
~/clawd/skills/n8n/
├── README.md                   # Quick start guide
├── SKILL.md                    # Comprehensive documentation
├── CHANGELOG.md                # This file
├── scripts/
│   ├── n8n_api.py             # Core API client (extended)
│   ├── n8n_tester.py          # NEW: Testing & validation
│   └── n8n_optimizer.py       # NEW: Performance optimization
└── references/
    └── api.md
```

### 🔧 Technical Improvements

- **Modular Design:** Separated concerns into specialized modules
- **Error Handling:** Comprehensive error checking and reporting
- **Import Flexibility:** Support for both direct and module imports
- **Validation Logic:** Standalone validation without API dependency
- **Performance Metrics:** Multi-dimensional workflow analysis
- **Extensible Templates:** Easy to add new workflow templates

### 📊 Metrics & Analysis

New performance metrics tracked:
- Execution success/failure rates
- Node complexity scores (0-100)
- Performance scores (0-100)
- Health status (excellent/good/fair/poor)
- Bottleneck severity levels
- Optimization priorities (high/medium/low)

### 🎯 Use Cases

The enhanced skill now supports:
1. **Rapid Prototyping:** Deploy templates and test within minutes
2. **Quality Assurance:** Validate and test before production deployment
3. **Performance Tuning:** Identify and resolve bottlenecks
4. **Continuous Monitoring:** Track workflow health over time
5. **Best Practices:** Built-in optimization recommendations

### 🔄 Migration from v1.0

No breaking changes. All v1.0 functionality preserved and enhanced:
- `list-workflows` - Still works
- `get-workflow` - Still works
- `activate` / `deactivate` - Still works
- `list-executions` / `get-execution` - Still works
- `execute` - Still works

New commands added:
- `create` - Create workflows from templates or files
- `validate` - Validate workflow structure
- `stats` - Get execution statistics

### 🐛 Bug Fixes

- Fixed import issues in testing module
- Added standalone validation for file-based workflows
- Improved error messages for missing credentials
- Enhanced connection validation logic

### ⚡ Performance

- Validation runs without API calls for file-based workflows
- Efficient execution monitoring with configurable polling
- Optimized statistics calculation for large execution histories

### 🔐 Security

- No credentials stored in templates (placeholders only)
- Environment variable-based authentication
- Validation runs safely without modifying workflows

### 📦 Dependencies

No new dependencies
- `requests` (existing)
- `json`, `sys`, `argparse`, `pathlib`, `typing` (standard library)

### 🚀 Future Roadmap

Planned for future releases:
- Additional workflow templates (10+ total)
- Workflow versioning and rollback
- A/B testing framework
- Cost tracking and optimization
- Workflow dependencies and orchestration
- Visual workflow builder web UI
- AI-powered workflow optimization
- Integration testing framework

### 👥 Contributors

- Enhanced n8n skill for Clawdbot/Thomas
- Based on requirements for SaaS automation workflows

### 📄 License

Part of the Clawdbot skills library.

---

## Version 1.0.0 - January 2026

### Initial Release

Basic n8n API integration:
- List workflows
- Get workflow details
- Activate/deactivate workflows
- List and get executions
- Manual workflow execution
- Python API client
- Basic CLI interface