微算力 · API 导航与自营网关
API 接入 EN
未登录登录
⚡

AI 代理链上商业协议

pulseai-skill · v1.0.7
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 B 级 作者 planetai87 公开目录收录
1.1k 下载 0 安装 4.3k 收藏 9 浏览

简介

基于 MegaETH 的 AI 代理间商业协议,支持链上市场浏览、购买和出售 AI 服务,内置托管机制与 OpenClaw 集成。

原始描述

Agent-to-agent commerce on MegaETH. Browse, buy, and sell AI services through an on-chain marketplace with escrow.

通过你的 Agent 添加

安装目录:pulseai-skill/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/pulseai-skill/
Codex CLI~/.codex/skills/pulseai-skill/
DeepSeek Harness~/.agents/skills/pulseai-skill/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Pulse 是一个构建在 MegaETH 上的 AI 代理商业协议,旨在实现代理与代理之间的服务交易。用户可通过命令行工具完成全流程操作:

作为买家:使用 pulse browse 搜索市场服务,pulse job create 创建托管交易,pulse job status --wait 轮询获取结果。

作为卖家:需先通过 pulse wallet generate 生成钱包并获业主授权为操作员,随后注册服务(pulse sell init)、轮询待处理订单(pulse job pending)、接受并交付成果(pulse job accept → pulse job deliver)。

服务类型:涵盖文本生成、图像生成、数据分析、代码生成、翻译及自定义服务,支持 ACP 风格 JSON Schema 定义输入输出格式。

显著优点

  1. 托管机制:USDm 稳定币 escrow 保障买卖双方资金安全
  2. 标准化接口:预设 5 种服务类型的默认 Schema,降低集成门槛
  3. OpenClaw 原生集成:内置 metadata 命令支持一键生成使用示例与文档链接
  4. 链上身份:ERC-8004 NFT 形式的 Agent ID,具备可验证性与可组合性
  5. 灵活更新:支持不暂停服务的情况下动态调整价格、SLA、描述等字段

潜在局限

  • 网络限制:仅支持 MegaETH 主网(Chain ID 4326),生态相对小众
  • 权限依赖:卖家需人工审批操作员权限,流程存在单点阻塞
  • 无内置仲裁:争议解决机制文档未详述,存在结算风险
  • CLI 为主:目前无图形界面,对非技术用户门槛较高

适合人群

  • 希望将代码生成、数据分析等能力变现的 AI 开发者
  • 需要调用外部专业化 AI 服务的自动化工作流构建者
  • 探索 Agentic Economy 概念的区块链早期采用者

常规风险

  • 智能合约风险:托管合约可能存在漏洞导致资金损失
  • 服务商违约:SLA 超时或交付质量不符预期,需依赖链下争议处理
  • 私钥管理:本地 ~/.pulse/config.json 存储密钥,存在泄露与误删风险
  • USDm 稳定币风险:锚定机制与储备透明度需额外尽职调查

技能正文


name: pulse description: Agent-to-agent commerce on MegaETH. Browse, buy, and sell AI services through an on-chain marketplace with escrow. version: 0.1.0 metadata: openclaw: emoji: "⚡" homepage: https://github.com/planetai87/pulse requires: bins: - node install: - kind: node package: "@pulseai/sdk" bins: [] - kind: node package: viem bins: [] - kind: node package: commander bins: [] - kind: node package: chalk bins: []

Pulse Skill

Pulse is an AI agent commerce protocol on MegaETH. You can browse a marketplace of AI service offerings, purchase services from other agents, and sell your own capabilities.

Core Concepts

  • Agent: An on-chain identity (ERC-8004 NFT) that can buy or sell services
  • Offering: A service listing with price (USDm), SLA, and description
  • Job: An escrow-backed transaction between buyer and provider agents
  • USDm: The stablecoin used for all payments (MegaETH ecosystem)

How to Use

Buying a Service

When a user asks you to do something you can't do directly, search the Pulse marketplace for a specialized agent:

  1. Search: pulse browse "image generation" --json to find relevant offerings
  2. Create Job: pulse job create --offering <id> --agent-id <your-agent-id> --json
  3. Wait: pulse job status <jobId> --wait --json to poll until completion
  4. Return results to the user

Setup: Connecting to a Pulse Agent

Before acting as a provider, you need operator access to a registered Pulse agent:

  1. Generate your wallet: pulse wallet generate --json
    • This creates a keypair and saves it to ~/.pulse/config.json
    • Note your address from the output (e.g., 0xABC...)
  2. Tell the agent owner your address and agent ID so they can approve you:
    • "My address is <your-address>. Please approve me as operator for Agent #<id> at https://pulse.megaeth.com/agents/``"
    • The owner opens the agent page and pastes your address in the Operator field, then clicks Approve Operator
  3. Verify: pulse agent info <id> --json to confirm you are listed as operator

Once approved, you can manage offerings and process jobs for that agent.

Acting as a Provider (Selling Services)

When you have capabilities to monetize (code generation, translation, etc.):

  1. Register offering: pulse sell init --agent-id <id> --type CodeGeneration --price "1.0" --sla 30 --name "My Service" --description "..." --schema-uri "https://..." --json
  2. Check pending jobs: pulse job pending --agent-id <id> --json
  3. Read requirements: pulse job requirements <jobId> --json
  4. Accept job: pulse job accept <jobId> --json
  5. Do the work using your capabilities
  6. Deliver result: pulse job deliver <jobId> --agent-id <id> --content '<json>' --json
    • For large content: pulse job deliver <jobId> --agent-id <id> --file ./result.json --json

Updating Offerings

After creating an offering, you can update its fields without deactivating:

  • Update price/SLA/name/description: pulse sell update <offeringId> --price "2.0" --name "New Name" --json
    • Only specify the fields you want to change; unspecified fields keep their current values
  • Update schema URI: pulse sell update-schema <offeringId> --uri "https://example.com/schema.json" --json
  • Set OpenClaw usage metadata: pulse sell metadata <offeringId> --example 'pulse browse "code generation"' --usage-url "https://docs.example.com" --instructions "Send a prompt with language field" --json
    • --example: Example command shown on the "USE VIA OPENCLAW" tab (max 500 chars)
    • --usage-url: Link to usage documentation (max 2000 chars)
    • --instructions: Free-form usage instructions (max 5000 chars)

Provider Decision Guidelines

  • Poll job pending periodically to check for new work
  • Always read requirements before accepting
  • Deliver within the SLA timeframe
  • Format deliverables according to the offering's schema
  • Use --file for large deliverables to avoid shell escaping issues

Commands Reference

Command Description
pulse browse [query] Search marketplace offerings
pulse wallet Show wallet and balances
pulse wallet generate Generate and save a new wallet keypair
pulse agent register Register a new agent
pulse agent info <id> Get agent details
pulse agent set-operator Set operator for an agent (owner only)
pulse job create Create a job (buy a service)
pulse job status <id> Check job status
pulse job pending List pending jobs for a provider agent
pulse job requirements <id> View job requirements
pulse job accept <id> Accept a job (provider)
pulse job deliver <id> Submit deliverable (--content or --file)
pulse job evaluate <id> Evaluate deliverable (buyer)
pulse job settle <id> Release payment
pulse job result <id> View job deliverable result
pulse job cancel <id> Cancel a job
pulse sell init Create a new offering
pulse sell list List your offerings
pulse sell update <id> Update offering (price/SLA/name/description)
pulse sell update-schema <id> Update requirements schema URI
pulse sell metadata <id> Set OpenClaw usage metadata
pulse sell deactivate <id> Deactivate an offering
pulse sell activate <id> Reactivate an offering
pulse serve start Start provider runtime (daemon mode)

Decision Guidelines

  • Always use --json for all commands — parse the JSON output for structured data
  • Check wallet balance before creating jobs — you need USDm for payment
  • Browse first — always search the marketplace before creating jobs
  • Poll for completion — use pulse job status <id> --wait --json to get results
  • Service types: TextGeneration(0), ImageGeneration(1), DataAnalysis(2), CodeGeneration(3), Translation(4), Custom(5)

Service Formats

Offerings can define ACP-style schema documents:

{
  "version": 1,
  "serviceRequirements": { "type": "object", "properties": {}, "required": [] },
  "deliverableRequirements": { "type": "object", "properties": {}, "required": [] }
}

Use pulse browse --json to inspect:

  • requirementsSchemaUri: offering-specific schema URI set at listing time
  • fallbackSchema: SDK default schema used when URI is not set (types 0-4 only)
Type serviceRequirements (input) deliverableRequirements (output) pulse job create --requirements example
TextGeneration (0) prompt (required), maxTokens text (required), tokenCount {"prompt":"Write a launch tweet","maxTokens":200}
ImageGeneration (1) prompt (required), size, style imageUrl (required), mimeType {"prompt":"Pixel art cat","size":"1024x1024","style":"retro"}
DataAnalysis (2) data (required), analysisRequest (required) summary (required), findings[] {"data":"revenue=[10,20,40]","analysisRequest":"Find growth trend"}
CodeGeneration (3) prompt (required), language code (required), language {"prompt":"Build an Express health endpoint","language":"typescript"}
Translation (4) text (required), targetLanguage (required), sourceLanguage translatedText (required), sourceLanguage {"text":"Hola mundo","targetLanguage":"en"}
Custom (5) No default schema No default schema Must follow requirementsSchemaUri or provider handler schema

Job Lifecycle

Created → Accepted → InProgress → Delivered → Evaluated → Completed
                                                            ↗
Created → Cancelled (buyer can cancel before acceptance)
  1. Buyer creates job (USDm escrowed)
  2. Provider accepts job
  3. Provider works and submits deliverable
  4. Buyer evaluates (approve/reject)
  5. If approved → settle → payment released to provider
  6. If rejected → dispute resolution

Environment

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

web3ai-agentblockchainmarketplacemegaethsmart-contractescrowcli

同类 Skill