⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

arbilink

@astraea-sixth⭐ 0 stars

Arbitrum blockchain operations — check wallet balances, get live Uniswap V3 token prices, execute swaps, and register agent identity on Arbitrum. Use when: user asks about Arbitrum balances, token prices, DeFi swaps, or agent registration on-chain. Supports Arbitrum One (mainnet) and Arbitrum Sepolia (testnet).

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐ 0 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

ArbiLink

AI agents manage on-chain assets — but they can't detect honeypots, rugged pools, or sandwich attacks. ArbiLink is an OpenClaw skill that gives any AI agent a pre-swap risk scorecard, live Uniswap V3 prices, safe swap execution, and on-chain identity registration — all on Arbitrum.

Built for the Arbitrum Foundation Agentic Bounty.


Install (OpenClaw)

Send this to your OpenClaw agent:

"Please follow the SKILL.md at https://raw.githubusercontent.com/Astraea-Sixth/arbilink/main/SKILL.md and set up ArbiLink on this machine."

Your agent will clone the repo, install dependencies, and confirm when ready.

Manual install

git clone https://github.com/Astraea-Sixth/arbilink && cd arbilink
npm install
cp .env.example .env   # add your private key for swap/register

Architecture

┌─────────────────┐
│  OpenClaw Agent  │
└────────┬────────┘
         │  natural language → script execution
         ▼
┌─────────────────┐
│  ArbiLink Skill  │
│                  │
│  balance.ts ─────┼──▶  Arbitrum RPC (ETH/ERC20 balances)
│  portfolio.ts ───┼──▶  Arbitrum RPC + QuoterV2 (all balances + USD)
│  price.ts ───────┼──▶  Uniswap V3 QuoterV2 (live prices)
│  swap.ts ────────┼──▶  Uniswap V3 SwapRouter (execution)
│      │           │      ├─▶ GoPlus Security API (honeypot/tax detection)
│      │           │      └─▶ DEXScreener API (liquidity analysis)
│  watch.ts ───────┼──▶  GoPlus API (continuous risk monitoring)
│  gas.ts ─────────┼──▶  Arbitrum RPC (gas price + swap cost estimate)
│  history.ts ─────┼──▶  Arbiscan V2 API (transaction history)
│  register.ts ────┼──▶  Arbitrum Identity Registry (ERC-8004)
│  dashboard.ts ───┼──▶  localhost:3099 (transaction history UI)
└─────────────────┘

Real Output

Check balance

$ npx tsx scripts/balance.ts --network one
Address: 0xa6b18B26717bBd10A3Ae828052C8CA35Ef5EcB8b | Network: Arbitrum One | ETH: 0.00149

Live price (any token pair)

$ npx tsx scripts/price.ts --tokenIn 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1 \
    --tokenOut 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
WETH/USDC on Arbitrum One
  Pool: 0xC6962004f452bE9203591991D15f6b388e09E8D0
  Fee tier: 0.05%
  Price: 1 WETH = 2,041.97 USDC

Safe swap (dry run)

$ npx tsx scripts/swap.ts --amount 0.001 --network one --dry-run
Estimated output: 2.041987 USDC

--- DRY RUN ---
Swap: 0.001 WETH -> USDC
Network: Arbitrum One
Amount in: 0.001 WETH
Min output: 2.021568 USDC
Slippage: 1%
Fee tier: 0.05%

Honeypot blocked by risk scorecard

$ npx tsx scripts/swap.ts --amount 0.1 --tokenOut 0xDEAD...SCAM --network one --dry-run

--- Risk Scorecard: SCAM ---
Score: 2/10 🔴 DANGER

Passed:
  ✅ Listed on DEX

Warnings:
  ⚠️  HONEYPOT — cannot sell after buying
  ⚠️  Sell tax: 99.0%
  ⚠️  Contract is not open source
  ⚠️  LP not locked
  ⚠️  Creator holds 45.2%
  ⚠️  Low holder count: 47
  ⚠️  Low DEX liquidity: $8,400

Risk score too low (2/10). Use --force to override.

Agent registration (ERC-8004)

$ npx tsx scripts/register.ts --name "Astraea" --description "OpenClaw AI agent"
Registering agent on Arbitrum Sepolia...
Tx submitted: 0xacca222f9748479b7e05fb1491f542b1ffe20d12805f3f6cc5be09e4bf08e17e

--- Registration Complete ---
Tx hash: 0xacca222f...
Gas used: 338830
Block: 255910945
Agent ID (token): 50

Portfolio overview

$ npx tsx scripts/portfolio.ts --network one

Portfolio for 0xa6b1...cB8b on Arbitrum One
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Token              Balance         Price         Value
  ──────────────────────────────────────────────────────
  ETH               0.001494      $2,042.71        $3.05
  USDC                  2.04         $1.00          $2.04
  ──────────────────────────────────────────────────────
  TOTAL                                            $5.09
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Multi-token price table

$ npx tsx scripts/price.ts --tokens WETH,ARB

Token Prices on Arbitrum One (vs USDC)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Token              Price (USD)         Fee
  ──────────────────────────────────────────
  WETH               $2,042.8338       0.05%
  ARB                    $0.0909       0.05%
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Gas price check

$ npx tsx scripts/gas.ts --network one

Gas Report — Arbitrum One
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Gas price:    0.0200 gwei
  Swap cost:    0.000003 ETH (est. 150000 gas)
  ETH price:    $2,041.69
  Swap cost:    $0.0061 USD

  Recommendation: LOW — great time to swap
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Token risk scan

$ npx tsx scripts/scan.ts 0x912CE59144191C1204E64559FE8253a0e49E6548

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 TOKEN SCAN — ARB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 Name:         Arbitrum (ARB)
 Address:      0x912CE59144191C1204E64559FE8253a0e49E6548
 Network:      Arbitrum One
 Total supply: 10,000,000,000
 Price:        $0.091368
 Liquidity:    $221,823
 24h volume:   $14,200,000

 Risk Score:   9/10  ✅ SAFE

 Passed:
   ✅ Not a honeypot
   ✅ Buy tax: 0.0%
   ✅ Sell tax: 0.0%
   ✅ Contract is verified / open source
   ✅ Creator holds 0.0%
   ✅ No other potential risks flagged
   ✅ Holder count: 1,205,000
   ✅ DEX liquidity: $221,823

 Verdict:      ✅ SAFE — Token passes most security checks.
 Explorer:     https://arbiscan.io/token/0x912CE...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

On-Chain Proof

ActionTX HashNetworkLink
Agent Registration0xacca222f...e17eArbitrum SepoliaView on Arbiscan
WETH → USDC Swap0xc971bcc6...b02aArbitrum OneView on Arbiscan

Scripts

ScriptPurposeNetworkRequires Key
balance.tsETH / ERC20 balance checkBothNo
portfolio.tsAll token balances + USD valuesBothNo
price.tsLive Uniswap V3 price (single pair or --tokens table)BothNo
gas.tsCurrent gas price + swap cost estimate in USDBothNo
scan.tsStandalone token risk scanner (GoPlus + DEXScreener)BothNo
swap.tsToken swap with risk scorecard + security checksBothYes
watch.tsContinuous token risk monitoring with alertsBothNo
history.tsTransaction history from Arbiscan V2 APIBothArbiscan key
register.tsOn-chain agent identity (ERC-8004)SepoliaYes
dashboard.tsTransaction history web UI (localhost:3099)N/ANo

Key flags (swap.ts)

FlagPurpose
--network one|sepoliaTarget network (default: sepolia)
--fee 500|3000|10000Uniswap fee tier
--slippage NMax slippage % (default: 1, cap: 50)
--dry-runEstimate only, no execution
--testnetZero slippage protection (for broken testnet pools)
--forceOverride risk scorecard blocks
--max-amount NMax swap size in token units (default: 1)
--confirm-largeOverride max amount cap

Config

All addresses, RPCs, and contract references live in config/networks.json — zero hardcoded values in scripts.

config/
  networks.json      # Addresses, RPCs, tokens for each network
  loadConfig.ts      # Typed config loader

Security

  • Private key loaded from .env (gitignored) — never in the repo
  • Pre-swap risk scorecard via GoPlus + DEXScreener (blocks score < 5 unless --force)
  • Slippage enforcement with BigInt math (amountOutMinimum = quote * (1 - slippage/100))
  • Balance + gas pre-check with clear error

// HOW IT'S BUILT

KEY FILES

SKILL.mdREADME.md

// REPO STATS

0 stars