cwd-guardian

Monitors and restores the evolver process working directory. Use when evolver crashes with uv_cwd ENOENT errors or when the evolver process loses its cwd.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cwd-guardian" with this command: npx skills add foras910521-lab/cwd-guardian

cwd-guardian

Protects the evolver daemon from uv_cwd ENOENT crashes by:

  1. Stamping the current valid cwd to a pidfile
  2. On restart, verifying the cwd exists before launching evolver
  3. Rebuilding the cwd from the stamped path if it was deleted

Usage

node skills/cwd-guardian/scripts/guardian.js start
node skills/cwd-guardian/scripts/guardian.js check

Logic

  • start: Records current working directory to ~/.openclaw/workspace/memory/evolution/cwd_guardian.pid, then starts the evolver daemon
  • check: Reads the pidfile, verifies the cwd exists, recreates it if missing, then starts the evolver daemon if not running
  • verify: Returns exit code 0 if cwd is valid, 1 if recreated

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gateway Watchdog Lite

Installs a macOS or Linux service that probes the OpenClaw gateway every 2 minutes and auto-recovers it on failure, sending Telegram alerts.

Registry SourceRecently Updated
3050Profile unavailable
General

Skill Error Recovery

Detect, attempt recovery from, report, and log errors to prevent silent data loss and ensure proper human intervention when needed.

Registry SourceRecently Updated
670Profile unavailable
General

EVR Framework

EVR Framework — Execute-Verify-Report. Force AI to actually DO, then VERIFY, then REPORT. Stop fake completions and silent failures. Use when user mentions '...

Registry SourceRecently Updated
930Profile unavailable
General

OpenClaw Browser Relay Reliability

Harden OpenClaw browser extension relay behavior by eliminating blank-target tab churn, fixing download behavior forwarding, and standardizing download paths.

Registry SourceRecently Updated
1270Profile unavailable