- CLAUDE.md with project docs and architecture - n8n-mcp config example (.mcp.json.example) - 7 gandalf skills (jump, hai, docker, status, remote-env, orchestrate, skills) - hai-infra + hai-tasks MCP server connections - .gitignore for secrets Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
67 lines
2.5 KiB
Markdown
67 lines
2.5 KiB
Markdown
---
|
|
description: Orchestrate tasks via n8n workflows and Slack notifications
|
|
argument-hint: <workflow|notify|status> [message]
|
|
---
|
|
|
|
# Orchestration Hub
|
|
|
|
Trigger n8n workflows and send Slack notifications.
|
|
|
|
## Endpoints
|
|
|
|
- **n8n**: https://n8n.hofmanns.app (also n8n.hofmanns.ai)
|
|
- **Slack webhook**: https://slack.hofmanns.tech
|
|
|
|
## Instructions
|
|
|
|
### If argument is `notify <message>`:
|
|
Send a Slack notification:
|
|
```bash
|
|
curl -X POST https://slack.hofmanns.tech/webhook \
|
|
-H "Content-Type: application/json" \
|
|
-d '{"text": "<message>", "channel": "#claude"}'
|
|
```
|
|
|
|
### If argument is `status`:
|
|
Check n8n and slack health:
|
|
```bash
|
|
# Check n8n
|
|
curl -s https://n8n.hofmanns.app/healthz
|
|
|
|
# Check slack webhook
|
|
curl -s -o /dev/null -w "%{http_code}" https://slack.hofmanns.tech/health
|
|
```
|
|
|
|
### If argument is `workflow <name>`:
|
|
Trigger an n8n workflow by webhook:
|
|
```bash
|
|
curl -X POST "https://n8n.hofmanns.app/webhook/<workflow-name>" \
|
|
-H "Content-Type: application/json" \
|
|
-d '{"triggered_by": "claude", "timestamp": "'$(date -Iseconds)'"}'
|
|
```
|
|
|
|
### If argument is `list`:
|
|
List available workflows (if n8n API accessible)
|
|
|
|
### Display format:
|
|
|
|
```
|
|
┌─────────────────────────────────────────────────────────┐
|
|
│ 🎭 ORCHESTRATION │
|
|
├─────────────────────────────────────────────────────────┤
|
|
│ 📡 n8n.hofmanns.app 🟢 healthy │
|
|
│ 💬 slack.hofmanns.tech 🟢 connected │
|
|
├─────────────────────────────────────────────────────────┤
|
|
│ Available workflows: │
|
|
│ • backup-trigger Daily backup orchestration │
|
|
│ • deploy-hai Deploy to hai server │
|
|
│ • notify-status Send status to all channels │
|
|
└─────────────────────────────────────────────────────────┘
|
|
```
|
|
|
|
## Integration Examples
|
|
|
|
Combine with other skills:
|
|
- `/remote-env` → check status → `/orchestrate notify "hai is down!"`
|
|
- Deploy workflow → `/orchestrate workflow deploy-hai`
|