Skip to main content

env-check

Verify Railway environment variables for CBB Edge. Use when asked to check env vars, confirm a variable is set, compare current vs required config, or diagnose missing configuration.

来源信息

仓库
sfgray26/CBB_Betting
最近来源活动
2026年3月25日 14:02
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
env-check
description
Verify Railway environment variables for CBB Edge. Use when asked to check env vars, confirm a variable is set, compare current vs required config, or diagnose missing configuration.
# Environment Variable Checker ## When to Use This Skill Activate when: - "check the env vars" - "is INTEGRITY_SWEEP_ENABLED set" - "verify Railway config" - "what env vars are missing" - "confirm ENABLE_MLB_ANALYSIS is true" ## Required Variables (HANDOFF.md §5.1) ### Critical — App will not start without these | Variable | Expected | Notes | |----------|----------|-------| | `DATABASE_URL` | `postgres://...` | PostgreSQL connection | | `THE_ODDS_API_KEY` | `<key>` | Odds API key | | `KENPOM_API_KEY` | `<key>` | KenPom ratings | | `API_KEY_USER1` | `<key>` | Admin API key | | `DISCORD_BOT_TOKEN` | `<token>` | Discord alerts | | `YAHOO_CLIENT_ID` | `<id>` | Fantasy Baseball | | `YAHOO_CLIENT_SECRET` | `<secret>` | Fantasy Baseball | | `YAHOO_REFRESH_TOKEN` | `<token>` | Fantasy Baseball | ### Feature Flags — Must be set correctly NOW | Variable | Expected Value | Current Status | |----------|---------------|----------------| | `INTEGRITY_SWEEP_ENABLED` | `false` | CRITICAL — prevents restart loop | | `ENABLE_MLB_ANALYSIS` | `true` | MLB model active | | `ENABLE_INGESTION_ORCHESTRATOR` | `true` | Data pipeline | ### Optional Feature Flags | Variable | When Needed | |----------|------------| | `DISCORD_CHANNEL_FANTASY_WAIVERS` | EPIC-3 Discord routing | | `DISCORD_CHANNEL_FANTASY_LINEUPS` | EPIC-3 Discord routing | | `DISCORD_CHANNEL_OPENCLAW_BRIEFS` | OpenClaw morning brief | ## Workflow ### Full check ```bash bash .gemini/skills/env-check/scripts/check-vars.sh ``` ### Critical-only check ```bash bash .gemini/skills/env-check/scripts/check-vars.sh --critical-only ``` ### Check a specific variable ```bash railway variables | grep INTEGRITY_SWEEP_ENABLED ``` ### Set a missing variable ```bash railway variables set VARIABLE_NAME=value ``` ## After Checking If any critical variable is missing → set it immediately via `railway variables set`. If any feature flag is wrong → set it and watch logs to confirm no restart loop. Report findings by updating HANDOFF.md §16.4.
在 GitHub 查看