Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Multi Platform Publisher

ASecurity

Publish content to X/Twitter, LinkedIn, WeChat Official Account, and Xiaohongshu with one command. Automatically adapts content format for each platform — threads for Twitter, professional articles for LinkedIn, HTML drafts for WeChat, emoji notes for Xiaohongshu. Triggers: publish content, social media, twitter post, linkedin post, wechat article, xiaohongshu note, cross-platform publish, multi-platform

2 stars
0 votes
0 copies
0 views
Added 10/6/2026
content-marketingpythonbashgitapi

Works with

cliapimcp

Security Analysis

A96/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 16 files and shows the line behind each finding

Scanned 10/6/2026

$npx -y skills add aAAaqwq/openclaw-team --skill multi-platform-publisher --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Multi Platform Publisher?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Multi Platform Publisher
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aaaaqwq-multi-platform-publisher/badge)](https://www.skillsdirectory.com/skills/aaaaqwq-multi-platform-publisher)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: multi-platform-publisher
description: "Publish content to X/Twitter, LinkedIn, WeChat Official Account, and Xiaohongshu with one command. Automatically adapts content format for each platform — threads for Twitter, professional articles for LinkedIn, HTML drafts for WeChat, emoji notes for Xiaohongshu. Triggers: publish content, social media, twitter post, linkedin post, wechat article, xiaohongshu note, cross-platform publish, multi-platform"
allowed-tools: Bash
metadata:
  openclaw:
    homepage: https://github.com/mguozhen/multi-platform-publisher
---

# Multi-Platform Social Media Publisher

Publish content to multiple social media platforms with a single command. Supports X/Twitter, LinkedIn, WeChat Official Account (微信公众号), and Xiaohongshu (小红书).

## Prerequisites

Install dependencies:

```bash
pip3 install requests tweepy Pillow
```

Set credentials via environment variables:

```bash
# Twitter / X
export TWITTER_API_KEY="your-api-key"
export TWITTER_API_SECRET="your-api-secret"
export TWITTER_ACCESS_TOKEN="your-access-token"
export TWITTER_ACCESS_TOKEN_SECRET="your-access-token-secret"

# LinkedIn
export LINKEDIN_ACCESS_TOKEN="your-linkedin-token"
export LINKEDIN_PERSON_URN="urn:li:person:abc123"   # optional

# WeChat Official Account
export WECHAT_APPID="your-appid"
export WECHAT_APPSECRET="your-appsecret"

# Xiaohongshu
export XHS_COOKIE="your-cookie-string"
```

Or configure via `~/.openclaw/openclaw.json`:

```json
{
  "skills": {
    "entries": {
      "multi-platform-publisher": {
        "env": {
          "TWITTER_API_KEY": "...",
          "LINKEDIN_ACCESS_TOKEN": "...",
          "WECHAT_APPID": "...",
          "XHS_COOKIE": "..."
        }
      }
    }
  }
}
```

## Quick Start

```bash
# Publish to all configured platforms
python3 {baseDir}/main.py publish --content "Your post content here" --platforms all

# Specific platforms
python3 {baseDir}/main.py publish --content "Your content" --platforms twitter,linkedin

# Publish from a Markdown file
python3 {baseDir}/main.py publish --file /path/to/article.md --platforms all

# Twitter thread for long content
python3 {baseDir}/main.py publish --content "Long article..." --platforms twitter --thread

# Attach images
python3 {baseDir}/main.py publish --content "Check this out!" --platforms all --images photo.jpg

# Preview without publishing (dry run)
python3 {baseDir}/main.py publish --content "Test" --platforms all --dry-run

# Validate credentials
python3 {baseDir}/main.py validate

# List configured platforms
python3 {baseDir}/main.py list-platforms
```

## Supported Platforms

| Platform | Auth Method | Features |
|---|---|---|
| X/Twitter | OAuth 1.0a | Tweets, Threads, Images |
| LinkedIn | OAuth 2.0 | Posts, Articles, Images |
| WeChat Official Account | API Token | Draft creation, Images |
| Xiaohongshu (小红书) | MCP / Cookie | Notes, Images |

## Content Adaptation

Content is automatically adapted for each platform:

- **X/Twitter** — Strips Markdown, splits into 280-char tweets, creates numbered threads for long content
- **LinkedIn** — Formats as professional post, up to 3,000 chars, clean paragraphs
- **WeChat** — Converts to styled HTML article (draft, requires manual publish in dashboard)
- **Xiaohongshu** — Casual tone, emoji injection, topic tags, 1,000 char limit

## Project Structure

```
main.py                  # CLI entry point
adapters/
  base_adapter.py        # Abstract base class
  twitter_adapter.py     # X / Twitter (OAuth 1.0a)
  linkedin_adapter.py    # LinkedIn (OAuth 2.0)
  wechat_adapter.py      # WeChat Official Account
  xiaohongshu_adapter.py # Xiaohongshu (MCP/Cookie)
utils/
  config_loader.py       # Credential loading (env > openclaw.json > config.json)
  content_adapter.py     # Platform-specific content transformation
  image_handler.py       # Image resize/validate before upload
  logger.py              # Stderr logger
```

Attribution

aAAaqwqaAAaqwq
View sourceSee grades on GitHubMore from aAAaqwq →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Postiz

Postiz is a tool to schedule social media and chat posts to 28+ channels X, LinkedIn, LinkedIn Page, Reddit, Instagram, Facebook Page, Threads, YouTube, Google My Business, TikTok, Pinterest, Dribbble, Discord, Slack, Kick, Twitch, Mastodon, Bluesky, Lemmy, Farcaster, Telegram, Nostr, VK, Medium, Dev.to, Hashnode, WordPress, ListMonk

21281 votes

Serp Analysis

SERP analysis techniques for intent classification, feature identification, and competitive intelligence. Use when analyzing search results for content strategy.

2831 votes

On Page Seo Auditor

This skill performs detailed on-page SEO audits to identify issues and optimization opportunities. It analyzes all on-page elements that affect search rankings and provides actionable recommendations.

1821 votes

Brand

Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.

1328090 votes

Release Announcement

Write a release announcement — changelog, blog post, in-app note, or social post — that leads with user impact, names the audience, and includes upgrade/migration steps without filler.

953190 votes
View all in content-marketing →