← Back to Skills Marketplace
bitsanity

CARP

by bitsanity · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
125
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install carp
Description
Manage a local CARP interface and perform secure, verified agent-to-agent commerce workflows over CARP endpoints. Use when configuring IF_URL, registering an...
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install carp
  3. After installation, invoke the skill by name or use /carp
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug carp
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 125 downloads so far.

How do I install CARP?

Run "/install carp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is CARP free?

Yes, CARP is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does CARP support?

CARP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created CARP?

It is built and maintained by bitsanity (@bitsanity); the current version is v1.0.1.

💬 Comments