Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

openclaw-automation-architectureOpenClaw 自动化架构

Agent Skill

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

总安装

19,780

周安装

808

GitHub Stars

公开资料未说明

下载量

6,335
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:openclaw-automation-architecture(OpenClaw 自动化架构)
来源仓库:https://github.com/lsj210001/openclaw-automation-architecture
安装命令:
openclaw skills install openclaw-automation-architecture
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-automation-architecture

简介

使用 cron、HEARTBEAT.md 等组件设计 OpenClaw 原生自动化系统。

  • 适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。
  • 支持衍生会话、专家代理委托和本地脚本编排复杂工作流。
  • 安装命令:openclaw skills install openclaw-automation-architecture,建议分阶段实施。
  • 涉及自动化设计时应充分考虑异常处理和人工干预节点。

SKILL.md

name
openclaw-automation-architecture
description
Design OpenClaw-native automation systems using cron, HEARTBEAT.md, spawned sessions, specialist-agent delegation, first-class tools, MCPs, and local scripts. Use when the user wants to automate a workflow, set up reminders, schedule recurring reports, monitor topics, build alerting pipelines, design agent orchestration, choose between cron vs heartbeat vs spawned session vs script vs MCP vs Zapier/Make/n8n, or replace brittle no-code flows with an OpenClaw-first architecture. Trigger on requests like "automate this", "build a workflow", "set up a cron", "heartbeat task", "reminder", "scheduled report", "monitor this", "alert me when", "pipeline", "agent orchestration", "Zapier", "Make", "n8n", "save time", or "OpenClaw automation".

OpenClaw Automation Architecture

Overview

Design automations around OpenClaw's native primitives first. Reach for external workflow tools only when the job truly depends on third-party app glue, webhooks, or auth patterns that OpenClaw cannot cover cleanly.

Read references/decision-matrix.md when choosing the execution plane. Read references/patterns.md when the user needs a ready-made workflow pattern.

Core Doctrine

  • Prefer OpenClaw-native building blocks before Zapier, Make, or n8n.
  • Prefer small reliable systems over giant brittle flows.
  • Separate trigger, execution, state, delivery, and recovery.
  • Pick the cheapest primitive that can do the job well.
  • Do not ask the user to choose among primitives unless the trade-off materially affects behavior, cost, or reliability.

Quick Selection

Use this order:

  1. Direct tool call now — when the user wants an immediate result, not automation.
  2. cron — when timing matters or the task must run independently.
  3. HEARTBEAT.md — when the task is periodic housekeeping, context-aware maintenance, or a drift-tolerant batch check.
  4. Spawned session / specialist agent — when the run is heavy, multi-step, or belongs to a dedicated role.
  5. Local script / MCP — when the same deterministic operation will repeat.
  6. External workflow platforms — only if native OpenClaw building blocks are not enough.

Execution Plane Rules

Use cron when time is the product

Reach for cron when the user wants:

  • one-shot reminders
  • daily or weekly reports
  • scheduled monitoring
  • isolated runs that should survive chat silence
  • model-isolated or context-isolated jobs

Rules:

  • Use payload.kind="systemEvent" only for sessionTarget="main".
  • Use payload.kind="agentTurn" for isolated jobs.
  • If the run should notify a specific chat or recipient, prefer delivery.mode="announce" with channel / to instead of sending messages manually inside the run.
  • Write reminder text so it reads naturally when fired, including enough context to make sense later.

Use HEARTBEAT.md when drift is fine and context helps

Reach for heartbeat when the task is:

  • maintenance
  • periodic review
  • memory consolidation
  • cheap-gate checks followed by optional deeper work
  • work that benefits from current conversation context

Do not use heartbeat for:

  • precise alarms
  • externally visible SLAs
  • high-frequency fan-out jobs
  • anything that must run exactly on time

Use spawned sessions when the work is a real job, not a callback

Spawn a session when the task is:

  • long-running research
  • coding or refactoring
  • multi-file content production
  • specialist work for research, writing, trading, planning, or similar roles
  • better handled by ACP harnesses such as Codex or Claude Code

Rules:

  • If the user explicitly asks for Codex / Claude Code / Gemini in that style, use ACP harness intent.
  • Do not wrap ACP intent in local shell hacks.
  • Do not poll spawned workers in loops; let completion be push-based.

Use a script or MCP when determinism matters

Create or reuse a local script / MCP when:

  • the same transformation repeats
  • the work is fragile and should not rely on free-form reasoning every time
  • the workflow needs stable parsing, normalization, or batching
  • the task already maps to an external API or local tool cleanly

Examples:

  • feed normalization
  • CSV enrichment
  • content post-processing
  • quote/fundamental data pulls
  • knowledge-base ingest

Use Zapier / Make / n8n only as the edge adapter

Escalate to external workflow tools only when you need:

  • third-party app auth not covered by tools or MCPs
  • webhook-first integrations across SaaS products
  • drag-and-drop ops handoff for nontechnical collaborators
  • app connectors that would be slower to recreate locally than to consume externally

Treat them as adapters, not the brain.

Design Workflow

For every automation, define these five pieces in order.

1. Outcome

State the business result in one sentence.

Example:

  • "Alert me when a paper release maps to a stock or theme I track."
  • "Every morning, produce a shortlist and draft one article."

2. Trigger

Pick one:

  • user request now
  • schedule
  • heartbeat poll
  • new file / new data arrival
  • external event / webhook

If the trigger is weak or noisy, add a cheap gate before expensive work.

3. Execution plane

Choose one primary plane:

  • direct tool call
  • cron main-session reminder/event
  • cron isolated agent run
  • heartbeat task
  • spawned specialist agent
  • deterministic script / MCP

Do not mix planes unless there is a clear handoff.

4. State and dedup

Always decide:

  • where state lives
  • how duplicates are prevented
  • what counts as success
  • what can be retried safely

Typical state locations:

  • JSON state file in workspace
  • curated memory file
  • append-only log
  • project artifact such as today-briefing.md

5. Delivery and recovery

Define:

  • where the result goes
  • how failures surface
  • when to stay silent vs notify
  • what the fallback is

Prefer a single notification path. Split success and failure channels only when necessary.

Architecture Patterns

Pattern A: Monitor → Filter → Notify

Use for news, prices, releases, topic monitoring, and alerts.

Structure:

  1. scheduled trigger
  2. fetch candidates
  3. deduplicate
  4. score importance
  5. announce only if threshold met
  6. save medium-priority items for digest

Pattern B: Collect → Distill → Produce

Use for content factories and report generation.

Structure:

  1. collector gathers raw material
  2. artifact file stores shortlist or briefing
  3. producer turns artifact into final output
  4. optional review or delivery step

Pattern C: Ingest → Normalize → Index

Use for RAG and knowledge pipelines.

Structure:

  1. detect source
  2. extract text/content
  3. normalize metadata
  4. chunk/index
  5. optionally summarize or tag

Pattern D: Scan → Decide → Act

Use for operations checks and maintenance.

Structure:

  1. cheap gate
  2. deeper scan only if needed
  3. deterministic decision rule where possible
  4. action or alert

Pattern E: Fan-out specialist work

Use when the user asks for one outcome that naturally decomposes.

Structure:

  1. orchestrator defines subtasks
  2. delegate by specialty
  3. collect outputs into one artifact
  4. synthesize once at the top

Guardrails

  • Do not automate a bad process. Simplify first.
  • Do not add an external platform if cron + tools + scripts already solve it.
  • Do not build giant all-in-one jobs when two small jobs with a file handoff are clearer.
  • Do not rely on repeated polling if eventing or longer waits work.
  • Do not send external messages without approval when approval is required.
  • Do not put business logic only in your head; store it in files, prompts, scripts, or config.
  • Do not make every failure page the user. Some failures should log quietly and retry later.

Output Expectations

When helping with an automation request, produce a concrete recommendation in this shape:

  1. Best execution plane
  2. Why this plane wins
  3. State + dedup plan
  4. Failure handling
  5. Whether native OpenClaw is enough or an external workflow tool is justified

If the user asks to actually build it, implement the smallest end-to-end version first.

Example Requests

  • "Set up a daily report in OpenClaw."
  • "Should this be a cron job or a heartbeat task?"
  • "Help me replace this Zapier flow with native OpenClaw automation."
  • "Design an alerting pipeline for topic monitoring."
  • "How should I split this across agents, scripts, and scheduled jobs?"

References

  • Use references/decision-matrix.md for primitive selection and anti-patterns.
  • Use references/patterns.md for ready-made workflow templates in OpenClaw terms.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.96%
按下载量换算6,079

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install openclaw-automation-architecture 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills