ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 4/5

x-twitter-by-altf1be

Post tweets, threads, and media to X/Twitter via API v2 — secure OAuth 1.0a signing, minimal dependencies (commander + dotenv only).

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/abdelkrim/x-twitter-by-altf1be
Or

What This Skill Does

The X/Twitter skill by @altf1be provides a direct, secure, and dependency-minimal integration with the X API v2. It allows an OpenClaw AI agent to publish content directly to your X profile using OAuth 1.0a authentication. By avoiding bulky third-party OAuth libraries in favor of native Node.js crypto and fetch modules, this skill ensures a lightweight footprint and high security. It supports publishing standalone tweets, multi-tweet threads, and media-rich posts directly from your CLI or agent environment.

Installation

To integrate this skill into your environment, follow these steps:

  1. Ensure you have your X API credentials ready from the developer portal.
  2. Execute the install command: clawhub install openclaw/skills/skills/abdelkrim/x-twitter-by-altf1be.
  3. Configure your local environment variables in a .env file within the {baseDir}. You must provide X_CONSUMER_KEY, X_CONSUMER_SECRET, X_ACCESS_TOKEN, and X_ACCESS_TOKEN_SECRET.
  4. Run npm install within the skill directory to prepare the necessary CLI dependencies (commander and dotenv).

Use Cases

This skill is perfect for automated social media management, brand awareness, and developer workflows. Use it to automatically share project updates, generate daily progress threads based on local repository changes, or reply to community feedback. It is an ideal tool for AI agents acting as digital assistants that need to maintain active social presence without manual intervention.

Example Prompts

  1. "Post a tweet to my timeline saying: Just shipped a new feature for the OpenClaw project! #OpenSource #AI"
  2. "Create a thread on X starting with 'I learned three things about agentic workflows today' followed by the details in my progress.txt file."
  3. "Upload the latest chart at ./stats/growth.png to X with the caption: We reached 1000 users this month!"

Tips & Limitations

  • File handling: Use the --file flag for long-form content to ensure proper formatting with --- separators.
  • Security: Never commit your .env file to version control. The skill uses standard OAuth 1.0a, ensuring your keys are never transmitted over plain text.
  • Limitations: This skill is designed for write-operations (tweeting). It does not provide extensive read or search capabilities, making it a focused tool for content distribution rather than social listening.

Metadata

Author@abdelkrim
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-abdelkrim-x-twitter-by-altf1be": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#twitter#social-media#automation#api#publishing
Safety Score: 4/5

Flags: network-access, file-read, external-api