Flight notifications via byAir: delay, gate, connection risk, inbound aircraft delay, time-to-leave, arrival logistics. NanoClaw per-chat overlay tile.
69
87%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
#!/usr/bin/env python3
"""Verify flight-assist credentials are present in the environment.
Reads BYAIR_MCP_URL and GOOGLE_MAPS_API_KEY from the environment and
emits a single-line JSON payload on stdout with boolean presence flags.
Info-only — always exits 0. The skill consumes the JSON and decides
what to surface to the user.
"""
import json
import os
import sys
def check_env() -> dict:
return {
"byair_url_present": bool(os.environ.get("BYAIR_MCP_URL")),
"maps_key_present": bool(os.environ.get("GOOGLE_MAPS_API_KEY")),
}
def main() -> int:
print(json.dumps(check_env(), separators=(",", ":")))
return 0
if __name__ == "__main__":
sys.exit(main())