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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install tenacity - After installation, invoke the skill by name or use
/tenacity - Provide required inputs per the skill's parameter spec and get structured output
What is Tenacity — Never Give Up?
Keeps working autonomously on complex or long tasks without stopping for confirmation, only pausing when genuinely blocked or at completion. It is an AI Agent Skill for Claude Code / OpenClaw, with 44 downloads so far.
How do I install Tenacity — Never Give Up?
Run "/install tenacity" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Tenacity — Never Give Up free?
Yes, Tenacity — Never Give Up is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Tenacity — Never Give Up support?
Tenacity — Never Give Up is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Tenacity — Never Give Up?
It is built and maintained by Andrea Sassi (@as76); the current version is v1.0.0.