/timeout Command - Performance Optimizer
Optimizes Claude Code performance to prevent timeouts with batching and brevity modes.
/plugin marketplace add jleechanorg/claude-commands/plugin install claude-commands@claude-commands-marketplaceWhen this command is invoked, YOU (Claude) must execute these steps immediately: This is NOT documentation - these are COMMANDS to execute right now. Use TodoWrite to track progress through multi-phase workflows.
Action Steps:
Automatically applies timeout mitigation strategies to prevent Claude Code CLI timeouts.
/timeout # Standard optimization mode
/timeout strict # Maximum performance restrictions
/timeout emergency # Crisis mode - absolute minimum
/timeout off # Disable timeout optimizations
Prevents response timeouts by enforcing efficient patterns:
Standard Mode:
Strict Mode:
Emergency Mode:
š TIMEOUT MODE: STANDARD
Optimizations: Batching ON | Brevity ON | Think-limit 5
ā” TIMEOUT MODE: STRICT
Optimizations: Max-batching | Min-output | Think-limit 3
šØ TIMEOUT MODE: EMERGENCY
Crisis-mode: Actions-only | No-explain | Think-limit 2
User: /timeout /execute refactor authentication
Claude: š TIMEOUT MODE: STANDARD
Task: Refactor auth
- Scan files with Task tool
- Batch edits with MultiEdit
- Test changes
- Commit results
[Executes with optimizations]
User: /timeout strict fix all import errors
Claude: ā” TIMEOUT MODE: STRICT
Fix imports:
- Grep errors
- MultiEdit fixes
- Verify
[Minimal output]
User: /timeout emergency server is down fix now
Claude: šØ EMERGENCY MODE
[Direct tool calls only]
MultiEdit main.py [3 fixes]
Bash: restart server
ā Done
/timeout /think analyze performance bottlenecks
/timeout strict /execute large refactoring task
/timeout emergency /debug production issue
For detailed performance metrics and analysis, see Timeout Analysis Document.
Summary:
Timeout mode modifies behavior for entire session until disabled. Works seamlessly with all other commands and maintains task quality while optimizing performance.