What problem does it solve? Environment variables that work in an interactive shell often disappear in scripts, bash -c invocations, or Python subprocesses, leaving API keys and credentials empty at runtime with no obvious cause. ## Core Features & Use Cases - Layer-by-layer diagnosis: Trace a missing variable through the parent process, interactive shell, bash -c, and Python subprocess layers to pinpoint exactly where it vanishes (.bashrc guard, quoting boundary, or never set). - Reliability-ordered fixes: Receive fixes ranked by reliability — moving exports before the case $- in *i*) guard, setting BASH_ENV, file-based .api_key fallback, or /etc/environment. - Use Case: Your CI job or subprocess.run(shell=True) call reads an empty API key even though echo $API_KEY works in your terminal. This Skill identifies the non-interactive shell guard as the culprit and recommends a file-based credential fallback instead of relying on .bashrc. ## Quick Start Debug why the environment variable SEMANTIC_SCHOLAR_API is set in my interactive shell but empty when my Python script runs via subprocess.