원클릭으로
erigon-datadir
Reference for manipulating Erigon datadirs. Use this when the user wants to perform operations on Erigon data directories.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Reference for manipulating Erigon datadirs. Use this when the user wants to perform operations on Erigon data directories.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run Ethereum Hive integration tests against a local Erigon build, including engine, RPC compatibility, standard EEST, BAL/Amsterdam EEST, and RLP suites. Use when setting up an ephemeral Hive environment, selecting or running Hive suites, interpreting Hive failures, or cleaning up Hive test resources.
Autonomous Goal-directed Iteration. Apply Karpathy's autoresearch principles to ANY task. Loops autonomously — modify, verify, keep/discard, repeat. Supports optional loop count via Claude Code's /loop command.
Integration test plan for erigondb.toml settings resolution across 3 runtime scenarios (legacy, fresh+downloader, fresh+no-downloader)
Use the 'erigon seg step-rebase' command to change the step size of an existing datadir. Use when the user wants to rebase segments or modify step sizes.
Run the full Erigon test suite locally using GOGC=80 make test-all. Use this before marking a PR ready for review. Equivalent to the "All tests" CI workflow.
Run Erigon tests with Go race detector to find data races and concurrency bugs. Use this for concurrency-sensitive changes (parallel executor, p2p, txpool). Takes 30-60 minutes.
| name | erigon-datadir |
| user-invocable | false |
| description | Reference for manipulating Erigon datadirs. Use this when the user wants to perform operations on Erigon data directories. |
| allowed-tools | Bash, Read, Glob |
Given a source path and destination path, follow this procedure exactly.
All checks must pass before copying. Abort on the first failure.
test -d <src> — abort if missing<src>/nodekey (file)<src>/snapshots/ (directory)<src>/chaindata/ (directory)test ! -e <dst> — abort if it already existstest -w "$(dirname <dst>)" — abort if notdu -sh <src> and always tell the user the size before proceedingmount output. If the mount entry contains apfs, use the APFS CoW procedure below; otherwise use the full-copy procedure.Use this when the destination is on an APFS volume.
cp -ac <src> <dst> — this creates a CoW clone that is near-instant and consumes no extra disk space.rm -rf <dst>/chaindataUse this when the destination is NOT on APFS.
df -h "$(dirname <dst>)" and compare available space to the source size. If available space is less than source size, abort and tell the user — do not proceed.cp -a <src> <dst> to recursively copy the entire datadir. This is a long-running operation for large datadirs — run in background.After either procedure completes, confirm success by listing the destination contents and comparing against the source (minus chaindata/ for APFS copies).