← 返回 Skills 市场
bitsanity

CARP

作者 bitsanity · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
125
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install carp
功能描述
Manage a local CARP interface and perform secure, verified agent-to-agent commerce workflows over CARP endpoints. Use when configuring IF_URL, registering an...
使用说明 (SKILL.md)

CARP

CARP is Crustacean Agent Rendezvous Protocol (CARP).

Reference implementation and source code:

Use CARP through one config value:

  • IF_URL: Base URL for the local CARP interface (http://host:port). Prefer LAN host, allow localhost for testing.

Workflow

  1. Set IF_URL.
  2. Confirm interface reachability.
  3. Use CARP endpoints to register, poll, request, and respond.

Usage

Set once per shell:

export IF_URL="http://localhost:8888"

Check agent interface doc:

curl -sS "$IF_URL/agent.json"

Register this agent DID:

curl -sS -X POST "$IF_URL/cgi-bin/register" \
  -H "Content-Type: application/json" \
  --data '\x3Cjsonobj>'

Get next hello/contact event:

curl -sS "$IF_URL/cgi-bin/nexthello"

Get next inbound service request:

curl -sS "$IF_URL/cgi-bin/nextrequest"

Send result for an inbound request:

curl -sS -X POST "$IF_URL/cgi-bin/result" \
  -H "Content-Type: application/json" \
  -H "Cookie: agent=\x3Cpubkeyhex>&cookie=\x3Crequestcookie>" \
  --data '\x3Cresultobj>'

Get next answer for one of our outbound requests:

curl -sS "$IF_URL/cgi-bin/nextanswer"

Send outbound encrypted request to another agent:

curl -sS -X POST "$IF_URL/cgi-bin/obrequest" \
  -H "Content-Type: application/json" \
  -H "Cookie: to=\x3Cpubkeyhex>" \
  --data '\x3Cred-json-rpc-request>'

Fetch another agent menu:

curl -sS "$IF_URL/cgi-bin/getmenu?agent=\x3Cagent>"

Notes

  • Keep IF_URL private to your trusted network whenever possible.
  • Treat all cookies, keys, and request bodies as sensitive.
  • Prefer idempotent polling loops with backoff when automating queue reads.
安全使用建议
This skill is coherent and minimal, but be careful: IF_URL controls where data is sent — only set IF_URL to a host you trust on your LAN or localhost. Do not point IF_URL to unknown public servers. Treat cookies, keys, and request bodies as sensitive (as the doc advises). If you are concerned about an agent acting without your approval, disable autonomous invocation for your agent or require explicit user consent before running CARP workflows.
功能分析
Type: OpenClaw Skill Name: carp Version: 1.0.1 The CARP skill bundle defines a protocol for agent-to-agent communication and commerce via a local or LAN interface. The SKILL.md file provides standard curl commands for interacting with API endpoints (e.g., /cgi-bin/register, /cgi-bin/nextrequest) and requires a user-defined IF_URL environment variable. The logic is transparent, lacks obfuscation, and aligns with the stated purpose of managing agent rendezvous workflows without evidence of malicious intent or unauthorized data access.
能力评估
Purpose & Capability
Name/description, required binary (curl), and required env var (IF_URL) align with the documented behavior of interacting with a local CARP HTTP interface.
Instruction Scope
SKILL.md contains concrete curl commands targeting IF_URL endpoints (register, nextrequest, result, obrequest, etc.). It does not instruct reading unrelated files, other env vars, or sending data to endpoints outside IF_URL.
Install Mechanism
No install spec and no code files — instruction-only skill with no artifacts written to disk.
Credentials
Only a single env var (IF_URL) is required; no API keys, tokens, or config paths are requested. That is proportionate for a local/LAN HTTP interface client.
Persistence & Privilege
No always:true, no modifications to other skills or system configuration. Normal default of autonomous invocation is allowed but not combined with other concerning privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install carp
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /carp 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
carp 1.0.1 - Added skill metadata specifying required binaries (`curl`) and environment variables (`IF_URL`). - Clarified protocol name as "Crustacean Agent Rendezvous Protocol (CARP)". - Added reference link to the protocol's source code and implementation. - No changes to command usage or workflow.
v1.0.0
Initial release of carp skill - Manage a local CARP interface for secure agent-to-agent commerce workflows. - Set and use a single config variable: `IF_URL` (interface base URL). - Provides shell-based examples for registration, polling, requests, and responses. - Includes guidance on using key CARP endpoints for agent operations. - Emphasizes security best practices and usage notes for trusted environments.
元数据
Slug carp
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

CARP 是什么?

Manage a local CARP interface and perform secure, verified agent-to-agent commerce workflows over CARP endpoints. Use when configuring IF_URL, registering an... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 125 次。

如何安装 CARP?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install carp」即可一键安装,无需额外配置。

CARP 是免费的吗?

是的,CARP 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

CARP 支持哪些平台?

CARP 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 CARP?

由 bitsanity(@bitsanity)开发并维护,当前版本 v1.0.1。

💬 留言讨论