Interactive setup wizard for Cal.com Commander: configures Cal.com API access, Telegram bot, Supabase DB, GCP project, and launchd services with 1Password discovery.
Ships in calcom-commander. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Complete setup wizard for Cal.com CLI access, Telegram bot, Supabase database, and launchd services.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
# Check required tools
command -v op && echo "OK 1Password CLI" || echo "MISSING: brew install 1password-cli"
command -v proto && echo "OK proto" || echo "MISSING: brew install proto"
command -v bun && echo "OK bun" || echo "MISSING: proto install bun"
command -v gcloud && echo "OK gcloud" || echo "OPTIONAL: brew install google-cloud-sdk"
command -v supabase && echo "OK supabase" || echo "OPTIONAL: brew install supabase/tap/supabase"
echo "CALCOM_OP_UUID: ${CALCOM_OP_UUID:-NOT_SET}"
If already set, use AskUserQuestion to ask if user wants to reconfigure.
op item list --vault "Claude Automation" --format json | jq -r '.[] | select(.title | test("calcom|cal.com|calendar"; "i")) | "\(.id)\t\(.title)"'
Use AskUserQuestion with discovered items or guide new API key creation.
~/gh/<org>/<automation-repo>/.env.launchd (gitignored, hand-maintained) is the daemon env SSoT; the launcher scripts source it. For interactive use, export CALCOM_OP_UUID=<selected-uuid> in the current shell instead.
# Add to ~/gh/<org>/<automation-repo>/.env.launchd (replace any existing CALCOM_OP_UUID line)
echo "export CALCOM_OP_UUID='<selected-uuid>'" >> ~/gh/<org>/<automation-repo>/.env.launchd
cd "$HOME/.claude/plugins/marketplaces/cc-skills/plugins/calcom-commander/scripts/calcom-cli" && bun install && bun run build
"$HOME/.claude/plugins/marketplaces/cc-skills/plugins/calcom-commander/scripts/calcom-cli/calcom" event-types list
echo "TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:+SET}"
echo "TELEGRAM_CHAT_ID: ${TELEGRAM_CHAT_ID:-NOT_SET}"
If NOT_SET, guide user through BotFather setup:
/newbot and follow promptshttps://api.telegram.org/bot<TOKEN>/getUpdates# Append bot config to ~/gh/<org>/<automation-repo>/.env.launchd
cat >> ~/gh/<org>/<automation-repo>/.env.launchd << 'EOF'
export TELEGRAM_BOT_TOKEN='<bot-token>'
export TELEGRAM_CHAT_ID='<chat-id>'
EOF
echo "CALCOM_GCP_PROJECT: ${CALCOM_GCP_PROJECT:-NOT_SET}"
echo "CALCOM_GCP_ACCOUNT: ${CALCOM_GCP_ACCOUNT:-NOT_SET}"
echo "SUPABASE_PROJECT_REF: ${SUPABASE_PROJECT_REF:-NOT_SET}"
If NOT_SET, guide user through:
gcloud projects create <project-id>export lines in ~/gh/<org>/<automation-repo>/.env.launchd (see env-setup.md)# Generate 3 secrets
NEXTAUTH_SECRET=$(openssl rand -base64 32)
ENCRYPTION_KEY=$(openssl rand -hex 32)
CRON_API_KEY=$(openssl rand -hex 32)
echo "NEXTAUTH_SECRET: $NEXTAUTH_SECRET"
echo "CALENDSO_ENCRYPTION_KEY: $ENCRYPTION_KEY"
echo "CRON_API_KEY: $CRON_API_KEY"
Store in 1Password Claude Automation vault.
mkdir -p ~/gh/<org>/<automation-repo>/bin ~/gh/<org>/<automation-repo>/logs
# Bot launcher
cat > ~/gh/<org>/<automation-repo>/bin/calcom-commander-bot << 'SCRIPT'
#!/bin/zsh
set -euo pipefail
# .env.launchd is hand-maintained and is the SSoT for daemon env.
source "$HOME/gh/<org>/<automation-repo>/.env.launchd"
cd "$HOME/gh/<org>/<automation-repo>"
exec "$HOME/.proto/shims/bun" run "$HOME/.claude/plugins/marketplaces/cc-skills/plugins/calcom-commander/scripts/bot.ts"
SCRIPT
chmod +x ~/gh/<org>/<automation-repo>/bin/calcom-commander-bot
# Sync launcher
cat > ~/gh/<org>/<automation-repo>/bin/calcom-commander-sync << 'SCRIPT'
#!/bin/zsh
set -euo pipefail
# .env.launchd is hand-maintained and is the SSoT for daemon env.
source "$HOME/gh/<org>/<automation-repo>/.env.launchd"
cd "$HOME/gh/<org>/<automation-repo>"
exec "$HOME/.proto/shims/bun" run "$HOME/.claude/plugins/marketplaces/cc-skills/plugins/calcom-commander/scripts/sync.ts"
SCRIPT
chmod +x ~/gh/<org>/<automation-repo>/bin/calcom-commander-sync
Use AskUserQuestion to confirm before installing launchd services.
# Copy plist templates to LaunchAgents
# launchctl load ~/Library/LaunchAgents/com.cc-skills.calcom-commander-bot.plist
# launchctl load ~/Library/LaunchAgents/com.cc-skills.calcom-commander-sync.plist
# Run health check
echo "=== Cal.com CLI ==="
"$HOME/.claude/plugins/marketplaces/cc-skills/plugins/calcom-commander/scripts/calcom-cli/calcom" event-types list 2>&1 | head -5
echo ""
echo "=== Bot Process ==="
pgrep -fl calcom-commander || echo "Not running"
echo ""
echo "=== launchd ==="
launchctl list | grep calcom-commander || echo "Not registered"
echo ""
echo "=== Supabase ==="
DATABASE_URL=$(op read "$SUPABASE_DB_URL_REF" 2>/dev/null) && psql "$DATABASE_URL" -c "SELECT 1" 2>&1 | head -3 || echo "DB not configured"
echo $CALCOM_OP_UUID shows a UUIDecho $TELEGRAM_BOT_TOKEN is setDirect user to: calcom-api-setup.md
After this skill completes, reflect before closing the task:
Do NOT defer. The next invocation inherits whatever you leave behind.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/calcom-commander:setupfrom calcom-commander
npx claudepluginhub terrylica/cc-skills --plugin calcom-commander6 skills in this plugin
/booking-configCal.com event types, schedules, and availability configuration. TRIGGERS - event type, booking page, schedule/booking-notifyDual-channel booking notifications via Telegram + Pushover. Scheduled sync, webhook relay, emergency alerts with custom sounds./calcom-accessAccess the Cal.com API via CLI with a 1Password API key: bookings, event types, schedules and availability. TRIGGERS - calcom, cal.com, list bookings, event types, create booking page./healthCal.com Commander health check across all subsystems. TRIGGERS - calcom health, calendar bot status, cal.com diagnostics, booking bot check./infra-deployCal.com self-hosted deployment to GCP Cloud Run with Supabase PostgreSQL. Docker Compose for local dev.