time-bounded-run

Enforce maximum execution durations for AI workflow phases with state saving.

1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/jimmymalhan/codereview-pilot --skill time-bounded-run
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: time-bounded-run
Source: https://github.com/jimmymalhan/codereview-pilot/tree/main/.claude/skills/time-bounded-run
Command: npx skills add https://github.com/jimmymalhan/codereview-pilot --skill time-bounded-run

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents AI processes from running indefinitely by enforcing maximum time limits for each phase of an operation, ensuring timely completion and preventing resource wastage.

Core Features & Use Cases

  • Phase Timeouts: Sets configurable maximum durations for distinct operational phases (e.g., Discover, Plan, Implement).
  • State Saving: Automatically saves the current state of the operation if a timeout occurs.
  • User Notification: Informs the user when a phase times out and provides instructions to resume.
  • Use Case: In a complex code generation task, this Skill ensures that the 'Implement' phase doesn't exceed 30 minutes, preventing the AI from getting stuck on a single complex function.

Quick Start

Use the time-bounded-run skill to set a 5-minute limit for the DISCOVER phase.

Frequently Asked Questions about time-bounded-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce time limits on distinct phases in an AI workflow?

To enforce time limits on distinct phases in an AI workflow, you configure maximum execution durations for each operational phase like Discover or Implement. The process automatically saves intermediate state and notifies you upon timeout.

What is the best way to prevent runaway processes during long-running AI tasks?

The best way to prevent runaway processes during long-running AI tasks is to set configurable phase timeouts. This ensures timely completion by stopping indefinite operations and preventing resource wastage.

How do I resume an AI operation after a phase timeout occurs?

To resume an AI operation after a phase timeout occurs, you follow the provided user notification instructions. The system automatically saves the current intermediate state during the timeout to allow for resumption.

Can I set different maximum execution durations for each operational phase?

Yes, you can set different maximum execution durations for each operational phase. Phase timeouts are fully configurable, allowing you to specify unique limits for distinct stages like Discover, Plan, and Implement.

Does state management for resumption require external dependencies?

State management for resumption does not require external dependencies. The Skill operates independently to automatically save intermediate operational state and notify the user when a phase time limit is reached.

Why does my AI code generation get stuck on a single complex function?

Your AI code generation gets stuck because there is no phase execution limit. By enforcing time-bounded runs, you prevent the AI from spending excessive time on a single complex function and avoid runaway processes.