
Description
connector-x is an agent skill that gives an AI assistant the required recipe for building a Caffeine app that posts to X, formerly Twitter, from a canister. The skill says the supported path is the x-client Mops package, which provides Motoko bindings for the X API v2, generated from X's OpenAPI specification. The write path is the createPosts call to POST /2/tweets, using the TweetCreateRequest model. The example backend is a minimal canister that posts a tweet on behalf of a user who holds an OAuth 2.0 bearer token, with token acquisition and refresh handled on the canister side. The skill explains that non-replicated calls are the default, so you supply the token, and that every optional field must be present, with null meaning not supplied. It is published by Caffeine Labs in the skills repository on GitHub and listed on skills.sh.…
Highlights
- Posts to X from a Motoko canister
- Uses the x-client Mops package for the X API v2
- Covers OAuth 2.0 bearer tokens on the canister side
- Explains optional-field and null handling
- Non-replicated calls by default
Ratings & Reviews
No ratings yet
Be the first to rate connector-x.
People also visit

extension-posting-to-x
MANDATORY recipe for every Caffeine build that posts to X (Twitter)
connector-x FAQ
What does connector-x do?
It guides an AI assistant to build a Caffeine canister that posts tweets to X, using the x-client Mops package.
How do I install it?
Run npx skills add https://github.com/caffeinelabs/skills --skill connector-x, as listed on skills.sh.
Who needs it?
Caffeine builds that post to X. The skill describes the approach as mandatory for those builds.
How is the token handled?
The canister holds an OAuth 2.0 bearer token for the user. The skill says token acquisition and refresh are done on the canister side.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best connector-x alternatives?
Popular alternatives to connector-x include extension-posting-to-x, x-api and ihuzaifashoukat/x-use. See all connector-x alternatives













