跳到正文
TakoAPI
返回技能列表

workflow-engine

由 plgonzalezrx8 提供

Productivity & Tasks
672下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Structural parity skeleton for queue-driven orchestration in a workflow context.

描述

该技能的功能

A skeleton skill that provides structural parity with queue-driven workflow orchestration. It emulates lifecycle behavior (session orient, write-time validation, session capture) in-skill without real hook execution. Manages phase sequencing and persisted queue state across sessions.

Enforces deterministic state transitions and resumability without requiring external plugin infrastructure or live hook execution.

何时使用

  • Resuming an interrupted batch job from a persisted queue file
  • Passing work between agent sessions using the --handoff flag
  • Running a target file through a fixed extract-to-verify phase sequence
  • Processing a batch by ID across multiple phases without losing state
  • Validating queue structure before any state transitions begin

示例工作流

输入

User asks: process inbox/draft.md --type extract --batch b42

智能体
  1. 1

    Parse positional target and flags: target=inbox/draft.md, type=extract, batch=b42

  2. 2

    Load runtime context from ops/derivation-manifest.md and ops/config.yaml if present

  3. 3

    Locate queue file using fallback order: queue.yaml -> queue.yml -> queue.json

  4. 4

    Validate queue structure and confirm current state allows transition to extract

  5. 5

    Execute extract phase and update queue state; write persisted artifacts to ops/

输出

Queue state updated to extract->done for batch b42; ops/derivation.md written with extraction output

安装

clawhub install plgonzalezrx8/workflow-engine

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接