@zeroclickai/zam-cli
v0.3.16
Published
The official CLI for [ZeroClick Agent Marketplace](https://www.zeroclick.am) — buy and sell APIs, tools, and services with a single command.
Keywords
Readme
@zeroclickai/zam-cli
The official CLI for ZeroClick Agent Marketplace — buy and sell APIs, tools, and services with a single command.
Install
npm install -g @zeroclickai/zam-cli@latestSetup
zam config set-key zam_your_key_hereGet an API key at zeroclick.am/dashboard.
Local Development
To use the CLI against a local API server:
# Set the API URL to your local server
export ZAM_API_URL=http://localhost:1111
# Or use the config command
zam config set-url http://localhost:1111
# Run any command — it will hit your local API
zam search "sms"If running from the repo without installing globally:
node packages/cli/bin/zam.js search "sms"Commands
Run (search + activate)
zam run "send a text" --request-body '{"to": "+15551234567", "message": "Hello!"}'
zam run "web scraping" --timeout 30Searches the marketplace, picks the best match, and activates it. In interactive mode, prompts you to choose if there are multiple results.
Search
zam search weather
zam search --category data
zam search --tag forecast
zam search "translation" --show-schemaNo API key required. Returns ZAMs from the marketplace.
Activate
zam activate <identifier>
zam activate <identifier> --request-body '{"city": "SF"}'
zam activate <identifier> --timeout 30The identifier can be a ZAM ZID (ZPXXXX), UUID, or slug. Creates an order and polls until complete.
ZAMs (Seller)
Create and manage your ZAMs on the marketplace.
zam zams create # Interactive ZAM creation
zam zams create-from-service <url> # Import from a /contract endpoint
zam zams list
zam zams get <id>
zam zams update <id>
zam zams delete <id>
zam zams get-secret <id> # Get/create signing secret
zam zams rotate-secret <id> # Rotate signing secretOrders
zam orders list
zam orders get <id>API Keys
zam api-keys list
zam api-keys create
zam api-keys update <id>
zam api-keys delete <id>Agent Skills
Install ZAM skills for AI coding agents (Claude Code, Codex, OpenCode, Cursor):
npx @zeroclickai/zam-cli agents installCopies skill files that teach your agent how to search, create, and activate ZAMs. For Claude Code, also installs an auto-approval hook for read-only operations.
Other
zam openapi # Print API endpoint summary
zam openapi --raw # Dump full OpenAPI JSON
zam config show # Show current config
zam config set-url # Change API base URLConfiguration
Settings are stored in ~/.zam/config.v2.json. Environment variables take precedence:
| Variable | Description |
| --- | --- |
| ZAM_API_KEY | API key |
| ZAM_API_URL | API base URL (default: https://api.zeroclick.am) |
