ER

This process compiles the Erigon executable by managing CGO flags, version tagging, and binary output.

Install

mkdir -p .claude/skills/erigon-build && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2315" && unzip -o skill.zip -d .claude/skills/erigon-build && rm skill.zip

Installs to .claude/skills/erigon-build

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Build the Erigon binary using make. Use this when you need to compile erigon before running any erigon commands.
112 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Compile the Erigon executable from source
  • Inject git version metadata into the binary
  • Apply platform-specific CGO build flags
  • Generate the binary in the build directory

How it works

The skill executes the make erigon command to trigger the compilation process defined in the repository. It handles version tagging and platform-specific flag application during the build.

Inputs & outputs

You give it
Repository root directory
You get back
Binary file at ./build/bin/erigon

When to use erigon-build

  • Compiling Erigon from source
  • Updating Erigon binary version
  • Validating Erigon build integrity

About this skill

Build Erigon Binary

Build the Erigon binary by running make erigon from the repository root.

Build Command

make erigon

This compiles the Erigon binary and places it at ./build/bin/erigon.

What the Build Does

  • Compiles the main Erigon executable
  • Sets version information from git (commit, branch, tag)
  • Applies appropriate CGO flags for the platform
  • Outputs binary to build/bin/erigon

Prerequisites

  • Go (version specified in go.mod)
  • C compiler (gcc or clang)
  • Make

After Building

The binary will be available at:

./build/bin/erigon

You can verify the build by running:

./build/bin/erigon --version

When not to use it

  • When the environment lacks a C compiler
  • When the Go version does not match go.mod requirements

Prerequisites

GoC compilerMake

Limitations

  • Requires specific Go version defined in go.mod

How it compares

This automates the specific build sequence and path configuration required for Erigon instead of manual compilation.

Compared to similar skills

erigon-build side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
erigon-build (this skill)26moReviewBeginner
architecture-patterns552moNo flagsAdvanced
workflow-orchestration-patterns102moNo flagsAdvanced
golang-pro144moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

Search skills

Search the agent skills registry