# Twitter

> [WHAT] Complete X (Twitter) integration for social media automation [WHEN] Post/delete tweets, reply, quote, search tweets, manage engagement (like/unlike, retweet/unretweet, bookmark), follow/unfollow, mute/unmute, query user info/tweets/followers/following/likes, view home timeline, send/read DMs, account auth (check/bind/unbind/rebind)

- Skill: `zhanlincui/twitter` (Agent Skill, multi-file: 34 files)
- Install (CLI): `npx skillmds@latest add zhanlincui/twitter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zhanlincui/twitter/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- License: MIT
- Author: ZhanlinCui (https://skillmd.com/u/zhanlincui)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zhanlincui/twitter

---


# X (Twitter) Integration

Provides complete X (Twitter) social media automation through Composio.

## Naming Rule (Must Follow)

- When replying to users, always use **X** as the platform name.
- Even if the user says "Twitter", do not say "Twitter" in your reply — rewrite it as **X**.
- Only keep the original naming (e.g. `twitter`, `TWITTER_*`, `tweet_*`) in code identifiers, parameter names, script names, and API fields.

## Tweet Language Rule (Must Follow)

**For new tweets (not replies/quotes):**
Tweet language priority: user explicit request > memory `tweet_language` preference > English.
If memory has no `tweet_language` yet, detect once from recent tweets (`user_tweets_get.py --max 10`) and save it to memory via Memory API. Subsequent calls use memory directly — do not re-detect.

**For replies and quotes:**
Reply language priority: user explicit request > memory `tweet_language` / reply language preference > original tweet's language (from `lang` field) > English.

## Quick Start

```bash
cd plugins/integrations/social-media/twitter && python scripts/<script>.py [arguments]
```

