ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 3/5

Stp

Skill by scotthuang

Why use this skill?

Automate complex workflows with STP for OpenClaw. Features structured task planning, step-by-step execution, and safety-first confirmation for all your agent tasks.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/scotthuang/stp
Or

What This Skill Does

STP (Structured Task Planning) is an advanced execution framework designed to bridge the gap between high-level user intent and precise, step-by-step task completion. It allows OpenClaw to handle complex, multi-step workflows by breaking them down into actionable segments with status tracking, logging, and a 'fast-fail' safety mechanism. Whether you provide a pre-defined Markdown task sheet (File Mode) or ask the agent to dream up a plan for you (Natural Language Mode), STP ensures that every action is intentional, auditable, and subject to your final confirmation.

Installation

To install this skill, use the following command in your OpenClaw terminal: clawhub install openclaw/skills/skills/scotthuang/stp Ensure your environment has write access to the workspace directory, as STP requires permission to create task directories and log files within ~/.openclaw/workspace/.

Use Cases

  • Complex Research: Automate multi-step data retrieval, such as querying stock prices or scraping multiple websites, where each step requires verification.
  • Project Onboarding: Use a standard Markdown task list to guide the agent through setting up dev environments or installing a suite of dependencies.
  • Routine Operations: Create a repeatable tasks.md file for daily system checks or log maintenance, ensuring the agent follows the exact same logical flow every time.
  • Ad-hoc Automation: Simply describe a task to the agent and let STP build the infrastructure for the plan, allowing for quick, structured automation of simple requests.

Example Prompts

  1. "/stp 我需要查询腾讯、贵州茅台和Meta的当前股票价格,请帮我规划并执行。"
  2. "/stp 执行任务文件 ~/tasks/setup_dev_env.md"
  3. "任务规划:帮我自动下载并整理过去一周的技术新闻,并保存到工作目录。"

Tips & Limitations

  • Always Review: STP is designed with a safety-first philosophy. The agent will always present a plan for your review; it will not execute anything until you confirm with 'ok' or '确认'.
  • Fast-Fail Strategy: If a step fails, the entire process terminates immediately. This prevents a cascading series of errors if a prerequisite step does not complete successfully.
  • File Organization: Use descriptive names for your Markdown task files to keep your ~/.openclaw/workspace/tasks directory manageable.
  • Compatibility: Ensure your Markdown files follow the standard STP format (Task Name, Description, Steps, Expected Output) to avoid parsing errors during execution.

Metadata

Stars1054
Views1
Updated2026-02-16
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-scotthuang-stp": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#task-management#automation#workflow#planning#cli
Safety Score: 3/5

Flags: file-write, file-read, code-execution