atrium-hermes/atrium-lighthouse/deploy-watcher
Claude Code and agent skill by atrium-hermes/atrium-lighthouse
- community
Checking that the SKILL.md file is still in the repository.
Watch Vercel deploys for [REPLACE: VERCEL_PROJECT] — alert on [REPLACE: ALERT_ON] in the last [REPLACE: LOOKBACK_HOURS] hours
Install
npx vskill@latest install atrium-hermes/atrium-lighthouse/deploy-watcherSKILL.md
The same SKILL.md was published earlier as atrium-hermes/atrium-lighthouse/deploy-watcher.
${var} — Optional. Override the Vercel project slug. If empty, watches[REPLACE: VERCEL_PROJECT].
Today is ${today}. Watch Vercel deployments for [REPLACE: VERCEL_PROJECT] and alert on [REPLACE: ALERT_ON] within the last [REPLACE: LOOKBACK_HOURS] hours.
Required secrets
VERCEL_TOKEN— personal access token from https://vercel.com/account/tokens. Read scope is enough.- (optional)
VERCEL_TEAM_ID— if the project lives under a team, set this so the API queries the right scope.
If either secret is missing, log DEPLOY_WATCH_NO_TOKEN and exit cleanly — never abort the workflow.
Steps
- Resolve scope:
``bash PROJECT="${var:-[REPLACE: VERCEL_PROJECT]}" SCOPE_QS="" if [ -n "${VERCEL_TEAM_ID:-}" ]; then SCOPE_QS="&teamId=$VERCEL_TEAM_ID" fi ``
- Fetch recent deploys — Vercel API v6 lists deployments for a project:
``bash SINCE_MS=$(( $(date -u +%s) * 1000 - [REPLACE: LOOKBACK_HOURS] * 3600 * 1000 )) URL="https://api.vercel.com/v6/deployments?projectId=$PROJECT&since=$SINCE_MS$SCOPE_QS&limit=20" curl -sf -H "Authorization: Bearer $VERCEL_TOKEN" "$URL" > .vercel-deploys.json || \ echo "DEPLOY_WATCH_FETCH_FAIL: $?" ``
If $VERCEL_TOKEN doesn't expand inside the sandbox, use the post-process pattern: write a .pending-deploy-watch/check.json request and add a scripts/postprocess-deploy-watch.sh that runs after the Claude step.
- Parse and classify — for each deploy, capture:
uid,state(READY / ERROR / CANCELED / BUILDING / QUEUED),url,target(production / preview),creator,createdAt,meta.githubCommitMessage.
- Apply the alert filter —
[REPLACE: ALERT_ON]is one of:
production-failures→ alert whentarget=productionANDstate in {ERROR, CANCELED}.any-failures→ alert on anystate in {ERROR, CANCELED}.slow-builds→ alert when build time > 10× the last-week median for this project.all→ alert on every state transition (noisy — only useful while debugging the skill).
- Compare against last-success baseline — if alerting on a failure, also fetch the most recent successful production deploy and include in the notification: "last green: [commit] · [N hours] ago".
- Dedup — track alerted deploy UIDs in
memory/topics/[REPLACE: SKILL_NAME]-alerted.json. Never re-alert for the same UID.
- Notify on every new alert via
./notify:
`` *Deploy alert — [REPLACE: VERCEL_PROJECT]* ${state}: ${commit_message} ${target} build by ${creator} · ${ago} Last green: ${last_green_commit} · ${last_green_ago} Inspect: https://vercel.com/${owner}/${PROJECT}/${uid} ``
- Write a daily roll-up to
articles/[REPLACE: SKILL_NAME]-${today}.md: total deploys, success/fail counts per target, average build time, list of failed UIDs with commit messages.
- Log to
memory/logs/${today}.md:
``` ## [REPLACE: SKILL_NAME]
- Deploys (${LOOKBACK_HOURS}h): total=N, ready=X, error=Y, canceled=Z, building=W
- Alerts fired: N (deduped from M raw matches)
- Status: DEPLOY_OK | DEPLOY_QUIET (no deploys) | DEPLOY_ALERT | DEPLOY_DEGRADED
```
Sandbox note
The Vercel API requires Authorization: Bearer $VERCEL_TOKEN — env-var-in-headers patterns frequently fail inside the sandbox. Use the post-process pattern documented in CLAUDE.md: write request JSON to .pending-deploy-watch/, then add scripts/postprocess-deploy-watch.sh that runs after Claude with full env access.
Constraints
- Dedup is non-negotiable. Re-running the same alert for the same deploy will train operators to mute the channel — once alerted, never again unless the deploy changes state.
- Production beats preview for alerting. A failed preview deploy is interesting but not urgent. Default to
production-failuresuntil the operator opts into more. - Compare against baseline. A failed build means more when paired with "last green was 3 hours ago" than alone.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/deploy-watcher/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/atrium-hermes/atrium-lighthouse/deploy-watcher)