OpenClaw · Skill

Twitter API

Async Twitter/X client and scripts that rely on auth_token + ct0 cookies (no official API keys). Supports:

Coding Agents & IDEs
v1.0.0
VirusTotal: Suspicious

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install gan12003/twitter-api

ClawHub installer

npx clawhub@latest install gan12003/twitter-api

OpenClaw CLI

openclaw skills install gan12003/twitter-api

Direct OpenClaw install

openclaw install gan12003/twitter-api

What this skill does

Async Twitter/X client and scripts that rely on auth_token + ct0 cookies (no official API keys). Supports:

Why it matters

Bypasses the official Twitter/X API tier restrictions by using browser session cookies, making it accessible without paid API access.

Typical use cases

  • Summarize home timeline activity each morning
  • Monitor mentions and engagement signals from notifications
  • Post tweets from multiple managed accounts via scripts
  • Auto-follow accounts based on agent-driven criteria
  • Analyze notification patterns to detect trending interactions

Source instructions

twitter-agent-skill

Summary

Async Twitter/X client and scripts that rely on auth_token + ct0 cookies (no official API keys). Supports:

  • Home timeline fetch + summary (scripts/timeline_summary.py).
  • Notifications fetch + signal analysis (scripts/fetch_notifications.py, scripts/analyze_signal.py).
  • Posting and follow automation via env-driven account labels (scripts/post_custom_tweet.py, scripts/follow_account.py).
  • Full async client (twitter_api/) with modules for tweets, users, relationships, DMs, etc.

Setup

  1. pip install -r requirements.txt (Python 3.10+).
  2. Copy .env.example.env and fill cookies per account (auth_token + ct0 from logged-in sessions).
  3. Run scripts from repo root, e.g.:
    python scripts/timeline_summary.py
    python scripts/post_custom_tweet.py account_a "hello"
    python scripts/follow_account.py thenfter07
    

Notes

  • Env variable names are generic (ACCOUNT_A_AUTH_TOKEN, etc.); rename as needed and adjust ACCOUNT_ENV dicts in the scripts.
  • Respect Twitter/X ToS and do not spam.
  • Designed for GanClaw social ops, but neutral enough for other agents to reuse.

Related OpenClaw skills

Browse all →
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise