来源信息
- 仓库
- different-ai/openwork-hub
- 最近来源活动
- 2026年2月11日 01:43
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 34
- Forks
- 13
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
8 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- create-cal-com-link
- description
- Create targeted Cal links for specific people or teams
## Quick Usage (Time-Boxed Link)
### 1) Configure env
- Copy `.env.example` to `.env` and set `CAL_API_KEY`.
- This is the only required env var for a fresh setup.
### 2) Run scripts
```bash
bash skills/create-cal-com-link/scripts/create-schedule.sh "Jasper" "Asia/Singapore"
# copy schedule id + default availability id from the output
bash skills/create-cal-com-link/scripts/delete-default-availability.sh <availability-id>
bash skills/create-cal-com-link/scripts/add-availability-window.sh <schedule-id> "[1,2,3,4,5]" "10:00:00" "13:00:00"
bash skills/create-cal-com-link/scripts/create-event-type.sh <schedule-id> "Jasper x Benjamin" "jasper-x-benjamin" 30 "integrations:daily"
bash skills/create-cal-com-link/scripts/set-event-type-range.sh <event-type-id> 4 "Asia/Singapore"
```
## Time-Boxed Link Playbook
Use this when someone says: "Create a link for Jasper, he's on Singapore time, next 4 days."
### 1) Choose a schedule time zone
- Pick the invitee's time zone for clarity (ex: `Asia/Singapore`).
### 2) Create schedule + remove default availability
```bash
bash skills/create-cal-com-link/scripts/create-schedule.sh "Jasper (next 4 days)" "Asia/Singapore"
# capture schedule id + availability id from the response
bash skills/create-cal-com-link/scripts/delete-default-availability.sh <availability-id>
```
### 3) Add a clean availability window
```bash
bash skills/create-cal-com-link/scripts/add-availability-window.sh <schedule-id> "[1,2,3,4,5]" "10:00:00" "13:00:00"
```
### 4) Create the event type + time-box it
```bash
bash skills/create-cal-com-link/scripts/create-event-type.sh <schedule-id> "Jasper x Benjamin" "jasper-x-benjamin" 30 "integrations:daily"
bash skills/create-cal-com-link/scripts/set-event-type-range.sh <event-type-id> 4 "Asia/Singapore"
```
## Common Gotchas
- Availability times must be ISO strings like `1970-01-01T08:00:00.000Z`.
- Availabilities are weekly; use `set-event-type-range.sh` to time-box the link.
- A new schedule defaults to a 9-5 weekday availability you may want to delete.
## First-Time Setup (If Not Configured)
1. Create a Cal.com API key in Settings > Security.
2. Copy `.env.example` to `.env` and set `CAL_API_KEY`.
3. The scripts use runtime IDs (from the prior response) for schedule and availability.
## Notes
- Use the invitee's time zone when sending a targeted link.
- Days are numbers: 1=Mon, 2=Tue, 3=Wed, 4=Thu, 5=Fri, 6=Sat, 0=Sun.
- `scripts/` uses `.env.example` as the minimum configuration reference.
在 GitHub 查看