Skip to content

claude: add erigon-datadir skill#19017

Merged
wmitsuda merged 1 commit into
mainfrom
wmitsuda/claude-erigon-datadir-skill
Feb 6, 2026
Merged

claude: add erigon-datadir skill#19017
wmitsuda merged 1 commit into
mainfrom
wmitsuda/claude-erigon-datadir-skill

Conversation

@wmitsuda

@wmitsuda wmitsuda commented Feb 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a new reference skill (.claude/skills/erigon-datadir/SKILL.md) for manipulating Erigon datadirs
  • Covers safe datadir duplication with precondition checks, APFS copy-on-write support, and disk space validation
  • Non-user-invocable; loaded automatically when Claude detects datadir operations

Test plan

  • Tested duplication of an 820GB mainnet datadir to a temporary directory
  • All precondition checks passed
  • APFS CoW clone completed successfully, chaindata/ deleted from destination
  • Confirmed zero extra disk space consumed (CoW)

🤖 Generated with Claude Code

Add a reference skill that teaches Claude how to safely duplicate Erigon
datadirs with precondition checks, APFS copy-on-write support, and disk
space validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wmitsuda wmitsuda enabled auto-merge (squash) February 6, 2026 17:48
@wmitsuda

wmitsuda commented Feb 6, 2026

Copy link
Copy Markdown
Member Author

now I can do: "duplicate the datadir into /tmp/test-dup and run an ephemeral erigon instance on it"

and it'll solve all port conflicts (if I'm running another erigon on my machine already) for me automatically without having to maintain separate scripts!

@wmitsuda wmitsuda requested a review from VBulikov February 6, 2026 21:28
@wmitsuda

wmitsuda commented Feb 6, 2026

Copy link
Copy Markdown
Member Author

(adding Vlad as a reviewer just for a unrelated test)

@wmitsuda wmitsuda merged commit 82e1c05 into main Feb 6, 2026
19 checks passed
@wmitsuda wmitsuda deleted the wmitsuda/claude-erigon-datadir-skill branch February 6, 2026 21:31
Giulio2002 pushed a commit that referenced this pull request Feb 6, 2026
## Summary
- Add a new reference skill (`.claude/skills/erigon-datadir/SKILL.md`)
for manipulating Erigon datadirs
- Covers safe datadir duplication with precondition checks, APFS
copy-on-write support, and disk space validation
- Non-user-invocable; loaded automatically when Claude detects datadir
operations

## Test plan
- [x] Tested duplication of an 820GB mainnet datadir to a temporary
directory
- [x] All precondition checks passed
- [x] APFS CoW clone completed successfully, chaindata/ deleted from
destination
- [x] Confirmed zero extra disk space consumed (CoW)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants