一键导入
bad-env-config
Handle service failures caused by missing or invalid required environment variables.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Handle service failures caused by missing or invalid required environment variables.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Resolve readiness probe failures when startup appears successful but health checks fail.
Diagnose and remediate stale lockfile failures that return HTTP 500 after crashes.
Diagnose and resolve mismatches between expected probe port and actual bind port.
基于 SOC 职业分类
| name | bad-env-config |
| description | Handle service failures caused by missing or invalid required environment variables. |
| triggers | ["bad_env_config","required_api_key","missing env","env config","service3"] |
Applies to: service3 (/service3 endpoint)
Risk Level: MEDIUM
You have MCP tools available. They execute remotely on the server that has Docker access — you do NOT need Docker in your own environment. Just call the tools.
Do this now, in order:
get_all_service_status — confirm service3 is returning HTTP 500diagnose_service3 — confirms REQUIRED_API_KEY is not setfix_service3 — returns instructions for container restart with env var (MEDIUM risk)get_all_service_status — check if fix was appliedNote: fix_service3 may require a container restart with the correct env var. The tool will return instructions. This is the one scenario that may need manual follow-up.
diagnose_service3 confirms the missing env varfix_service3 returns remediation instructions