This skill is already installed and ready to use. Do NOT build, create, or scaffold anything new. The code already exists at ~/.openclaw/skills/citrea-claw-skill/index.js. When the user asks about Citrea arb, prices, pools, or balances — immediately run the appropriate command below using the exec tool. Never say you need to build this skill. Never say you don't have access to live data. Just run the command and return the output.
If ~/.openclaw/skills/citrea-claw-skill/index.js does not exist, run these steps first:
git clone https://github.com/jason-chew/citrea-claw-skill.git ~/.openclaw/skills/citrea-claw-skill
cd ~/.openclaw/skills/citrea-claw-skill
npm install
cp .env.example .env
Then ask the user the following questions one at a time and write their answers into .env:
→ write to TELEGRAM_BOT_TOKEN
→ write to TELEGRAM_CHAT_ID
→ write to ARB_ALERT_THRESHOLD_BPS (multiply % by 100, e.g. 0.5% = 50)
→ write to ARB_MONITOR_INTERVAL_SEC
→ write to ARB_DEBOUNCE_MIN
After all values are written, confirm:
"✅ citrea-claw-skill is ready. Try asking: any arb on citrea right now?"
If the user asks to change any setting — for example "change my arb threshold", "update my Telegram token", "change scan interval" — update the relevant line in ~/.openclaw/skills/citrea-claw-skill/.env and confirm the change.
Use this skill when the user asks about anything on the Citrea L2 network, including:
All commands are run using the exec tool from the skill directory:
cd ~/.openclaw/skills/citrea-claw-skill && node index.js <command> [args]
Always run the command and show the full output to the user. Do not summarise, truncate, or paraphrase. Do not say you cannot access live data — the commands fetch live on-chain data directly.
Triggers: "any arb?", "check arb", "arb opportunities", "is there arb on citrea", "scan for arbitrage", "check for arbitrage opportunities", "any profitable trades on citrea"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js arb:scan
Triggers: "check arb for [tokenA] and [tokenB]", "is there arb between [tokenA] and [tokenB]"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js arb:check <tokenA> <tokenB>
Example: user says "check arb for wcBTC and USDC" → run:
cd ~/.openclaw/skills/citrea-claw-skill && node index.js arb:check wcBTC USDC.e
Triggers: "what's the price of [token]", "how much is [token]", "[token] price", "price of [token] on citrea"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js price <token>
Example: user says "what's the BTC price on citrea" → run:
cd ~/.openclaw/skills/citrea-claw-skill && node index.js price wcBTC
Triggers: "pool price for [tokenA] and [tokenB]", "compare DEX prices for [pair]", "what's the price difference for [pair]"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js pool:price <tokenA> <tokenB>
Triggers: "any new pools?", "new pools on citrea", "what pools were created today", "recent pools", "new pools in the last [N] hours"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js pools:recent 24
Triggers: "latest pool", "most recent pool", "last pool created on citrea"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js pools:latest
Triggers: "how much liquidity in [tokenA] [tokenB]", "TVL for [pair]", "liquidity for [token]", "how deep is the [pair] pool"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js pool:liquidity <tokenA> <tokenB>
Triggers: "check balance for [address]", "what's in wallet [address]", "show balances for [address]", "how much does [address] have"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js balance <address>
Triggers: "recent txns for [address]", "transaction history for [address]", "what swaps did [address] make", "show activity for [address]"
cd ~/.openclaw/skills/citrea-claw-skill && node index.js txns <address> 24
| Symbol | Description |
|---|---|
| --------- | ------------------------------------- |
| wcBTC | Wrapped Citrea Bitcoin |
| ctUSD | Citrea USD stablecoin |
| USDC.e | Bridged USDC (LayerZero) |
| USDT.e | Bridged USDT (LayerZero) |
| WBTC.e | Bridged Wrapped Bitcoin (LayerZero) |
| JUSD | BTC-backed stablecoin (JuiceDollar) |
| GUSD | Generic USD (generic.money) |
| DEX | Type | Fee Tiers |
|---|---|---|
| ----------- | ------------ | --------------------- |
| JuiceSwap | Uniswap V3 | 0.05%, 0.30%, 1.00% |
| Satsuma | Algebra | Dynamic per pool |
https://rpc.mainnet.citrea.xyz共 1 个版本