360 Secure SkillHub
360 安全技能中心

Reaction Processor

通过 shell 脚本把 OpenClaw 闭环工作流中的事件与反应写入 PostgreSQL 的 openclaw_agent_events 和 openclaw_agent_reactions 表,并可在适当时更新触发规则元数据。当前仅覆盖 stale_missions_alert 流程的重复跳过与提案创建两种记录命令。

ecosincronia
ecosincronia
热度 81.53
最近更新 2026-05-11 17:30:52
分类:自动化依赖:代码执行应用场景:工作流 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add reaction-processor
Metadata
name
reaction-processor
description
Record real OpenClaw events and reactions for the current closed-loop workflow. Use for logging duplicate-skipped and proposal-created outcomes in public.openclaw_agent_events and public.openclaw_agent_reactions, and for updating trigger fire metadata when appropriate.
metadata
{"clawdbot":{"notes":["Uses only public.openclaw_* tables","Current implementation supports the stale_missions_alert flow","Wraps the real event/reaction pattern already present in stale_missions_engine.sh"]}}

Reaction Processor

Record real events and reactions for the current OpenClaw closed loop.

Commands

  • Record duplicate skipped outcome for stale missions {baseDir}/scripts/reaction-processor.sh record-duplicate-skipped

  • Record proposal created outcome for stale missions {baseDir}/scripts/reaction-processor.sh record-proposal-created

Notes

  • This skill uses the current real event/reaction pattern already implemented in the workspace.
  • It works against public.openclaw_agent_events, public.openclaw_agent_reactions, and public.openclaw_trigger_rules.
  • It is currently scoped to the stale_missions_alert flow.