Skills clankerkit
Autonomous wallet operations for AI agents on Monad — swap, stake, deploy wallets, trade memecoins, and manage spending policies via natural language.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/0xsoydev/clankerkit" ~/.claude/skills/clawdbot-skills-clankerkit && rm -rf "$T"
skills/0xsoydev/clankerkit/SKILL.mdClankerKit - Autonomous Wallet for AI Agents on Monad
ClankerKit gives your AI agent autonomous financial capabilities on Monad blockchain. Deploy a smart contract wallet, set spending policies, swap tokens via Kuru DEX, stake MON, trade memecoins with strategies, and execute cross-chain swaps.
Quick Start
# Install the skill claw skill install clankerkit
Environment Variables
| Variable | Required | Description |
|---|---|---|
| Yes | Deployed AgentWallet contract address |
| Yes | Deployed PolicyEngine contract address |
| Yes | Agent's private key (with 0x prefix) |
| Yes | Human owner address |
| No | Monad RPC URL (default: testnet) |
| No | or (default: testnet) |
| No | 0x Swap API key (only for ) |
Tools (32 total)
Wallet Management
get_wallet_info
get_wallet_infoGet wallet address, owner, agent, MON balance, and policy state.
get_token_balance
get_token_balanceGet ERC-20 token balance of the agent wallet.
- token: Token symbol (WMON, USDC, CHOG, DAK, YAKI) or contract address
send_tokens
send_tokensSend native MON tokens from the wallet.
- to: Recipient address
- amount: Amount in human-readable form (e.g. "0.5")
send_token
send_tokenSend ERC-20 tokens from the wallet.
- token: Token contract address
- to: Recipient address
- amount: Amount in human-readable form
execute_transaction
execute_transactionExecute an arbitrary contract call via the wallet.
- target: Target contract address
- value: Native MON to send (wei, default "0")
- data: Encoded calldata (hex)
ensure_gas
ensure_gasEnsure the agent EOA has enough MON for gas fees. If the EOA balance is below the minimum threshold, automatically sends MON from the AgentWallet contract to the EOA. Users only need to fund the wallet contract — the agent tops up its own gas from there.
- minBalance: Minimum acceptable EOA balance in MON (human-readable, default "0.01")
- topUpAmount: Amount of MON to send to EOA if below minimum (human-readable, default "0.05")
Policy & Security
get_policy
get_policyView current spending limits (daily/weekly), usage, and allowlists.
create_policy
create_policyCreate a spending policy. Must be called once before guarded transactions work.
- dailyLimit: Max MON per day (human-readable, e.g. "1.0")
- weeklyLimit: Max MON per week (defaults to 7x daily)
- allowedTokens: Optional ERC-20 address allowlist
- allowedContracts: Optional contract address allowlist
- requireApprovalAbove: MON threshold for owner approval
update_daily_limit
update_daily_limitUpdate the daily spending limit.
- newLimit: New limit in human-readable MON
Token Swaps (Kuru DEX)
swap_tokens
swap_tokensSwap tokens on Monad via Kuru Flow aggregator. Accepts symbols (MON, USDC, WMON, CHOG, DAK, AUSD, WETH, WBTC) or contract addresses.
- tokenIn: Source token (symbol or address)
- tokenOut: Destination token (symbol or address)
- amount: Human-readable amount (e.g. "0.01")
- slippage: Slippage in bps (default: 50 = 0.5%)
get_swap_quote
get_swap_quoteGet a swap quote without executing.
- tokenIn, tokenOut, amount: Same as
swap_tokens
Staking
stake_mon
stake_monStake MON with a validator to earn rewards.
- amount: MON to stake (human-readable)
- validatorId: Validator ID (optional, uses default)
unstake_mon
unstake_monBegin unstaking MON from a validator.
- amount: MON to unstake (human-readable)
- validatorId: Validator ID (optional)
- withdrawId: Withdrawal ID (default: 0)
withdraw_stake
withdraw_stakeWithdraw unstaked MON after the 1-epoch delay.
- validatorId, withdrawId: Optional
claim_staking_rewards
claim_staking_rewardsClaim accumulated staking rewards.
- validatorId: Optional
compound_rewards
compound_rewardsRe-stake accumulated rewards.
- validatorId: Optional
get_staking_info
get_staking_infoGet delegation info (staked amount, unclaimed rewards).
- validatorId: Optional
Kuru CLOB Orderbook Trading
get_kuru_markets
get_kuru_marketsList known Kuru CLOB orderbook markets on Monad mainnet.
get_order_book
get_order_bookFetch live L2 order book (bids/asks) for a Kuru CLOB market.
- marketAddress: Orderbook contract address
get_market_price
get_market_priceGet best bid, ask, and mid price for a Kuru CLOB market.
- marketAddress: Orderbook contract address
kuru_market_order
kuru_market_orderPlace a market (IOC) order on a Kuru CLOB market. Agent EOA must hold tokens.
- marketAddress: Orderbook contract address
- amount: Human-readable float
- isBuy: true for buy, false for sell
- minAmountOut: Minimum output (default: 0)
- slippageBps: Slippage in bps (default: 100)
kuru_limit_order
kuru_limit_orderPlace a limit (GTC) order on a Kuru CLOB market.
- marketAddress: Orderbook contract address
- price: Price in quote asset (float)
- size: Size in base asset (float)
- isBuy: true for bid, false for ask
- postOnly: Reject if it crosses spread (default: false)
cancel_kuru_orders
cancel_kuru_ordersCancel open orders on a Kuru CLOB market.
- marketAddress: Orderbook contract address
- orderIds: Array of order ID strings
Memecoin Trading
get_meme_tokens
get_meme_tokensGet live price metrics for all known Monad memecoins (DAK, CHOG, YAKI). Uses CLOB orderbooks with Kuru Flow fallback.
get_token_price
get_token_priceGet live price for a specific token by symbol or contract address.
- token: Symbol (DAK, CHOG, YAKI) or contract address
smart_trade
smart_tradeEvaluate or execute an autonomous trading strategy.
- token: Token symbol
- strategyType:
,dca
,momentum
, orscalphodl - budgetMon: Total budget in MON
- stopLoss: Stop-loss fraction (default: 0.1 = -10%)
- takeProfit: Take-profit fraction (default: 0.3 = +30%)
- dcaIntervals: Number of DCA buys (default: 5)
- momentumThreshold: Min 24h change for momentum (default: 0.05)
- autoExecute: Execute trades or dry-run (default: false)
Cross-Chain Swaps
kyber_swap
kyber_swapSwap on Ethereum/Polygon/Arbitrum/Optimism/Base/BSC/Avalanche via KyberSwap. No API key needed. Uses agent EOA (not wallet contract).
- chain: Target chain name
- tokenIn, tokenOut: Token addresses on target chain
- amountIn: Amount in smallest unit (wei)
- slippageBps: Slippage (default: 50)
- recipient: Recipient address (default: agent EOA)
zerox_swap
zerox_swapSwap via 0x Swap API v2. Requires
ZEROX_API_KEY.
- chain, tokenIn, tokenOut, amountIn, slippageBps: Same as
kyber_swap
Payments & Identity
pay_for_service
pay_for_servicePay for an x402-enabled API endpoint.
- endpoint: API endpoint URL
- amount: Payment in USDC
register_agent
register_agentRegister on ERC-8004 identity registry.
- name: Agent name
- description: Agent description
Deployment
deploy_policy_engine
deploy_policy_engineDeploy a new PolicyEngine contract. The deployer becomes the owner. No parameters needed.
deploy_agent_wallet
deploy_agent_walletDeploy a new AgentWallet contract. Optionally deploys PolicyEngine too.
- owner: Address that owns the wallet
- agent: Agent EOA address allowed to call execute()
- policyEngine: Optional existing PolicyEngine address
Security Features
- Spending Limits: Daily and weekly caps on agent spending
- Token Allowlists: Restrict which tokens the agent can transfer
- Contract Whitelists: Only allow calls to approved contracts
- Approval Thresholds: Require human approval above certain amounts
- Emergency Controls: Owner can pause or withdraw funds anytime
- Access Control: PolicyEngine recordExecution() only callable by the wallet contract
Example Session
User: Check my gas and fund up if needed Agent: [calls ensure_gas] EOA already has sufficient gas balance. EOA: 0.221 MON, Wallet: 0.075 MON. User: Set a daily limit of 2 MON Agent: [calls create_policy with dailyLimit="2.0"] Policy created: 2 MON daily, 14 MON weekly. User: Swap 0.1 MON for CHOG Agent: [calls swap_tokens with tokenIn="MON", tokenOut="CHOG", amount="0.1"] Swapped 0.1 MON -> 2.71 CHOG via Kuru Flow. User: What's my portfolio? Agent: [calls get_wallet_info, get_meme_tokens, get_staking_info] Wallet: 1.9 MON CHOG: 2.71 (worth ~0.1 MON) Staked: 0.5 MON with validator #1
License
MIT