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.quest |
Commands
zam search [query]
Search the public marketplace. No authentication required.
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 listings
Manage your own listings. All subcommands require authentication.
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 listings
- 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 listings create always require manual approval.
The command is idempotent — running it again updates skill files and the hook in place.