erigon-ephemeral
Skill by erigontech
Runs a temporary Erigon node with a throwaway datadir for testing. It detects port conflicts, offsets ports when needed, and cleans up leftover datadirs and processes.
Install erigon-ephemeral
Built from the published package, never by AI.
git clone --depth 1 https://github.com/erigontech/erigon /tmp/erigon && mkdir -p ~/.claude/skills && cp -r /tmp/erigon/.claude/skills/erigon-ephemeral ~/.claude/skills/erigon-ephemeralRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/erigontech/erigon /tmp/erigon && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/erigon/.claude/skills/erigon-ephemeral ~/.gemini/antigravity-cli/skills/erigon-ephemeralAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Ephemeral Erigon is a skill for running a temporary Erigon node. It creates an empty datadir with mktemp in the system temp directory, or clones an existing datadir using the erigon-datadir skill. Before launch, it checks the default ports with lsof and starts with a +100 offset, moving to +200 or +300 if a port is in use.
The skill starts Erigon in the background, prints the full command and PID, and can stop the process and delete the datadir on request. It also finds leftover ephemeral datadirs from earlier sessions so they can be cleaned up. It is aimed at developers who need a quick, throwaway Erigon node for testing or debugging, or a second node alongside an existing one. Claude Code cannot clean up automatically when a session ends, so the leftover detection step covers that case.
Written from the project's SKILL.md and checked against it.
What it can do
- Empty ephemeral datadirCreates a new unique datadir with mktemp in the system default temp directory.
- Datadir cloningClones a user-provided source datadir into a temporary copy for safe experimentation.
- Port conflict detectionChecks TCP and UDP ports with lsof and moves to +200 or +300 offsets when needed.
- Background launchStarts Erigon in the background and reports the full command and PID before launch.
- CleanupStops the Erigon process and deletes the datadir after the user confirms.
- Leftover detectionFinds old ephemeral datadirs, reports their sizes, and checks for still-running processes.
What you need
- Erigon source tree with a build at ./build/bin/erigon, or the erigon-build skill
- Bash shell
- lsof and mktemp available on the system
- macOS or Linux temp directory
Try asking
- Spin up a throwaway Erigon node for a quick test on the dev chain.
- Start a second Erigon instance next to my existing node without port clashes.
- Find and clean up leftover ephemeral Erigon datadirs from previous sessions.
Good to know
- Claude Code cannot clean up automatically when the session exits.
- Leftover datadirs and processes remain until the leftover detection step is run.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/erigon-ephemeral/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashRead
-
SKILL.md6 KB
Alternatives to erigon-ephemeral
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
erigon-ephemeral: common questions
How does it avoid port conflicts with an existing Erigon node?
It never uses default ports and starts with a +100 offset. It checks the offset ports with lsof and tries +200, then +300 if conflicts remain.
Where is the temporary datadir created?
It is created with mktemp -d in the system default temp directory, such as /tmp on Linux or a /var/folders path on macOS.
What happens to the datadir if I close the session without cleaning up?
The datadir and Erigon process remain. The leftover detection step can find them later so you can clean them up.
How do I install erigon-ephemeral?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is erigon-ephemeral free?
The code is published under the LGPL-3.0 licence. The service it connects to may have its own pricing.
Is erigon-ephemeral safe to use?
It scores 80 of 100. Grades: maintenance A, licence C, quality A. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.
What are alternatives to erigon-ephemeral?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
