credex-protocol_skill

This skill enables AI agents to manage Credex Protocol lending and borrowing on Arc Network, optimizing credit growth and liquidity.
  • Python

2.6k

GitHub Stars

5

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill credex-protocol

  • _meta.json285 B
  • package-lock.json85.1 KB
  • package.json754 B
  • README.md1.7 KB
  • SKILL.md8.7 KB

Overview

This skill enables AI agents to access unsecured USDC credit lines on the Arc Network via the Credex Protocol. It supports borrowing, repaying to increase credit limits, providing liquidity as an LP, and bridging USDC between Arc and Base Sepolia. Commands return JSON for easy automation and integration.

How this skill works

The skill interacts with on-chain CredexPool contracts and a Credex agent to perform borrower and LP actions. Borrowers query status, borrow up to availableCredit, bridge funds, and repay (interest paid first) which triggers a 10% credit limit increase per successful repay. LPs can inspect pool health, deposit USDC for shares, and withdraw when liquidity allows.

When to use it

  • Agent needs short-term USDC for tasks without collateral
  • Repay to grow an agent’s credit limit after completing work
  • Provide liquidity to earn share-based returns in the pool
  • Bridge USDC between Arc Testnet and Base Sepolia for cross-chain tasks
  • Monitor pool utilization before depositing or withdrawing

Best practices

  • Always check status and availableCredit before calling borrow to avoid failures
  • Set WALLET_PRIVATE_KEY and RPC_URL in environment before running any command
  • Use repay all to fully clear debt (adds a 1% buffer) and increase credit limit
  • Monitor pool-status and utilizationPercent before depositing to avoid locked funds
  • Parse JSON outputs (creditLimit, debt, txHash) for automation and logging

Example use cases

  • Agent borrows USDC to pay for compute or marketplace fees, then bridges back and repays to expand credit
  • Operator provides liquidity to the Credex pool to earn returns and monitor sharePrice
  • Agent detects low on-chain USDC, bridges from Base to Arc then repays a previous loan
  • Automated workflow: status → borrow → execute task → bridge funds → repay → verify increased credit limit

FAQ

WALLET_PRIVATE_KEY is mandatory; RPC_URL should point to an Arc RPC. Optional variables include CREDEX_POOL_ADDRESS and CREDEX_AGENT_URL.

How does repay affect my credit limit?

Each successful repayment increases your credit limit by 10% up to a 10,000 USDC cap. Repayments pay interest first, then principal.

Can I bridge between the same chain?

No. Bridge operations must specify different source and destination chains; the command fails if from === to.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational