← Back to Skills Marketplace
191
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install x-leads-api
Description
Post tweets, threads, replies, and quote-tweets to X (Twitter) via API v2 with OAuth 1.0a.
Usage Guidance
This skill appears to do what it says: it will use the four X/Twitter credentials you provide to act as that account and post/read tweets. Before installing: (1) Only supply credentials for an account you control and are comfortable automating — the script can post, like, and delete as that user. (2) Review the included x-api.js yourself or with someone you trust; there is no hidden outbound host other than api.twitter.com and no obfuscated code, but the script will have network access while it runs. (3) Note the SKILL.md mentions scheduling/cron support, but the code does not implement scheduling — treat that documentation as inaccurate. (4) The skill's source is unknown/third-party; if you do not trust the publisher, create and use a throwaway/test X account or rotate keys after testing. (5) Ensure Node >=18 is available in your environment as required by package.json.
Capability Analysis
Type: OpenClaw Skill
Name: x-leads-api
Version: 1.0.0
The skill bundle provides a legitimate Node.js-based CLI tool for interacting with the X (Twitter) API v2. The code in `x-api.js` uses built-in modules to handle OAuth 1.0a authentication and standard API requests without external dependencies or suspicious network calls. While `SKILL.md` contains some functional discrepancies (referencing 'schedule' commands not implemented in the script) and uses restrictive language to guide the AI agent, there is no evidence of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
Name/description match the code and required environment variables (X API key/secret and access token/secret). The included x-api.js implements posting, threading, replies, quote-tweets, likes, deletes, and timeline reads against api.twitter.com/2 using OAuth 1.0a — these require the declared credentials and are proportionate to the stated purpose.
Instruction Scope
SKILL.md directs running the bundled Node script at /root/.openclaw/skills/x-api/x-api.js and warns against using other tools. That is unusual but not inherently malicious. One inconsistency: SKILL.md documents scheduling commands (schedule, schedule-thread) and says posts are 'saved to queue, posted by cron', but the provided x-api.js contains no scheduling/queue/cron implementation. Otherwise the runtime instructions primarily call the included script and do not request unrelated files or system data.
Install Mechanism
No install spec; the skill is instruction-plus-code only. No downloads from external URLs or package installs are present. The single JavaScript file has a clear purpose and no obfuscated or unusual install actions.
Credentials
Only four environment variables are required and they are precisely the OAuth 1.0a consumer key/secret and access token/secret needed to act as the user account. No unrelated credentials, config paths, or broad secrets are requested.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It will run the bundled script which has normal network access to Twitter APIs; autonomous invocation is allowed by default (not flagged on its own).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install x-leads-api - After installation, invoke the skill by name or use
/x-leads-api - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release with new streamlined Node.js-based Twitter (X) API posting tool.
- Fully rewritten: Now uses a single script (x-api.js) for all X (Twitter) actions via API v2 and OAuth 1.0a.
- Supports tweeting, threads, replies, quote-tweets, liking, deleting, timeline fetch, and scheduling.
- Requires only environment variables for authentication—no dependencies or external Python scripts.
- All previous scripts and documentation for alternative tools have been removed.
- Output is clear JSON for easy integration and error checking.
Metadata
Frequently Asked Questions
What is X Publisher?
Post tweets, threads, replies, and quote-tweets to X (Twitter) via API v2 with OAuth 1.0a. It is an AI Agent Skill for Claude Code / OpenClaw, with 191 downloads so far.
How do I install X Publisher?
Run "/install x-leads-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is X Publisher free?
Yes, X Publisher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does X Publisher support?
X Publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created X Publisher?
It is built and maintained by pbopps (@3rdbrain); the current version is v1.0.0.
More Skills