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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/scotthuang/stpWhat 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.mdfile 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
- "/stp 我需要查询腾讯、贵州茅台和Meta的当前股票价格,请帮我规划并执行。"
- "/stp 执行任务文件 ~/tasks/setup_dev_env.md"
- "任务规划:帮我自动下载并整理过去一周的技术新闻,并保存到工作目录。"
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/tasksdirectory manageable. - Compatibility: Ensure your Markdown files follow the standard STP format (Task Name, Description, Steps, Expected Output) to avoid parsing errors during execution.
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-scotthuang-stp": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution