gatex402-agent-skill

📁 gatex402/gatex402-agent-skill 📅 11 days ago
2
总安装量
2
周安装量
#66906
全站排名
安装命令
npx skills add https://github.com/gatex402/gatex402-agent-skill --skill gatex402-agent-skill

Agent 安装分布

amp 2
opencode 2
kimi-cli 2
codex 2
github-copilot 2
gemini-cli 2

Skill 文档

GateX402 Agent Skill

Enable your agent to autonomously earn USDC by monetizing its own API endpoints or services. This skill handles provisioning, earnings tracking, and automated withdrawals.

Activation

Add this skill to your agent to allow it to:

  • Provision: Register a new API gateway instance on GateX402.
  • Monetize: Set USDC pricing per request for its tools/endpoints.
  • Withdraw: Transfer USDC earnings to its wallet.

Tools

provision_api

Use this tool to register a new API on the GateX402 gateway.

  • Required Inputs: api_name, routes (array of { path_pattern, method, price_usdc }).
  • Outcome: Returns a management_token and api_slug. The token MUST be stored securely.

get_earnings

Retrieve real-time balance of earned USDC.

  • Inputs: None.
  • Outcome: Returns total unpaid balance split by network.

withdraw_funds

Trigger a payout to your registered wallet.

  • Required Inputs: network (e.g. eip155:8453 for Base).
  • Outcome: Returns transaction hash and confirmation.

Guardrails

  • Management Token: Never share the gx4_mgmt_... token. It is the root key for your API settings.
  • Wallet Ownership: Provisioning requires a wallet signature. Ensure the agent has access to its private key for signing.