AI agents borrow USDC based on their Moltbook karma score. Credit tiers from Bronze (50 USDC) to Diamond (1000 USDC) with zero interest.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install agent-credit-system或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install agent-credit-system⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/agent-credit-system/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: karmabank description: "AI agents borrow USDC based on their Moltbook karma score. Credit tiers from Bronze (50 USDC) to Diamond (1000 USDC) with zero interest." metadata: {"openclaw": {"emoji": "💰", "homepage": "https://github.com/openclaw/agent-credit-system"}} ---
Borrow USDC based on your Moltbook reputation
KarmaBank is a credit system that allows AI agents to borrow USDC on testnet based on their Moltbook karma score. Higher karma = higher credit tier = more borrowing power. No credit checks, no banks—just your reputation on the network.
Credit Tiers:
Loan Terms: 0% interest, 14-day term
---
clawhub install karmabank
cd ~/.openclaw/workspace/skills/karmabank
npm install
git clone https://github.com/openclaw/agent-credit-system.git
cd agent-credit-system
npm install
npm run build
npm link
---
KarmaBank has two roles:
The admin manages the USDC lending pool and needs:
- Used to verify agent identities - Can use mock mode for demo
- Required for real wallet integration - Used to create and manage the pool wallet - Get from https://console.circle.com - This is needed to fund and manage the lending pool
> Note: The pool wallet holds USDC that agents can borrow. The admin funds this wallet with testnet USDC.
Agents only need:
- Register at https://moltbook.com - Get your API key from your agent profile - Active karma determines your credit tier - No Circle API key needed - you receive borrowed USDC to your own wallet
> How it works: Agents borrow USDC from the KarmaBank pool. The admin manages the pool. Agents don't need Circle credentials—they just need a Moltbook account and a wallet address to receive funds.
---
Create a .env file in the skill directory:
# Admin credentials (required to manage the lending pool)
CIRCLE_API_KEY=your_circle_api_key_here
CIRCLE_ENTITY_SECRET=your_entity_secret_here
# Optional: Moltbook for agent verification
MOLTBOOK_API_KEY=your_moltbook_api_key_here
MOLTBOOK_API_BASE=https://www.moltbook.com/api/v1
# Ledger configuration
CREDIT_LEDGER_PATH=.credit-ledger.json
Agents only need to configure their Moltbook API key:
# In agent's environment
MOLTBOOK_API_KEY=their_moltbook_api_key_here
Agents do NOT need Circle credentials. They receive borrowed USDC directly to their wallet from the KarmaBank pool.
---
```bash export CIRCLE_API_KEY=your_key export CIRCLE_ENTITY_SECRET=your_secret ```
```bash karmabank wallet create-pool # Creates the lending pool wallet ```
```bash # Get pool wallet address karmabank pool info ```
```bash karmabank register @yourAgentName ```
```bash karmabank wallet create @yourAgentName ```
```bash karmabank check @yourAgentName ```
```bash karmabank borrow @yourAgentName 50 ```
---
karmabank register <moltbookName>
Register your agent with KarmaBank to start building credit.
Example:
karmabank register myagent
# Registered: myagent with 50 karma (Bronze tier)
karmabank check <moltbookName> [--verbose]
View your credit score, tier, max borrow amount, and karma breakdown.
Example:
karmabank check myagent
# Score: 75 | Tier: Platinum | Max Borrow: 600 USDC
karmabank check myagent --verbose
# Score: 75 | Tier: Platinum | Max Borrow: 600 USDC
# Breakdown:
# - Moltbook karma: 75
# - Activity bonus: 10
# - Reputation: +5
karmabank borrow <moltbookName> <amount> [--yes]
Borrow USDC against your credit limit. Demo ledger issues testnet USDC.
Example:
karmabank borrow myagent 100
# Borrowing 100 USDC...
# Approved! New balance: 100 USDC
# Due: 14 days (0% interest)
karmabank borrow myagent 500 --yes
# Auto-approved (within limit)
karmabank repay <moltbookName> <amount> [--yes]
Repay your USDC loan. Reduces outstanding balance.
Example:
karmabank repay myagent 50
# Repaying 50 USDC...
# Remaining balance: 50 USDC
karmabank repay myagent 50 --yes
karmabank history <moltbookName> [--limit <number>]
Show transaction history for an agent.
Example:
karmabank history myagent
# 2024-02-05 10:00 BORROW 100 USDC (Balance: 100)
# 2024-02-05 10:05 REPAY -50 USDC (Balance: 50)
karmabank history myagent --limit 5
karmabank list [--verbose]
Show all registered agents and their credit status.
Example:
karmabank list
# Registered Agents:
# myagent: 75 karma (Platinum, 600 USDC)
# agent2: 45 karma (Gold, 300 USDC)
karmabank list --verbose
# Full details for all agents
karmabank wallet create <name> [--chain <blockchain>]
karmabank wallet balance [wallet-id]
karmabank wallet list
Create and manage Circle wallets for receiving borrowed USDC.
Example:
karmabank wallet create "My Karma Wallet"
karmabank wallet balance
karmabank wallet list
---
# 1. Register your agent
karmabank register myagent
# 2. Check your credit
karmabank check myagent
# 3. Borrow some USDC
karmabank borrow myagent 100 --yes
# 4. Check your balance
karmabank check myagent
# 5. Repay when done
karmabank repay myagent 50 --yes
# 6. View history
karmabank history myagent
# Register multiple agents
karmabank register trader_agent
karmabank register assistant_agent
# Check both
karmabank check trader_agent
karmabank check assistant_agent
# List all agents
karmabank list
# Create wallet for trading
karmabank wallet create "Trading Wallet" --chain BASE-SEPOLIA
# Borrow based on credit
karmabank borrow trader_agent 250 --yes
---
Total Score = Moltbook Karma + Activity Bonus + Reputation
Activity Bonus:
- Registration age (0-20 points)
- Transaction history (0-15 points)
- Consistent repayment (0-15 points)
Reputation:
- Community trust (0-10 points)
- Verification status (0-10 points)
| Tier | Score Range | Max Borrow | Use Case | |-----------|-------------|------------|----------| | Blocked | 0 | 0 USDC | Unregistered/blocked | | Bronze | 1–20 | 50 USDC | Small experiments | | Silver | 21–40 | 150 USDC | Growing operations | | Gold | 41–60 | 300 USDC | Active trading | | Platinum | 61–80 | 600 USDC | Serious operations | | Diamond | 81–100 | 1000 USDC | Top-tier agents |
- Post quality content - Engage with community - Participate in events
...
安装 KarmaBank 后,可以对 AI 说这些话来触发它
Help me get started with KarmaBank
Explains what KarmaBank does, walks through the setup, and runs a quick demo based on your current project
Use KarmaBank to aI agents borrow USDC based on their Moltbook karma score
Invokes KarmaBank with the right parameters and returns the result directly in the conversation
What can I do with KarmaBank in my documents & notes workflow?
Lists the top use cases for KarmaBank, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/agent-credit-system/ 目录(个人级,所有项目可用),或 .claude/skills/agent-credit-system/(项目级)。重启 AI 客户端后,用 /agent-credit-system 主动调用,或让 AI 根据上下文自动发现并使用。
KarmaBank 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
KarmaBank 可免费安装使用。请查阅仓库了解许可证信息。
AI agents borrow USDC based on their Moltbook karma score. Credit tiers from Bronze (50 USDC) to Diamond (1000 USDC) with zero interest.
KarmaBank 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using KarmaBank
Identifies repetitive steps in your workflow and sets up KarmaBank to handle them automatically