Lightlines
Catalogue
Sign in
By caffeinelabs

connector-x

caffeinelabs

Post to X safely from Motoko canisters.

social media integration

What it does

Guides Caffeine builds to post to X from a canister through x-client with per-user OAuth 2.0.

When to use it

Use whenever a request involves posting or sharing to X, before writing code that touches an X endpoint.

How to use it

It changes how the agent implements posting to X in a Caffeine project.

What you provide

  • An existing project

Uses


Access · 4

This skill

X account

Write

Posts tweets to your X account (irreversible)

X OAuth token endpoint

Write

Rotates your X refresh token (irreversible)

X Developer Portal

Write

Configures your X developer app

canister token storage

Write

Stores refreshed OAuth tokens

Good to know

  • cannot be undone: X account; X OAuth token endpoint
  • sends a credential to a server: OAuth 2.0 bearer token; refresh_token; OAuth 2.0 Client ID

What you need · 2

Requires the x-client Mops package at the compatible ~0.3.0 version.

Requires access to the X Developer Portal to create a Project and App.


About this skill

Visibility
Public
Repository
caffeinelabs/skills
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
1