Use the calcom-cli skill when you need to:
If calcom-cli is not installed, install it from GitHub:
npx api2cli install Melvynx/calcom-cli
If calcom-cli is not found, install and build it:
bun --version || curl -fsSL https://bun.sh/install | bash
npx api2cli bundle calcom
npx api2cli link calcom
api2cli link adds ~/.local/bin to PATH automatically. The CLI is available in the next command.
Always use --json flag when calling commands programmatically.
--json for agent-driven calls so downstream steps can parse the result.--help if the exact action or flags are unclear instead of guessing.calcom-cli auth set "your-token"
calcom-cli auth test
Auth commands: auth set , auth show, auth remove, auth test
Token is stored in ~/.config/tokens/calcom-cli.txt.
Manage availability schedules.
list - List all schedulesget - Get a specific schedulecreate --name --time-zone - Create new scheduleupdate [--name] [--time-zone] - Update scheduledelete - Delete scheduleManage meeting bookings.
list [--status] [--after-start] [--before-end] [--attendee-email] - List bookings with filtersget - Get booking detailscancel [--cancellation-reason] - Cancel a bookingreschedule --start [--reschedule-reason] - Reschedule bookingconfirm - Confirm a pending bookingManage event type configurations.
list [--event-slug] - List all event typesget - Get event type detailscreate --title --slug --length-in-minutes - Create event typeupdate [options] - Update event typedelete - Delete event typeQuery available time slots.
list --start-time --end-time [--event-type-id] - Get available slotsView user profile.
get - Get current user profile--json returns a standardized envelope:
{ "ok": true, "data": { ... }, "meta": { "total": 42 } }
On error: { "ok": false, "error": { "message": "...", "status": 401 } }
calcom-cli --help # List all resources and global flags
calcom-cli <resource> --help # List all actions for a resource
calcom-cli <resource> <action> --help # Show flags for a specific action
All commands support: --json, --format , --verbose, --no-color, --no-header
Exit codes: 0 = success, 1 = API error, 2 = usage error
共 1 个版本