โ† All skills
Tencent SkillHub ยท Developer Tools

X Api

Post to X (Twitter) using the official API with OAuth 1.0a. Use when you need to tweet, post updates, or publish content. Bypasses rate limits and bot detection that affect cookie-based approaches like bird CLI.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Post to X (Twitter) using the official API with OAuth 1.0a. Use when you need to tweet, post updates, or publish content. Bypasses rate limits and bot detection that affect cookie-based approaches like bird CLI.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, scripts/package.json, scripts/x-post.mjs

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

x-api ๐Ÿฆ

Post to X using the official API (OAuth 1.0a).

When to Use

Posting tweets (cookie-based bird tweet gets blocked by bot detection) Official API access is needed for reliability For reading (timeline, search, mentions), use bird CLI instead โ€” it's free and works well for reads.

1. Get API Credentials

Go to https://developer.x.com/en/portal/dashboard Create a Project and App Set App permissions to Read and Write Get your keys from "Keys and tokens" tab: API Key (Consumer Key) API Key Secret (Consumer Secret) Access Token Access Token Secret

2. Configure Credentials

Option A: Environment variables export X_API_KEY="your-api-key" export X_API_SECRET="your-api-secret" export X_ACCESS_TOKEN="your-access-token" export X_ACCESS_SECRET="your-access-token-secret" Option B: Config file at ~/.clawdbot/secrets/x-api.json { "consumerKey": "your-api-key", "consumerSecret": "your-api-secret", "accessToken": "your-access-token", "accessTokenSecret": "your-access-token-secret" }

3. Install Dependency

npm install -g twitter-api-v2

Post a Tweet

x-post "Your tweet text here" Or with full path: node /path/to/skills/x-api/scripts/x-post.mjs "Your tweet text here" Supports multi-line tweets: x-post "Line one Line two Line three" Returns the tweet URL on success.

Limits

Free tier: 1,500 posts/month (requires credits in X Developer Portal) Basic tier ($100/mo): Higher limits

Reading (use bird)

For reading, searching, and monitoring โ€” use the bird CLI: bird home # Timeline bird mentions # Mentions bird search "query" # Search bird user-tweets @handle # User's posts bird read <tweet-url> # Single tweet

Troubleshooting

402 Credits Depleted: Add credits in X Developer Portal โ†’ Dashboard 401 Unauthorized: Regenerate Access Token (ensure Read+Write permissions are set first) No credentials found: Set env vars or create config file (see Setup above)

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts1 Config
  • SKILL.md Primary doc
  • README.md Docs
  • scripts/x-post.mjs Scripts
  • scripts/package.json Config