跳到正文
cccskills
免费在 GitHub 公开

lob

Print and mail physical letters and postcards through Lob, verify US addresses, and cancel pieces before production. Trigger phrases: lob, send postcard, send letter, direct mail, print and mail.

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

查看安装方法

包含的文件(2)

  • SKILL.md3.9 KB
  • bin/lob.py8.4 KB

SKILL.md(原文)

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

Lob

Purpose

Send physical mail through Lob's Print and Mail API: verify US addresses; create postcards and letters that get printed and mailed; list what was sent; cancel a piece while it is still before production. Reach for this when the user wants a real letter or postcard in the mail rather than an email.

Tooling

All commands go through bin/lob.py:

bin/lob.py auth                                   # verify the API key
bin/lob.py verify-address --file address.json     # verify/correct a US address (no mail sent)
bin/lob.py send-postcard --file postcard.json \
    --confirm "mail postcard to Jane Doe at 123 Main St"   # send a postcard (test key: simulated)
bin/lob.py send-letter --file letter.json \
    --confirm "mail letter to Jane Doe at 123 Main St"     # send a letter (test key: simulated)
bin/lob.py send-postcard --file postcard.json --live \
    --confirm "mail postcard to Jane Doe at 123 Main St"   # production key path: --live AND --confirm
bin/lob.py postcards                               # list postcards
bin/lob.py get-letter --id ltr_abc123             # retrieve a letter
bin/lob.py cancel-postcard --id psc_abc123        # cancel before production (no effect after)
bin/lob.py cancel-letter --id ltr_abc123          # cancel before production (no effect after)

postcard.json / letter.json hold the Lob create payloads (to, from, front/back HTML or template, size). Address verification never sends anything.

Auth

  • Provider id: lob (credential is collected as custom.lob)
  • Collection: API key via the secure credential flow (credentials.request_api_access); issued in the Lob dashboard
  • Auth scheme: HTTP Basic with the API key as the username and a blank password; placement is resolved by the helper from the credential config
  • Allowed hosts: api.lob.com
  • Status check: bin/lob.py auth
  • Key types: keys beginning test_ simulate the full lifecycle free (nothing printed, nothing charged). Keys beginning live_ print and mail for real.

Operating Rules

  1. Test keys are the default path. With a test_ key the full lifecycle is simulated free. Never send real mail on a test run.
  2. Live sends are a HIGH actuation: POST /postcards and POST /letters with a live key print a physical piece, hand it to the postal stream, and charge printing plus postage per piece. Once a piece enters production it cannot be recalled. The CLI enforces the gate: --live (your explicit acknowledgment that the stored key is live and real mail will go out) AND --confirm with the exact string the CLI echoes (recipient and address) are both required. The string must match exactly.
  3. Cancellation only works pre-production. DELETE /postcards/{id} and DELETE /letters/{id} cancel a piece only while it is still in a cancellable state; after production starts they do nothing and spent fees are not refunded.
  4. Per-piece pricing: printing plus postage are charged per piece on live keys; current prices are published on lob.com. Always state the piece count and type when confirming a send.
  5. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/lob.py). Do not print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/lob.py

Maturity

Draft: written from Lob'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 的全部技能

报告此技能的问题