Agent skill
On-Chain Monitor
Monitor blockchain addresses and contracts for notable activity
Install this agent skill to your Project
npx add-skill https://github.com/aaronjmars/aeon/tree/main/skills/on-chain-monitor
SKILL.md
${var} — Address label or chain to check. If empty, checks all watched addresses.
If ${var} is set, only monitor the address with that label or on that chain.
Config
This skill reads watched addresses from memory/on-chain-watches.yml. If the file doesn't exist yet, create it or skip this skill.
# memory/on-chain-watches.yml
watches:
- label: My Wallet
address: "0x1234...abcd"
chain: ethereum
rpc_url: https://eth.llamarpc.com
type: wallet
threshold: 0.1 # ETH — alert on balance changes above this
- label: Uniswap Pool
address: "0xabcd...5678"
chain: ethereum
rpc_url: https://eth.llamarpc.com
type: contract
Read memory/MEMORY.md and memory/on-chain-watches.yml for context. Read the last 2 days of memory/logs/ to avoid duplicate alerts.
For each entry in on-chain-watches.yml:
- Query the RPC endpoint for recent activity:
bash
# Get latest block number BLOCK=$(curl -s -X POST "${rpc_url}" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' | jq -r '.result') # Get logs for watched address (last ~256 blocks) FROM_BLOCK=$(printf "0x%x" $(( 16#${BLOCK#0x} - 256 ))) curl -s -X POST "${rpc_url}" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getLogs","params":[{"fromBlock":"'"$FROM_BLOCK"'","toBlock":"latest","address":"'"$address"'"}],"id":1}' - For wallet watches, check recent transactions:
bash
curl -s -X POST "${rpc_url}" \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["'"$address"'","latest"],"id":1}' - Compare balances/events against previously logged values in memory/logs/
Flag as notable:
- Balance changes > threshold defined in on-chain-watches.yml
- Any event emission from watched contracts
- New token transfers to/from watched wallets
If anything notable is found:
- Send a concise alert via
./notify:*On-Chain Alert* [chain] address: event description - Log the finding with current values to memory/logs/${today}.md
If nothing notable, log "ON_CHAIN_OK" and end.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
Polymarket
Trending and top markets on Polymarket — volume, new markets, biggest movers
Daily Article
Research trending topics and write a publication-ready article
DeFi Monitor
Check pool health, positions, and yield rates for tracked protocols
Skill Evals
Evaluate skill output quality against assertion manifests — detects regressions before users notice
Monitor Polymarket
Monitor specific prediction markets for 24h price moves, volume changes, and fresh comments
Self Review
Weekly audit of what Aeon did, what failed, and what to improve
Didn't find tool you were looking for?