AGENT SKILL

zoom

Find, create, reschedule, and cancel the user's Zoom meetings through their own Zoom connection.

License 许可
MIT
所属仓库
yc-software/qm
最近更新
2026-11-15
Stars
★ 1.6w
Forks
2.0k

01 前言 Front Matter

name
zoom
description
Find, create, reschedule, and cancel the user's Zoom meetings through their own Zoom connection.
requiredCapabilities
[ "egress:api.zoom.us" ]

03 SKILL.md 正文

Zoom

Use this skill when the user asks for a Zoom meeting or link, wants to know what Zoom meetings they have coming up, or wants to move or cancel one.

Connection

Zoom reaches you one of two ways; the requests are the same either way.

  • Direct token: $VAULT_TOKEN_API_ZOOM_US holds the user's Zoom token for api.zoom.us; pass it as -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US". The examples below use it as written.

  • App connection: with no token, the user connects Zoom as an app instead (composio skill). Send the same request through QM — same method, URL, query, headers and JSON body, but no Authorization header:

    curl -sS "$AGENT_API_URL/v1/composio/proxy" -H "X-Agent-Capability: $AGENT_API_TOKEN" \
      -H 'content-type: application/json' \
      --data '{"method":"GET","url":"https://api.zoom.us/v2/users/me"}'
    

    The reply is the provider's own status and body; the composio skill's "Raw requests" section covers 409 answers, choosing an account, and file bodies.

Never ask the user for a token, log it, or use another principal's credential.

Per-user connector tokens are present in the user's own DM and personal scheduled tasks, and in a shared room or channel automation only when the user has opened their connections there. If the variable is empty in a shared room, ask them to DM you instead of telling them to reconnect; empty in their DM means they haven't connected Zoom — point them to the Connectors page.

Zoom error codes: 124 (invalid access token) means they need to reconnect Zoom. 4711 ("does not contain scopes") means their token lacks that scope — if the org's Zoom app already has it they reconnect, otherwise an admin adds it to the app first. 3001 means the meeting does not exist or is not theirs.

Writes require approval

Creating, updating, or deleting a meeting is a write. Show the exact topic, start time with timezone, and duration (or which meeting changes and how) and ask for approval before running it. Reads need no approval. In a shared channel, don't post the passcode or full join_url unless everyone there may join.

Never share start_url. It embeds a host token that lets anyone start the meeting as the user. Responses that carry it go through jq below so it never reaches your output.

Find meetings

Who the user is, and their default timezone:

curl -sS 'https://api.zoom.us/v2/users/me' \
  -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US" | jq '{id, email, timezone, code, message}'

Upcoming meetings (the next six months; keep fetching with next_page_token until it is empty; times are UTC):

curl -sS --get 'https://api.zoom.us/v2/users/me/meetings' \
  -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US" \
  --data-urlencode 'type=upcoming' \
  --data-urlencode 'page_size=300' \
  | jq '{next_page_token, meetings: [.meetings[]? | {id, topic, type, start_time, duration, timezone, host_id, join_url}], code, message}'

One meeting — a recurring series appears once in the list; its occurrences (skip any with status: deleted) come from here:

curl -sS "https://api.zoom.us/v2/meetings/$MEETING_ID" \
  -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US" \
  | jq '{id, topic, type, start_time, duration, timezone, host_email, join_url, password, occurrences, code, message}'

A join URL carries the meeting ID: https://us06web.zoom.us/j/85012345678?pwd=... is meeting 85012345678. A type of 4, or a /my/<name> link, is the user's personal meeting room, shared by every meeting that uses it — never reschedule or delete it.

Create a meeting

Send start_time as local wall-clock time without an offset (2026-11-02T10:00:00) plus the IANA timezone, and Zoom converts it. Use the timezone the user gives, the calendar event's, or their Zoom profile's; the sandbox clock is UTC, so never assume it. Calendars that report Windows zone names ("Pacific Standard Time") need mapping to IANA (America/Los_Angeles). duration is in minutes.

curl -sS -X POST 'https://api.zoom.us/v2/users/me/meetings' \
  -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US" \
  -H 'content-type: application/json' \
  --data '{"topic":"Team sync","type":2,"start_time":"2026-11-02T10:00:00","timezone":"America/Los_Angeles","duration":30}' \
  | jq '{id, join_url, password, start_time, duration, timezone, code, message, errors}' > zoom-meeting.json
cat zoom-meeting.json

The returned start_time is UTC — check it is the instant you meant, because Zoom silently uses the current time for a missing or past value. The user is the host; leave settings out unless they ask, so the account's defaults (waiting room, passcode) apply. If the response was lost, list upcoming meetings before creating again — never create a duplicate.

For a recurring calendar event, create type: 3 (one link, no fixed time) and leave out start_time. Moving or cancelling one occurrence of the event needs no Zoom change; delete the meeting only when the whole series ends.

Reschedule or cancel

Get the meeting first and confirm it is the one the user means. If host_email is not the user's, it belongs to someone who gave them scheduling rights — say whose meeting it is before changing it. For a recurring meeting with fixed times (type: 8), add ?occurrence_id=<id> (from occurrences) to change or delete one occurrence; without it, the whole series changes.

Reschedule, with the same time rules as create:

curl -sS -w '\n%{http_code}\n' -X PATCH "https://api.zoom.us/v2/meetings/$MEETING_ID" \
  -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US" \
  -H 'content-type: application/json' \
  --data '{"start_time":"2026-11-02T11:00:00","timezone":"America/Los_Angeles","duration":45}'

204 comes back even when Zoom ignored a past start_time, so get the meeting again and confirm the new time before reporting it.

Cancel (204 means done):

curl -sS -w '\n%{http_code}\n' -X DELETE "https://api.zoom.us/v2/meetings/$MEETING_ID" \
  -H "Authorization: Bearer $VAULT_TOKEN_API_ZOOM_US"

Zoom doesn't notify attendees of either change.

With a calendar

This skill only talks to Zoom. To put a meeting on the user's calendar, use whichever calendar connector they have:

  • Check the event before creating a meeting: the user must be able to edit it (usually as organizer), and if it already has a video link, ask before adding another.
  • Add the join details without overwriting anything: append the join_url, meeting ID, and passcode to the description, and fill the location only if it is empty.
  • All-day events have no time — ask when the meeting is. For a recurring event, ask whether they mean one occurrence or the series.
  • Nothing keeps the two in sync. When the event moves or is cancelled, update or delete the meeting too (the meeting ID is in the event's join URL); when you move or cancel a meeting that is on an event, update the event too, or tell the user that attendees weren't told.
  • If the calendar step fails after the meeting was created, report the meeting ID and offer to delete it.

Report the meeting ID, the join_url, and what changed.

04 同仓库更多 Skills

yc-software
yc-software/qm

use-shared-credential

When you need to call a service the org has a SHARED credential for (a SERP/search key, a paid-API key, a data-vendor feed, a Git remote) — and the platform has told you that credential is available to this conversation — make the call BY PROXY through the credential broker. You never see the secret; the core stamps it onto the outbound request for you.

★ 1.6w
yc-software
yc-software/qm

ui-state

See what the person is looking at in the QM web UI right now — the whole page (sidebar, every multiview pane, open dialogs) as raw HTML, the app's state as JSON, optionally the CSS and a screenshot. Use when they ask about something on their screen, want help with the UI, or you need to check what a canvas you wrote actually rendered.

★ 1.6w
yc-software
yc-software/qm

ui-canvas

Draw your own HTML/CSS/JS as a full-window overlay on top of the QM web UI — a dashboard, a form, a visualization, controls that message you back. Write, update, replace, pin or dismiss it. Use when an interactive or visual result beats a chat reply.

★ 1.6w
yc-software
yc-software/qm

taste-skill

Design taste and process for anything a person will look at in a browser — landing page, dashboard, prototype, deck. The default design driver for a browsable artifact, with an anti-slop playbook for the visual language.

★ 1.6w
yc-software
yc-software/qm

slack-drafts

Create Slack message drafts in the user's own composer, as the user, through their per-user Slack OAuth. Drafting only — the user reviews and sends from Slack.

★ 1.6w
yc-software
yc-software/qm

send

Make a PR, wait for CI with bounded transport retries, run the repo's required reviews, and merge only when all gates pass.

★ 1.6w