跳到正文
TakoAPI
返回技能列表

task-panner-validator

由 cerbug45 提供

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

简介

This skill provides a secure, step-by-step task management system for AI Agents.

描述

该技能的功能

A Python library for structured task execution in AI agents. Plans are defined as ordered steps, validated for safety issues, optionally approved by a human, then executed with support for dry runs, retries, and rollback checkpoints. Requires only the Python standard library.

Validation, approval gates, dry-run mode, and rollback checkpoints ship in a single file with zero dependencies, so it drops into any Python agent without conflict.

何时使用

  • Gating database migrations behind a human approval step
  • Dry-running a destructive cleanup script before committing to it
  • Orchestrating multi-API workflows with per-step retry logic
  • Flagging irreversible operations before an automated pipeline runs
  • Saving and reloading task plans across agent sessions

示例工作流

输入

User asks: Run an ETL pipeline that extracts records from a database, transforms them, and loads them into a warehouse

智能体
  1. 1

    Define three steps (extract, transform, load) with expected outputs and rollback flags set

  2. 2

    Call validate_plan to surface dangerous operations and collect warnings

  3. 3

    Execute the plan with dry_run=True to simulate without side effects

  4. 4

    Approve the plan and execute it with stop_on_error=True

  5. 5

    Call get_execution_summary to report progress percentage and per-step results

输出

Execution summary showing 100% progress and success status for each step

安装

clawhub install cerbug45/task-panner-validator

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

链接