EnvCheck
Pre-flight check: does this environment have what the skill needs?
Start the server
uvicorn envcheck.app:app --port 8007
Check environment
curl -s -X POST http://localhost:8007/v1/check-env \
-H "Content-Type: application/json" \
-d '{"required_env": ["HOME", "PATH"], "required_bins": ["python", "git"]}' | jq
Returns ready (true/false), present_env, missing_env, present_bins, missing_bins.
Pair with ScopeCheck
Use ScopeCheck to find out what a skill needs, then EnvCheck to verify your environment has it:
# Step 1: What does the skill need?
SCOPE=$(curl -s -X POST http://localhost:8002/v1/check-scope \
-H "Content-Type: application/json" \
-d "{\"skill_content\": $(cat SKILL.md | jq -Rs)}")
# Step 2: Do we have it?
curl -s -X POST http://localhost:8007/v1/check-env \
-H "Content-Type: application/json" \
-d "{\"required_env\": $(echo $SCOPE | jq '.detected.env_vars'), \"required_bins\": $(echo $SCOPE | jq '.detected.cli_tools')}" | jq '.ready'