Skip to content
TakoAPI
Back to skills

agent-step-sequencer

by gostlightai

Browser & Automation
1.7kDownloads reported by clawskills.sh
3Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Multi-step scheduler for in-depth agent requests.

Description

What This Skill Does

Multi-step scheduler that detects when a user request requires sequential actions, proposes a step plan, waits for confirmation, then persists and executes each step. Survives gateway resets by writing state to disk and resuming on the next heartbeat. Handles automatic retries and failure recovery without user intervention.

Persisting state to disk and resuming on heartbeat means a mid-execution gateway reset does not lose progress, unlike single-shot agent calls that fail completely if interrupted.

When to Use It

  • Running a multi-phase research and writing workflow
  • Executing sequential API calls with rate-limit delays between steps
  • Automating multi-file migrations or setup tasks
  • Recovering long-running agent tasks after a connection drop
  • Chaining dependent steps where each step's output feeds the next

Example Workflow

INPUT

User asks: Research a topic, write a paper based on the research, then produce an outline of the paper

AGENT
  1. 1

    Detects 3 sequential actions with output dependencies, proposes a 3-step plan and waits for user confirmation

  2. 2

    User confirms; agent asks whether to apply 2-minute delays between steps for rate-limit safety

  3. 3

    Agent persists state.json with step definitions and immediately invokes step-sequencer-check.py

  4. 4

    Runner executes step-1, verifies requiredOutputs exist, marks DONE, and advances to step-2

  5. 5

    Heartbeat re-invokes check script on schedule; if a step is FAILED, runner retries with a troubleshoot prompt

OUTPUT

All steps marked DONE; agent posts a summary with paths to all files created during the workflow

Requirements

  • STEP_AGENT_CMD environment variable (command used to invoke the agent, e.g. openclaw agent --message)

Installation

clawhub install gostlightai/agent-step-sequencer

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links