Index of every page on this site: llms.txt
All skills
circlefin avatar

/accept-agent-payments

@a045767
Run it yourself

Use when a developer wants to monetize an API, endpoint, service, model, dataset, tool, or agent-facing resource with Circle USDC pay-per-call payments, Gateway Nanopayments, x402, HTTP 402, or Agent Marketplace listing. Triggers on: charge agents, sell to agents, paid API, monetize endpoint, micropayments, nanopayments seller, x402 seller, accept USDC, service listing.

Use this Skill: https://skilld.dev/gh/circlefin/skills/accept-agent-payments

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesexpress-integration.md

≈221 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Express Integration (Circle Gateway Nanopayments)

Install dependencies

npm install @circle-fin/x402-batching @x402/core @x402/evm viem express

Express Gateway middleware

import express from "express";
import { createGatewayMiddleware } from "@circle-fin/x402-batching/server";

const app = express();
app.use(express.json());

const gateway = createGatewayMiddleware({
  sellerAddress: process.env.SELLER_ADDRESS!,
  facilitatorUrl: "https://gateway-api-testnet.circle.com",
});

app.post("/summarize", gateway.require("$0.01"), async (req, res) => {
  res.json({ summary: "paid result" });
});

Omitting facilitatorUrl selects mainnet (https://gateway-api.circle.com), which verifies and settles real USDC. Keep the testnet URL above for first integration; switch to the mainnet URL (or omit the field) only after the user approves mainnet.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    The skill is safe and demonstrates security best practices. It includes strong guidance on ignoring potentially malicious instructions embedded in external data, provides strict validation rules for shell command execution to prevent injection, and ensures that sensitive financial operations require manual user oversight.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 2 issues

Signed by skilld at a045767. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 6 days ago.

Activeupdated 3 weeks ago
What it can do
Reads files Edits files Runs commands
requirements
{
  "runtimes": [],
  "connectors": []
}
All 10 allowed tools
ReadGlobGrepEditWriteBash(npm view @circle-fin/x402-batching version)Bash(curl -s https://developers.circle.com/llms.txt)Bash(curl -s https://agents.circle.com/services)Bash(circle --version)Bash(command -v circle)

README badge

README badge for circlefin/skills/accept-agent-payments