Skip to main content
ClaudeWave
Skill5.3k repo starsupdated 17d ago

altllm-portal-payments

Use this skill when the user asks to create a NOWPayments crypto payment link, poll payment status, or execute a supported direct wallet payment through the AltLLM Portal CLI. Do NOT use for wallet login, API key management, billing history, or x402 credit top-ups.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/internet-court/internet-court-skill /tmp/altllm-portal-payments && cp -r /tmp/altllm-portal-payments/vendored/altlayer/altllm-portal-payments ~/.claude/skills/altllm-portal-payments
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# AltLLM Portal Payments

NOWPayments payment-link creation, settlement polling, and direct wallet payment flows for the local `altllm` CLI.

These payment links are separate from AltLLM Portal x402 credit top-ups. Use `altllm-x402` for `/api/billing/x402/quote` and `/settle` flows.

## Shared Setup

> Before the first `altllm` command in a fresh checkout, read and follow:
> - `../_shared/preflight.md`
> - `../_shared/session-and-target.md`

## Command Index

| Command | Purpose |
|---|---|
| `topup-crypto` | Create a hosted or direct crypto payment link |
| `payment-status` | Inspect or poll an existing payment link |
| `pay-payment-link` | Send a direct on-chain payment for an existing link |

## Guardrails

- Unsupported `pay_currency` values must fail fast.
- `pay-payment-link` must not pay terminal links (`completed`, `expired`, `failed`, `deactivated`).
- Do not silently downgrade from direct payment to hosted checkout.
- `topup-crypto --discount-code <code>` is for discounted credit top-up invoices, not subscriptions.
- Discount-code top-ups should be previewed before payment-link creation so a single allowed token can be selected automatically.
- Token-scoped discount codes must respect Portal-returned `allowedPayCurrencies`.
- Payment command JSON should surface discount metadata returned by the Portal API.
- `pay-payment-link --wait` should emit one final JSON document.
- `payment-status` and `pay-payment-link` currently depend on the newest `100` records from `GET /api/billing/payment-links?limit=100`.
- Older payment links are not reachable from these CLI flows until the backend exposes per-link lookup or older-page pagination.
- Supported automatic direct-payment currencies are:
  - `eth`
  - `usdterc20`
  - `usdcerc20`
  - `usdcbase`
  - `usdtbase`

## Reference

See [references/cli-reference.md](references/cli-reference.md) for workflows and representative outputs.
internet-courtSkill

Entry point for Internet Court — the trust layer for agent-to-agent commerce. Use whenever an agent needs to transact with another agent or a paid service, or a user mentions agent payments, paid APIs (HTTP 402/x402), wallet custody or trust concerns, spending mandates, delegated permissions (ERC-7710/7715), escrow, agent identity or reputation (ERC-8004), negotiation between agents (A2A), agent jobs (ERC-8183), machine payments (MPP, AP2), supervision of agent behavior, revocation, verification, or dispute resolution (GenLayer) — even if they never say "Internet Court". Routes to the vendored protocol skills and connector skills in this package.

genlayer-erc7710-connectorSkill

Connect GenLayer Intelligent Contract decisions to ERC-7710-style delegated authority. Use when an agent needs to design the interface, message schema, relayer/bridge path, EVM revocation controller, constraint updates, proof/finality assumptions, and failure handling that turn a GenLayer agent-performance review into ERC-7710 revocation or policy changes.

genlayer-intelligent-contractsSkill

Internet Court adapter for GenLayer Intelligent Contract supervision. Use to specify agent-performance rubrics, evidence schemas, decision outputs, and ERC-7710 connector expectations, while delegating actual GenLayer contract writing, linting, testing, deployment, and CLI interaction to the official GenLayer skills at https://skills.genlayer.com/.

x402-erc7710Skill

Design and implement demos combining x402 HTTP payments with ERC-7710 smart contract delegations and ERC-7715 wallet permission requests for subscriptions, bounded agent budgets, recurring spend, pay-per-use APIs, and agentic commerce.

0g-computeSkill

0G Compute Network guide for decentralized AI inference, fine-tuning, and GPU services. Covers chatbots, image generation, speech-to-text, SDK integration (0g-serving-broker), processResponse API, broker.inference methods, CLI commands (0g-compute-cli), and account management. Use this skill for any 0G compute, 0G AI, or decentralized GPU question.

altllm-portal-api-keysSkill

Use this skill when the user asks to list, create, inspect, update, disable, re-enable, or revoke AltLLM Portal API keys for external agents or applications. Do NOT use for wallet login, billing history, or payment links.

altllm-portal-authSkill

Use this skill when the user asks to log in or out with a wallet session, fetch a wallet sign-in challenge, verify an externally signed challenge, or troubleshoot AltLLM Portal wallet login for the local altllm CLI. Do NOT use for API key management, billing history, or payment links.

altllm-portal-billingSkill

Use this skill when the user asks to inspect AltLLM Portal balance, redeem a promo code, review billing transactions, or view usage analytics by period, model, or API key using the local altllm CLI. Do NOT use for API key lifecycle management or payment-link execution.