Pp cal com

From mvanhorn/printing-press-library · View interactive version

Pp cal com is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. Every Cal.com feature, plus offline agendas, composed booking flows, and analytics no other Cal.com tool ships. Trigger phrases: `book a meeting on cal.com`, `what's on my calendar today`, `find an open slot`, `reschedule my next booking`, `audit my cal.com webhooks`, `use cal-com`, `run cal-com-pp-

How to use this skill

Skill file

<!-- GENERATED FILE — DO NOT EDIT.

This file is a verbatim mirror of library/productivity/cal-com/SKILL.md,

regenerated post-merge by tools/generate-skills/. Hand-edits here are

silently overwritten on the next regen. Edit the library/ source instead.

See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

Cal.com — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the cal-com-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:

```bash

npx -y @mvanhorn/printing-press-library install cal-com --cli-only

```

  1. Verify: cal-com-pp-cli --version
  2. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/productivity/cal-com/cmd/cal-com-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for cal-com-pp-cli whenever an agent needs to read or mutate a Cal.com calendar without burning context on the multi-call dance the API requires for booking and rescheduling. The local store makes 'what's on my calendar', 'when am I free', 'who is overloaded', and 'where are my conflicts' near-instant offline answers. The composed book and reschedule next commands are the right tools for transactional bookings; the endpoint-mirror coverage is there for everything else.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Composed booking flows

_For the host scripting an attendee onto their calendar (admin onboarding, recruiter pre-fill, test fixtures). For the normal flow where the attendee picks their own time, share a URL from link list instead._

```bash

cal-com-pp-cli book --event-type-id 96531 --start 2026-05-06T17:00:00Z --attendee-name Guest --attendee-email guest@example.com --dry-run

```

_Use this when you don't know which event type fits — let the caller pick from a ranked merged list._

```bash

cal-com-pp-cli slots find --event-type-ids 96531 --start tomorrow --end "tomorrow 23:59" --json

```

_Use this for last-minute bumps — one command instead of three, with dry-run safety._

```bash

cal-com-pp-cli reschedule next --uid <booking-uid> --after tomorrow --dry-run

```

Local state that compounds

_Use this whenever an agent needs 'what's on my calendar'; single command across any time window._

```bash

cal-com-pp-cli agenda --window today --json --select id,start,title,attendees

```

_Use this for capacity planning, no-show trend analysis, or attendee follow-up — answers no single API call provides._

```bash

cal-com-pp-cli analytics no-show --window 90d --by attendee --json

```

_Run before sending confirmations or after a bulk reschedule — surfaces double-bookings the API silently allows._

```bash

cal-com-pp-cli conflicts --window 7d --json

```

_Use this for capacity planning — answers 'when can I take a meeting' rather than 'what's on my plate'._

```bash

cal-com-pp-cli gaps --window 7d --min-minutes 60 --json

```

_Use this for round-robin tuning or to spot host burnout before it shows up as no-shows._

```bash

cal-com-pp-cli workload --team-id 42 --window 30d --json

```

_Use this for quarterly cleanup — keeps your bookable surface from drifting._

```bash

cal-com-pp-cli event-types stale --days 90 --json

```

Host control surface

_The host's primary creative act. Bookable links are how attendees book time; this is the command to make one._

```bash

cal-com-pp-cli link create --slug 30min --length 30 --title "30 Min Meeting"

```

_Use this to see what links you have and grab their URLs without hand-composing cal.com/<user>/<slug>._

```bash

cal-com-pp-cli link list --json

```

_Going on vacation? Sick? Run this once and stop getting booked. Optional --redirect-to-user forwards bookings to a teammate (round-robin only)._

```bash

cal-com-pp-cli ooo set --start 2026-05-12 --end 2026-05-18 --reason vacation --notes "Hawaii trip"

```

```bash

cal-com-pp-cli ooo list --json

```

Agent-native plumbing

_Run this whenever you add a new automation — surfaces missed triggers like BOOKING_NO_SHOW_UPDATED before they bite._

```bash

cal-com-pp-cli webhooks coverage --json

```

Command Reference

api-keys — Manage api keys

bookings — Manage bookings

cal-com-auth — Manage cal com auth

cal-com-auth-2 — Manage cal com auth 2

calendars — Manage calendars

conferencing — Manage conferencing

credits — Manage credits

destination-calendars — Manage destination calendars

event-types — Manage event types

me — Manage me

notifications — Manage notifications

oauth — Manage oauth

oauth-clients — Manage oauth clients

organizations — Manage organizations

routing-forms — Manage routing forms

schedules — Manage schedules

selected-calendars — Manage selected calendars

slots — Manage slots

stripe — Manage stripe

teams — Manage teams

verified-resources — Manage verified resources

webhooks — Manage webhooks

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

cal-com-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Recipes

Create a bookable link and share its URL

cal-com-pp-cli link create --slug 30min --length 30 --title "30 Min Meeting"
cal-com-pp-cli link list --json --select links.slug,links.bookable_url

link create returns the bookable URL pre-rendered (cal.com/<your-username>/<slug>); link list is the host's view of every link they've published.

Mark yourself out-of-office

cal-com-pp-cli ooo set --start 2026-05-12 --end 2026-05-18 --reason vacation --notes "Hawaii trip"
cal-com-pp-cli ooo list --json

While the OOO entry is active, Cal.com excludes the range from slot search so you don't get booked.

Today's agenda from the local store

cal-com-pp-cli agenda --window today --json --select bookings.uid,bookings.title,bookings.start,bookings.attendees

Returns just the four fields an agent needs from the agenda envelope — keeps context tight against deeply-nested booking payloads.

Cross-event-type slot search ranked by start

cal-com-pp-cli slots find --event-type-ids 96531 --start tomorrow --end "tomorrow 23:59" --json --first-only

Fans out /v2/slots per event-type ID; returns only the earliest slot.

No-show rate by attendee for capacity planning

cal-com-pp-cli analytics no-show --window 90d --by attendee --json

Local SQL aggregation over synced bookings; no API call.

Audit webhook coverage before adding automation

cal-com-pp-cli webhooks coverage --json

Compares your registered triggers against the canonical Cal.com lifecycle set and surfaces missing subscribers.

Reschedule a booking to the next free slot

cal-com-pp-cli reschedule next --uid <booking-uid> --after tomorrow --dry-run

One composed command replaces three; --dry-run prints the planned move without committing.

Auth Setup

Cal.com uses bearer tokens prefixed with cal_live_ (live) or cal_test_ (test). Set CAL_COM_TOKEN in your environment, or run auth set-token once. The CLI also accepts managed-user access tokens and OAuth access tokens through the same Authorization header. Per-resource API-version pinning via cal-api-version is handled automatically by the client.

Run cal-com-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

```bash

cal-com-pp-cli bookings get --agent --select id,name,status

```

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

cal-com-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
cal-com-pp-cli feedback --stdin < notes.txt
cal-com-pp-cli feedback list --json --limit 10

Entries are stored locally at ~/.cal-com-pp-cli/feedback.jsonl. They are never POSTed unless CAL_COM_FEEDBACK_ENDPOINT is set AND either --send is passed or CAL_COM_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |

|------|--------|

| stdout | Default; write to stdout only |

| file:<path> | Atomically write output to <path> (tmp + rename) |

| webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

cal-com-pp-cli profile save briefing --json
cal-com-pp-cli --profile briefing bookings get
cal-com-pp-cli profile list --json
cal-com-pp-cli profile show briefing
cal-com-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Exit Codes

| Code | Meaning |

|------|---------|

| 0 | Success |

| 2 | Usage error (wrong arguments) |

| 3 | Resource not found |

| 4 | Authentication required |

| 5 | API error (upstream issue) |

| 7 | Rate limited (wait and retry) |

| 10 | Config error |

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show cal-com-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

  1. Install the MCP server:

```bash

go install github.com/mvanhorn/printing-press-library/library/productivity/cal-com/cmd/cal-com-pp-mcp@latest

```

  1. Register with Claude Code:

```bash

claude mcp add cal-com-pp-mcp -- cal-com-pp-mcp

```

  1. Verify: claude mcp list

Direct Use

  1. Check if installed: which cal-com-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

cal-com-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: cal-com-pp-cli <command> --help.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.