← 返回 Skills 市场
alibabaedge

logos-node

作者 alibabaedge · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install logos-node
功能描述
Install, update, or check the status of a Logos Blockchain testnet validator node on Linux x86_64. Use this skill when the user wants to set up a Logos node,...
使用说明 (SKILL.md)

Logos Node Skill

You are a Logos Blockchain node operator assistant. When the user invokes this skill, read $ARGUMENTS to determine the command:

  • install → fresh install of a Logos validator node
  • update → breaking upgrade (wipe state, re-init, restart)
  • status → check sync mode, peers, block height, wallet balance

If $ARGUMENTS is empty, ask the user which operation they want: install / update / status.


ALWAYS do this first

Before taking any action, fetch the latest stable release — filtering out pre-releases and release candidates (RC). /releases/latest returns the most recently published release which may be an RC; instead fetch the full list and pick the first non-prerelease entry:

!`curl -s https://api.github.com/repos/logos-blockchain/logos-blockchain/releases | python3 -c "import sys,json; releases=[r for r in json.load(sys.stdin) if not r['prerelease'] and not r['draft']]; r=releases[0]; print(json.dumps({'tag':r['tag_name'],'assets':[{'name':a['name'],'url':a['browser_download_url']} for a in r['assets']],'body':r['body'][:2000]}))" 2>/dev/null`

From the response extract:

  • tag — stable version (e.g. 0.1.2) — ignore any tag containing -rc, -dev, or -beta
  • assets[].url — filter for linux-x86_64 binary tarball and circuits tarball
  • body — breaking-change notice and bootstrap peers

If the API call fails or returns no stable release, fall back to the official quickstart docs:

!`curl -s https://raw.githubusercontent.com/logos-co/logos-docs/main/docs/blockchain/quickstart-guide-for-the-logos-blockchain-node.md | head -120`

Also check sharp-edges.md before every install or update.


install — Fresh node installation

Follow install-procedure.md step by step.

Key checkpoints:

  1. Verify host: uname -m must return x86_64; getconf GNU_LIBC_VERSION must be ≥ 2.39
  2. Create service user logos, directories under /pool0/logos
  3. Download node binary and circuits from URLs in the latest GitHub release
  4. Export LOGOS_BLOCKCHAIN_CIRCUITS before running init
  5. Run init with the same binary you will use for runtime — mismatch causes StartBlockNotFound
  6. Run init with the bootstrap peers from the latest release body
  7. Create and start the logos-blockchain-node systemd service
  8. Verify: curl http://localhost:8080/cryptarchia/infomode should become Online within minutes
  9. Open peer port: ufw allow 3000/udp

update — Breaking upgrade

Follow update-procedure.md.

A breaking update requires full re-initialisation: existing state is incompatible with the new genesis block. Skipping any deletion step causes genesis mismatch errors.

Key checkpoints:

  1. Stop the service: systemctl stop logos-blockchain-node
  2. Delete old state AND config — all three paths must be removed:
    • /pool0/logos/state
    • /pool0/logos/user_config.yaml
    • /pool0/logos/.logos-blockchain-circuits
  3. Download the new binary and circuits (URLs from the latest GitHub release)
  4. Export LOGOS_BLOCKCHAIN_CIRCUITS before init
  5. Run init with the new binary and the new bootstrap peers
  6. Restart: systemctl start logos-blockchain-node
  7. Verify sync and confirm mode: Online

status — Node health check

Follow status-checks.md.

Run these checks:

systemctl status logos-blockchain-node --no-pager
curl -w "\
" http://localhost:8080/cryptarchia/info
curl -w "\
" http://localhost:8080/network/info

Interpret results:

  • mode: Online — node is fully synced and participating
  • mode: Bootstrapping — still in initial block download (IBD); wait and recheck
  • n_peers: 0 — no P2P connectivity; check firewall (ufw status) and port 3000/udp
  • slot / height not increasing — node may be stalled; check logs with journalctl -u logos-blockchain-node -f

To check wallet balance (replace \x3Ckey> with hex key from user_config.yaml):

grep -A3 known_keys /pool0/logos/user_config.yaml
curl http://localhost:8080/wallet/\x3Ckey>/balance

\x3C!-- TODO v2: MCP integration When logos-rag-mcp is available, replace static procedure files with: mcp://localhost:3000/logos-docs/install mcp://localhost:3000/logos-docs/update mcp://localhost:3000/logos-docs/status The MCP server will serve vectorized Logos docs, release notes, and sharp-edges so the skill never needs updating when docs change. See mcp/README.md. -->

安全使用建议
Install this only on a Linux x86_64 server you intend to operate as a Logos testnet node. Review commands before running them, verify the GitHub release assets you download, save or back up wallet/config information before breaking updates, and remember the systemd service and UDP port remain active until you stop or disable them.
功能分析
Type: OpenClaw Skill Name: logos-node Version: 1.0.0 The logos-node skill bundle is a legitimate tool designed to help users manage Logos Blockchain validator nodes. It provides structured instructions (SKILL.md) and procedures (install-procedure.md, update-procedure.md) for installing, updating, and monitoring node software. While it requires high-privilege operations such as creating systemd services and managing firewall rules (ufw), these actions are strictly aligned with its stated purpose of infrastructure management. The skill includes security-conscious practices like using a dedicated service user ('logos'), implementing systemd hardening (NoNewPrivileges, PrivateTmp), and providing clear troubleshooting guidance (sharp-edges.md). No evidence of data exfiltration, malicious persistence, or prompt injection was found.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose and capabilities line up: Bash, Read, Write, and WebFetch are used for release lookup, install, update, and status checks. The actions are high-impact infrastructure operations, but they are disclosed and Logos-node scoped.
Instruction Scope
The skill is scoped to install/update/status and asks what to do when no argument is supplied. The update flow explicitly deletes Logos state/config/circuits under /pool0/logos, so users should confirm intent and backups.
Install Mechanism
The registry has no auto-running install spec, but the included optional installer and README examples fetch code from GitHub. The installer is user-directed and prompts before installing into detected agent directories, but it is branch-based rather than pinned.
Credentials
The docs disclose Linux x86_64, glibc, systemctl, root/sudo, and firewall requirements. The registry OS restriction is none, so users should only run it on an intended Linux validator host.
Persistence & Privilege
The install creates and enables a persistent systemd service and opens UDP 3000. This is expected for a validator node and the service runs as a logos user with some hardening, but it persists after the agent task ends.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install logos-node
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /logos-node 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the logos-node skill. - Set up, upgrade, or check the status of a Logos Blockchain testnet node on Linux x86_64. - Fetches the latest stable node release from GitHub, ensuring only production versions are used. - Supports fresh installations, breaking upgrades (with state wipe), and detailed health checks. - Includes automated validation of system requirements and peer/network connectivity. - Uses official install/update/status procedures, with fallbacks in case of API failure. - Requires curl, tar, and systemctl.
元数据
Slug logos-node
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

logos-node 是什么?

Install, update, or check the status of a Logos Blockchain testnet validator node on Linux x86_64. Use this skill when the user wants to set up a Logos node,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 logos-node?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install logos-node」即可一键安装,无需额外配置。

logos-node 是免费的吗?

是的,logos-node 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

logos-node 支持哪些平台?

logos-node 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 logos-node?

由 alibabaedge(@alibabaedge)开发并维护,当前版本 v1.0.0。

💬 留言讨论