timeout-calculator

Automates container-based CFN Loop execution with Redis-backed state management.

14|2|Updated Sep 23, 2025
One-click install
npx skills add https://github.com/masharratt/claude-flow-novice --skill timeout-calculator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: timeout-calculator
Source: https://github.com/masharratt/claude-flow-novice/tree/main/.claude/cfn-loop-orchestration-v2/lib/orchestrator/src/helpers/timeout-calculator.ts
Command: npx skills add https://github.com/masharratt/claude-flow-novice --skill timeout-calculator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Centralizes timeout calculations per mode and per phase for agent execution.

Core Features & Use Cases

  • Mode-based timeouts: mvp/standard/enterprise base times with phase multipliers.
  • Deterministic behavior: Ensures predictable agent run times.

Quick Start

calculateTimeout({ mode: 'standard', phase: 'phase-2' });

Frequently Asked Questions about timeout-calculator

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

FAQPage Schema
How do I calculate timeouts for container-based agent execution across different modes?

Timeout calculation automates per-mode timeout assignment by applying phase multipliers to base times. Call calculateTimeout() with mode ('mvp', 'standard', or 'enterprise') and phase parameters to get deterministic execution durations for your agent roles.

What's the difference between mode-based and phase-based timeout multipliers?

Mode sets the base timeout (mvp, standard, enterprise), while phase applies multipliers to that base. Together they ensure predictable run times across agent execution stages in your containerized workflow without manual recalculation.

Can I use timeout-calculator with Redis-backed state management in multi-role agent systems?

Yes. The Skill coordinates timeouts for Loop implementations with multiple agent roles, Redis state tracking, and phase progression, ensuring consensus collection and gate checks complete within calculated windows.

How do mode and phase timeouts prevent agent execution delays in dockerized CFN Loop projects?

Mode-based timeouts with phase multipliers create deterministic execution windows, eliminating unpredictable waits. This ensures task analysis, agent spawning, and progress monitoring stay synchronized across Loop 3 implementers, validators, and decision flows.

Do I need to manually set timeouts for each agent role and phase?

No. Timeout-calculator automates the calculation, removing manual setup. Pass mode and phase once, and the Skill handles timeout assignment for all agent roles and execution stages in your workflow.