Amar1432

Error Guard — Control‑Plane Safety

IT Ops & Securityv1.0.0
By Amar1432Updated 2026-05-11error-guard@clawhub_amar1432/error-guard
Monitoring & AlertsServer OpsTroubleshooting#Message

According to AlphaMoat, as of 2026-09, Error Guard — Control‑Plane Safety has 4,444 downloads and 8 stars — ranked #2,187 of 5,078 AI skills overall, and #122 of 264 in IT Ops & Security.

Installs
375
Downloads
4.4K
Stars
8
Overall Rank
#2,187
Top 44% overall · Top 47% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1414.2K82
SkillHub ↗3754.4K8—

Platforms count differently and update at different times.

What this skill does

Its design describes status reporting, an emergency flush that cancels active tasks and process sessions and clears the pending queue, and recovery that resets control state with optional reload. Commands are intended to avoid model calls and worker waits and retain only task metadata. Watchdogs and sub-agent runner helpers are listed as future extensions, so their implementation is not established.

Profile published 2026-10-27

What you can do with it

  • Plan recovery controls for stalled agent workloads

When to use it

  • When operating long-running tasks needs explicit status and cancellation semantics

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain status, flush and recovery behavior, including what flush cancels and which extensions remain unimplemented.

Monthly Trend

Downloads4.4K
3.0K3.8K4.6K2026-03 · Downloads 3.1K2026-05 · Downloads 3.6K2026-07 · Downloads 4.0K2026-08 · Downloads 4.1K2026-09 · Downloads 4.4K26-0326-09
Stars8
7892026-03 · Stars 82026-05 · Stars 82026-07 · Stars 82026-08 · Stars 82026-09 · Stars 826-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.4K—8
2026-084.1K+3.6%8
2026-074.0K—8
2026-053.6K—8
2026-033.1K—8

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.7 KB · ClawHub v1.0.0
---
name: error-guard
description: >
  System safety and control-plane skill that prevents agent deadlocks and freezes.
  Provides non-LLM control commands to inspect task state, flush message queues,
  cancel long-running work, and recover safely without restarting the container.
  Use when implementing or operating long-running tasks, sub-agents, benchmarks,
  background monitors (e.g., Moltbook, PNR checks), or when the system becomes
  unresponsive and needs immediate recovery controls.
---
Show all (90 lines)

# error-guard

⚠️ **System‑level skill (Advanced users)**

This skill defines the **control‑plane safety primitives** for OpenClaw.
It is intentionally minimal, non‑blocking, and designed to prevent agent freezes, deadlocks, and unrecoverable states when running long‑lived or high‑risk workloads.

## Design Principles

> **Warning:** This skill operates at the agent control‑plane level.
> It should be installed only by users who understand OpenClaw’s execution model and are running workloads that can block, hang, or run for extended periods.

- **Main agent never blocks**: no long exec, no external I/O, no LLM calls.
- **Event-driven**: workers emit events; the control plane listens.
- **Fail-safe first**: recovery commands must always respond.
- **Minimal state**: track only task metadata (never payloads).

## Command Surface (Phase 1)

### /status

Report current system health and task registry state.

Returns:
- Active tasks (taskId, type, state)
- Start time and last heartbeat
- Flags for stalled or overdue tasks

Constraints:
- Must run in constant time
- Must not call any model or external API

### /flush

Emergency stop.

Immediately:
- Cancel all active tasks
- Kill active exec/process sessions
- Clear pending message queue
- Reset in-memory task registry

Constraints:
- Must always respond
- No waiting on workers
- No model calls

### /recover

Safe recovery sequence.

Steps:
1. Execute `/flush`
2. Reset control-plane state
3. Optionally reload skills/state (no container restart)

## Future Extensions (Not Implemented Yet)

- Sub-agent runner helper (event-driven)
- Task watchdogs with TTL and silence detection
- Structured event protocol (task.started, task.heartbeat, task.completed, ...)
- Back-pressure and task classes (interactive / batch / background)

## Security & Privacy

- This skill **does not** store payloads, prompts, messages, or model outputs
- Only minimal task metadata is persisted (taskId, timestamps, state)
- No API keys, credentials, or user data are read or written
- Safe to publish and share publicly

## Non-Goals

- No business logic
- No background polling loops
- No user-facing features
- No LLM reasoning paths

This skill is the **last line of defense**. Keep it small, fast, and reliable.

Popular in IT Ops & Security

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.