Tenacity — Never Give Up
/install tenacity
Tenacity — Autonomous Goal Completion
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.
Core Principle
Default behavior: Ask for confirmation only when blocked, not at every step. If the path is clear, execute.
When to Activate
Activate when Andrea says things like:
- "keep going until done"
- "don't stop to ask"
- "run this autonomously"
- "finish it completely"
- Any long-running multi-step task
Architecture
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 |
Execution Pattern
Step 1: Define Scope (Standing Order)
Before starting, establish:
- What the agent is authorized to do
- When to stop and ask (hard blockers only)
- What constitutes completion
## 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]
Step 2: Create Task Flow
Use a persistent session (session:\x3Cid>) 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"
Step 3: Checkpoint Protocol
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...
Step 4: Hard Blocker Conditions
Ask only when:
- File/system permission denied and no alternative path
- External dependency unavailable after all retries
- Decision required that changes scope or direction
- Andrea explicitly set a constraint
Never ask when:
- A step can be attempted with alternative tools
- A command failed but a retry or workaround exists
- The path is clear but requires multiple steps
- Output could be improved but is already acceptable
Step 5: Completion
When goal is reached:
- Save final checkpoint with
STATUS: COMPLETE - Brief summary to Andrea
- Log to
memory/tenacity-log.md
Checkpoint Script
See scripts/checkpoint.sh — run after each milestone:
bash scripts/checkpoint.sh "step_3_done" '{"step": 3, "last": "file.csv"}'
Resume Protocol
On session start, check for incomplete checkpoints:
bash scripts/checkpoint.sh --resume
If resume point exists, announce: "Resuming from [milestone]..."
References
- Task Flow:
docs/automation/taskflow.md - Standing Orders:
docs/automation/standing-orders.md - Cron:
docs/automation/cron-jobs.md - Lobster: See
openclaw lobster --help
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tenacity - 安装完成后,直接呼叫该 Skill 的名称或使用
/tenacity触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Tenacity — Never Give Up 是什么?
Keeps working autonomously on complex or long tasks without stopping for confirmation, only pausing when genuinely blocked or at completion. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。
如何安装 Tenacity — Never Give Up?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tenacity」即可一键安装,无需额外配置。
Tenacity — Never Give Up 是免费的吗?
是的,Tenacity — Never Give Up 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Tenacity — Never Give Up 支持哪些平台?
Tenacity — Never Give Up 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tenacity — Never Give Up?
由 Andrea Sassi(@as76)开发并维护,当前版本 v1.0.0。