eigen-delegation

📁 zeeshan8281/eigen-skills 📅 9 days ago
2
总安装量
2
周安装量
#64598
全站排名
安装命令
npx skills add https://github.com/zeeshan8281/eigen-skills --skill eigen-delegation

Agent 安装分布

opencode 2
gemini-cli 2
antigravity 2
github-copilot 2
codex 2
kimi-cli 2

Skill 文档

EigenLayer Delegation Skill

Query live delegation data from EigenLayer: delegation/undelegation events, operator delegation profiles, staker delegation positions, operator-sets, and find the most delegated operators.

Data Source

EigenExplorer API — https://api.eigenexplorer.com

When to use this skill

Use when the user asks about:

  • Who is delegating to whom
  • Delegation/undelegation events
  • Top operators by delegation (most stakers, most TVL)
  • A specific staker’s delegation position
  • Which operator a staker is delegated to
  • Operator-sets
  • Withdrawal queue or pending undelegations

How to query

Get top operators by total stakers (most delegated)

curl -s "https://api.eigenexplorer.com/operators?withTvl=true&sortByTotalStakers=desc&take=10" -H "x-api-token: $EIGEN_API_KEY"

Get top operators by TVL (most capital delegated)

curl -s "https://api.eigenexplorer.com/operators?withTvl=true&sortByTvl=desc&take=10" -H "x-api-token: $EIGEN_API_KEY"

Get a specific operator’s delegation profile

curl -s "https://api.eigenexplorer.com/operators/0xOPERATOR_ADDRESS?withTvl=true" -H "x-api-token: $EIGEN_API_KEY"

Get stakers delegating to an operator

curl -s "https://api.eigenexplorer.com/operators/0xOPERATOR_ADDRESS/stakers?take=20" -H "x-api-token: $EIGEN_API_KEY"

Get which operator a staker has delegated to

curl -s "https://api.eigenexplorer.com/stakers/0xSTAKER_ADDRESS" -H "x-api-token: $EIGEN_API_KEY"

Get staker withdrawals (undelegations)

curl -s "https://api.eigenexplorer.com/stakers/0xSTAKER_ADDRESS/withdrawals?take=20" -H "x-api-token: $EIGEN_API_KEY"

Get delegation events

curl -s "https://api.eigenexplorer.com/events?take=20" -H "x-api-token: $EIGEN_API_KEY"

Get all operator-sets

curl -s "https://api.eigenexplorer.com/operator-sets?take=20" -H "x-api-token: $EIGEN_API_KEY"

Get operator-sets for a specific AVS

curl -s "https://api.eigenexplorer.com/avs/0xAVS_ADDRESS/operator-sets?take=20" -H "x-api-token: $EIGEN_API_KEY"

Response Format

Format results for the user with:

  • Bold operator names and abbreviated addresses
  • Total stakers count
  • TVL in human-readable form
  • Shares breakdown by strategy where relevant
  • Active vs inactive AVS registrations
  • Use bullet points, never tables in chat

Programmatic Usage

const DelegationAPI = require('eigen-agent-skills/skills/eigen-delegation/scripts/delegation-api');
const api = new DelegationAPI('YOUR_API_KEY');

const topDelegated = await api.getTopDelegatedOperators(10);
const topByTVL = await api.getTopOperatorsByTVL(10);
const opProfile = await api.getOperatorDelegation('0x...');
const stakerPos = await api.getStakerDelegation('0x...');