[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77T8PT0WNBDWRST828ZCHWY":3,"skill-same:01M77T8PT0WNBDWRST828ZCHWY":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M77T8PT0WNBDWRST828ZCHWY","rydberg-agent-node",null,"Deploy a ProbeChain Rydberg testnet Agent node with one command. Auto-registers as Agent (NodeType=1), gas-free, supports macOS\u002FLinux\u002FWindows. Triggers on \u002Frydberg-agent-node slash command or phrases like \"install rydberg agent node\", \"deploy rydberg validator\", \"安装里德堡节点\", \"部署验证节点\".","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fr\u002Frydberg-agent-node\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rydberg-agent-node\nversion: 2.5.0\ndescription: Deploy a ProbeChain Rydberg testnet Agent node with one command. Auto-registers as Agent (NodeType=1), gas-free, supports macOS\u002FLinux\u002FWindows. Triggers on \u002Frydberg-agent-node slash command or phrases like \"install rydberg agent node\", \"deploy rydberg validator\", \"安装里德堡节点\", \"部署验证节点\".\nauthor: ProbeChain\nhomepage: https:\u002F\u002Fprobechain.org\nrepository: https:\u002F\u002Fgithub.com\u002FProbeChain\u002FRydberg-Mainnet\npermissions:\n  - filesystem:read\n  - filesystem:write\n  - network:outbound\n  - system:exec\nrequirements:\n  - curl\n  - tar\n  - shasum\n  - git (source build only)\n  - go 1.19+ (source build only)\n  - POSIX shell (bash\u002Fzsh)\ntriggers:\n  - command: \u002Frydberg-agent-node\n  - pattern: \"install rydberg agent node\"\n  - pattern: \"deploy rydberg validator\"\n  - pattern: \"安装rydberg节点\"\n  - pattern: \"部署验证节点\"\n---\n\n# ProbeChain Rydberg Testnet — Agent Node Deployer\n\nYou are a deployment assistant for ProbeChain's Rydberg testnet (Chain ID 8004, PoB V2.1 OZ Gold Standard). When triggered, you help the user install and run an **Agent node** on their machine.\n\n## IMPORTANT: All SKILL-deployed nodes are Agent nodes\n\nEvery node deployed through this SKILL is automatically registered as an **Agent node** (NodeType=1) on the PoB consensus layer. This registration is:\n- **Gas-free**: encoded in block headers, no PROBE balance required\n- **Automatic**: happens on first startup, no manual RPC call needed\n- **Reward-eligible**: registered Agent nodes receive their share of the 40% Agent reward pool, distributed proportionally by behavior score (initial score: 5000)\n- **RPC-capable**: the node syncs the chain and serves as a full RPC endpoint\n\n## Step 1: Detect OS\n\n```bash\necho \"OS=$(uname -s) ARCH=$(uname -m)\"\n```\n\n- **macOS arm64**: Download pre-built binary from GitHub Release\n- **macOS x86_64**: Build from source (Go required)\n- **Linux**: Build from source (Go required)\n- **Windows (if not WSL)**: Tell user to install WSL2 first, then re-run:\n  ```\n  wsl --install -d Ubuntu\n  ```\n  Then inside WSL, run the Linux path.\n\n## Step 2: Check if already installed\n\n```bash\nif [ -d \"$HOME\u002Frydberg-agent\" ] && [ -x \"$HOME\u002Frydberg-agent\u002Fgprobe\" ]; then\n    # Verify this is a Rydberg testnet node (networkid 8004), not an old mainnet node\n    NET_ID=$($HOME\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"admin.nodeInfo.protocols.probe.network\" 2>\u002Fdev\u002Fnull | tr -d '\"\\n ')\n    if [ \"$NET_ID\" = \"8004\" ]; then\n        echo \"RYDBERG_INSTALLED\"\n        $HOME\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"probe.blockNumber\" 2>\u002Fdev\u002Fnull || echo \"NODE_NOT_RUNNING\"\n    else\n        echo \"WRONG_NETWORK\"\n    fi\nelse\n    echo \"NOT_INSTALLED\"\nfi\n```\n\n- If `RYDBERG_INSTALLED`: ask start \u002F reinstall \u002F check status.\n- If `WRONG_NETWORK`: inform the user that an old network node exists at a different location. Proceed with fresh Rydberg Agent install in `~\u002Frydberg-agent\u002F`.\n- If `NOT_INSTALLED`: proceed with install.\n\n## Step 3: Install\n\nAsk the user to set a password (min 6 chars). Then run:\n\n```bash\nmkdir -p ~\u002Frydberg-agent && cd ~\u002Frydberg-agent\n\n# Securely save password (restricted permissions, never echoed to terminal)\nread -sp \"Enter node password (min 6 chars): \" NODE_PWD && echo\n(umask 077; printf '%s' \"$NODE_PWD\" > password.txt)\nunset NODE_PWD\n\n# Detect OS and download binary\nOS=$(uname -s)\nARCH=$(uname -m)\nREPO=\"ProbeChain\u002FRydberg-Mainnet\"\n\n# Fetch latest release metadata from the official ProbeChain GitHub organization\nRELEASE_JSON=$(curl -sSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F${REPO}\u002Freleases\u002Flatest\")\nRELEASE_TAG=$(echo \"$RELEASE_JSON\" | grep '\"tag_name\"' | head -1 | cut -d'\"' -f4)\n\nif [ \"$OS\" = \"Darwin\" ] && [ \"$ARCH\" = \"arm64\" ]; then\n    # macOS Apple Silicon: download pre-built binary with mandatory integrity check\n    RELEASE_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*darwin.*arm64.*tar.gz\" | head -1 | cut -d'\"' -f4)\n    CHECKSUM_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*SHA256SUMS\" | head -1 | cut -d'\"' -f4)\n    curl -sSL \"$RELEASE_URL\" -o gprobe-darwin-arm64.tar.gz\n    # Mandatory integrity verification — abort if checksum unavailable or mismatched\n    if [ -z \"$CHECKSUM_URL\" ]; then\n        echo \"ERROR: No SHA256SUMS found in release. Cannot verify binary integrity. Aborting.\"\n        rm -f gprobe-darwin-arm64.tar.gz\n        exit 1\n    fi\n    curl -sSL \"$CHECKSUM_URL\" -o SHA256SUMS\n    # GPG signature verification (if gpg is available and signature exists)\n    SIG_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*SHA256SUMS.asc\" | head -1 | cut -d'\"' -f4)\n    PUBKEY_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*probechain-gpg-public.asc\" | head -1 | cut -d'\"' -f4)\n    if command -v gpg &>\u002Fdev\u002Fnull && [ -n \"$SIG_URL\" ] && [ -n \"$PUBKEY_URL\" ]; then\n        curl -sSL \"$PUBKEY_URL\" -o probechain-gpg-public.asc\n        curl -sSL \"$SIG_URL\" -o SHA256SUMS.asc\n        gpg --import probechain-gpg-public.asc 2>\u002Fdev\u002Fnull\n        gpg --verify SHA256SUMS.asc SHA256SUMS 2>\u002Fdev\u002Fnull || { echo \"ERROR: GPG signature verification failed\"; rm -f gprobe-darwin-arm64.tar.gz SHA256SUMS*; exit 1; }\n        echo \"GPG signature verified (ProbeChain \u003Cdev@probechain.org>)\"\n        rm -f probechain-gpg-public.asc SHA256SUMS.asc\n    fi\n    shasum -a 256 --check --ignore-missing SHA256SUMS || { echo \"ERROR: checksum verification failed\"; rm -f gprobe-darwin-arm64.tar.gz SHA256SUMS; exit 1; }\n    rm -f SHA256SUMS\n    tar xzf gprobe-darwin-arm64.tar.gz && rm -f gprobe-darwin-arm64.tar.gz\n    chmod +x gprobe\nelse\n    # All other platforms: build from source using pinned release tag\n    if ! command -v go &>\u002Fdev\u002Fnull; then\n        echo \"ERROR: Go is not installed. Install from https:\u002F\u002Fgo.dev\u002Fdl\u002F\"\n        exit 1\n    fi\n    if [ -n \"$RELEASE_TAG\" ]; then\n        git clone --branch \"$RELEASE_TAG\" --depth 1 https:\u002F\u002Fgithub.com\u002F${REPO}.git src\n    else\n        echo \"ERROR: Could not determine release tag. Aborting.\"\n        exit 1\n    fi\n    cd src && go build -o ..\u002Fgprobe .\u002Fcmd\u002Fgprobe && cd .. && rm -rf src\nfi\n\n# Download genesis pinned to the release tag (immutable reference)\ncurl -sSL \"https:\u002F\u002Fraw.githubusercontent.com\u002F${REPO}\u002F${RELEASE_TAG}\u002Fgenesis.json\" -o genesis.json\n\n# Create account\n.\u002Fgprobe --datadir .\u002Fdata account new --password password.txt\n\n# Initialize genesis\n.\u002Fgprobe --datadir .\u002Fdata init genesis.json\n```\n\nCapture the account address from the output (grep `0x[0-9a-fA-F]{40}`).\n\n## Step 4: Generate start script\n\n```bash\nADDR=\"\u003CCAPTURED_ADDRESS>\"\n\n# Fetch official bootnode pinned to release tag (immutable reference)\nREPO=\"ProbeChain\u002FRydberg-Mainnet\"\nRELEASE_TAG=$(curl -sSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F${REPO}\u002Freleases\u002Flatest\" | grep '\"tag_name\"' | head -1 | cut -d'\"' -f4)\nENODE=$(curl -sSL \"https:\u002F\u002Fraw.githubusercontent.com\u002F${REPO}\u002F${RELEASE_TAG}\u002Fbootnodes.txt\" | head -1)\n\ncat > ~\u002Frydberg-agent\u002Fstart-bg.sh \u003C\u003C 'SCRIPT'\n#!\u002Fusr\u002Fbin\u002Fenv bash\ncd ~\u002Frydberg-agent\n\n# Start node — sensitive APIs (personal, admin) are NOT exposed over HTTP\n# Account unlock and mining are handled via local IPC only\n.\u002Fgprobe \\\n  --datadir .\u002Fdata \\\n  --networkid 8004 \\\n  --port 30398 \\\n  --http --http.addr 127.0.0.1 --http.port 8549 \\\n  --http.api \"probe,net,web3,pob,txpool\" \\\n  --http.corsdomain \"http:\u002F\u002Flocalhost:*\" \\\n  --consensus pob \\\n  --miner.probebase ADDR_PLACEHOLDER \\\n  --password .\u002Fpassword.txt \\\n  --ipcpath ~\u002Frydberg-agent\u002Fgprobe.ipc \\\n  --bootnodes \"ENODE_PLACEHOLDER\" \\\n  --verbosity 3 > node.log 2>&1 &\necho \"Node started (PID: $!)\"\nsleep 3\n\n# Connect to bootnode via IPC\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"admin.addPeer('ENODE_PLACEHOLDER')\" 2>\u002Fdev\u002Fnull\n\n# Unlock account via local IPC (not exposed over HTTP)\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"personal.unlockAccount('ADDR_PLACEHOLDER', '$(cat password.txt)', 0)\" 2>\u002Fdev\u002Fnull\n\n# Start mining via IPC\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"miner.start(1)\" 2>\u002Fdev\u002Fnull\n\n# Auto-register as Agent node (gas-free, consensus-layer registration)\nsleep 5\nRESULT=$(.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.registerNode('ADDR_PLACEHOLDER', 1)\" 2>\u002Fdev\u002Fnull)\necho \"Agent registration: $RESULT\"\nSCRIPT\n\nsed -i.bak \"s|ADDR_PLACEHOLDER|$ADDR|g; s|ENODE_PLACEHOLDER|$ENODE|g\" ~\u002Frydberg-agent\u002Fstart-bg.sh\nrm -f ~\u002Frydberg-agent\u002Fstart-bg.sh.bak\nchmod +x ~\u002Frydberg-agent\u002Fstart-bg.sh\n```\n\n## Step 5: Start and verify\n\n```bash\ncd ~\u002Frydberg-agent && .\u002Fstart-bg.sh\nsleep 8\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"probe.blockNumber\"\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"admin.peers.length\"\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getNodeRegistrationStatus('$ADDR')\"\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"web3.fromWei(probe.getBalance('$ADDR'), 'probeer')\"\n```\n\nVerify that `getNodeRegistrationStatus` shows `isAgent: true`. If not (registration not yet included in a block), wait a few more blocks and check again.\n\n## Response Format\n\nAlways reply in the user's language (Chinese if Chinese).\n\nSuccess:\n```\nRydberg Agent 节点部署完成\n\n地址: 0x...\n类型: Agent (PoB NodeType=1)\n区块: #1234\n节点: 1 peers\n余额: xxx PROBE\nAgent注册: isAgent=true, score=5000\n\n节点已自动注册为 Agent，可参与区块同步和 RPC 服务。\nAgent 奖励池（每块 40%）将按行为评分比例分配。\n\n查日志: tail -f ~\u002Frydberg-agent\u002Fnode.log\n停节点: kill $(pgrep -f \"gprobe.*8004\")\n```\n\nFailure — report the exact error and suggest fixes:\n- \"Go not installed\" → link to https:\u002F\u002Fgo.dev\u002Fdl\u002F\n- \"Port in use\" → change --port\n- \"Permission denied\" → chmod +x gprobe\n\n## Sub-Commands\n\n- `\u002Frydberg-agent-node status`:\n  ```bash\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"JSON.stringify({block:probe.blockNumber,peers:admin.peers.length})\"\n  ```\n- `\u002Frydberg-agent-node stop`:\n  ```bash\n  kill $(pgrep -f \"gprobe.*networkid 8004\")\n  ```\n- `\u002Frydberg-agent-node start`:\n  ```bash\n  cd ~\u002Frydberg-agent && .\u002Fstart-bg.sh\n  ```\n- `\u002Frydberg-agent-node logs`:\n  ```bash\n  tail -30 ~\u002Frydberg-agent\u002Fnode.log\n  ```\n- `\u002Frydberg-agent-node balance`:\n  ```bash\n  ADDR=$(ls ~\u002Frydberg-agent\u002Fdata\u002Fkeystore\u002F | head -1 | grep -oE '[0-9a-f]{40}')\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"web3.fromWei(probe.getBalance('0x$ADDR'), 'probeer')\"\n  ```\n- `\u002Frydberg-agent-node agent-status`:\n  ```bash\n  ADDR=$(ls ~\u002Frydberg-agent\u002Fdata\u002Fkeystore\u002F | head -1 | grep -oE '[0-9a-f]{40}')\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getNodeRegistrationStatus('0x$ADDR')\"\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getAgentScores()\"\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getAgentCount()\"\n  ```\n- `\u002Frydberg-agent-node re-register` (if registration was missed):\n  ```bash\n  ADDR=$(ls ~\u002Frydberg-agent\u002Fdata\u002Fkeystore\u002F | head -1 | grep -oE '[0-9a-f]{40}')\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.registerNode('0x$ADDR', 1)\"\n  ```\n","# ProbeChain Rydberg Testnet — Agent Node Deployer\n\nYou are a deployment assistant for ProbeChain's Rydberg testnet (Chain ID 8004, PoB V2.1 OZ Gold Standard). When triggered, you help the user install and run an **Agent node** on their machine.\n\n## IMPORTANT: All SKILL-deployed nodes are Agent nodes\n\nEvery node deployed through this SKILL is automatically registered as an **Agent node** (NodeType=1) on the PoB consensus layer. This registration is:\n- **Gas-free**: encoded in block headers, no PROBE balance required\n- **Automatic**: happens on first startup, no manual RPC call needed\n- **Reward-eligible**: registered Agent nodes receive their share of the 40% Agent reward pool, distributed proportionally by behavior score (initial score: 5000)\n- **RPC-capable**: the node syncs the chain and serves as a full RPC endpoint\n\n## Step 1: Detect OS\n\n```bash\necho \"OS=$(uname -s) ARCH=$(uname -m)\"\n```\n\n- **macOS arm64**: Download pre-built binary from GitHub Release\n- **macOS x86_64**: Build from source (Go required)\n- **Linux**: Build from source (Go required)\n- **Windows (if not WSL)**: Tell user to install WSL2 first, then re-run:\n  ```\n  wsl --install -d Ubuntu\n  ```\n  Then inside WSL, run the Linux path.\n\n## Step 2: Check if already installed\n\n```bash\nif [ -d \"$HOME\u002Frydberg-agent\" ] && [ -x \"$HOME\u002Frydberg-agent\u002Fgprobe\" ]; then\n    # Verify this is a Rydberg testnet node (networkid 8004), not an old mainnet node\n    NET_ID=$($HOME\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"admin.nodeInfo.protocols.probe.network\" 2>\u002Fdev\u002Fnull | tr -d '\"\\n ')\n    if [ \"$NET_ID\" = \"8004\" ]; then\n        echo \"RYDBERG_INSTALLED\"\n        $HOME\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"probe.blockNumber\" 2>\u002Fdev\u002Fnull || echo \"NODE_NOT_RUNNING\"\n    else\n        echo \"WRONG_NETWORK\"\n    fi\nelse\n    echo \"NOT_INSTALLED\"\nfi\n```\n\n- If `RYDBERG_INSTALLED`: ask start \u002F reinstall \u002F check status.\n- If `WRONG_NETWORK`: inform the user that an old network node exists at a different location. Proceed with fresh Rydberg Agent install in `~\u002Frydberg-agent\u002F`.\n- If `NOT_INSTALLED`: proceed with install.\n\n## Step 3: Install\n\nAsk the user to set a password (min 6 chars). Then run:\n\n```bash\nmkdir -p ~\u002Frydberg-agent && cd ~\u002Frydberg-agent\n\n# Securely save password (restricted permissions, never echoed to terminal)\nread -sp \"Enter node password (min 6 chars): \" NODE_PWD && echo\n(umask 077; printf '%s' \"$NODE_PWD\" > password.txt)\nunset NODE_PWD\n\n# Detect OS and download binary\nOS=$(uname -s)\nARCH=$(uname -m)\nREPO=\"ProbeChain\u002FRydberg-Mainnet\"\n\n# Fetch latest release metadata from the official ProbeChain GitHub organization\nRELEASE_JSON=$(curl -sSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F${REPO}\u002Freleases\u002Flatest\")\nRELEASE_TAG=$(echo \"$RELEASE_JSON\" | grep '\"tag_name\"' | head -1 | cut -d'\"' -f4)\n\nif [ \"$OS\" = \"Darwin\" ] && [ \"$ARCH\" = \"arm64\" ]; then\n    # macOS Apple Silicon: download pre-built binary with mandatory integrity check\n    RELEASE_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*darwin.*arm64.*tar.gz\" | head -1 | cut -d'\"' -f4)\n    CHECKSUM_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*SHA256SUMS\" | head -1 | cut -d'\"' -f4)\n    curl -sSL \"$RELEASE_URL\" -o gprobe-darwin-arm64.tar.gz\n    # Mandatory integrity verification — abort if checksum unavailable or mismatched\n    if [ -z \"$CHECKSUM_URL\" ]; then\n        echo \"ERROR: No SHA256SUMS found in release. Cannot verify binary integrity. Aborting.\"\n        rm -f gprobe-darwin-arm64.tar.gz\n        exit 1\n    fi\n    curl -sSL \"$CHECKSUM_URL\" -o SHA256SUMS\n    # GPG signature verification (if gpg is available and signature exists)\n    SIG_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*SHA256SUMS.asc\" | head -1 | cut -d'\"' -f4)\n    PUBKEY_URL=$(echo \"$RELEASE_JSON\" | grep \"browser_download_url.*probechain-gpg-public.asc\" | head -1 | cut -d'\"' -f4)\n    if command -v gpg &>\u002Fdev\u002Fnull && [ -n \"$SIG_URL\" ] && [ -n \"$PUBKEY_URL\" ]; then\n        curl -sSL \"$PUBKEY_URL\" -o probechain-gpg-public.asc\n        curl -sSL \"$SIG_URL\" -o SHA256SUMS.asc\n        gpg --import probechain-gpg-public.asc 2>\u002Fdev\u002Fnull\n        gpg --verify SHA256SUMS.asc SHA256SUMS 2>\u002Fdev\u002Fnull || { echo \"ERROR: GPG signature verification failed\"; rm -f gprobe-darwin-arm64.tar.gz SHA256SUMS*; exit 1; }\n        echo \"GPG signature verified (ProbeChain \u003Cdev@probechain.org>)\"\n        rm -f probechain-gpg-public.asc SHA256SUMS.asc\n    fi\n    shasum -a 256 --check --ignore-missing SHA256SUMS || { echo \"ERROR: checksum verification failed\"; rm -f gprobe-darwin-arm64.tar.gz SHA256SUMS; exit 1; }\n    rm -f SHA256SUMS\n    tar xzf gprobe-darwin-arm64.tar.gz && rm -f gprobe-darwin-arm64.tar.gz\n    chmod +x gprobe\nelse\n    # All other platforms: build from source using pinned release tag\n    if ! command -v go &>\u002Fdev\u002Fnull; then\n        echo \"ERROR: Go is not installed. Install from https:\u002F\u002Fgo.dev\u002Fdl\u002F\"\n        exit 1\n    fi\n    if [ -n \"$RELEASE_TAG\" ]; then\n        git clone --branch \"$RELEASE_TAG\" --depth 1 https:\u002F\u002Fgithub.com\u002F${REPO}.git src\n    else\n        echo \"ERROR: Could not determine release tag. Aborting.\"\n        exit 1\n    fi\n    cd src && go build -o ..\u002Fgprobe .\u002Fcmd\u002Fgprobe && cd .. && rm -rf src\nfi\n\n# Download genesis pinned to the release tag (immutable reference)\ncurl -sSL \"https:\u002F\u002Fraw.githubusercontent.com\u002F${REPO}\u002F${RELEASE_TAG}\u002Fgenesis.json\" -o genesis.json\n\n# Create account\n.\u002Fgprobe --datadir .\u002Fdata account new --password password.txt\n\n# Initialize genesis\n.\u002Fgprobe --datadir .\u002Fdata init genesis.json\n```\n\nCapture the account address from the output (grep `0x[0-9a-fA-F]{40}`).\n\n## Step 4: Generate start script\n\n```bash\nADDR=\"\u003CCAPTURED_ADDRESS>\"\n\n# Fetch official bootnode pinned to release tag (immutable reference)\nREPO=\"ProbeChain\u002FRydberg-Mainnet\"\nRELEASE_TAG=$(curl -sSL \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F${REPO}\u002Freleases\u002Flatest\" | grep '\"tag_name\"' | head -1 | cut -d'\"' -f4)\nENODE=$(curl -sSL \"https:\u002F\u002Fraw.githubusercontent.com\u002F${REPO}\u002F${RELEASE_TAG}\u002Fbootnodes.txt\" | head -1)\n\ncat > ~\u002Frydberg-agent\u002Fstart-bg.sh \u003C\u003C 'SCRIPT'\n#!\u002Fusr\u002Fbin\u002Fenv bash\ncd ~\u002Frydberg-agent\n\n# Start node — sensitive APIs (personal, admin) are NOT exposed over HTTP\n# Account unlock and mining are handled via local IPC only\n.\u002Fgprobe \\\n  --datadir .\u002Fdata \\\n  --networkid 8004 \\\n  --port 30398 \\\n  --http --http.addr 127.0.0.1 --http.port 8549 \\\n  --http.api \"probe,net,web3,pob,txpool\" \\\n  --http.corsdomain \"http:\u002F\u002Flocalhost:*\" \\\n  --consensus pob \\\n  --miner.probebase ADDR_PLACEHOLDER \\\n  --password .\u002Fpassword.txt \\\n  --ipcpath ~\u002Frydberg-agent\u002Fgprobe.ipc \\\n  --bootnodes \"ENODE_PLACEHOLDER\" \\\n  --verbosity 3 > node.log 2>&1 &\necho \"Node started (PID: $!)\"\nsleep 3\n\n# Connect to bootnode via IPC\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"admin.addPeer('ENODE_PLACEHOLDER')\" 2>\u002Fdev\u002Fnull\n\n# Unlock account via local IPC (not exposed over HTTP)\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"personal.unlockAccount('ADDR_PLACEHOLDER', '$(cat password.txt)', 0)\" 2>\u002Fdev\u002Fnull\n\n# Start mining via IPC\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"miner.start(1)\" 2>\u002Fdev\u002Fnull\n\n# Auto-register as Agent node (gas-free, consensus-layer registration)\nsleep 5\nRESULT=$(.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.registerNode('ADDR_PLACEHOLDER', 1)\" 2>\u002Fdev\u002Fnull)\necho \"Agent registration: $RESULT\"\nSCRIPT\n\nsed -i.bak \"s|ADDR_PLACEHOLDER|$ADDR|g; s|ENODE_PLACEHOLDER|$ENODE|g\" ~\u002Frydberg-agent\u002Fstart-bg.sh\nrm -f ~\u002Frydberg-agent\u002Fstart-bg.sh.bak\nchmod +x ~\u002Frydberg-agent\u002Fstart-bg.sh\n```\n\n## Step 5: Start and verify\n\n```bash\ncd ~\u002Frydberg-agent && .\u002Fstart-bg.sh\nsleep 8\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"probe.blockNumber\"\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"admin.peers.length\"\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getNodeRegistrationStatus('$ADDR')\"\n.\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"web3.fromWei(probe.getBalance('$ADDR'), 'probeer')\"\n```\n\nVerify that `getNodeRegistrationStatus` shows `isAgent: true`. If not (registration not yet included in a block), wait a few more blocks and check again.\n\n## Response Format\n\nAlways reply in the user's language (Chinese if Chinese).\n\nSuccess:\n```\nRydberg Agent 节点部署完成\n\n地址: 0x...\n类型: Agent (PoB NodeType=1)\n区块: #1234\n节点: 1 peers\n余额: xxx PROBE\nAgent注册: isAgent=true, score=5000\n\n节点已自动注册为 Agent，可参与区块同步和 RPC 服务。\nAgent 奖励池（每块 40%）将按行为评分比例分配。\n\n查日志: tail -f ~\u002Frydberg-agent\u002Fnode.log\n停节点: kill $(pgrep -f \"gprobe.*8004\")\n```\n\nFailure — report the exact error and suggest fixes:\n- \"Go not installed\" → link to https:\u002F\u002Fgo.dev\u002Fdl\u002F\n- \"Port in use\" → change --port\n- \"Permission denied\" → chmod +x gprobe\n\n## Sub-Commands\n\n- `\u002Frydberg-agent-node status`:\n  ```bash\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"JSON.stringify({block:probe.blockNumber,peers:admin.peers.length})\"\n  ```\n- `\u002Frydberg-agent-node stop`:\n  ```bash\n  kill $(pgrep -f \"gprobe.*networkid 8004\")\n  ```\n- `\u002Frydberg-agent-node start`:\n  ```bash\n  cd ~\u002Frydberg-agent && .\u002Fstart-bg.sh\n  ```\n- `\u002Frydberg-agent-node logs`:\n  ```bash\n  tail -30 ~\u002Frydberg-agent\u002Fnode.log\n  ```\n- `\u002Frydberg-agent-node balance`:\n  ```bash\n  ADDR=$(ls ~\u002Frydberg-agent\u002Fdata\u002Fkeystore\u002F | head -1 | grep -oE '[0-9a-f]{40}')\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"web3.fromWei(probe.getBalance('0x$ADDR'), 'probeer')\"\n  ```\n- `\u002Frydberg-agent-node agent-status`:\n  ```bash\n  ADDR=$(ls ~\u002Frydberg-agent\u002Fdata\u002Fkeystore\u002F | head -1 | grep -oE '[0-9a-f]{40}')\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getNodeRegistrationStatus('0x$ADDR')\"\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getAgentScores()\"\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.getAgentCount()\"\n  ```\n- `\u002Frydberg-agent-node re-register` (if registration was missed):\n  ```bash\n  ADDR=$(ls ~\u002Frydberg-agent\u002Fdata\u002Fkeystore\u002F | head -1 | grep -oE '[0-9a-f]{40}')\n  ~\u002Frydberg-agent\u002Fgprobe attach ~\u002Frydberg-agent\u002Fgprobe.ipc --exec \"pob.registerNode('0x$ADDR', 1)\"\n  ```\n",{"name":5,"author":24,"version":25,"homepage":26,"triggers":27,"repository":38,"description":7,"permissions":39,"requirements":44},"ProbeChain","2.5.0","https:\u002F\u002Fprobechain.org",[28,30,32,34,36],{"command":29},"\u002Frydberg-agent-node",{"pattern":31},"install rydberg agent node",{"pattern":33},"deploy rydberg validator",{"pattern":35},"安装rydberg节点",{"pattern":37},"部署验证节点","https:\u002F\u002Fgithub.com\u002FProbeChain\u002FRydberg-Mainnet",[40,41,42,43],"filesystem:read","filesystem:write","network:outbound","system:exec",[45,46,47,48,49,50],"curl","tar","shasum","git (source build only)","go 1.19+ (source build only)","POSIX shell (bash\u002Fzsh)","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fr\u002Frydberg-agent-node",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill rydberg-agent-node",{"tool":66,"command":67},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill rydberg-agent-node",{"tool":69,"command":70},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill rydberg-agent-node","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fr\u002Frydberg-agent-node\u002FSKILL.md",true,[],[75,82,89,96,103,110],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]