본문으로 건너뛰기
cccskills
무료GitHub에 공개

multi-platform-publisher

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구X (Twitter)LinkedIn
설치 방법 보기

포함된 파일(16)

  • SKILL.md3.9 KB
  • _meta.json143 B
  • .clawhub/origin.json156 B
  • adapters/__init__.py346 B
  • adapters/base_adapter.py2.1 KB
  • adapters/linkedin_adapter.py6.2 KB
  • adapters/twitter_adapter.py8.7 KB
  • adapters/wechat_adapter.py6.6 KB
  • adapters/xiaohongshu_adapter.py10.5 KB
  • main.py9.1 KB
  • requirements.txt46 B
  • utils/__init__.py52 B
  • utils/config_loader.py5.2 KB
  • utils/content_adapter.py9.8 KB
  • utils/image_handler.py3.6 KB
  • utils/logger.py1.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:

pip3 install requests tweepy Pillow

Set credentials via environment variables:

# 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:

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

Quick Start

# 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

PlatformAuth MethodFeatures
X/TwitterOAuth 1.0aTweets, Threads, Images
LinkedInOAuth 2.0Posts, Articles, Images
WeChat Official AccountAPI TokenDraft creation, Images
Xiaohongshu (小红书)MCP / CookieNotes, 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

监控 A 股基金实时估值与盘后净值,自动判断交易日并生成提醒或分析。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aAAaqwq/openclaw-team22026년 6월 18일 업데이트

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aAAaqwq/openclaw-team22026년 6월 18일 업데이트

Expert sales execution covering pipeline management, discovery, demos, negotiation, and deal closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aAAaqwq/openclaw-team22026년 6월 18일 업데이트

Support accounting understanding from basic bookkeeping to professional practice and research.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aAAaqwq/openclaw-team22026년 6월 18일 업데이트

Automate ActiveCampaign tasks via Rube MCP (Composio): manage contacts, tags, list subscriptions, automation enrollment, and tasks. Always search tools first for current schemas.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aAAaqwq/openclaw-team22026년 6월 18일 업데이트

add-lead

무료

Add company/person/relationship to CRM

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aAAaqwq/openclaw-team22026년 6월 18일 업데이트

aAAaqwq의 스킬 모두 보기

이 스킬의 문제 신고