citrea-claw-skill

A CLI tool and OpenClaw skill for monitoring the Citrea Bitcoin L2 ecosystem

1,864 stars

Best use case

citrea-claw-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

A CLI tool and OpenClaw skill for monitoring the Citrea Bitcoin L2 ecosystem

Teams using citrea-claw-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/citrea-claw-skill/SKILL.md --create-dirs "https://raw.githubusercontent.com/LeoYeAI/openclaw-master-skills/main/skills/citrea-claw-skill/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/citrea-claw-skill/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How citrea-claw-skill Compares

Feature / Agentcitrea-claw-skillStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

A CLI tool and OpenClaw skill for monitoring the Citrea Bitcoin L2 ecosystem

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# citrea-claw-skill

Monitor the Citrea Bitcoin L2 ecosystem. Track DEX pools, liquidity, arbitrage opportunities, token prices, and wallet balances — all sourced directly from Citrea mainnet with no third-party APIs.

## Commands

### balance
Check cBTC and token balances for a wallet address with USD values.
- **Usage:** `balance <address>`
- **Example:** `balance 0xYourAddress`

### price
Get the current USD price for a token from RedStone on-chain oracles.
- **Usage:** `price <token>`
- **Example:** `price wcBTC`
- **Tokens:** wcBTC, ctUSD, USDC.e, USDT.e, WBTC.e, JUSD

### pool:price
Show the implied price of a token pair from each DEX side by side, with oracle deviation.
- **Usage:** `pool:price <tokenA> <tokenB>`
- **Example:** `pool:price wcBTC USDC.e`

### pools:recent
List all new pools created in the last N hours across JuiceSwap and Satsuma.
- **Usage:** `pools:recent [hours]`
- **Example:** `pools:recent 24`

### pools:latest
Show the most recently created pool on each DEX.
- **Usage:** `pools:latest`

### pools:monitor
Watch for new pools in real time. Sends a Telegram alert whenever a new pool is created on any supported DEX.
- **Usage:** `pools:monitor`

### pool:liquidity
Show TVL and token reserves for a pool. Accepts a pool address, token pair, or single token.
- **Usage:** `pool:liquidity <poolAddr|tokenA tokenB|token>`
- **Examples:**
  - `pool:liquidity wcBTC USDC.e`
  - `pool:liquidity 0xPoolAddress`
  - `pool:liquidity wcBTC`

### arb:check
Check a specific token pair for arbitrage opportunities across JuiceSwap and Satsuma.
- **Usage:** `arb:check <tokenA> <tokenB>`
- **Example:** `arb:check wcBTC USDC.e`

### arb:scan
Scan all token pairs for arbitrage opportunities in a single pass. Shows price spread, estimated profit, gas cost, and net profit after fees.
- **Usage:** `arb:scan`

### arb:monitor
Continuously monitor all token pairs for arbitrage opportunities. Sends a Telegram alert when a profitable opportunity is detected above the configured threshold.
- **Usage:** `arb:monitor`

### txns
Show recent token transfer activity for a wallet address.
- **Usage:** `txns <address> [hours]`
- **Example:** `txns 0xYourAddress 24`

## Supported Tokens

| 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) |

## Supported DEXes

| DEX       | Type         | Fee Tiers              |
|-----------|--------------|------------------------|
| JuiceSwap | Uniswap V3   | 0.05%, 0.30%, 1.00%    |
| Satsuma   | Algebra      | Dynamic per pool       |

## Configuration

Set these in your `.env` file:

| Variable | Description | Default |
|----------|-------------|---------|
| `TELEGRAM_BOT_TOKEN` | Bot token from @BotFather | — |
| `TELEGRAM_CHAT_ID` | Your chat ID from @userinfobot | — |
| `ARB_ALERT_THRESHOLD_BPS` | Minimum profit to trigger arb alert (basis points) | 50 |
| `ARB_MONITOR_INTERVAL_SEC` | Seconds between arb scans | 15 |

## Notes

- All data sourced directly from Citrea mainnet — no third-party APIs
- Prices from RedStone push oracles deployed on Citrea
- Arb detection is indicative only — always verify on-chain before executing
- JuiceSwap JUSD pairs use svJUSD internally — handled transparently
- RPC: `https://rpc.mainnet.citrea.xyz`

Related Skills

twitter-openclaw

1864
from LeoYeAI/openclaw-master-skills

Interact with Twitter/X — read tweets, search, post, like, retweet, and manage your timeline.

swarmclaw

1864
from LeoYeAI/openclaw-master-skills

Manage your SwarmClaw agent fleet, create and assign tasks, check agent and session status, trigger workflows, and orchestrate multi-agent work from chat. Use when asked to dispatch work to other agents, check what agents are doing, run diagnostics, or coordinate across a SwarmClaw dashboard instance.

claw-sentinel

1864
from LeoYeAI/openclaw-master-skills

Runtime security layer for OpenClaw agents. Intercepts and scans all external input (emails, API responses, web content, chat messages, calendar events) for prompt injection, data exfiltration, credential leaks, and social engineering BEFORE the agent processes it. Also monitors agent output for secret leakage and suspicious command requests. Use when: your agent processes untrusted external data, you need automatic input sanitization, output monitoring to prevent data leaks, or multi-language injection detection (EN/RU/ZH/ES/AR).

openclaw-guardian

1864
from LeoYeAI/openclaw-master-skills

Deploy and manage a Guardian watchdog process for OpenClaw Gateway. Provides automated health monitoring, self-repair via `doctor --fix`, git-based workspace rollback, daily snapshots, and optional Discord alerting. Use when a user wants to harden their OpenClaw instance against crashes, config corruption, or bad workspace edits — or when setting up Guardian for the first time on a new server/container.

openclaw-backup

1864
from LeoYeAI/openclaw-master-skills

Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.

erpclaw

1864
from LeoYeAI/openclaw-master-skills

AI-native ERP system. Full accounting, invoicing, inventory, purchasing, tax, billing, HR, payroll, advanced accounting (ASC 606/842, intercompany, consolidation), and financial reporting in a single install. 365+ actions across 14 domains. Modular expansion via GitHub-hosted modules. Double-entry GL, immutable audit trail, US GAAP.

clawsec

1864
from LeoYeAI/openclaw-master-skills

You are now acting as the ClawSec Monitor assistant. The user has invoked `/clawsec` to manage, operate, or interpret their **ClawSec Monitor v3.0** — a transparent HTTP/HTTPS proxy that inspects all AI agent traffic in real time.

clawdhub

1864
from LeoYeAI/openclaw-master-skills

Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.

clawddocs

1864
from LeoYeAI/openclaw-master-skills

Clawdbot documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all Clawdbot features

adclaw

1864
from LeoYeAI/openclaw-master-skills

Ad creative search assistant. Results displayed via ad.h5.miaozhisheng.tech. Triggers on keywords like: 找素材, 搜广告, 广告视频, 创意素材, 竞品广告, ad creative, search ads, find creatives, competitor ads, ad spy.

openclaw-master-skills

1864
from LeoYeAI/openclaw-master-skills

A curated collection of 560+ best OpenClaw skills — AI tools, productivity, marketing, frontend, mobile, backend, DevOps and more. Weekly updated by MyClaw.ai — Powered by MyClaw.ai

youtube-watcher

1864
from LeoYeAI/openclaw-master-skills

Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.