Software Development

Connector X

MANDATORY recipe for every Caffeine build that posts to X (Twitter) from a canister. The supported path is the `x-client` mops package (X API v2) over outbound HTTPS, with per-user OAuth 2.0 (PKCE, no client secret). Hand-rolling `ic.http_request` calls to `api.x.com` is a FORBIDDEN anti-pattern — it bypasses bearer auth, the non-replicated-outcall safeguard, and the package's null-field JSON handling. Load this skill whenever the user, spec, or any prior task mentions posting a tweet, "tweet this", X/Twitter, sharing to X, or any equivalent phrasing — and BEFORE writing any code that touches an X endpoint.

Publisher / source
caffeinelabs/skills (found on skills.sh)
Upstream record
caffeinelabs/skills
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
ff4f66cd39e931092f6a36b2b9acd78575eb1680b4b244d93773d3d194d9abeb