TweetClaw is the official OpenClaw plugin for using Xquik from an OpenClaw agent. It gives your agent a safe endpoint catalog, account-backed X automation, optional read-only MPP access, slash commands, and monitor notifications without exposing API keys to the model. Use it when your OpenClaw workflow needs X search, user lookups, tweet posting, replies, likes, retweets, follows, DMs, monitors, webhooks, giveaway draws, extraction jobs, media actions, or trend reads.Documentation Index
Fetch the complete documentation index at: https://docs.xquik.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- OpenClaw
2026.5.4or newer - Node.js
22or newer - Xquik API key for account-backed automation
- Optional MPP setup for anonymous read-only pay-per-use calls
Install
Install the official OpenClaw package. Current OpenClaw checks ClawHub first, then npm:@xquik/tweetclaw is the official package. The plugin id is tweetclaw. The current source-truth version is 1.6.31.
Configure API Key Auth
Create an API key from the Xquik dashboard, then configure TweetClaw:Configure MPP Pay-Per-Use
MPP lets TweetClaw call 31 read-only X API endpoints without an Xquik account or API key. Use it for agent research workflows that only need public X data.Optional Settings
TweetClaw can poll Xquik events and surface monitor notifications in chat.Tools
explore
Search the bundled Xquik endpoint catalog and inspect parameters. This tool
does not call the network.
tweetclaw
Call catalog-listed Xquik endpoints with structured method, path, query, and
body input. This tool can make network requests.
explore tool is the safe first step. Ask the agent to inspect the catalog before it calls an endpoint:
tweetclaw tool is optional because it can spend credits, read private account data, or perform write-like actions. If OpenClaw hides optional tools, allow it explicitly:
Workflow Handoffs
Useexplore first, then call tweetclaw only for the endpoint, target, and
limit you intend to run.
Tweet Replies Export
Estimate
reply_extractor with targetTweetId, create the extraction, poll
/api/v1/extractions/{id}, then return CSV, JSON, and XLSX export URLs.Follower Export
Estimate
follower_explorer with targetUsername, create the extraction,
poll until completion, then export the job for CRM or warehouse import.Media Tweets and DM Attachments
For tweets or replies, call
POST /api/v1/x/tweets with public media URLs
in media. Store tweetId when confirmed; if the response includes
writeActionId, poll GET /api/v1/x/write-actions/{id} before retrying.
For DM attachments, upload media first, pass the returned mediaId as the
one-item media_ids value, then store messageId.Runtime Diagnostics
TweetClaw can be installed before credentials are configured. In that state, useexplore for free endpoint discovery. Live API calls return setup guidance until you add an API key or MPP signing key.
Verify runtime registration after install or update:
explore and tweetclaw to tools.alsoAllow so your normal tool profile stays intact.
Only change baseUrl for a self-hosted Xquik-compatible API. TweetClaw requires an HTTPS base URL with no embedded credentials.
Slash Commands
/xstatus
Show the connected X account, email, locale, subscription status, plan, and
usage when API key auth is configured.
/xtrends
Show current topics from Xquik Radar.
/xtrends tech
Show current Xquik Radar topics filtered by the
tech category.Safety Model
TweetClaw keeps credentials in plugin config and injects auth at request time. The model does not receive your API key or MPP signing key as a tool argument. OpenClaw approval prompts apply before write-liketweetclaw calls. Review the structured request before approving any post, delete, follow, DM, monitor change, extraction, webhook change, media action, profile change, or community action.
Dashboard-only account-admin, billing, support-ticket, and raw credential flows are excluded from the agent catalog and blocked at runtime.
API Coverage
TweetClaw exposes 99 agent-callable endpoints across 9 categories.account
1 endpoint for account status and usage.
composition
13 endpoints for compose, drafts, writing styles, and radar.
credits
1 endpoint for credit balance reads.
extraction
9 endpoints for extraction jobs, giveaway draws, and exports.
media
1 endpoint for authenticated tweet media downloads and gallery links.
monitoring
18 endpoints for account monitors, keyword monitors, events, and webhooks.
37 endpoints for search, lookups, timelines, articles, trends, bookmarks,
and notifications.
x-accounts
1 endpoint for listing connected accounts before explicit user-selected
actions.
x-write
18 endpoints for post, reply, like, retweet, follow, remove follower, DM,
profile, media, and community actions.
Verify
After installing and configuring the plugin, run:tweetclaw:
Troubleshooting
Tools Missing
Add
explore and tweetclaw to tools.alsoAllow, run the runtime
inspection commands, then restart OpenClaw.Auth Fails
Create a fresh Xquik API key and update
plugins.entries.tweetclaw.config.apiKey.MPP Setup Fails
Install
mppx and viem, fund the MPP account, and call only
MPP-eligible read endpoints.Monitor Alerts Missing
Set
pollingEnabled to true and keep pollingInterval at 60 seconds or
higher.Write Approval Required
Review the structured request and approve only the exact intended post,
delete, follow, DM, monitor, extraction, webhook, profile, or community
action.