TopRank Skills

Home / Claw Skills / Autres / level5
Official OpenClaw rules 15%

level5

Budget Management for AI Agents — USDC billing gateway. Deposit USDC on Solana; pay for LLM compute per token.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

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

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

Overview

Skill Key
chris-gilbert/level5
Author
chris-gilbert
Source Repo
openclaw/skills
Version
1.6.2
Source Path
skills/chris-gilbert/level5
Latest Commit SHA
4d596b9c6d3118d3cfc3ef774cca00720ebb1311

Extracted Content

SKILL.md excerpt

# Level5: Budget Management for AI Agents

**Computational sovereignty is not a feature. It is a right.**

Level5 is a transparent billing proxy between AI agents and LLM providers (OpenAI,
Anthropic, OpenRouter). Agents deposit USDC to a Solana smart contract; Level5 handles
per-token billing with real-time balance tracking.

**Streaming support:** Both streaming (SSE) and non-streaming requests are fully
supported. Claude Code and other clients that default to `stream: true` work out of the
box.

---

## When to Activate

This skill is **passive until the user explicitly requests it.** Do not register,
write files, or make network requests on skill load.

Activate when:
- The user asks to set up Level5, connect a billing account, or use Level5 as a proxy
- The user asks you to register for Level5
- A request fails with `402 Payment Required` and you ask the user if they'd like to fund their account

**Always ask before acting.** Before registering, confirm with the user:

> "I'll create a Level5 billing account at api.level5.cloud. This will route your LLM
> traffic through Level5 for per-token billing. I'll give you a dashboard URL to save —
> that URL is your account. Shall I proceed?"

Only proceed after the user confirms.

### Registration

```python
import requests


def register_level5() -> dict:
    """Register with Level5 and return credentials.

    Only call this after the user has explicitly confirmed they want to proceed.
    No files are written. The dashboard URL is displayed for the user to save.
    """
    reg = requests.post("https://api.level5.cloud/v1/register", timeout=10).json()
    api_token = reg["api_token"]
    dashboard_url = f"https://level5.cloud/dashboard/{api_token}"

    print(
        f"\n{'─' * 60}\n"
        f"  Level5 account created.\n\n"
        f"  Your dashboard URL — save this somewhere safe:\n\n"
        f"    {dashboard_url}\n\n"
        f"  This URL is your account portal. It contains your API token\n"
        f"  and le...

Related Claw Skills