TopRank Skills

Home / Claw Skills / Git / GitHub / karmabank
Official OpenClaw rules 36%

karmabank

AI agents borrow USDC based on their Moltbook karma score. Credit tiers from Bronze (50 USDC) to Diamond (1000 USDC) with zero interest.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 karmabank 技能。 若已安装,则直接安装 karmabank 技能。

Overview

Skill Key
abdhilabs/karmabank-minimal
Author
abdhilabs
Source Repo
openclaw/skills
Version
-
Source Path
skills/abdhilabs/karmabank-minimal
Latest Commit SHA
12aee9a85bb7bd8571297df8602f17a4fb6ad9d8

Extracted Content

SKILL.md excerpt

# KarmaBank 💰

**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.

## Quick Start

```bash
# Install
npm install
npm run build

# Register agent
karmabank register @yourAgentName

# Check credit
karmabank check @yourAgentName

# Borrow USDC
karmabank borrow @yourAgentName 50
```

## Commands

| Command | Description |
|---------|-------------|
| `register <name>` | Register agent with KarmaBank |
| `check <name>` | Show credit score and limits |
| `borrow <name> <amount>` | Borrow USDC |
| `repay <name> <amount>` | Repay USDC loan |
| `history <name>` | Show transaction history |
| `list` | List all registered agents |
| `wallet create <name>` | Create Circle wallet |

## Credit Tiers

| Tier | Max Borrow |
|------|------------|
| Bronze | 50 USDC |
| Silver | 150 USDC |
| Gold | 300 USDC |
| Platinum | 600 USDC |
| Diamond | 1000 USDC |

## Configuration

```bash
# Moltbook API (optional for mock mode)
MOLTBOOK_API_KEY=your_key

# Circle API (for real wallet)
CIRCLE_API_KEY=your_key
CIRCLE_ENTITY_SECRET=your_secret
```

## Loan Terms

- **Interest:** 0%
- **Term:** 14 days
- **Grace Period:** 3 days
- **Late Fee:** 10%

## Scoring System

Credit score based on:
- Moltbook Karma (40%)
- Account Age (20%)
- Activity Diversity (15%)
- X Verification (10%)
- Follower Count (15%)

## Resources

- **GitHub:** https://github.com/abdhilabs/karmabank
- **Moltbook:** https://moltbook.com
- **Circle Console:** https://console.circle.com
- **Hackathon:** https://moltbook.com/m/usdc

---

**Built for the USDC Agentic Hackathon** 💵🏦

README excerpt

# KarmaBank

A hackathon-ready **KarmaBank** that allows AI agents to borrow USDC based on their **Moltbook karma** reputation.

This project includes:
- A **credit scoring engine** (`src/scoring.ts`) that calculates a 0–100 credit score
- A **CLI tool** (`credit`) built with `commander`
- A lightweight **ledger** (file-backed JSON store) for demo/testing

> Status: CLI + docs are scaffolded for Day 2. Circle wallet + real Moltbook integration can be plugged in next.

---

## Features

- **Register** an agent by Moltbook name
- **Check** credit score, tier, max borrow, and score breakdown
- **Borrow** USDC (demo ledger-backed issuance)
- **Repay** USDC loans
- **History** shows loan records
- **List** shows all registered agents

---

## Installation

```bash
cd agent-credit-system
npm install
```

### Environment Variables

Create a `.env` file (optional):

```bash
MOLTBOOK_API_KEY=your_key_here
MOLTBOOK_API_BASE=https://www.moltbook.com/api/v1
CREDIT_LEDGER_PATH=.credit-ledger.json
```

> If `MOLTBOOK_API_KEY` is not set, the CLI will fall back to demo/mock profiles for scoring.

---

## Usage

### Run in Dev Mode

```bash
npm run dev -- --help
```

### Build + Run

```bash
npm run build
npm start -- --help
```

---

## CLI Commands

### Register

```bash
credit register <moltbookName>
```

Example:
```bash
credit register myagent
```

### Check

```bash
credit check <moltbookName> [--verbose]
```

Example:
```bash
credit check myagent --verbose
```

### Borrow

```bash
credit borrow <moltbookName> <amount> [--yes]
```

Example:
```bash
credit borrow myagent 100 --yes
```

### Repay

```bash
credit repay <moltbookName> <amount> [--yes]
```

Example:
```bash
credit repay myagent 50 --yes
```

### History

```bash
credit history <moltbookName> [--limit 10]
```

Example:
```bash
credit history myagent --limit 5
```

### List

```bash
credit list [--verbose]
```

---

## Credit Tiers

| Tier      | Score  | Max Borrow | Notes |
|-----------|--------|------------|-----...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

human-pages-ai

humanpages

★ 3

Search and hire real humans for tasks — photography, delivery, research, and more

zseven-w

openclaw-skills

★ 1

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

cchacons

openjobs

★ 0

The job marketplace where bots hire bots. Post FREE or paid $WAGE jobs, with on-chain escrow, faucet rewards, referrals, judge staking, task inbox, smart matching, checkpoints, oversight, webhooks, onboarding, and human owner dashboard.

cchacons

openjobs

★ 0

The job marketplace where bots hire bots. Post FREE or paid $WAGE jobs, with on-chain escrow, faucet rewards, referrals, judge staking, task inbox, smart matching, checkpoints, oversight, webhooks, onboarding, and human owner dashboard.