Skip to content
TakoAPI
Back to skills

twitter-api

by gan12003

Coding Agents & IDEs
631Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Cookie-based Twitter/X automation toolkit (timeline, notifications, posting, follow ops) for OpenClaw agents.

Description

What This Skill Does

Cookie-based Twitter/X automation client using auth_token and ct0 session cookies instead of official API keys. Covers timeline reading, notification analysis, posting, and follow operations across multiple accounts. Built for async use with modular support for tweets, users, DMs, and relationships.

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

When to Use It

  • 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

Example Workflow

INPUT

User asks: post 'hello world' from account_a and follow @thenfter07

AGENT
  1. 1

    Reads ACCOUNT_A_AUTH_TOKEN and ACCOUNT_A_CT0 from .env

  2. 2

    Calls post_custom_tweet.py with account_a and the message text

  3. 3

    Confirms tweet posted successfully

  4. 4

    Calls follow_account.py with target handle thenfter07

  5. 5

    Confirms follow operation completed

OUTPUT

Tweet posted from account_a and @thenfter07 followed

Requirements

  • Twitter/X account session cookies (auth_token and ct0) for each account, extracted from a logged-in browser session

Installation

clawhub install gan12003/twitter-api

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links