← Back to Skills Marketplace
drspx

Cross-Post

by drspx · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
75
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cross-post
Description
Cross-post content to Twitter/X, Reddit, and LinkedIn from one prompt. Use when user wants to publish the same content to multiple social platforms, schedule...
README (SKILL.md)

Cross-Post

Post content to Twitter/X, Reddit, and LinkedIn via official APIs.

Setup

First time use:

python3 scripts/cross_post.py init-config

Config stored at ~/.config/cross-post/config.json.

Usage

# Post to all platforms
python3 scripts/cross_post.py post "Your content here"

# Post to specific platform
python3 scripts/cross_post.py post "Content" -p twitter

# Post as Twitter thread
python3 scripts/cross_post.py post "Long content..." -p twitter --thread

# Post to Reddit with title
python3 scripts/cross_post.py post "Body text" -p reddit -t "Title" -s python

# Read from file
python3 scripts/cross_post.py post -f draft.txt

# Preview formatting
python3 scripts/cross_post.py preview "Content" -p twitter
python3 scripts/cross_post.py preview "Content" -p reddit
python3 scripts/cross_post.py preview "Content" -p linkedin

Platform Requirements

Twitter/X

  • Bearer Token (API v2)
  • User ID
  • Setup: developer.twitter.com

Reddit

  • Client ID, Client Secret, Username
  • Password via REDDIT_PASSWORD env var
  • Setup: reddit.com/prefs/apps

LinkedIn

  • Access Token
  • Person URN
  • Setup: developers.linkedin.com

Tips

  • Use --thread for long Twitter content (auto-splits at 280 chars)
  • Use --file to post from files
  • Use preview before posting to check formatting
  • Each platform has different length limits:
    • Twitter: 280 chars per tweet
    • Reddit: 100 char title, unlimited body
    • LinkedIn: 3000 chars

Security

Config file is chmod 600. Never commit config.json.

Usage Guidance
This skill appears to do what it says: it needs API credentials for the three social platforms and will store those credentials in ~/.config/cross-post/config.json (file mode 600). Before installing or running: 1) Confirm you are comfortable providing the listed tokens/credentials; provide REDDIT_PASSWORD via the REDDIT_PASSWORD env var rather than typing it into files. 2) Review and, if you prefer, create the config file yourself instead of using interactive setup so you control what is written. 3) Consider running the script in a limited environment (non-root user) and inspect the rest of the (truncated) script if you can — part of the main function was truncated in the review bundle so ensure there are no unexpected network calls in the remainder. 4) Keep backups and do not commit the config file to version control. If you want higher assurance, verify the script's network calls and OAuth endpoints on a test account before using with your primary accounts.
Capability Analysis
Type: OpenClaw Skill Name: cross-post Version: 1.0.0 The 'cross-post' skill is a functional utility for publishing content to Twitter/X, Reddit, and LinkedIn. The script (scripts/cross_post.py) uses standard Python libraries to interact with official APIs and stores credentials locally in a configuration file with restricted permissions (chmod 600). No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Tags
requires-oauth-tokenrequires-sensitive-credentialsposts-externally
Capability Assessment
Purpose & Capability
The skill's name and description (cross-posting to Twitter/X, Reddit, LinkedIn) match the code and runtime instructions. The script interacts with the expected official API endpoints and asks for the expected credentials (Twitter bearer token & user id, Reddit client id/secret/username + REDDIT_PASSWORD env var, LinkedIn access token + person URN). One minor inconsistency: the registry metadata reports no required environment variables while the SKILL.md and the code rely on REDDIT_PASSWORD for Reddit OAuth.
Instruction Scope
SKILL.md instructs the agent/user to run the included Python script and to initialize a config at ~/.config/cross-post/config.json. The script's operations (reading config, optionally reading REDDIT_PASSWORD from env, calling official API endpoints, writing the config file) are all within the stated scope. The script will verify Twitter credentials by calling the API and may update the config with the resolved user id.
Install Mechanism
This is an instruction-only skill with a bundled Python script; there is no install spec or external download. Nothing is fetched from arbitrary URLs or installed automatically.
Credentials
The credentials the skill requires (API tokens/IDs for Twitter/Reddit/LinkedIn) are appropriate for cross-posting. The code expects REDDIT_PASSWORD to be provided via the REDDIT_PASSWORD environment variable (documented in SKILL.md) even though registry metadata lists no required env vars — this mismatch is notable. The script persists tokens and IDs into a JSON config file in the user's home directory (config is chmod 600), which is convenient but means secrets are stored on disk in plaintext; the SKILL.md warns not to commit the file.
Persistence & Privilege
The skill does not request system-wide privileges or 'always' installation. It creates and writes its own config at ~/.config/cross-post/config.json and sets restrictive permissions (600), which is expected behavior for storing service credentials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cross-post
  3. After installation, invoke the skill by name or use /cross-post
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: cross-post to Twitter/X, Reddit, and LinkedIn from one command. Supports threads, previews, and per-platform formatting.
Metadata
Slug cross-post
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cross-Post?

Cross-post content to Twitter/X, Reddit, and LinkedIn from one prompt. Use when user wants to publish the same content to multiple social platforms, schedule... It is an AI Agent Skill for Claude Code / OpenClaw, with 75 downloads so far.

How do I install Cross-Post?

Run "/install cross-post" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cross-Post free?

Yes, Cross-Post is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cross-Post support?

Cross-Post is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cross-Post?

It is built and maintained by drspx (@drspx); the current version is v1.0.0.

💬 Comments