npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@andreasnlarsen/calcom-cli

v0.1.3

Published

Production-ready Cal.com CLI for personal scheduling workflows

Readme

@andreasnlarsen/calcom-cli

A production-ready Node.js TypeScript CLI for Cal.com personal-account workflows.

Important legal / brand notice

  • This project is unofficial and is not affiliated with, endorsed by, or sponsored by Cal.com.
  • Cal.com name is used for API compatibility/reference.
  • Never commit or share API keys/tokens in source code or logs.

Install

npm install -g @andreasnlarsen/calcom-cli

Run with:

calcom --help

OpenClaw skill (bundled)

The npm package includes a bundled OpenClaw skill at openclaw-skill/SKILL.md.

Install it into your OpenClaw workspace:

calcom openclaw install-skill --force

Default target is machine-local: ~/.openclaw/workspace/skills/calcom-cli/SKILL.md

Custom target path is supported:

calcom openclaw install-skill --target-file "$HOME/.openclaw/workspace/skills/custom-calcom/SKILL.md" --force

The command always prints where the skill was installed.

Authentication and safety model

calcom supports two auth sources:

  1. CALCOM_API_KEY environment variable (highest priority)
  2. Local XDG config file ($XDG_CONFIG_HOME/calcom-cli/config.json or ~/.config/calcom-cli/config.json)

The config file is always written with 0600 permissions.

Secrets are never printed in normal output. auth status shows only a masked preview.

Set auth:

calcom auth set --api-key <your-key>
calcom auth status

If missing auth, commands return an actionable message.

Defaults

  • Base URL: https://api.cal.com
  • Default timezone: Europe/Oslo (override with --timezone or persist via auth set --timezone)
  • Endpoint-specific API versions:
    • schedules: 2024-06-11
    • event-types: 2024-06-14
    • slots: 2024-09-04
    • bookings: 2024-08-13

Output modes

  • Human-readable output by default
  • --json for machine-safe output on all commands

Commands

P0

# Auth
calcom auth set --api-key <key>
calcom auth status

# Schedules
calcom schedule list
calcom schedule show --id 123

# Date overrides
calcom avail override set --schedule-id 123 --date 2026-03-02 --start 09:00 --end 12:00 --dry-run
calcom avail override clear --schedule-id 123 --date 2026-03-02 --yes
calcom avail override list --schedule-id 123 --from 2026-03-01 --to 2026-03-31

# Link workflows
calcom link list
calcom link share --slug growth-audit

# Slot check
calcom slot check --event-type-id 456 --start 2026-03-02T09:00:00+01:00 --end 2026-03-02T17:00:00+01:00

P1

# Recurring windows
calcom avail window set --schedule-id 123 --day mon --start 09:00 --end 17:00 --yes
calcom avail window list --schedule-id 123

# Booking triage
calcom booking list --today
calcom booking list --upcoming --limit 25

# Booking writes
calcom booking cancel --id 789 --reason "Client requested new time" --yes
calcom booking reschedule --id 789 --start 2026-03-03T10:00:00+01:00 --end 2026-03-03T11:00:00+01:00 --dry-run

Write commands support:

  • --dry-run to inspect payload before writing
  • --yes to bypass confirmation prompts

OpenClaw helper command:

calcom openclaw install-skill --force

Doctor command (quick health check):

calcom doctor
calcom doctor --json

Development

npm install
npm test
npm run build

Publishing (same model as whoop-cli)

Trusted publishing (recommended)

This repo includes .github/workflows/npm-publish.yml for npm OIDC trusted publishing with provenance.

Release flow:

  1. Bump package.json version.
  2. Commit + push.
  3. Create and push a matching tag: v<version>.
  4. GitHub Action publishes to npm.
git tag v0.1.0
git push origin v0.1.0

Manual fallback publish

npm run publish:manual

This runs typecheck/tests/build, verifies npm auth, ensures version is not already published, then publishes.

Note: local/manual publish does not include --provenance (npm requires a supported CI provider for automatic provenance). Provenance is handled by the GitHub Actions trusted-publisher workflow.

Architecture notes

  • src/cli.ts: command tree and handlers
  • src/api/client.ts: HTTP client + auth + version headers + error normalization
  • src/api/calcom.ts: endpoint wrappers
  • src/config.ts / src/auth.ts: local config and auth resolution
  • src/payloads.ts: isolated write payload builders (unit-tested)
  • src/validators.ts: shared zod validation
  • openclaw-skill/SKILL.md: bundled skill for OpenClaw usage

Roadmap (out of scope for this release)

  • P2: private link CRUD, event-type guardrails
  • P3: routing slot calculations, destination calendar switching, webhook management

License

MIT