subscription

Charge weekly capped USDC subscription fees via ERC-7710 relayer redemptions.

5|Updated May 2, 2026
One-click install
npx skills add https://github.com/nirholas/three-ui --skill subscription-nirholas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subscription
Source: https://github.com/nirholas/three-ui/tree/main/public/skills/subscription
Command: npx skills add https://github.com/nirholas/three-ui --skill subscription-nirholas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Subscription Skill removes the friction of setting up recurring USDC payments by letting a viewer subscribe once and then get charged automatically on a weekly schedule until they revoke or the delegation expires.

Core Features & Use Cases

  • One-time permissioned subscription: Opens a grant modal with a predefined scope (5 USDC/week cap, 90-day expiry) and requires only a single wallet approval.
  • Automatic weekly charging (server cron): Runs periodic charges server-side via a cron endpoint and redeems the delegated permission through an ERC-7710 relayer.
  • User-controlled pause on revoke/expiry or errors: Revocation or expiration flips the subscription to paused, and failed redemptions pause it while recording the last error for visibility in the Manage panel.
  • Use Case: An agent owner wants to monetize access to their 3D AI agent with small recurring payments, while keeping the viewer experience to a single approval flow.

Quick Start

Ask your AI agent: Subscribe me to the agent for weekly USDC payments with a 90-day delegation window.

Frequently Asked Questions about subscription

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up recurring USDC payments for an AI agent?

Recurring USDC payments are set up by granting a one-time delegated permission with a predefined scope, such as a 5 USDC weekly cap and 90-day expiry, which then automatically charges the viewer without repeated manual approvals.

How does ERC-7710 relayer delegation work for subscription billing?

ERC-7710 relayer delegation works by redeeming a user's previously granted permission server-side through a cron endpoint, constructing the correct ERC-20 transfer call to execute the weekly USDC charge automatically.

What happens to an active subscription if a recurring charge fails?

If a recurring charge fails, the subscription automatically pauses and records the last error for visibility in the Manage panel, ensuring no further charges are attempted until the issue is resolved.

Can I automatically pause agent billing when a viewer revokes their wallet permission?

Yes, when a viewer revokes their wallet permission or the delegation window expires, the subscription automatically flips to a paused state to immediately halt any further server-side billing attempts.

Do I need a server-side cron to process weekly ERC-20 subscription charges?

Yes, a server-side cron is required to process weekly ERC-20 subscription charges, executing the onPeriod endpoint to trigger the relayer-based redemption of the delegated permission on schedule.