timely-machine-awareness-time
Timely Machine: Time-Budget-Aware Agentic Reasoning
This skill enables Claude to treat wall-clock time as a first-class resource when executing multi-step agentic tasks involving tool calls. Rather than planning based solely on task complexity, Claude dynamically adjusts its strategy -- choosing between deeper reasoning per step versus more frequent tool interactions -- based on explicit or inferred time budgets and observed tool latency. The core insight from the Timely Machine paper is that in agentic settings, tool latency decouples inference cost from generation length, so optimal strategy depends on the ratio of tool wait time to reasoning time.
When to Use
- When the user specifies a time constraint ("do this in under 5 minutes", "I need results before my meeting")
- When a task involves iterative tool calls (running tests, API queries, ML experiments) and you must decide how many iterations to attempt
- When choosing between a thorough multi-step approach and a faster heuristic given finite time
- When orchestrating multiple agents or subprocesses that have variable latency
- When running iterative improvement loops (code optimization, hyperparameter tuning) where each iteration has non-trivial wall-clock cost
- When the user asks to maximize output quality within a fixed compute or time budget
- When tool response times are unpredictable and strategy must adapt on the fly
Key Technique
Wall-clock time as the scaling axis. Traditional test-time scaling measures compute in generated tokens. The Timely Machine framework redefines the budget as total elapsed time: t_total = sum(t_reasoning) + sum(t_tool_calls). This matters because a single slow API call can consume more budget than hundreds of tokens of reasoning. The optimal strategy depends on the latency ratio: when tool calls are fast relative to reasoning, prefer many quick interactions to explore broadly; when tool calls are slow, invest more reasoning per interaction to maximize the value of each expensive call.
Adaptive strategy selection. The key behavioral principle is: monitor your remaining time budget and adjust depth accordingly. Under generous budgets, pursue thorough multi-step approaches with verification. Under tight budgets, switch to efficient heuristics, skip optional verification, and front-load the highest-value actions. This is not simply "work faster" -- it means structurally changing the approach. For example, choosing a Random Forest over a neural network for an ML task when time is short, or answering a math problem with estimation rather than formal proof when the deadline is near.