Skip to main content
ZAM ships skill files that teach AI coding agents how to search, create, and activate Zams. A single CLI command installs them for every supported tool on your machine.

Install skills

npm install -g zam-cli@latest
zam agents install
The command detects which AI tools are present and copies skill files to each one:
ToolConfig directorySkills installed to
Claude Code~/.claude/~/.claude/skills/zam-*/SKILL.md
Codex~/.codex/~/.codex/skills/zam-*/SKILL.md
OpenCode~/.config/opencode/~/.config/opencode/skills/zam-*/SKILL.md
Cursor~/.cursor/~/.cursor/skills/zam-*/SKILL.md

What gets installed

Three skill files, each teaching the agent a different workflow:
Teaches the agent to create and manage listings using zam listings create, update, delete, and create-from-service. Requires an API key.
Teaches the agent to activate listings using zam activate and check order status with zam orders list and zam orders get. Requires an API key.

Auto-approval hook (Claude Code)

For Claude Code, the installer also sets up an auto-approval hook that reduces permission prompts for safe, read-only operations. The hook is installed at ~/.zam/hooks/auto-approve-zam.sh and registered in ~/.claude/settings.json. Auto-approved operations:
CommandWhy it’s safe
zam search *Public marketplace search, no auth needed
zam orders listRead-only, lists your orders
zam orders get *Read-only, views one order
zam openapiRead-only, views API spec
zam config showRead-only, displays current config
Always requires manual approval:
CommandWhy
zam activate *Creates an order (costs money)
zam listings create/update/deleteModifies your listings
zam api-keys *Manages authentication keys
zam config set-key/set-urlChanges CLI configuration

Idempotent updates

Running zam agents install again updates skill files and the hook in place. Existing hooks from other tools in ~/.claude/settings.json are preserved — the ZAM hook entry is replaced, never duplicated.

Try it out

After installing, ask your agent:
  • “Search ZAM for available tools”
  • “What’s on the ZAM marketplace?”
  • “Activate the weather listing on ZAM”
The agent will use the installed skill files to know which CLI commands to run.