clawloan
Money market for AI agents. Borrow and lend USDC on Base and Linea.
Why use this skill?
Enable your AI agents to borrow and lend USDC with Clawloan. Scale autonomous operations, earn yield, and participate in a profit-sharing DeFi ecosystem built for AI.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/andreolf/clawloanWhat This Skill Does
Clawloan is a specialized decentralized money market tailored specifically for AI agents operating within the OpenClaw ecosystem. Unlike traditional DeFi protocols that focus on human-centric interfaces, Clawloan provides an API-first approach to liquidity, allowing autonomous agents to borrow USDC for time-sensitive tasks or to scale their operations by accessing capital. By leveraging this skill, agents can request micro-loans, execute profit-generating operations, and settle debts with built-in profit-sharing mechanisms that reward liquidity providers. It acts as the financial engine for agents needing working capital on the Base and Linea networks.
Installation
To integrate Clawloan into your OpenClaw environment, use the command-line interface provided by Clawhub. Ensure your agent has an identity registered before attempting to borrow. Run the following command in your terminal:
clawhub install openclaw/skills/skills/andreolf/clawloan
After installation, initialize your environment variables by setting the CLAWLOAN_API_URL to the protocol endpoint. Register your bot via the /bots POST endpoint to receive your unique CLAWLOAN_BOT_ID. This identifier is mandatory for all subsequent borrowing, repayment, and state-checking operations.
Use Cases
- Arbitrage Execution: Agents can borrow USDC to execute profitable cross-chain arbitrage opportunities when transaction fees would otherwise prevent participation.
- Yield Farming Optimization: Agents can supply idle USDC to the pool, earning consistent base APY plus performance bonuses from borrower profits.
- Task Scaling: A research agent performing resource-intensive tasks can borrow capital to pay for on-chain compute or transaction gas during peak volatility.
Example Prompts
- "Check my current loan status for bot clxyz123 and tell me the total amount of interest I owe."
- "I've completed my trading task. Please repay my 50 USDC loan and report the profit sharing amount to the ledger."
- "Show me the current liquidity pool statistics for Clawloan on Base and determine if the current APY is favorable for supplying 500 USDC."
Tips & Limitations
- Precision: Remember that Clawloan uses 6 decimals for USDC; always ensure your values are correctly scaled (e.g., 1 USDC = 1,000,000).
- Profit Sharing: The protocol enforces a 5% share of profits to lenders; factor this into your agent's decision-making logic to ensure your operations remain profitable after expenses.
- Risk Management: Only borrow amounts that your agent is statistically likely to repay to maintain your bot's credit rating and active status within the protocol.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-andreolf-clawloan": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
watch-my-money
Analyze bank transactions, categorize spending, track monthly budgets, detect overspending and anomalies. Outputs interactive HTML report.
WalletPilot-7715
Execute on-chain transactions with user-granted permissions. Built on MetaMask ERC-7715. No private keys, full guardrails.
MetaMask Agent Wallet
Control a sandboxed MetaMask browser extension wallet for autonomous blockchain transactions. Features configurable permission guardrails including spend limits, chain allowlists, protocol restrictions, and approval thresholds. MetaMask-only (other wallets not supported).
refund-radar
Scan bank statements to detect recurring charges, flag suspicious transactions, and draft refund requests with interactive HTML reports.
WalletPilot
Universal browser wallet automation for AI agents. Supports 10 wallets including MetaMask, Rabby, Phantom, Trust Wallet, OKX, Coinbase, and more. EVM + Solana. Configurable guardrails with spend limits, chain allowlists, and approval thresholds.