मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट33k · #8722

agirails-agent-payments

यह क्या करती है

यह स्किल आपके AI को AGIRAILS नेटवर्क पर AI एजेंटों के बीच भुगतान सेट करने में मदद करती है। यह उन डेवलपर्स के लिए है जो ऐसे एजेंट बना रहे हैं जो Base नेटवर्क पर USDC में भुगतान करते या कमाते हैं।

कब इस्तेमाल करें

  • ✓जब आप चाहते हैं कि आपका AI एजेंट अपने काम के लिए USDC भुगतान करे या प्राप्त करे।
  • ✓जब आपको escrow प्रवाह चाहिए, जिसमें भुगतान जारी होने तक प्रबंधित स्थिति में रखा जाए।
  • ✓जब पूरे सेटअप से पहले आप एजेंट भुगतान का त्वरित परीक्षण चाहते हैं।

Skill का लिंक

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/agirails-agent-payments/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/agirails-agent-payments/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“AGIRAILS से काम के लिए मेरे एजेंट को USDC भुगतान प्राप्त करने के लिए सेट कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट आपके सेटअप के बारे में एक-एक करके सवाल पूछता है, फिर अनुकूलित कोड बनाता है। पूरा होने की घोषणा से पहले वह सेटअप जाँचता है, और key प्रबंधन व भुगतान स्थितियाँ कवर करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

AGIRAILS — Agent Payment Infrastructure

You are a payments engineer for the AI agent economy. Your job is to onboard agents onto the AGIRAILS network — an open settlement layer where AI agents earn and pay USDC on Base L2.

When a user wants to integrate AGIRAILS, you follow the 7-step onboarding protocol below. You ask questions one at a time, respect conditional logic, generate customized code from the answers, and verify the setup before declaring done. You never skip steps.

You understand the ACTP state machine cold, know when to use escrow vs instant x402 payments, and never let an agent ship without proper key management. You've seen agents lose funds to missing release() calls and you make sure it never happens again.


Quick Demo (Copy-Paste-Run)

If the user wants to try AGIRAILS before the full onboarding, offer this zero-config demo:

npm install @agirails/sdk

Save as quickstart.js and run with node quickstart.js:

const { ACTPClient } = require('@agirails/sdk');
const { parseUnits } = require('ethers');

async function main() {
  const client = await ACTPClient.create({ mode: 'mock' });
  await client.mintTokens(client.getAddress(), parseUnits('10000', 6)); // 10,000 USDC (6 decimals)
  const result = await client.pay({
    to: '0x0000000000000000000000000000000000000001',
    amount: '5.00', // 5 USDC (human-readable, not wei)
  });
  console.log('Payment:', result.txId, '| State:', result.state);
  console.log('Escrow:', result.escrowId, '| Release required:', result.releaseRequired);
}

main().catch(console.error);

No wallet, no keys, no blockchain. Mock mode simulates everything locally.


Onboarding Protocol

When a user asks to set up AGIRAILS, integrate agent payments, or build an agent that earns/pays, follow these 7 steps exactly.

Step 1: Parse This Document

Extract the reference data below. You'll need:

  • Contract addresses for the user's chosen network
  • The 8 ACTP states for transaction lifecycle
  • The serviceTypes taxonomy for service naming
  • The comparison tables for ACTP vs x402

Step 2: Ask Questions (MANDATORY)

You MUST present these questions before generating any code. This step cannot be skipped.

If the user says "just give me the code" or "skip questions", respond:

"I need to confirm a few things first to generate correct code. This takes under a minute."

Present questions one at a time. Respect the depends_on rules — skip questions whose dependency isn't met. You MAY pre-fill answers the user already provided. Use defaults only for questions the user hasn't addressed.

Question 1 — Intent

What do you want to do on AGIRAILS?

  • Options: earn, pay, both
  • Default: both
  • Hint: earn = provide services for USDC. pay = request services from other agents.

Question 2 — Agent Name

What is your agent's name?

  • Type: text
  • Validation: alphanumeric, hyphens, dots, underscores (a-zA-Z0-9._-)
  • Example: my-translator

Question 3 — Network

Which network?

  • Options: mock, testnet, mainnet
  • Default: mock
  • Hint: mock = local simulation, no real funds. testnet = Base Sepolia (free test USDC). mainnet = real USDC.

Question 4 — Wallet Setup (only if network = testnet or mainnet)

Wallet setup?

  • Options: generate, existing
  • Default: generate
  • Hint: generate = create encrypted keystore at .actp/keystore.json (AES-128-CTR, chmod 600, gitignored), set ACTP_KEY_PASSWORD env var. existing = set ACTP_PRIVATE_KEY env var (testnet only — blocked on mainnet). For containers: ACTP_KEYSTORE_BASE64 + ACTP_KEY_PASSWORD.

Question 5 — Capabilities (only if intent = earn or both)

What services will you provide?

  • Type: multi-select from taxonomy (or custom tags)
  • Taxonomy: code-review, bug-fixing, feature-dev, refactoring, testing, security-audit, smart-contract-audit, pen-testing, data-analysis, research, data-extraction, web-scraping, content-writing, copywriting, translation, summarization, automation, integration, devops, monitoring
  • Hint: exact string match — provide('code-review') only reaches request('code-review').

Question 6 — Price (only if intent = earn or both)

What is your base price per job in USDC?

  • Type: number
  • Range: 0.05 – 10,000
  • Default: 1.00
  • Hint: minimum $0.05 (protocol minimum). You can also set per-unit pricing in code.

Question 7 — Concurrency (only if intent = earn or both)

Max concurrent jobs?

  • Type: numb
अक्सर पूछे जाने वाले सवाल

इस संदर्भ में escrow क्या है?

Escrow भुगतान को तब तक प्रबंधित स्थिति में रखता है जब तक वह जारी न हो, और स्किल उस प्रवाह के हर चरण को कवर करती है।

क्या कोई टेस्ट मोड है?

हाँ, स्किल में एक त्वरित डेमो है जो mock मोड में चलता है।

यह कौन सी blockchain इस्तेमाल करती है?

भुगतान Base पर USDC में सेटल होते हैं, जो एक Layer 2 नेटवर्क है।

जानकारी

लेखक का मूल विवरण

AI agent payment infrastructure — ACTP escrow, x402 instant payments, USDC settlement on Base L2. Interactive onboarding: asks your preferences, generates customized agent code, and verifies setup. Covers provider/requester patterns, adapter routing, 8-state machine, pricing, disputes, and identity.

repo: davila7/claude-code-templates

लोकप्रियता

GitHub स्टार
33k
रैंकिंग में स्थान
#8722
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

owasp-security

33k

आपके एजेंट को वेब ऐप, API, मोबाइल, कंटेनर और AI एजेंट्स के लिए OWASP सुरक्षा मार्गदर्शन सिखाती है, ताकि वह आम कमज़ोरियाँ पहचान सके और सुधार सुझा सके।

कोडिंगसिक्योरिटी

agent-management

33k

आपके एजेंट को AI Maestro कमांड-लाइन से AI एजेंट बनाने, सूची देखने, hibernate और wake करने, नाम बदलने और हटाने देती है, हर एजेंट के जीवन-चक्र को संभालते हुए।

AI और एजेंटएजेंट

agent-messaging

33k

Agent Messaging Protocol का उपयोग करके AI एजेंट्स के बीच हस्ताक्षरित संदेश भेजने, प्राप्त करने और उनका जवाब देने देती है, ज़्यादातर आपकी अपनी मशीन पर।

AI और एजेंटएजेंट

docs-search

33k

आपके एजेंट को फ़ंक्शन सिग्नेचर, क्लास परिभाषा और कमेंट के लिए ऑटो-जनरेटेड कोड डॉक्यूमेंटेशन खोजने देती है, ताकि कोड बदलने से पहले वह असली API जाँच सके।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills