beaconchain
Monitor Ethereum validator dashboard health on beaconcha.in via V2 API, focused on one-check-per-day status.
Setup & Installation
Install command
clawhub install thisisjeron/beaconchainIf the CLI is not installed:
Install command
npx clawhub@latest install thisisjeron/beaconchainOr install with OpenClaw CLI:
Install command
openclaw skills install thisisjeron/beaconchainor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/thisisjeron/beaconchainWhat This Skill Does
Runs a daily health check on an Ethereum validator dashboard using the beaconcha.in V2 API. Returns a single exit code and surfaces BeaconScore or missed duties only when something needs attention. Designed for low-anxiety operations where a healthy result stays quiet.
Returns a single exit code instead of requiring manual dashboard review, so validators only demand attention when the script actually flags a problem.
When to Use It
- Daily Ethereum validator health check via cron job
- BeaconScore threshold alerting for a staking dashboard
- Detecting missed attestations or penalties overnight
- Reducing manual dashboard visits to a single exit-code signal
- Triaging validator issues in automated monitoring pipelines
View original SKILL.md file
# Beaconchain Use this skill to reduce validator-check anxiety: do one concise daily health check, then only surface issues. ## Quick Start 1. Set credentials as env vars: - `BEACONCHAIN_API_KEY` - `BEACONCHAIN_DASHBOARD_ID` 2. Run: ```bash python3 skills/beaconchain/scripts/check_dashboard.py --json ``` 3. Interpret exit code: - `0` = good - `2` = bad (needs attention) - `1` = error (auth/rate-limit/endpoint failure) ## Monitoring Workflow 1. Run `scripts/check_dashboard.py` once per day. 2. If `status=good`, respond with a short reassurance and avoid extra detail. 3. If `status=bad`, report: - BeaconScore (if available) - Which signal tripped (missed/penalty fallback) - Next action: inspect dashboard details and validator logs. 4. If `status=error`, report key checks: - API key validity - dashboard ID - plan/rate-limit permissions. ## Command Patterns ### Basic check ```bash python3 skills/beaconchain/scripts/check_dashboard.py ``` ### JSON output (for cron/parsing) ```bash python3 skills/beaconchain/scripts/check_dashboard.py --json ``` ### Custom threshold ```bash python3 skills/beaconchain/scripts/check_dashboard.py --warn-threshold 75 ``` ## Notes - Script uses `POST /api/v2/ethereum/validators/performance-aggregate` with dashboard selector and reads `data.beaconscore.total` directly. - Default window is `24h`; supported windows: `24h`, `7d`, `30d`, `90d`, `all_time`. - Keep responses intentionally terse when healthy to support low-anxiety operations. ## Security & Transparency - Runtime: `python3` only, using Python standard library (`argparse`, `json`, `urllib`, `datetime`). - Credentials: reads `BEACONCHAIN_API_KEY` and `BEACONCHAIN_DASHBOARD_ID` (or equivalent CLI flags). - Network egress: only `https://beaconcha.in/api/v2/ethereum/validators/performance-aggregate`. - Local filesystem: no writes, no shell execution, no subprocess spawning. ## References - API overview: `references/api-notes.md`
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Daily Ethereum validator health check via cron job
- 1Daily Ethereum validator health check via cron job
- 2BeaconScore threshold alerting for a staking dashboard
- 3Detecting missed attestations or penalties overnight
- 4Reducing manual dashboard visits to a single exit-code signal
- 5Triaging validator issues in automated monitoring pipelines
Monitor Ethereum validator dashboard health on beaconcha.in via V2 API, focused on one-check-per-day status.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.