x
X (Twitter) API for tweets and profiles. Use when user mentions "X", "Twitter", "x.com", "twitter.com", shares a tweet link, "check X", or asks about social media posts.
What this skill does
## How to Use ### 1. Get Authenticated User Profile ```bash xurl whoami ``` ### 2. Look Up User by Username > **Note:** Replace `elonmusk` with the actual username. Leading `@` is optional. ```bash xurl user elonmusk ``` ### 3. Look Up User by ID > **Note:** Replace `12345` with the actual user ID. You can obtain user IDs from other endpoint responses. ```bash xurl /2/users/12345?user.fields=id,name,username,description,public_metrics,created_at ``` ### 4. Look Up Multiple Users Get profiles for multiple users at once (up to 100): > **Note:** Replace the IDs with actual user IDs, comma-separated. ```bash xurl '/2/users?ids=12345,67890&user.fields=id,name,username,description,public_metrics' ``` ### 5. Get a Tweet by ID > **Note:** Replace `1234567890` with the actual tweet ID. Full URLs like `https://x.com/user/status/1234567890` also work. ```bash xurl read 1234567890 ``` ### 6. Get Multiple Tweets Get details for multiple tweets at once (up to 100): > **Note:** Replace the IDs with actual tweet IDs, comma-separated. ```bash xurl '/2/tweets?ids=1234567890,0987654321&tweet.fields=created_at,public_metrics,author_id,text&expansions=author_id&user.fields=name,username' ``` ### 7. Get User's Tweets (Timeline) Get recent tweets posted by the authenticated user: ```bash xurl timeline -n 10 ``` Query parameters for raw API (if you need another user's timeline): ```bash xurl '/2/users/USER_ID/tweets?max_results=10&tweet.fields=created_at,public_metrics,text&exclude=retweets,replies' ``` - `max_results` - 5 to 100 (default: 10) - `start_time` / `end_time` - ISO 8601 datetime filter - `since_id` / `until_id` - Tweet ID boundaries - `pagination_token` - For paginating results - `exclude` - Comma-separated: `retweets`, `replies` ### 8. Get User's Mentions ```bash xurl mentions -n 10 ``` ### 9. Search Recent Tweets Search for tweets from the past 7 days: > **Note:** Replace the query with your search terms. ```bash xurl search "openai lang:en -is:retweet" -n 10 ``` Common search operators: - `from:username` - Tweets from a specific user - `to:username` - Tweets replying to a user - `@username` - Tweets mentioning a user - `#hashtag` - Tweets with a hashtag - `has:links` / `has:images` / `has:videos` - Media filters - `-is:retweet` - Exclude retweets - `-is:reply` - Exclude replies - `lang:en` - Filter by language - `conversation_id:123` - Tweets in a conversation thread ### 10. Get User's Followers > **Note:** Replace `elonmusk` with the actual username. ```bash xurl followers --of elonmusk -n 20 ``` ### 11. Get User's Following > **Note:** Replace `elonmusk` with the actual username. ```bash xurl following --of elonmusk -n 20 ``` ## Pagination Most list endpoints support pagination. For shortcut commands, use `-n` to control result count. For raw API endpoints, check the `meta.next_token` field in the response: ```bash xurl '/2/tweets/search/recent?query=example&max_results=10' | jq .meta ``` Use the returned `next_token` value as `pagination_token` in the next request to get more results. ## Common user.fields | Field | Description | |-------|-------------| | `id` | Unique user ID | | `name` | Display name | | `username` | Handle (without @) | | `description` | Bio text | | `created_at` | Account creation date | | `public_metrics` | Followers, following, tweet, and listed counts | | `profile_image_url` | Avatar URL | | `verified` | Verification status | | `location` | User-defined location | | `url` | User-defined URL | ## Common tweet.fields | Field | Description | |-------|-------------| | `id` | Unique tweet ID | | `text` | Tweet content | | `created_at` | Post timestamp | | `author_id` | Author's user ID | | `public_metrics` | Retweets, replies, likes, quotes, bookmarks, impressions | | `conversation_id` | Thread root tweet ID | | `lang` | Detected language | | `referenced_tweets` | Retweet/quote/reply references | | `entities` | URLs, hashtags, mentions, cashtags | ## Guidelines 1. **Read-only access**: This connector only grants read permissions; you cannot post, like, or retweet 2. **Rate limits**: X API has strict rate limits; avoid rapid successive calls 3. **Prefer shortcut commands**: Use `xurl search`, `xurl user`, `xurl read` etc. over raw API paths when possible 4. **Raw API fallback**: For bulk lookups or advanced queries, use `xurl '/2/...'` with query parameters 5. **Fields are opt-in (raw API only)**: Raw endpoints only return `id` and `text` by default; specify `tweet.fields` and `user.fields` for richer data. Shortcut commands include common fields automatically 6. **7-day search window**: The recent search endpoint only covers the past 7 days 7. **Pagination**: Use `-n` for shortcut commands, `max_results` and `pagination_token` for raw API
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.