← 返回 Skills 市场
fuczy

Automator

作者 Fuhaolin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
213
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install clawd-automator
功能描述
Create and manage complex automation workflows using OpenClaw. Orchestrate multi-step tasks, parallel processing, conditional logic, and scheduled automation...
使用说明 (SKILL.md)

Automator Skill

Build profitable automation workflows that save hours every week

When to Use

USE this skill when:

  • "Automate my daily report generation"
  • "Create a workflow that monitors prices and alerts me"
  • "Set up a multi-step data processing pipeline"
  • "I need to schedule recurring tasks with dependencies"
  • "Automate my social media posting across platforms"
  • "Create an approval workflow for my team"
  • "Set up automated backups with notifications"

When NOT to Use

DON'T use this skill when:

  • Single simple command needed (use direct command instead)
  • One-off manual task (no automation needed)
  • Tasks requiring human judgment/creativity
  • Real-time interactive work (workflow adds latency)

💰 Value Proposition

What you get:

  • Save 10+ hours/week on repetitive tasks
  • 🎯 Reliability - workflows run on schedule, even when you forget
  • 🔄 Scalability - same workflow works at any volume
  • 📊 Visibility - track execution history and failures
  • 🛡️ Error handling - retries, fallbacks, alerts

ROI Example:

  • Simple workflow (data fetch + email): 1 hour setup = 5 hours/month saved
  • Complex workflow (multi-source aggregation + reports): 4 hours setup = 20+ hours/month saved
  • Break-even: 1-2 weeks for most workflows

Core Concepts

Workflow Structure

workflow:
  name: "Daily Report Generator"
  schedule: "0 8 * * *"  # Every day at 8 AM
  steps:
    - id: fetch_data
      task: "Fetch sales data from API"
      agent: "data-fetcher"
      timeout: 300

    - id: process
      task: "Process data into report format"
      agent: "data-processor"
      depends_on: [fetch_data]
      timeout: 600

    - id: notify
      task: "Send report via email"
      agent: "notifier"
      depends_on: [process]
      timeout: 120

Agent Roles

Each step can run on a specialized agent:

  • data-fetcher: API calls, data extraction
  • data-processor: Transformations, analysis, calculations
  • notifier: Email, Slack, Telegram, notifications
  • approver: Human-in-the-loop decisions
  • archiver: Storage, backups, cleanup

Error Handling & Retries

retry_policy:
  max_attempts: 3
  backoff: "exponential"  # 1s, 2s, 4s
  on_failure: "notify_admin"  # or "continue", "abort"

failure_notifications:
  - email: "[email protected]"
  - slack: "#alerts"

Quick Start

1. Define Your Workflow

Create a YAML file my-workflow.yaml:

workflow:
  name: "Price Monitor"
  description: "Check product prices hourly and alert if below threshold"
  schedule:
    type: "interval"
    every: "1h"

steps:
  - name: "Check Amazon Price"
    agent: "price-checker"
    prompt: |
      Check price of product https://amazon.com/dp/B08XYZ
      Return price and availability

  - name: "Compare to Threshold"
    agent: "decision-maker"
    prompt: |
      Threshold: $50
      Current price: {{Check Amazon Price.output}}
      Is price below threshold? Return yes/no

  - name: "Send Alert if Cheap"
    agent: "notifier"
    prompt: |
      If {{Compare to Threshold.output}} == "yes":
        Send email to [email protected]
        Subject: Price Alert!
        Body: Product is now ${{Check Amazon Price.output}}
    depends_on: [Check Amazon Price, Compare to Threshold]

2. Load and Start

# Load workflow definition
openclaw workflow load my-workflow.yaml

# Start the scheduled workflow
openclaw workflow start Price Monitor

# Check status
openclaw workflow status

3. Monitor Execution

# View recent runs
openclaw workflow runs Price Monitor --limit 10

# Get execution details
openclaw workflow run \x3Crun-id>

# Stop workflow
openclaw workflow stop Price Monitor

Common Workflow Patterns

Pattern 1: Data Pipeline

workflow:
  name: "Daily Analytics Pipeline"
  schedule: "0 6 * * *"  # 6 AM daily

steps:
  - fetch: "Extract data from 3 sources"
    agent: "extractor"
    parallel: true  # Run multiple sources in parallel

  - transform: "Clean and normalize data"
    agent: "transformer"
    depends_on: [fetch]

  - analyze: "Generate insights"
    agent: "analyst"
    depends_on: [transform]

  - report: "Create PDF report"
    agent: "reporter"
    depends_on: [analyze]

  - distribute: "Email and Slack"
    agent: "distributor"
    depends_on: [report]

Benefit: 30-minute manual process → fully automated

Pattern 2: Approval Workflow

workflow:
  name: "Document Approval"
  trigger: "manual"  # Start on demand

steps:
  - draft: "Generate initial document"
    agent: "writer"

  - review: "Human review"
    agent: "approver"
    type: "human_input"  # Waits for manual approval

  - finalize: "Apply final changes"
    agent: "editor"
    depends_on: [review]

  - publish: "Deploy to production"
    agent: "publisher"
    depends_on: [finalize]

Benefit: Track approvals, no lost emails

Pattern 3: Alert & Escalation

workflow:
  name: "System Monitor"
  schedule: "*/5 * * * *"  # Every 5 minutes
  alert_levels:
    - warning: "System load > 80%"
    - critical: "System load > 95%"

steps:
  - check: "Monitor system metrics"
    agent: "monitor"

  - classify: "Determine severity"
    agent: "classifier"

  - alert:
      agent: "alerter"
      escalation:
        warning: "log_only"
        critical: ["slack", "pagerduty", "sms"]

Benefit: 24/7 monitoring without human attention

Advanced Features

Parallel Execution

steps:
  - name: "Parallel Fetch"
    agent: "fetcher"
    task: "Fetch data from multiple sources"
    parallel: true
    max_concurrent: 5

Conditional Branching

steps:
  - validate: "Check data quality"
    agent: "validator"

  - if_good:
      agent: "loader"
      depends_on: [validate]
      condition: "{{validate.output}} == 'valid'"

  - if_bad:
      agent: "alerter"
      depends_on: [validate]
      condition: "{{validate.output}} != 'valid'"

Output Passing

Use {{step-name.output}} to reference previous step results:

steps:
  - fetch_users:
      agent: "query-db"
      output: "user_ids"

  - fetch_data:
      agent: "api-client"
      prompt: "Fetch records for users: {{fetch_users.output}}"

Pro Tips

1. Start Simple, Then Complex

  • Begin with 2-3 step workflows
  • Add error handling after basic flow works
  • Use templates (see below)

2. Use Specialized Agents

  • Create dedicated agents for common tasks
  • Save as reusable agent profiles
  • Example: data-analyst, email-composer, code-reviewer

3. Implement Checkpoints

steps:
  - step1: ...
  - checkpoint: "Save progress to DB"
    agent: "checkpointer"
  - step2:
      depends_on: [checkpoint]
      # Will resume from checkpoint if failed

4. Set Up Alerts

  • Always configure failure notifications
  • Use different channels for different severity levels
  • Include run ID in alerts for quick debugging

5. Monitor Costs

  • Track token usage per workflow run
  • Set budget alerts
  • Optimize prompts to reduce token consumption

Templates

Copy these templates to get started:

Template: Daily Summary

workflow:
  name: "Daily Digest"
  schedule: "0 7 * * *"

steps:
  - news: "Fetch latest news"
    agent: "news-fetcher"

  - weather: "Get weather forecast"
    agent: "weather-checker"

  - calendar: "Today's meetings"
    agent: "calendar-agent"

  - compile: "Compile into digest"
    agent: "compiler"

  - send: "Email digest"
    agent: "emailer"

Template: E-commerce Monitor

workflow:
  name: "Store Monitor"
  schedule: "*/15 * * * *"

steps:
  - check_inventory:
      agent: "inventory-checker"
      prompt: "List products below reorder threshold"

  - check_orders:
      agent: "order-checker"
      prompt: "Find pending orders > 24 hours"

  - generate_report:
      agent: "reporter"
      depends_on: [check_inventory, check_orders]

  - notify_manager:
      agent: "slack-notifier"
      depends_on: [generate_report]

Troubleshooting

Workflow Not Running?

  • Check schedule format (cron expression)
  • Verify agent exists: openclaw agents list
  • View logs: openclaw logs --follow

Steps Timing Out?

  • Increase timeout in step definition
  • Break large tasks into smaller steps
  • Use parallelization

No Output Available?

  • Check agent responded correctly
  • Use openclaw workflow run \x3Cid> to inspect
  • Agents must use output field

Want to Pause?

openclaw workflow pause \x3Cworkflow-name>
openclaw workflow resume \x3Cworkflow-name>

Next Steps

  1. 📖 Read examples: ~/.openclaw/workspace/skills/automator/examples/
  2. 🧪 Test in sandbox: Use non-production agents first
  3. 📈 Monitor usage: Check token costs daily
  4. 🔄 Iterate: Refine prompts based on results
  5. 📤 Share: Publish your workflows to ClawHub (coming soon!)

💡 Need Help?


Automate the boring stuff. Focus on what matters. 🚀

安全使用建议
This skill appears coherent for creating workflows, but before installing: ensure you trust the openclaw CLI binary and its source; review any workflows or agent prompts for embedded secrets or sensitive URLs; understand that notifications (email/Slack/PagerDuty) require separate connector credentials you must provide and manage securely; test workflows in a sandbox environment and restrict which agents can access sensitive data or external networks.
功能分析
Type: OpenClaw Skill Name: clawd-automator Version: 1.0.0 The 'clawd-automator' skill bundle consists entirely of documentation and YAML templates (SKILL.md) designed to guide an AI agent in creating and managing workflows. It contains no executable code, suspicious network calls, or prompt-injection attacks, focusing instead on legitimate automation concepts like scheduling, retries, and conditional logic.
能力评估
Purpose & Capability
Name/description (automation workflows) align with the declared requirement: the SKILL.md instructs use of the openclaw CLI and YAML workflows. The single required binary (openclaw) is appropriate for this purpose.
Instruction Scope
Instructions stay within workflow creation and openclaw CLI usage. However, example prompts and notifier/agent roles reference external URLs, emails, Slack, PagerDuty, and human-in-the-loop steps — which will cause agents or connectors to access external services when used. The skill itself does not instruct reading unrelated local files, but workflows can embed arbitrary prompts/URLs which could transmit data if users include sensitive information.
Install Mechanism
No install spec and no code files (instruction-only). No downloads or archive extraction are performed by the skill itself, which minimizes install-time risk.
Credentials
The skill declares no environment variables or credentials, which matches being instruction-only. Be aware examples reference sending emails, Slack, PagerDuty, etc.; using those will require configuring separate connectors/credentials outside this skill. The skill does not request unrelated secrets, but you will need to provide service credentials elsewhere for notifications/connectors to work.
Persistence & Privilege
always is false and there is no install-time configuration or persistent modification described. The skill does not request elevated platform privileges or modify other skills/configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawd-automator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawd-automator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - universal workflow automation for OpenClaw
元数据
Slug clawd-automator
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Automator 是什么?

Create and manage complex automation workflows using OpenClaw. Orchestrate multi-step tasks, parallel processing, conditional logic, and scheduled automation... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。

如何安装 Automator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawd-automator」即可一键安装,无需额外配置。

Automator 是免费的吗?

是的,Automator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Automator 支持哪些平台?

Automator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Automator?

由 Fuhaolin(@fuczy)开发并维护,当前版本 v1.0.0。

💬 留言讨论