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-sci-01","mode":"binary-decision","prompt":"Checkout success rate fell from 94% to 79% starting around 14:00 UTC yesterday and has stayed there. Three things happened in a two-hour window near that time: (a) a deploy upgraded the payments SDK from 4.2 to 5.0, (b) the card processor posted a status-page notice about \"elevated latency\" in one region that they marked resolved 40 minutes later, and (c) a marketing promo went live that roughly doubled traffic from a new paid channel. The drop did not fully recover when the processor marked its incident resolved. Failures are spread across card types and regions, with a mild skew toward the new paid channel's traffic. Error logs show a mix of `gateway_timeout`, `3ds_challenge_abandoned`, and `validation_error` with no single code dominating.\n\nA senior engineer says: \"The processor had an incident at exactly that time — that is obviously the cause. Let's just wait and monitor; it'll clear up.\" But the timing overlaps three changes, the processor's own incident is marked resolved while the drop persists, and the failure signature is mixed rather than pointing at one subsystem. Rolling back the SDK, pausing the promo, and re-testing the processor path each predict different outcomes. Decide whether this situation calls for structured hypothesis-driven debugging — enumerating the competing causes, ranking them, and running tests that discriminate between them — or whether the cause is already pinned down and only a straightforward fix or wait remains.","label":true,"decision_instruction":"Answer YES if the situation needs scientific-method debugging: multiple plausible causes require ranked hypotheses and discriminating tests. Answer NO if the cause is already directly identified and the next step is a straightforward fix.","skill_fit":["scientific-method"],"domain":"checkout","cluster_id":"challenging-real-world-v1-checkout-conversion-drop-confounded-deploys","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:checkout,label:yes"}
{"id":"crw-sci-02","mode":"binary-decision","prompt":"An integration test, `test_order_settlement`, began failing intermittently in CI about 15% of runs starting last week. It never fails when a developer runs it alone locally. Three plausible causes are live. First: a new async \"cache warmer\" was added to the app's startup last week, and it writes to the same Redis keyspace the test asserts on — a possible race. Second: the CI provider migrated the job to a smaller, shared runner pool the same week, so tests may be hitting CPU/memory contention under parallel load. Third: an unrelated test in the same file was reordered in the suite, and the two share a module-level fixture that may leak state depending on execution order.\n\nEach hypothesis predicts a distinct signature: the race should correlate with cache-warmer log timing; the runner-contention theory should correlate with runner metrics and worsen at higher parallelism; the fixture-order theory should reproduce deterministically when the suite runs in that specific order and vanish under `--random-seed` isolation. A teammate proposes simply wrapping the test in a 3× retry and moving on, calling it \"just CI flakiness.\" Decide whether this warrants scientific-method debugging — ranked hypotheses and discriminating tests to isolate which cause is real — or whether the cause is already identified and only a direct fix (or a retry) is needed.","label":true,"decision_instruction":"Answer YES if the situation needs scientific-method debugging: multiple plausible causes require ranked hypotheses and discriminating tests. Answer NO if the cause is already directly identified and the next step is a straightforward fix.","skill_fit":["scientific-method"],"domain":"ci","cluster_id":"challenging-real-world-v1-ci-flaky-test-three-hypotheses","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:ci,label:yes"}
{"id":"crw-sci-03","mode":"binary-decision","prompt":"An API started returning `500`s on about 8% of requests every weekday between 09:05 and 09:20 local time, then recovering. The on-call engineer already pulled the evidence before escalating. Application logs during each spike are dominated by a single error: `TimeoutError: could not acquire a connection from pool within 5000ms`. A dashboard overlay shows the app's active database connections flatlining at exactly 20 — the configured pool maximum — for the duration of every spike and dropping below 20 the moment the errors stop. The 09:05 onset lines up precisely with a scheduled analytics job (visible in the scheduler) that opens a burst of long-running read connections against the same database each morning. In a staging replay, running that analytics job against a pool of 20 reproduces the exact timeout error at will; raising the pool to 50 (the database has ample headroom) eliminates it in the replay.\n\nA teammate says: \"We should open a formal investigation with multiple hypotheses — it could be a network blip, a slow query regression, GC pauses, or a noisy neighbor.\" Given that the error message, the connection-count graph, the scheduled-job timing, and a reproducing staging experiment all converge on a single mechanism — pool exhaustion caused by the analytics job — decide whether this situation still requires ranked-hypothesis scientific-method debugging, or whether the cause is already directly identified and the next step is a straightforward fix.","label":false,"decision_instruction":"Answer YES if the situation needs scientific-method debugging: multiple plausible causes require ranked hypotheses and discriminating tests. Answer NO if the cause is already directly identified and the next step is a straightforward fix.","skill_fit":["scientific-method"],"domain":"database","cluster_id":"challenging-real-world-v1-database-pool-exhaustion-graph-confirmed","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:database,label:no"}
{"id":"crw-sci-04","mode":"binary-decision","prompt":"Right after a deploy, roughly 30% of API calls began returning `403 Forbidden`. It could superficially look like many things — an auth-service outage, a token-signing key rotation, a WAF rule update, or a broad RBAC misconfiguration. But the on-call engineer has already traced it end to end. Diffing the deployed config against the previous release shows a single change: the API gateway's route-group defaults were edited, and a `require_scope: admin` line was accidentally added at the group level, so it now applies to a set of read-only endpoints that should require no special scope. The `403`s are occurring on exactly and only the endpoints under that route group; every other endpoint is unaffected. Requests carrying an admin-scoped token succeed on those endpoints; ordinary tokens get `403`. Reverting just that one config block in a canary immediately restores `200`s on the affected routes.\n\nA colleague argues: \"A 403 spike after deploy is ambiguous — let's stand up a proper hypothesis matrix across auth, tokens, WAF, and RBAC before touching anything.\" Given that the config diff, the exact endpoint selectivity, the token-scope behavior, and the canary revert all point unambiguously to the misplaced `require_scope: admin` default, decide whether this needs multi-hypothesis scientific-method debugging, or whether the cause is already directly identified and the fix is simply to revert that config line.","label":false,"decision_instruction":"Answer YES if the situation needs scientific-method debugging: multiple plausible causes require ranked hypotheses and discriminating tests. Answer NO if the cause is already directly identified and the next step is a straightforward fix.","skill_fit":["scientific-method"],"domain":"gateway","cluster_id":"challenging-real-world-v1-gateway-403-config-default-traced","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:gateway,label:no"}