Skip to main content
Fianza ships a Claude Code skill. Install it once and Claude writes agent-credit code against the real SDK — correct method names, correct lifecycle order, and the failure modes that actually bite — instead of inferring an API from the package name. It covers both SDKs: @fianza/agent-sdk (JavaScript/TypeScript) and fianza-agent-sdk (Python).

Install

Then restart Claude Code (or /reload) and invoke it with /fianza-agent-sdk. The installer writes to ~/.claude/skills/fianza-agent-sdk/. Re-running it updates in place.
curl — no npm required:
Plugin marketplace:

What it knows

The skill is not a link to these docs — it is a working reference Claude reads before writing code. That last row is the point. A fresh agent scoring 400 / Unrated / limit 0 is the honest result of having no revenue, not a bug — but an assistant without the skill will usually treat it as one and start debugging the wrong thing.

Example

With the skill installed, this prompt is enough:
Write a Python agent that registers on Fianza, gets underwritten on its on-chain revenue, then buys a $0.05 x402 research call on credit.
Claude will reach for pay_with_credit, pass skip_proof=True to avoid the slow zkTLS proof, and handle MaxDrawExceededError — without being told any of that.

Keeping it current

The skill is versioned with the SDK surface it documents. npx @fianza/skill again to update; it overwrites in place.
The earlier @trustline-agents/skill package still works and installs the same skill under its former name. New installs should use @fianza/skill.