Commands

/workaholic Command

Slash command to start workaholic mode in OpenCode. Provide your requirements and desired duration in natural language.

Examples
/workaholic Fix all bugs in the codebase, for 30 minutes
/workaholic Research this topic for 1 hour
/workaholic Implement this feature, for 45 minutes

Tools

workaholic.start Tool

Start the workaholic timer with a specified duration. This tool enforces a minimum work duration, preventing the AI from ending tasks prematurely.

Parameter Type Description
minutesRequired number Duration in minutes. Supports decimal numbers (e.g., 2.5, 3.5) for flexible timing.
Returns
void
Example
Use workaholic.start with minutes=30
workaholic.status Tool

Check the remaining time in workaholic mode. Returns the current timer status including remaining seconds.

Returns
object - Contains remaining time and status information
Example
Call workaholic.status to see remaining time
workaholic.checkout Tool

REQUIRED to end the task. This is the only valid way to exit workaholic mode. Call this when you genuinely want to stop — but it only succeeds when the timer has expired (remaining = 0).

Returns
object - Contains success/failure status and message
Example
Call workaholic.checkout to end the task (only works when time = 0)
  • If time remains: returns CHECKOUT DENIED with remaining time
  • If time = 0: returns CHECKOUT APPROVED — task can end
workaholic.stop Tool

Stop workaholic mode early. Use this when you need to end the enforced work duration before the timer expires.

Returns
void
Example
Call workaholic.stop to end workaholic mode

Behavior

Once workaholic mode is activated, the following behaviors are enforced:

  • Timer Enforcement: The AI cannot end the session until the timer expires
  • Sleep Blocking: Any attempt to use sleep commands will fail
  • Persistent State: Timer survives across messages in the conversation
  • Automatic Status: Every response automatically checks remaining time
  • Task Proposals: When todos complete, AI is encouraged to propose more work