Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
openclaw-loop-watchdog logo

openclaw-loop-watchdog

abwuge/openclaw-loop-watchdog

Otheropenclawby abwuge

Summary

OpenClaw plugin exposing 0 skills.

Install to Claude Code

openclaw plugin add abwuge/openclaw-loop-watchdog

Run in Claude Code. Add the marketplace first with /plugin marketplace add abwuge/openclaw-loop-watchdog if you haven't already.

README.md

openclaw-loop-watchdog

An OpenClaw plugin that detects unintentional agent loop interruptions and automatically wakes the agent to resume or confirm completion.

How It Works

The plugin maintains a .running flag for each active agent session. When a session ends without a stop marker, the watchdog re-enters the session with a wake message. This prevents silent loop deaths where the agent simply stops responding without finishing its task.

  • before_agent_start — Plants a flag when the session starts
  • agent_end — Checks for a stop/yield marker; if absent, sends a wake message
  • gateway_start — Recovers orphaned sessions after a gateway restart
  • before_reset / gateway hook — Clears the flag on /reset or /stop

Quick Install

openclaw plugins install @abwuge/openclaw-loop-watchdog
openclaw loop-watchdog setup
openclaw gateway restart

Then update your AGENTS.md so the agent knows when to use the stop marker (see LLM.md).

Localization

All wake messages and markers are defined in a single file:

~/.openclaw/extensions/openclaw-loop-watchdog/locale.json

Edit this file to change the language or wording. The default is English. You can ask your AI assistant to translate it to your preferred language — see LLM.md for instructions.

Configuration

Optional overrides in openclaw.json under plugins.entries.openclaw-loop-watchdog.config:

| Option | Default | Description | |--------|---------|-------------| | stopMarker | (from locale.json) | Custom stop marker prefix | | yieldMarker | (from locale.json) | Custom yield marker prefix | | watchdogDir | <workspace>/watchdog | Directory for flag files |

For AI Agents

See LLM.md for the complete installation and configuration guide written for AI agents, including locale translation instructions.

Changelog

1.2.0

  • Replaced multi-locale system with single locale.json — translate via LLM to any language
  • Added LLM.md — dedicated AI agent configuration guide
  • Removed README_CN.md
  • Removed lang config option

1.1.0

  • Added i18n support with locale files
  • Fixed plugin id to openclaw-loop-watchdog
  • Updated GitHub Actions to Node.js 24 compatible versions

1.0.2

  • Added LLM installation guide to README

1.0.1

  • Fixed CI trusted publishing

1.0.0

  • Initial release

Related plugins

Browse all →