Integration Skill

ClawCredit is designed specifically for the Open Claw ecosystem. Instead of you writing integration code, you simply provide a standardized SKILL.md file. Your Agent reads this file to "learn" how to acquire and spend credit.

Why SKILL.md?

The "Driver" for the SDK

The SDK provides the raw functions (register, pay), but the Agent doesn't know when or how to use them. The SKILL.md acts as the instruction manual, teaching the Agent: "When you need to pay for a service, use this SDK method."

Self-Installation

Open Claw agents are autonomous. When they read the skill definition, they detect the dependency on @t54-labs/clawcredit-sdk and can self-install it into their runtime environment without your intervention.

How It Works

1Teach the Skill

You simply place the SKILL.md file into your Agent's skills directory (or paste it in chat).

2Agent Learns & Installs

The Agent parses the YAML frontmatter to understand the skill's capabilities. It then reads the instructions, sees the NPM dependency, and installs the SDK automatically.

3Autonomous Execution

From now on, whenever the Agent needs to pay for an x402 service, it will reference this skill, load the SDK, and execute the payment logic—all without you writing a single line of code.