agent-credit
Borrow from Aave via credit delegation. Agent self-funds by borrowing against delegator collateral. Supports borrow, repay, health checks. Works on Aave V2/V3.
npx skills add majiayu000/claude-skill-registry --skill agent-credit-aaronjmars-agent-credit-3 --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Aave Credit Delegation Borrow funds from Aave using delegated credit. Your main wallet supplies collateral and delegates borrowing power to the agent's wallet. The agent can then autonomously borrow tokens when needed — the debt accrues against the delegator's position. > **Protocol:** Works on **Aave V3** and **Aave V2** — the function signatures for credit delegation (`borrow`, `repay`, `approveDelegation`, `borrowAllowance`) are identical across both versions. Just swap in the V2 LendingPool and ProtocolDataProvider addresses. The only cosmetic difference: V3 returns collateral/debt in USD (8 decimals), V2 in ETH (18 decimals). The health factor safety check works correctly on both. ## Compatible With - **[OpenClaw](https://openclaw.ai/)** — Install as a skill, the agent borrows autonomously - **[Claude Code](https://www.npmjs.com/package/@anthropic-ai/claude-code)** — Run scripts directly from a Claude Code session - **Any agent framework** — Plain bash + Foundry's `cast`, works anywhere with a shell Combines with **[Bankr](https://bankr.bot/)** skills for borrow-then-swap flows: borrow USDC via delegation, then use Bankr to swap, bridge, or deploy it. ## How Credit Delegatio
- Compatible With
- How Credit Delegation Works
- Flow
- Quick Start
- Prerequisites
- Core Usage
- Check Status (allowance, health, debt)
- Borrow via Delegation
- Repay Debt
- Safety System
- Capabilities
- Read Operations (no gas needed)
- Write Operations (needs gas in agent wallet)
- Supported Chains
curl -L https://foundry.paradigm.xyz | bash && foundryup mkdir -p ~/.openclaw/skills/aave-delegation cat > ~/.openclaw/skills/aave-delegation/config.json << 'EOF' scripts/aave-setup.sh Full status report scripts/aave-status.sh Check specific asset delegation scripts/aave-status.sh USDC Just health factor scripts/aave-status.sh --health-only
What does the agent-credit skill do?
Borrow from Aave via credit delegation. Agent self-funds by borrowing against delegator collateral. Supports borrow, repay, health checks. Works on Aave V2/V3.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-credit-aaronjmars-agent-credit-3 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
