关于 cli-anything-eth2-quickstart
cli-anything-eth2-quickstart 是面向 Agent 的命令行工具,封装 `chimera-defi/eth2-quickstart` 自动化仓库中的脚本,用于节点设置和客户端配置。它为敏感操作设置了安全限制。
主要功能
- 01初始化 Ethereum 节点主机
- 02安装执行层和共识层客户端
- 03配置 MEV-Boost 或 Commit-Boost 工作流
- 04通过 Nginx 或 Caddy 暴露 RPC
- 05更新验证者费用接收地址或 graffiti
- 06以 JSON 输出机器可读健康状态
适用场景
- 01搭建新的 Ethereum 节点主机
- 02安装时选择执行层和共识层客户端
- 03以 JSON 检查节点健康状态
- 04在不处理密钥的情况下更改验证者元数据
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ hkuds/ cli-anything --skill cli-anything-eth2-quickstart安装后在 Claude Code 中输入/cli-anything-eth2-quickstart确认已加载。
详细介绍
cli-anything-eth2-quickstart
面向 chimera-defi/eth2-quickstart 自动化仓库的 Agent 原生 harness。
此 CLI 封装该仓库的规范 shell 脚本,而不是替换它们。
何时使用
当任务涉及以下内容时,使用此技能:
- 引导全新的以太坊节点主机
- 安装执行层和共识层客户端,并明确客户端多样性
- 启用 MEV-Boost 或 Commit-Boost 工作流
- 通过 Nginx 或 Caddy 暴露 RPC
- 更新验证者费用接收地址或 graffiti 设置,而无需处理密钥
- 使用
--json检查机器可读的健康状态
核心命令
# Canonical machine-readable health
cli-anything-eth2-quickstart --json health-check
# Phase 2 install with explicit client choices
cli-anything-eth2-quickstart --json install-clients \
--network mainnet \
--execution-client geth \
--consensus-client lighthouse \
--mev mev-boost \
--confirm
# Guided node setup
cli-anything-eth2-quickstart --json setup-node \
--phase auto \
--execution-client geth \
--consensus-client prysm \
--mev commit-boost \
--confirm
# Validator metadata only; no key import
cli-anything-eth2-quickstart --json configure-validator \
--consensus-client prysm \
--fee-recipient 0x1111111111111111111111111111111111111111 \
--graffiti "CLI-Anything"
# Install nginx-backed RPC exposure
cli-anything-eth2-quickstart --json start-rpc \
--web-stack nginx \
--server-name rpc.example.org \
--confirm
安全规则
- 始终使用
--json供 Agent 解析。 - 在执行
setup-node、install-clients或start-rpc前,需要人工确认。 - 不要生成验证者密钥。
- 不要删除密钥或钱包材料。
- 将
configure-validator仅视为元数据和操作员指引。 - 遵守 Phase 1 与 Phase 2 之间的重启边界。
运行时预期
- 在本地
eth2-quickstart检出上运行。 - 从
--repo-root、ETH2QS_REPO_ROOT或当前工作目录发现仓库根目录。 - 当标志直接映射到仓库设置时,将兼容的覆盖项写入
config/user_config.env。
评论
支持 Markdown