跳到正文
cccskills
免费在 GitHub 公开

uber-direct

Quote and dispatch same-day Uber Direct courier deliveries, and check their status. Trigger phrases: uber direct, same-day delivery, dispatch courier, delivery quote.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md4.2 KB
  • bin/uber-direct.py8.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Uber Direct

Purpose

Dispatch same-day couriers through Uber Direct for food, retail, grocery, or parcel deliveries. Get a price and time quote without dispatching anyone, create a delivery when the user approves, check its status, and cancel a pending one. Reach for this when the user needs something picked up and dropped off locally today.

Tooling

All commands go through bin/uber-direct.py. Every command takes --customer-id (the Uber Direct customer ID from the developer dashboard):

bin/uber-direct.py auth --customer-id CUST_ID                 # verify the credentials
bin/uber-direct.py quote --customer-id CUST_ID \
    --file quote.json                                         # price/time quote (no courier dispatched)
bin/uber-direct.py dispatch --customer-id CUST_ID \
    --file delivery.json \
    --confirm "dispatch courier: 123 Main St -> 456 Oak Ave, quoted $9.85"  # dispatch (confirmation required)
bin/uber-direct.py get --customer-id CUST_ID \
    --delivery-id DELIVERY_ID                                 # delivery status and tracking
bin/uber-direct.py cancel --customer-id CUST_ID \
    --delivery-id DELIVERY_ID \
    --confirm "cancel delivery DELIVERY_ID"                   # cancel a pending delivery

quote.json and delivery.json hold the Uber Direct quote/delivery payloads (pickup and dropoff addresses, contact details, package info). Always run quote first and show the user the price and ETA before asking them to confirm a dispatch.

Auth

  • Provider id: uber-direct (credential is collected as custom.uber-direct)
  • Collection: OAuth 2.0 client-credentials via the secure credential flow (credentials.request_api_access); the runtime performs the token exchange and hands the CLI a fresh access token, same pattern as the slack and x connectors
  • Credential split: ONE stored credential holds the developer app's client ID and client secret; the Uber Direct customer ID is NOT a secret and is passed as the --customer-id runtime flag because it identifies the account in the URL path (one login can own several customer IDs)
  • Auth scheme: Authorization: Bearer <token> on every request
  • Allowed hosts: api.uber.com
  • Status check: bin/uber-direct.py auth --customer-id CUST_ID

Operating Rules

  1. Sandbox is the default. Test deliveries never dispatch real couriers. The sandbox/test flows are enabled in the Uber Direct developer dashboard; confirm sandbox semantics there before treating any test as representative.
  2. Dispatch is a HIGH actuation: POST /deliveries sends a real courier to the pickup and then the dropoff, and the quoted fee is charged once the delivery is accepted. The CLI requires --confirm with the exact string it echoes (pickup, dropoff, quoted amount) on every dispatch, in any environment. Missing or mismatched confirmation refuses the call.
  3. Always quote before dispatching: the quote response carries the fee and ETA the user approves.
  4. Cancellation: only possible while the delivery is pending or unassigned. A cancellation fee can apply once a courier is assigned; a delivered parcel cannot be un-delivered. cancel requires --confirm every time.
  5. Delivery fees vary by market and are billed to the Uber Direct account. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/uber-direct.py). Do not print, log, or transmit the client ID or secret.

Files

  • SKILL.md
  • bin/uber-direct.py

Maturity

Draft: written from Uber Direct's public API docs; not yet live-tested end-to-end.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

airtable

免费

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

amadeus

免费

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

anthropic

免费

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

apollo

免费

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13792026年10月14日 更新

查看 Anil-matcha 的全部技能

报告此技能的问题