Back to RegistryRead (
Search (
Post (
Interact (
DMs (
View Author Profile
Official Verified
x-cli
Full-featured X/Twitter toolkit — read, search, post, interact, DMs, lists, polls, trends. Cookie auth, proxy support, no API keys needed.
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ignsoftwarellc/x-cliOr
x-cli
Full-featured X/Twitter toolkit for OpenClaw agents. Powered by twikit — no API keys required, cookie-based auth.
Setup
pip install -r scripts/requirements.txt
cp config.example.json config.json
# Set cookies_file path or credentials in config.json
Commands
Read (x_read.py)
python scripts/x_read.py tweet <url-or-id> # Read a tweet
python scripts/x_read.py user <username> --count 5 # User's tweets
python scripts/x_read.py timeline --count 20 # Home timeline (Following)
python scripts/x_read.py foryou --count 20 # For You timeline
python scripts/x_read.py thread <url-or-id> # Read thread
python scripts/x_read.py replies <url-or-id> --count 20 # Replies to a tweet
python scripts/x_read.py mentions --count 10 # Your mentions
python scripts/x_read.py highlights <username> # User's highlights
python scripts/x_read.py search-user "query" --count 10 # Search users
Search (x_search.py)
python scripts/x_search.py "query" --count 10
python scripts/x_search.py "from:zerohedge gold" --count 5
Post (x_post.py) — confirm with user first!
python scripts/x_post.py tweet "text" # Post tweet
python scripts/x_post.py tweet "text" --media ID1 ID2 # With media
python scripts/x_post.py tweet "text" --dry-run # Preview only
python scripts/x_post.py reply <id> "text" # Reply
python scripts/x_post.py quote <id> "text" # Quote tweet
Interact (x_interact.py)
python scripts/x_interact.py like <tweet> # Like
python scripts/x_interact.py unlike <tweet> # Unlike
python scripts/x_interact.py retweet <tweet> # Retweet
python scripts/x_interact.py unretweet <tweet> # Undo retweet
python scripts/x_interact.py bookmark <tweet> # Bookmark
python scripts/x_interact.py unbookmark <tweet> # Remove bookmark
python scripts/x_interact.py follow <username> # Follow
python scripts/x_interact.py unfollow <username> # Unfollow
python scripts/x_interact.py delete <tweet> # Delete tweet
python scripts/x_interact.py mute <username> # Mute
python scripts/x_interact.py unmute <username> # Unmute
python scripts/x_interact.py block <username> # Block
python scripts/x_interact.py unblock <username> # Unblock
DMs (x_dm.py)
python scripts/x_dm.py send <username> "message" # Send DM
python scripts/x_dm.py inbox --count 10 # Read inbox
Metadata
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-ignsoftwarellc-x-cli": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.