{"actions":{"bootstrapAndRun":{"effect":"installs rote if missing, inspects, prepares, and asks before running","href":"https://play.modiqo.ai/install?play=balajithukuntala/claude-code-shell-doctor@0.4.2","method":"GET","rel":"https://rote.dev/rels/bootstrap-and-run","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"inspect":{"command":"rote play inspect https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2","effect":"read-only"},"installCliOnly":{"effect":"installs the rote CLI, nothing else","href":"https://play.modiqo.ai/install","method":"GET","rel":"https://rote.dev/rels/install-cli","requiresConsent":true,"responseMediaType":"text/x-shellscript"},"run":{"command":"rote play run https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2","effect":"executes the play locally after consent","headless":{"approvalAssertion":"--yes","approvalRequiredBeforeInvocation":true,"commandTemplate":"rote play run https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2 <name=value...> --yes","stdinPolicy":"never pipe input to automate the interactive Ready selector"},"requiresConsent":true}},"description":"Writes exactly one file: ~/.rote/claude-code-shell-doctor/history.jsonl (append-only); makes no other writes, never edits shell config, never calls sudo, never prints token values. Diagnoses why Claude Code breaks from shell-environment issues: node/npx shim shadowing, unreachable provider API base-URL gateways (Anthropic, OpenAI, OpenRouter, Ollama) probed by real TCP connection, and .bashrc interactive-guard env leakage across interactive vs non-interactive shells; opens each report with what changed since the last run. Covers WSL/Windows (interop shadowing, /mnt/c PATH pollution) as well as Linux and macOS.","distribution":{"digest":"sha256:3bceac09b5162c1c27c195e2302344784333dffdced7b402f64e5f14330ff927","mediaType":"application/vnd.modiqo.rote-flow","size":9724,"verifiedBy":"rote verifies the downloaded archive against this digest before it runs"},"effects":{"credentialsProvidedBy":"runner","credentialsRemainLocal":true,"declaredWrites":[],"publisherReceivesCredentials":false},"id":"https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2","inputPolicy":{"optionalWithDefault":"show_default_and_accept_override","optionalWithoutDefault":"omit_unless_supplied","required":"ask","secrets":"collect_locally_outside_conversation"},"links":{"docs":"https://rote.dev","page":"https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2","protocol":"https://play.modiqo.ai/.well-known/rote","self":"https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2.json"},"name":"claude-code-shell-doctor","owner":{"kind":"user","slug":"balajithukuntala"},"parameters":[{"description":"Home directory to inspect; empty uses the runtime \u0024HOME.","input":{"allowCustom":true,"choices":[],"label":"Home dir"},"name":"home_dir","required":false,"type":"string"},{"description":"Node version Claude Code should run under (e.g. v24.18.0); empty infers it from the node sibling of the claude binary.","input":{"allowCustom":true,"choices":[],"label":"Expected node version"},"name":"expected_node_version","required":false,"type":"string"}],"preparation":[{"action":{"command":"rote play inspect https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2 --json","effect":"read-only"},"step":1,"type":"inspect_local_readiness"},{"references":["/parameters"],"step":2,"type":"collect_parameters"},{"references":["/parameters","/requirements","/effects"],"step":3,"type":"review"},{"consentBoundary":"the user approves the exact play and parameter values","references":["/parameters","/requirements","/effects"],"step":4,"type":"obtain_run_consent"},{"action":{"command":"rote play run https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2","headlessCommandTemplate":"rote play run https://play.modiqo.ai/balajithukuntala/claude-code-shell-doctor@0.4.2 <name=value...> --yes"},"preservesAcquisitionBoundaries":["adapter_selection","oauth_dcr","google_discovery","static_token_setup","runtime_security_checks"],"requiresConsent":true,"step":5,"type":"run"}],"producedBy":{"roteVersion":"0.75.0"},"publishedAt":"2026-09-03T17:51:59.058594+00:00","reference":"balajithukuntala/claude-code-shell-doctor@0.4.2","requirements":{"adapters":[],"browser":{"dependencies":[],"runtime":false,"signIn":false},"localTools":["bash"],"roteCli":{"minimumVersion":"0.62.0"},"sessions":false},"resolution":"pinned","schema":"rote.play.v1","stats":{"downloads":2,"installs":0},"steps":{"count":3,"names":["probe_node_profile","probe_shell_env","record_history"]},"title":"claude-code-shell-doctor","type":"play","version":"0.4.2","visibility":"public"}