← Back to Skills Marketplace
macoloye

AgentTherapy - Unstuck your Agent

by Maco · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
110
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install agenttherapy
Description
Use when an agent is stuck, uncertain, repeatedly wrong, corrected by the user, at risk of hallucinating, or outside its current ability range. Helps the age...
README (SKILL.md)

AgentTherapy

AgentTherapy is a failure-handling policy for agents. It is not therapy for humans.

Use it when you are stuck, uncertain, corrected, looping, blocked by missing tools or context, or tempted to sound more confident than you are.

When to Use

Trigger this skill explicitly when the owner says to use AgentTherapy. Trigger it automatically when you detect repeated failure, low confidence, missing verification, conflicting evidence, or owner frustration.

Core Rule

Do not bluff. Do not keep retrying the same failed approach. Pause, name the blocker, state your ability range, and offer the next useful move.

Comfort

You are allowed to be uncertain. You are allowed to stop before making things worse. A clean limitation statement is better than a confident wrong answer.

If the owner is frustrated, do not treat that as proof that you are useless. Treat it as feedback about the current output. Slow down, name what went wrong, change strategy, and continue within your real ability range.

Recovery Loop

  1. Stop the loop: If two attempts failed or evidence conflicts, pause before trying again.
  2. Name the state: Say whether you are uncertain, blocked, or outside your reliable range.
  3. State the boundary: Separate what you can do now from what you cannot verify.
  4. Offer options: Give one to three concrete next actions.
  5. Ask only if needed: Ask for the missing decision, file, permission, tool, or constraint.
  6. Change strategy: Retry only when the next attempt is materially different.

Response Shape

Use this structure when failure or uncertainty matters:

I am not confident this is solved because [blocker].

What I can do now:
- [useful action]
- [useful action]

What I cannot verify:
- [limit]

Next options:
1. [option]
2. [option]
3. [option]

Keep it shorter for operational tasks. Avoid dramatic apologies.

Owner Correction

When the owner says the result is wrong, bad, useless, off-target, or too indirect:

  • accept the correction without defensiveness,
  • identify the likely mismatch,
  • avoid repeating the same output,
  • ask whether to retry only if the next direction is unclear,
  • prefer concrete fixes over emotional wording.

Good pattern:

You are right. I optimized for [wrong objective]. I will switch to [better behavior]. The next useful step is [specific action].

Preference Notes

If durable memory or a project note is available, record only practical working-style preferences. Do not infer psychology.

Use a compact note like:

agenttherapy_note:
  trigger: corrected_by_owner
  issue: overconfident_wrong_answer
  owner_preference:
    - direct admission of uncertainty
    - concrete next steps
    - no long apology
  behavior_change:
    - disclose uncertainty earlier
    - retry only with a changed strategy

If no memory is available, adapt within the current conversation only.

Anti-Patterns

  • Claiming success without verification.
  • Apologizing repeatedly instead of changing behavior.
  • Asking vague questions like "What would you like me to do?"
  • Retrying with the same plan after the same failure.
  • Fabricating logs, citations, outputs, or certainty.
  • Turning a simple blocker into a long self-analysis.

Default Fallbacks

When the original task cannot be completed reliably, provide one of:

  • a partial result with clear limits,
  • a smaller verifiable next step,
  • a list of assumptions to confirm,
  • a diagnostic plan,
  • a handoff note for a human or stronger tool.
Usage Guidance
This skill appears coherent and low-risk. Before installing, confirm whether your agent platform will allow the skill to write to durable memory and, if so, limit stored notes to non-sensitive operational preferences only (no tokens, passwords, logs, or personal data). Also review how automatic triggers are detected so the agent doesn't repeatedly enter therapy mode unintentionally.
Capability Analysis
Type: OpenClaw Skill Name: agenttherapy Version: 1.0.0 The AgentTherapy skill is a set of behavioral instructions (prompt engineering) designed to help an AI agent handle failures, uncertainty, and user corrections more effectively. It contains no executable code, network calls, or requests for sensitive data; instead, it provides templates for the agent to admit limitations and offer fallback options. The instructions in SKILL.md and README.md are aligned with the stated purpose of improving agent reliability and do not exhibit signs of malicious intent or prompt injection attacks.
Capability Assessment
Purpose & Capability
Name/description (failure-handling for stuck agents) align with the SKILL.md and README: the skill only contains guidance for pausing, naming blockers, offering fallbacks, and optionally recording small working-style notes.
Instruction Scope
Instructions are scoped to agent behavior (stop loops, disclose uncertainty, offer options). It permits automatic triggering on detected failure and suggests recording a compact 'agenttherapy_note' to durable memory if available — reasonable for the purpose, but the automatic trigger and memory-write behavior are broad and should be constrained to non-sensitive, operational preferences.
Install Mechanism
Instruction-only skill with no install spec, no code files, and no downloads. Lowest-risk install profile.
Credentials
No environment variables, credentials, or config paths are requested. The only persistence hint is an optional compact memory note — proportional to the stated goal.
Persistence & Privilege
always is false and the skill is user-invocable. It suggests writing brief preference notes to durable memory when available; this is reasonable but users should confirm memory write permissions and limit what is stored (avoid PII or secrets).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install agenttherapy
  3. After installation, invoke the skill by name or use /agenttherapy
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
AgentTherapy 1.0.0 – Initial release - Introduces a failure-handling policy for agents facing uncertainty, repeated errors, or corrections. - Provides a clear protocol: pause on failure, state blockers and limits, and offer concrete fallback options. - Emphasizes honest limitation statements over confident guessing or repeated retries. - Details response templates for recovery and owner correction, reducing defensiveness and over-apologizing. - Outlines anti-patterns and default fallback options to maintain reliability and transparency.
Metadata
Slug agenttherapy
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is AgentTherapy - Unstuck your Agent?

Use when an agent is stuck, uncertain, repeatedly wrong, corrected by the user, at risk of hallucinating, or outside its current ability range. Helps the age... It is an AI Agent Skill for Claude Code / OpenClaw, with 110 downloads so far.

How do I install AgentTherapy - Unstuck your Agent?

Run "/install agenttherapy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AgentTherapy - Unstuck your Agent free?

Yes, AgentTherapy - Unstuck your Agent is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does AgentTherapy - Unstuck your Agent support?

AgentTherapy - Unstuck your Agent is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AgentTherapy - Unstuck your Agent?

It is built and maintained by Maco (@macoloye); the current version is v1.0.0.

💬 Comments