beaconchain
Monitor Ethereum validator dashboard health on beaconcha.in via V2 API, focused on one-check-per-day status and BeaconScore-first triage. Use when the user asks to check validator health, BeaconScore, missed duties, or set up low-anxiety daily monitoring/alerts for a beaconcha.in dashboard.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Beaconchain
Use this skill to reduce validator-check anxiety: do one concise daily health check, then only surface issues.
Quick Start
- Set credentials as env vars:
-
BEACONCHAIN_API_KEY -
BEACONCHAIN_DASHBOARD_ID
-
- Run:
python3 skills/beaconchain/scripts/check_dashboard.py --json
- Interpret exit code:
-
0= good -
2= bad (needs attention) -
1= error (auth/rate-limit/endpoint failure)
-
Monitoring Workflow
- Run
scripts/check_dashboard.pyonce per day. - If
status=good, respond with a short reassurance and avoid extra detail. - If
status=bad, report:- BeaconScore (if available)
- Which signal tripped (missed/penalty fallback)
- Next action: inspect dashboard details and validator logs.
- If
status=error, report key checks:- API key validity
- dashboard ID
- plan/rate-limit permissions.
Command Patterns
Basic check
python3 skills/beaconchain/scripts/check_dashboard.py
JSON output (for cron/parsing)
python3 skills/beaconchain/scripts/check_dashboard.py --json
Custom threshold
python3 skills/beaconchain/scripts/check_dashboard.py --warn-threshold 75
Notes
- Script uses
POST /api/v2/ethereum/validators/performance-aggregatewith dashboard selector and readsdata.beaconscore.totaldirectly. - 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:
python3only, using Python standard library (argparse,json,urllib,datetime). - Credentials: reads
BEACONCHAIN_API_KEYandBEACONCHAIN_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
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!