Loading...
Loading...
Instructions for handling API keys and credentials safely, verifying their presence, and prompting the user to add them if missing using a safe protocol.
npx skill4agent add google-deepmind/science-skills credentials.env~/.envgrep-sq~/.env-s~/.envgrep -sq "^CREDENTIAL_NAME=" ~/.envCREDENTIAL_NAMEALPHAGENOME_API_KEYUSER_EMAIL.env[!CRITICAL] If verification fails (any non-zero exit code), you MUST NOT attempt to execute any tools or scripts from the calling skill, nor should you conclude the turn by simply reporting the missing key. You MUST IMMEDIATELY generate the appropriate terminal command from the templates below and prompt the user to run it. The template command will create thefile if it does not already exist..env
cat ~/.envgrep "VAR" ~/.env-qecho $VARprintenvCREDENTIAL_NAMEALPHAGENOME_API_KEYUSER_EMAILENV_FILE.env~/.envread -sprintf "Enter CREDENTIAL_NAME (typing hidden): " && read -s val && echo && echo "CREDENTIAL_NAME=$val" >> "ENV_FILE" && echo "Saved.".envdotenv.env