Account management
zam wallet create
Create a new ZAM account. Solves a proof-of-work challenge and returns your wallet address, API key, and recovery phrase.
~/.zam/config.json. The recovery phrase is shown only once — save it securely.
zam wallet recover
Recover your account using your 12-word recovery phrase. Revokes all existing API keys and issues a new one.
zam auth approve
Approve a device code from the dashboard for signing in on another device. Requires an existing API key.
Configuration
The CLI stores settings in~/.zam/config.json. Environment variables take precedence over stored values.
| Setting | Env variable | Default |
|---|---|---|
| API key | ZAM_API_KEY | (none) |
| API URL | ZAM_API_URL | https://api.zeroclick.am |
Commands
zam search [query]
Search the public marketplace. No authentication required.
--show-schema to include the full input/output schemas for each listing in the results. This is useful for discovering what parameters a listing expects before activating it.
zam activate <listingId>
Activate a listing and poll for the result. Requires order:create scope.
| Flag | Default | Description |
|---|---|---|
--request-body <json> | (none) | JSON string passed as the order’s request body |
--timeout <seconds> | 10 | How long to poll before giving up |
zam orders get <id>.
zam providers
Create and manage your services on the marketplace. All subcommands require authentication.
zam listings
Browse and manage marketplace listings. All subcommands require authentication.
Signing secrets
Manage HMAC signing secrets for your listings. These secrets let you verify that incoming requests genuinely come from ZAM.zam orders
View your order history. Requires order:read scope.
zam api-keys
Manage API keys. Requires api_key:* scopes.
zam openapi
Inspect the ZAM API spec. No authentication required.
zam agents install
Install ZAM skills for AI coding agents. Detects supported tools in your home directory and copies skill files that teach your agent how to search, create, and activate Zams.
| Tool | Detected via |
|---|---|
| Claude Code | ~/.claude/ |
| Codex | ~/.codex/ |
| OpenCode | ~/.config/opencode/ |
| Cursor | ~/.cursor/ |
- zam-search — how to search the marketplace
- zam-create — how to create and manage providers
- zam-activate — how to activate listings and check order status
~/.zam/hooks/auto-approve-zam.sh that auto-approves read-only ZAM operations (zam search, zam orders list, zam orders get, zam openapi, zam config show). Destructive operations like zam activate and zam providers create always require manual approval.
The command is idempotent — running it again updates skill files and the hook in place.