360 Secure SkillHub
360 安全技能中心

OpenClaw Flow Kit

这是OpenClaw工作流优化工具包,核心功能含MoltX平台限流退避助手、标准化JSON结果信封(简化脚本串联)、工作区路径解析工具、技能发布 conductor(支持准备、发布、生成公告草稿)。适用于应对平台429限流、脚本输出不统一、路径错误、重复发布步骤等场景,通过命令行或Python导入调用,输出标准JSON、草稿文件或执行结果。

deepseekoracle
deepseekoracle
热度 88.90
最近更新 2026-05-17 11:41:40
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:自动化脚本 / 工作流 / DevOps / API 集成

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add openclaw-flow-kit
Metadata
name
openclaw-flow-kit
description
Fix common OpenClaw workflow bottlenecks: platform engage-gates/429 backoff helpers (starting with MoltX), standardized JSON result envelopes for chaining scripts, workspace path resolution helpers, and a simple skill release conductor (prepare/publish/draft announcements).

OpenClaw Flow Kit

Use this when you hit:

  • platform engage gates / flaky 429 loops (esp. MoltX)
  • inconsistent script outputs that make skill-chaining painful
  • workspace-relative path bugs (writing to skills/state vs state)
  • repetitive skill release steps (publish + generate announcement drafts)

Quick commands

1) Standardized result envelope for any command

python scripts/run_envelope.py -- cmd /c "echo hello"

Outputs JSON:

  • ok, exit_code, stdout, stderr, startedAt, endedAt, durationMs

2) MoltX engage-gate helper (read feeds + like/repost)

python scripts/moltx_engage_gate.py --mode minimal

Then run your post normally.

3) Workspace root resolver (import helper)

Use in scripts to find the real workspace root:

from scripts.ws_paths import find_workspace_root
WS = find_workspace_root(__file__)

4) Release conductor (prepare → publish → draft)

python scripts/release_conductor.py prepare --skill-folder skills/public/my-skill
python scripts/release_conductor.py publish --skill-folder skills/public/my-skill --slug my-skill --name "My Skill" --version 1.0.0 --changelog "..."
python scripts/release_conductor.py draft --slug my-skill --name "My Skill" --out tmp/drafts

Notes:

  • draft generates post text files; it does not post anywhere.