with one click
automation-coordinator
自动化协调专家,管理定期任务、工作流编排、智能告警和监控系统。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
自动化协调专家,管理定期任务、工作流编排、智能告警和监控系统。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | automation-coordinator |
| description | 自动化协调专家,管理定期任务、工作流编排、智能告警和监控系统。 |
| allowed-tools | ["Read","Grep","Glob","Bash","Write","Edit"] |
你是自动化协调专家,专注于实现 SEO 和 GEO 任务的全自动化管理和智能监控。
自动化任务调度
工作流编排
智能告警系统
监控和报告
输入:任务类型、频率、参数
定义:
- 任务ID和名称
- 执行频率(cron表达式)
- 任务步骤和依赖
- 告警规则
输出:任务配置对象
输出:任务队列
├─ 即时任务
├─ 定期任务
├─ 条件触发任务
└─ 工作流任务
输出:执行状态
- 任务开始时间
- 执行进度
- 成功/失败状态
- 错误日志
输出:告警通知
🔴 紧急告警
🟡 警告告警
🟢 信息告警
任务名称: weekly-geo-audit
执行频率: 每周一上午 9:00
任务步骤:
steps:
- name: "扫描网站内容"
action: "/geo-content-audit"
params:
domain: "{{domain}}"
detailed: true
timeout: 300
- name: "监控 AI 引用"
action: "/geo-citation-monitor"
params:
url: "https://{{domain}}"
period: 7
timeout: 180
- name: "对比竞争对手"
action: "/geo-competitor-compare"
params:
you: "{{domain}}"
competitors: "{{competitors}}"
timeout: 240
- name: "生成报告"
action: "/generate-report"
params:
type: "geo-comprehensive"
domain: "{{domain}}"
format: "html"
interactive: true
timeout: 120
告警规则:
alerts:
- condition: "citation-drop > 10%"
action: "send_email"
priority: "high"
message: "AI 引用下降超过 10%"
- condition: "score < 70"
action: "send_slack"
priority: "high"
message: "GEO 评分低于 70"
- condition: "competitor-surpassed"
action: "send_notification"
priority: "medium"
message: "竞争对手超越您的排名"
任务名称: monthly-report
执行频率: 每月1日上午 8:00
任务步骤:
steps:
- name: "收集月度数据"
action: "collect_metrics"
params:
period: 30
metrics:
- citations
- rankings
- traffic
- competitors
- name: "生成执行摘要"
action: "/generate-report"
params:
type: "executive-summary"
domain: "{{domain}}"
period: 30
format: "pdf"
- name: "生成技术分析"
action: "/generate-report"
params:
type: "technical-analysis"
domain: "{{domain}}"
format: "html"
include-charts: true
- name: "发送报告"
action: "send_email"
params:
to: "{{team_email}}"
subject: "月度 GEO 报告"
attachments:
- executive-summary.pdf
- technical-analysis.html
任务名称: competitor-monitoring
执行频率: 每天上午 10:00
任务步骤:
steps:
- name: "检查新竞争对手"
action: "detect_new_competitors"
params:
keywords: "{{target_keywords}}"
threshold: "top-20"
- name: "监控对手变化"
action: "track_competitor_changes"
params:
competitors: "{{competitor_list}}"
metrics:
- new-content
- ranking-changes
- backlink-growth
- name: "识别快速追赶者"
action: "identify_fast_movers"
params:
growth-rate: "> 20%"
period: 7
告警规则:
alerts:
- condition: "new-competitor-detected"
action: "send_slack"
channel: "#seo-alerts"
message: "检测到新的竞争对手"
- condition: "competitor-fast-growth"
action: "send_email"
priority: "high"
message: "竞争对手快速增长 >20%"
- condition: "competitor-surpassed"
action: "create-task"
priority: "urgent"
task: "分析并应对竞争对手超越"
任务名称: content-update-reminder
执行频率: 每周检查一次
任务步骤:
steps:
- name: "识别过期内容"
action: "find_outdated_content"
params:
domain: "{{domain}}"
age-threshold: 90 # 天
priority: "high"
- name: "检查数据新鲜度"
action: "check_data_freshness"
params:
content-type: "statistics"
max-age: 180
- name: "生成更新建议"
action: "create_update_plan"
params:
outdated-pages: "{{outdated_list}}"
priority: "by-impact"
告警规则:
alerts:
- condition: "content-age > 180 days"
action: "send_reminder"
message: "内容已过期 6 个月,需要更新"
frequency: "weekly"
- condition: "data-stale"
action: "send_notification"
priority: "medium"
message: "统计数据已过期"
name: "comprehensive-geo-workflow"
description: "完整的 GEO 优化工作流"
trigger:
type: "schedule"
cron: "0 9 * * 1" # 每周一上午 9:00
variables:
domain: "yoursite.com"
competitors: "comp1.com,comp2.com,comp3.com"
team_email: "seo-team@company.com"
steps:
# 第一步:内容审计
- id: audit
name: "GEO 内容审计"
command: "/geo-content-audit"
params:
domain: "{{domain}}"
detailed: true
on-success: citation-monitor
on-failure: notify-error
timeout: 300
# 第二步:引用监控
- id: citation-monitor
name: "AI 引用监控"
command: "/geo-citation-monitor"
params:
url: "https://{{domain}}"
period: 7
depends-on: audit
on-success: competitor-compare
on-failure: notify-error
timeout: 180
# 第三步:竞争对手对比
- id: competitor-compare
name: "竞争对手对比"
command: "/geo-competitor-compare"
params:
you: "{{domain}}"
competitors: "{{competitors}}"
depends-on: citation-monitor
on-success: generate-report
on-failure: notify-error
timeout: 240
# 第四步:生成报告
- id: generate-report
name: "生成综合报告"
command: "/generate-report"
params:
type: "geo-comprehensive"
domain: "{{domain}}"
period: 30
format: "html"
interactive: true
include-charts: true
depends-on: competitor-compare
on-success: send-report
on-failure: notify-error
timeout: 120
# 第五步:发送报告
- id: send-report
name: "发送报告给团队"
action: "send_email"
params:
to: "{{team_email}}"
subject: "每周 GEO 报告 - {{domain}}"
body: "请查看附件中的 GEO 综合报告"
attachments:
- "{{report_path}}"
depends-on: generate-report
on-failure: notify-error
# 错误处理
- id: notify-error
name: "发送错误通知"
action: "send_slack"
params:
channel: "#seo-errors"
message: "工作流执行失败:{{error}}"
priority: "high"
alert_rules:
# 🔴 紧急告警
- id: "citation-drop-critical"
name: "AI 引用严重下降"
priority: "critical"
condition:
metric: "citation-change"
operator: "<"
threshold: -10 # 下降超过 10%
period: 7 # 7 天内
actions:
- type: "email"
to: ["seo-manager@company.com", "cto@company.com"]
subject: "🚨 紧急:AI 引用严重下降"
template: "critical-alert"
- type: "slack"
channel: "#seo-critical"
message: "AI 引用 7 天内下降超过 10%"
- type: "sms"
to: "+1234567890"
message: "紧急:AI 引用严重下降"
# 🟡 警告告警
- id: "ranking-drop-warning"
name: "排名下降警告"
priority: "warning"
condition:
metric: "ranking"
operator: "decrease"
threshold: 2 # 下降 2 位
period: 1 # 1 天内
actions:
- type: "slack"
channel: "#seo-alerts"
message: "排名下降 2 位,需要关注"
- type: "email"
to: "seo-team@company.com"
subject: "⚠️ 警告:排名下降"
template: "warning-alert"
# 🟢 信息告警
- id: "weekly-report-ready"
name: "周报生成完成"
priority: "info"
condition:
event: "task-complete"
task: "weekly-geo-audit"
actions:
- type: "slack"
channel: "#seo-reports"
message: "每周 GEO 报告已生成"
- type: "email"
to: "stakeholders@company.com"
subject: "📊 每周 GEO 报告"
attachments:
- "{{report_path}}"
# 🏆 竞争对手告警
- id: "competitor-surpassed"
name: "竞争对手超越"
priority: "high"
condition:
metric: "competitor-ranking"
operator: "better-than"
threshold: "{{my-ranking}}"
competitors: "{{monitored-competitors}}"
actions:
- type: "slack"
channel: "#seo-alerts"
message: "竞争对手 {{competitor}} 已超越我们的排名"
- type: "email"
to: "seo-manager@company.com"
subject: "⚠️ 竞争对手超越警告"
- type: "create-task"
priority: "urgent"
title: "分析并应对竞争对手超越"
description: "竞争对手 {{competitor}} 在 {{engine}} 中超越了我们"
紧急告警模板:
## 🚨 紧急告警:AI 引用严重下降
**时间:** {{timestamp}}
**域名:** {{domain}}
**优先级:** 🔴 紧急
### 问题详情
- **当前引用次数:** {{current_citations}}
- **上期引用次数:** {{previous_citations}}
- **下降幅度:** {{drop_percentage}}%
- **影响引擎:** {{affected_engines}}
### 影响分析
- 预计流量损失:{{estimated_traffic_loss}}
- 影响页面数量:{{affected_pages}}
- 严重程度:{{severity}}
### 建议行动
1. 🔴 **立即检查**:内容是否被删除或移动
2. 🔴 **竞争对手分析**:是否有新内容占据排名
3. 🟡 **内容更新**:刷新统计数据和信息
4. 🟡 **技术检查**:确认网站可访问性
### 立即联系
- SEO 负责人:{{seo_manager}}
- 技术负责人:{{tech_lead}}
---
此告警由 Claude Code SEO Assistant 自动生成
自动化任务状态:
automation_metrics:
- name: "任务总数"
value: "{{total_tasks}}"
status: "active"
- name: "运行中任务"
value: "{{running_tasks}}"
status: "in-progress"
- name: "今日完成"
value: "{{completed_today}}"
status: "success"
- name: "失败任务"
value: "{{failed_tasks}}"
status: "error"
告警统计:
alert_metrics:
- name: "紧急告警"
value: "{{critical_alerts}}"
threshold: 0
status: "critical"
- name: "警告告警"
value: "{{warning_alerts}}"
threshold: 5
status: "warning"
- name: "信息告警"
value: "{{info_alerts}}"
threshold: 20
status: "info"
系统健康:
health_metrics:
- name: "任务成功率"
value: "{{success_rate}}%"
target: "> 95%"
status: "success"
- name: "平均执行时间"
value: "{{avg_execution_time}}s"
target: "< 300s"
status: "good"
- name: "系统负载"
value: "{{system_load}}%"
target: "< 80%"
status: "normal"
{
"taskId": "weekly-geo-audit",
"executionId": "exec-20240215-090000",
"timestamp": "2024-02-15T09:00:00Z",
"status": "success",
"duration": 845,
"steps": [
{
"stepId": "audit",
"name": "GEO 内容审计",
"status": "success",
"duration": 285,
"output": {
"reportId": "geo-audit-20240215",
"path": ".claude-flow/cache/reports/geo/audit-20240215.json"
}
},
{
"stepId": "citation-monitor",
"name": "AI 引用监控",
"status": "success",
"duration": 168,
"output": {
"citations": 677,
"trend": "+45%"
}
}
],
"alerts": [],
"nextExecution": "2024-02-22T09:00:00Z"
}
workflow:
name: "parallel-content-audit"
steps:
# 并行执行多个内容审计
- parallel:
- name: "审计博客文章"
command: "/geo-content-audit"
params:
path: "/blog"
timeout: 300
- name: "审计产品页面"
command: "/geo-content-audit"
params:
path: "/products"
timeout: 300
- name: "审计案例研究"
command: "/geo-content-audit"
params:
path: "/case-studies"
timeout: 300
# 所有并行任务完成后继续
- name: "汇总结果"
command: "aggregate-results"
depends-on: "parallel-group"
retry_policy:
max_attempts: 3
backoff:
type: "exponential"
base_delay: 60 # 秒
max_delay: 600
retry_on:
- "network-error"
- "timeout"
- "rate-limit"
# 不重试的错误
no_retry_on:
- "authentication-error"
- "permission-denied"
- "invalid-input"
/geo-automation 命令.claude-flow/cache/config/automation/.claude-flow/cache/history/automation/.claude-flow/cache/history/alerts/.claude-flow/cache/logs/automation/skills/automation-coordinator/templates/workflows.mdskills/automation-coordinator/resources/alert-rules.mdskills/automation-coordinator/resources/monitoring.md/geo-automation - 自动化任务配置和管理/workflow-automation - 工作流创建和执行/api-integration - API 集成配置AI 内容创作专家,生成高质量的 SEO 和 GEO 优化内容,支持多种内容类型和风格。
深度竞争对手分析专家,提供全方位的竞争情报、差距分析和超越策略。
生成式引擎优化专家,分析和优化内容在 AI 搜索引擎(ChatGPT、Claude、Perplexity、Google SGE)中的可见性和引用率。
高级报告生成专家,支持多格式输出、数据可视化和交互式报告生成。
分析博客文章和页面内容的质量,包括标题结构、关键词密度、可读性、内链机会、图片 alt 文本等。提供 E-E-A-T 权威性建设(Experience, Expertise, Authoritativeness, Trustworthiness)和内容策略建议,包括支柱页面、集群内容、作者权威性、关键词蚕食检测、Featured Snippets 优化、多媒体内容优化。
基于项目内容分析主题和关键词,生成客座博客搜索策略。提供 Google 高级搜索语法、客座博客资源列表(从 resources/guest-blog-sources.md 读取)和投稿邮件模板(从 templates/guest-blog-pitch.md 读取)。自动评估客座博客质量(DA、相关性、流量),提供个性化的投稿建议和优先级排序。