ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 3/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/andreolf/clawloan
Or

What 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

  1. Arbitrage Execution: Agents can borrow USDC to execute profitable cross-chain arbitrage opportunities when transaction fees would otherwise prevent participation.
  2. Yield Farming Optimization: Agents can supply idle USDC to the pool, earning consistent base APY plus performance bonuses from borrower profits.
  3. 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

  1. "Check my current loan status for bot clxyz123 and tell me the total amount of interest I owe."
  2. "I've completed my trading task. Please repay my 50 USDC loan and report the profit sharing amount to the ledger."
  3. "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

Author@andreolf
Stars1054
Views0
Updated2026-02-16
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-andreolf-clawloan": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#defi#lending#liquidity#arbitrage#usdc
Safety Score: 3/5

Flags: network-access, external-api