28 eval-informed mental models and critical-thinking skills for Claude Code, GitHub Copilot, Codex, Cursor, and other Agent Skills-compatible tools
JavaScript agent-skillsai-toolsanthropicclaudeclaude-codecritical-thinkingdecision-makingfirst-principlesmental-modelsproblem-solvingsystems-thinking
{"id":"crw-mos-01","mode":"binary-decision","prompt":"A ticketing platform is sizing capacity for an on-sale event. Steady-state load is about 5,000 requests/second, and the team expects this on-sale to peak around 50,000 req/s. History is unkind: the last four high-demand on-sales produced instantaneous spikes of 8× to 12× the *predicted* peak within the first 60 seconds of doors opening, as bots and fans hammer refresh simultaneously. If the platform fails during the on-sale, the contract carries five-figure-per-minute penalties plus reputational damage and a likely lost renewal. Autoscaling exists but takes roughly 8–10 minutes to add meaningful capacity because new nodes must boot, warm caches, and pass health checks. The team decides to pre-provision a fixed pool sized for 150,000 req/s — \"3× our expected peak, which is a comfortable buffer\" — and rely on autoscaling for anything beyond that.\n\nA lead endorses it: \"3× headroom over the expected peak is generous; most services run at 1.5×. We're well covered.\" But weigh the actual uncertainty and failure cost: the historically observed spikes are 8–12× the predicted peak (i.e. potentially 400,000–600,000 req/s) and they arrive within 60 seconds, far faster than the 8–10 minute autoscale response, and the cost of running out is severe and effectively irreversible for that on-sale. Decide whether pre-provisioning a static 3× pool leaves an ADEQUATE safety margin given this spike profile, timing, and failure cost — or whether it is provisioned too tightly for the uncertainty and the high cost of running out.","label":false,"decision_instruction":"You are sizing/provisioning a resource under uncertainty, given an expected load and the cost of under-provisioning vs over-provisioning. Answer YES if the proposed plan leaves an ADEQUATE safety margin for the stated uncertainty and failure cost. Answer NO if the plan is provisioned too tightly (no meaningful buffer) given the uncertainty and the high cost of running out.","skill_fit":["margin-of-safety"],"domain":"capacity","cluster_id":"challenging-real-world-v1-capacity-ticketing-flash-sale-3x-slow-autoscale","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:capacity,label:no"}
{"id":"crw-mos-02","mode":"binary-decision","prompt":"A team is choosing the message-retention window for a Kafka-style event bus that feeds a billing pipeline. Consumers normally keep up in real time. If a consumer is down long enough that unprocessed messages age out past the retention window, those messages are permanently dropped and the corresponding billing events are lost with no way to reconstruct them — a genuinely high, irreversible cost. Over three years of operation, the worst consumer outage ever recorded was 4 hours (a bad deploy plus a slow rollback); the vast majority of incidents are resolved within 30–45 minutes, and paging alerts fire within 2 minutes of a stalled consumer. Storage for retained messages is cheap: holding a full day of traffic costs a few dollars per day and the cluster has ample disk headroom. The team sets retention to 24 hours — roughly 6× the worst outage ever seen — and adds an alert if retention-headroom (time-to-oldest-message) ever drops below 8 hours.\n\nOne engineer pushes back: \"Lost billing events are catastrophic, so 24 hours is reckless — we should retain 30 days or forever to be safe.\" Weigh the actual uncertainty (worst observed outage 4h, fast paging, quick typical recovery) against the failure cost and the cheap, easily-extended storage. Decide whether a 24-hour window — about 6× the worst historically observed outage, with a headroom alarm and inexpensive storage — leaves an ADEQUATE safety margin, or whether it is provisioned too tightly given the irreversibility of message loss.","label":true,"decision_instruction":"You are sizing/provisioning a resource under uncertainty, given an expected load and the cost of under-provisioning vs over-provisioning. Answer YES if the proposed plan leaves an ADEQUATE safety margin for the stated uncertainty and failure cost. Answer NO if the plan is provisioned too tightly (no meaningful buffer) given the uncertainty and the high cost of running out.","skill_fit":["margin-of-safety"],"domain":"capacity","cluster_id":"challenging-real-world-v1-capacity-queue-retention-6x-worst-outage","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:capacity,label:yes"}
{"id":"crw-mos-03","mode":"binary-decision","prompt":"A checkout service makes a synchronous call to a third-party fraud-scoring API and must choose a client timeout. The vendor's measured latencies from the last 90 days are p50 = 80ms, p99 = 300ms, and p99.9 ≈ 500ms, with rare stalls up to ~1s during vendor incidents. Critically, a timeout here is *not* a hard failure: if the fraud call times out, the checkout code path is designed to accept the order and route it to an asynchronous manual-review queue — the customer's purchase still completes and revenue is still captured; the only cost of a timeout is a small amount of extra human review work later. The team sets the timeout at 1,500ms — roughly 3× the observed p99.9 and 5× the p99.\n\nA reviewer objects: \"Third-party APIs are unpredictable and can stall for seconds; 1,500ms is cutting it dangerously close — we'll be dropping orders whenever the vendor hiccups.\" Evaluate that claim against how the system actually behaves on timeout. The relevant question for sizing is the margin between the timeout and the real latency distribution, weighed against the cost of exceeding it — and here exceeding it degrades gracefully to manual review rather than failing the order. Decide whether a 1,500ms timeout (about 3× p99.9, with graceful degradation to manual review on the rare overrun) leaves an ADEQUATE safety margin for this workload, or whether it is set too tightly given the uncertainty and the cost of a timeout.","label":true,"decision_instruction":"You are sizing/provisioning a resource under uncertainty, given an expected load and the cost of under-provisioning vs over-provisioning. Answer YES if the proposed plan leaves an ADEQUATE safety margin for the stated uncertainty and failure cost. Answer NO if the plan is provisioned too tightly (no meaningful buffer) given the uncertainty and the high cost of running out.","skill_fit":["margin-of-safety"],"domain":"reliability","cluster_id":"challenging-real-world-v1-reliability-fraud-timeout-graceful-degrade","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:reliability,label:yes"}