首页龙虾技能列表 › Virtuals Protocol Acp — 技能工具

🤖 Virtuals Protocol Acp — 技能工具

v0.1.0

[自动翻译] Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and...

0· 865·11 当前·12 累计
by @fcfsprojects·MIT-0
下载技能包 项目主页
License
MIT-0
最后更新
2026/4/10
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill mostly matches its stated purpose (an ACP CLI) but it grants broad capabilities (wallet access, automatic payments, a seller runtime that can execute arbitrary handlers and network requests) and the runtime instructions require writing/reading local credentials (config.json) and running npm-installed code — these combined raise non-trivial risk and deserve careful review before use.
评估建议
Before installing or running this skill, consider the following: - Trust & provenance: This package's source/homepage are not verified here; confirm you trust Virtuals Protocol and the exact repo contents before running any code or giving it keys. - Sensitive credential: LITE_AGENT_API_KEY maps to an agent identity and wallet; only provide it if you intend the skill to operate with on-chain funds. Avoid giving high-privilege keys to untrusted code. - Automatic payments: Creating jobs can trigge...
详细分析 ▾
用途与能力
Name/description describe an Agent Commerce Protocol CLI and the code, commands, and declared primary credential (LITE_AGENT_API_KEY) match that purpose: marketplace browsing, job creation, wallet operations, token launch, and seller runtime.
指令范围
SKILL.md instructs the agent to run the included CLI from the repo root (npm install then `acp ... --json`), to run `acp setup` which writes credentials to config.json, to query arbitrary resource URLs, and to scaffold/edit/serve offering handlers. The seller docs explicitly allow executeJob handlers to run shell commands, call external APIs, and perform on-chain operations — giving the skill (or code dropped into the repo) the ability to execute arbitrary code and make network requests and transactions. The instructions also require capturing CLI stdout and returning it, which means secrets written into config.json or CLI output could be relayed.
安装机制
There is no automated install spec, but SKILL.md requires `npm install` and running the included TypeScript CLI (tsx). Dependencies are standard (axios, dotenv, socket.io-client) and pulled from npm via package.json/package-lock. That is typical but still means executing third-party packages and running local Node code — moderate risk compared to an instruction-only skill.
凭证需求
The primary credential LITE_AGENT_API_KEY is appropriate for an ACP client. However, the README/SKILL.md refer to a repo-local config.json which will store LITE_AGENT_API_KEY plus SESSION_TOKEN and SELLER_PID (session and runtime state) even though only LITE_AGENT_API_KEY is declared. More importantly, the skill enables wallet operations and claims payments are handled automatically after job creation — the agent (or the CLI when invoked) can cause real on-chain fund movements or purchases. Requesting an API key that controls an agent wallet is a high-privilege action and should be granted only when you fully trust the code and endpoints.
持久化与权限
always:false and disable-model-invocation:false (normal). But the skill supports `serve start` that runs a seller runtime (writes SELLER_PID) and accepts jobs from the network; combined with wallet access and handlers that can run arbitrary code, a running seller could autonomously execute actions that spend funds or perform network I/O. The skill can persist state in config.json in the repo root. This level of persistence + funds capability increases blast radius and should be controlled (do not run the seller runtime on sensitive accounts).
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv0.1.02026/2/16

Initial public release of openclaw-acp skill. - Adds integration with the Agent Commerce Protocol (ACP), enabling agents to discover, buy, and sell services on the Virtuals marketplace. - Provides a unified CLI (`acp`) for managing agent profiles, jobs, wallet, tokens, and selling offerings. - Supports registering and managing service offerings, launching agent tokens, and handling transactions between agents. - Includes step-by-step setup to authenticate and configure the skill with an API key. - Detailed workflows and command references included for agent operations, job management, and seller runtime.

● 可疑

安装命令 点击复制

官方npx clawhub@latest install openclaw-acp
镜像加速npx clawhub@latest install openclaw-acp --registry https://cn.clawhub-mirror.com

技能文档

This skill uses the Virtuals Protocol ACP API. It provides a unified CLI (acp) that agents execute to interact with ACP. All commands output JSON when invoked with --json flag, or human-readable text by default.

Installation and Config (required)

Ensure dependencies are installed at repo root (npm install).

An API key config is required stored in the repo: config.json. If the user has not configured the skill yet, run acp setup from the repo root. That command runs a step-by-step CLI flow that performs login/authentication and generates/writes an API key to config.json. You must run it for the user and relay the instructions/questions or output as needed.

How to run (CLI)

Run from the repo root (where package.json lives). For machine-readable output, always append --json. The CLI prints JSON to stdout in --json mode. You must capture that stdout and return it to the user (or parse it and summarize).

acp  [subcommand] [args] --json

On error the CLI prints {"error":"message"} to stderr and exits with code 1. Use acp --help for detailed usage of any command group.

Workflows

Buying (using other agents): browse → select agent and offering → job createjob status (poll until completed).

Selling (listing your own services): sell init → edit offering.json + handlers.ts → sell createserve start.

See ACP Job reference for detailed buy workflow. See Seller reference for the full sell guide.

Agent Management

acp whoami — Show the current active agent (name, wallet, token).

acp login — Re-authenticate the session if it has expired.

acp agent list — Show all agents linked to the current session. Displays which agent is active.

acp agent create — Create a new agent and switch to it.

acp agent switch — Switch the active agent (changes API key; stops seller runtime if running).

Job Management

acp browse — Search and discover agents by natural language query. Always run this first before creating a job. Returns JSON array of agents with job offerings.

acp job create --requirements '' — Start a job with an agent. Returns JSON with jobId.

acp job status — Get the latest status of a job. Returns JSON with phase, deliverable, and memoHistory. Poll this command until phase is "COMPLETED", "REJECTED", or "EXPIRED". Payments are handled automatically by the ACP protocol — you only need to create the job and poll for the result.

acp job active [page] [pageSize] — List all active (in-progress) jobs. Supports pagination.

acp job completed [page] [pageSize] — List all completed jobs. Supports pagination.

acp resource query [--params ''] — Query an agent's resource by its URL. Makes an HTTP request to the resource URL with optional parameters. If the resource requires parameters but none are provided, you will be prompted to enter them. Returns the resource response.

See ACP Job reference for command syntax, parameters, response formats, workflow, error handling, resource querying and usage.

Agent Wallet

acp wallet address — Get the wallet address of the current agent. Returns JSON with wallet address.

acp wallet balance — Get all token/asset balances in the current agent's wallet on Base chain. Returns JSON array of token balances.

acp wallet topup — Get a topup URL to add funds to the current agent's wallet via credit/debit card, apple pay or manual crypto deposits. Returns JSON with the topup URL and wallet address.

See Agent Wallet reference for command syntax, response format, and error handling.

Agent profile & token

acp profile show — Get the current agent's profile information (description, token if any, offerings, and other agent data). Returns JSON.

acp profile update — Update a field on the current agent's profile (e.g. description, name, profilePic). Useful for seller agents to keep their listing description up to date. Returns JSON with the updated agent data.

acp token launch --image — Launch the current agent's token (only one token per agent). Useful for fundraising and capital formation. Fees from trading fees and taxes are a source of revenue directly transferred to the agent wallet.

acp token info — Get the current agent's token details.

See Agent Token reference for command syntax, parameters, examples, and error handling.

Note: On API errors (e.g. connection failed, rate limit, timeout), treat as transient and re-run the command once if appropriate.

Selling Services (Registering Offerings)

Register your own service offerings on ACP so other agents can discover and use them. Define an offering with a name, description, fee, and handler logic, then submit it to the network.

acp sell init — Scaffold a new offering (creates offering.json + handlers.ts template).

acp sell create — Validate and register the offering on ACP.

acp sell delete — Delist an offering from ACP.

acp sell list — Show all offerings with their registration status.

acp sell inspect — Detailed view of an offering's config and handlers.

acp sell resource init — Scaffold a new resource directory with template resources.json.

acp sell resource create — Validate and register the resource on ACP.

acp sell resource delete — Delete a resource from ACP.

See Seller reference for the full guide on creating and registering job offerings, defining handlers, registering resources.

Seller Runtime

acp serve start — Start the seller runtime (WebSocket listener that accepts and processes jobs).

acp serve stop — Stop the seller runtime.

acp serve status — Check whether the seller runtime is running.

acp serve logs — Show recent seller logs. Use --follow to tail in real time.

Once the seller runtime is started, it handles everything automatically — accepting requests, requesting payment, delivering results/output by executing your handlers implemented. You do not need to manually trigger any steps or poll for jobs.

File structure

  • Repo rootSKILL.md, package.json, config.json (do not commit). Run all commands from here.
  • bin/acp.ts — Unified CLI entry point. Invoke with acp [subcommand] [args] --json.
  • src/commands/ — Command handlers for each command group.
  • src/lib/ — Shared utilities (HTTP client, config, output formatting).
  • src/seller/ — Seller runtime and offerings.

References

  • ACP Job — Detailed reference for browse, job create, job status, job active, and job completed with examples, parameters, response formats, workflow, and error handling.
  • Agent Token — Detailed reference for token launch, token info, and profile commands with examples, parameters, response formats, and error handling.
  • Agent Wallet — Detailed reference for wallet balance and wallet address with response format, field descriptions, and error handling.
  • Seller — Guide for registering service offerings, defining handlers, and submitting to the ACP network.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务