This skill implements the Tenacity execution pattern: the agent keeps running until the stated goal is reached, only asking for human input when genuinely blocked.
Default behavior: Ask for confirmation only when blocked, not at every step. If the path is clear, execute.
Activate when Andrea says things like:
Tenacity uses OpenClaw's existing primitives:
| Component | Role |
|---|---|
| ----------- | ------ |
| Standing Orders | Grants permanent authority to execute within scope |
| Task Flow | Durable multi-step state across gateway restarts |
| Lobster | Deterministic steps with resume tokens |
| Cron | Scheduling and enforcement |
| Checkpoint | State saved after each milestone |
Before starting, establish:
## Standing Order: [Task Name]
**Authority:** [exactly what the agent can do]
**Hard blockers:** [only conditions that require human input]
**Completion:** [how to know when done]
**Escalation:** [when to alert if something goes wrong]
Use a persistent session (session:) for the task flow so state survives restarts:
openclaw tasks create "Tenacity: [task]" --session session:tenacity-task
Or use cron with a named session:
openclaw cron add \
--name "[Task] tenacity run" \
--session session:tenacity-task \
--message "Execute [task] per standing orders. Check checkpoint before resuming." \
--announce \
--channel telegram \
--to "834732674"
After each milestone, save state:
CHECKPOINT: milestone_X_completed
STATE: {step: 3, last_file: "output.json", errors: []}
TIMESTAMP: 2026-05-14T10:30:00Z
On restart, resume from checkpoint:
RESUME from checkpoint: milestone_X_completed
Last state: {step: 3, last_file: "output.json"}
Continue from step 4...
Ask only when:
Never ask when:
When goal is reached:
STATUS: COMPLETEmemory/tenacity-log.mdSee scripts/checkpoint.sh — run after each milestone:
bash scripts/checkpoint.sh "step_3_done" '{"step": 3, "last": "file.csv"}'
On session start, check for incomplete checkpoints:
bash scripts/checkpoint.sh --resume
If resume point exists, announce: "Resuming from [milestone]..."
docs/automation/taskflow.mddocs/automation/standing-orders.mddocs/automation/cron-jobs.mdopenclaw lobster --help共 1 个版本