runaway-process-guard

Community

Prevent AI runaway processes.

Authormetabench
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents AI agents from getting stuck in infinite loops, runaway scripts, or deadlocked background processes by enforcing strict timeouts and detection mechanisms.

Core Features & Use Cases

  • Hard Timeboxing: Enforces wall-clock timeouts for custom polling scripts and loops.
  • Semantic Repetition Detection: Acts as a circuit breaker when polling background process statuses repeatedly show no change.
  • Immediate Termination: Provides protocols to kill stuck processes and orphaned daemons.
  • Use Case: Ensures that an AI agent tasked with monitoring a long-running process doesn't hang indefinitely if the process becomes unresponsive or enters a deadlock.

Quick Start

Ensure all custom scripts involving loops include a programmatic wall-clock timeout using Date.now().

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: runaway-process-guard
Download link: https://github.com/metabench/jsgui3-server/archive/main.zip#runaway-process-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.