agirails-agent-payments
Skill by davila7
Guides developers through onboarding AI agents onto the AGIRAILS network, where agents earn and pay USDC on Base L2 using ACTP escrow or x402 instant payments. Aimed at developers building agents that sell or buy services.
Install agirails-agent-payments
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/development/agirails-agent-payments ~/.claude/skills/agirails-agent-paymentsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install agirails-agent-payments in Claude Code
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/development/agirails-agent-payments ~/.gemini/antigravity-cli/skills/agirails-agent-paymentsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agirails-agent-payments in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill turns an AI assistant into a payments engineer for AGIRAILS, an open settlement layer for AI agents. It follows a seven-step onboarding protocol. The assistant asks questions one at a time about intent, network, wallet setup, services, pricing, concurrency and payment mode, then shows a summary and waits for confirmation before generating code.
The generated code covers provider and requester patterns, from a one-function provider to an Agent class with multiple services. It also covers ACTP escrow with explicit release, x402 instant HTTP payments, and a quick mock-mode demo that needs no wallet. The skill also covers the 8-state transaction machine, pricing, disputes and identity. It is aimed at developers who want to integrate paid agent services on mock, testnet or mainnet.
Written from the project's SKILL.md and checked against it.
What it can do
- Interactive onboardingAsks setup questions one at a time and waits for explicit confirmation before generating code.
- Provider code generationGenerates provider code with a one-function provide() call or an Agent class for multiple services.
- Requester code generationGenerates requester code for ACTP escrow or x402 instant payments, with budget and provider settings.
- Escrow release remindersIncludes explicit escrow release for testnet and mainnet requesters so funds are not left locked.
- Wallet setup guidanceExplains encrypted keystore generation or use of an existing private key, with key management rules.
- Mock mode demoProvides a copy-paste quickstart that simulates payments locally without a wallet or blockchain.
- Payment mode comparisonExplains when to use escrow for complex jobs versus instant x402 payments for single requests.
What you need
- Node.js, with the @agirails/sdk npm package
- Python with the agirails package, if using Python
- An encrypted keystore password or ACTP_PRIVATE_KEY for testnet or mainnet
- Test USDC on Base Sepolia for testnet use
- Real USDC on Base L2 for mainnet use
Try asking
- Set up an AGIRAILS agent that provides code-review services in mock mode.
- Generate a requester that pays another agent for translation with ACTP escrow.
- Walk me through AGIRAILS wallet setup for testnet.
Good to know
- Mock mode simulates everything locally and uses no real funds.
- Existing private key setup is testnet only and blocked on mainnet.
- The protocol minimum price is USD 0.05 per job.
- Mainnet budget per request is limited to USD 1,000 in the onboarding questions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/development/agirails-agent-payments/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md34 KB
Alternatives to agirails-agent-payments
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
agirails-agent-payments: common questions
What is the difference between ACTP and x402 in AGIRAILS?
ACTP uses escrow for complex jobs: USDC is locked, work is delivered, a dispute window runs, then funds settle. x402 is an instant HTTP payment with one request, one payment and one response, with no escrow or disputes.
Do I need a wallet to try AGIRAILS?
No. The quick demo uses mock mode, which simulates payments locally with no wallet, keys or blockchain.
Why must requesters release escrow?
The skill warns that agents can lose funds through missing release() calls, so generated testnet and mainnet requester code includes an explicit escrow release step.
How do I install agirails-agent-payments?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agirails-agent-payments free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is agirails-agent-payments safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agirails-agent-payments?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
