Skip to main content

social-publisher

Publish content to multiple social media platforms (Facebook, Instagram, LinkedIn, WhatsApp). Use when user asks to 'publish', 'post', 'share on social media', 'distribute content', or wants to send marketing messages.

Source facts

Repository
aviz85/architect-workshops
Last source activity
May 4, 2026 at 07:14
Detected SKILL.md language
Mixed languages
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
4 files

Showing SKILL.md

SKILL.md
Source instructions ยท Read-only preview
name
social-publisher
description
Publish content to multiple social media platforms (Facebook, Instagram, LinkedIn, WhatsApp). Use when user asks to 'publish', 'post', 'share on social media', 'distribute content', or wants to send marketing messages.
# Social Publisher Publish content to multiple social media platforms from a single command. ## Workflow: Content Adaptation When the user provides a message to publish, **ALWAYS**: 1. **Adapt the message for each platform** based on these rules: 2. **Present all versions** to the user for approval 3. **Ask which platforms** to publish to 4. **Publish** only after confirmation ### Platform Adaptation Rules | Platform | Max Length | Tone | Format | |----------|------------|------|--------| | **Facebook** | 2000+ chars | Personal, storytelling | Full paragraphs, emojis OK | | **LinkedIn** | 1300 chars | Professional, insights | Business value, no slang | | **Twitter/X** | 280 chars | Punchy, hook | One key insight, hashtag optional | | **Instagram** | 2200 chars | Casual, visual | Emojis, hashtags at end | | **YouTube** | 5000 chars | Descriptive | Timestamps, links | ### Adaptation Examples **Original message about AI agents:** **Facebook:** > ืื ื”ืขื‘ื•ื“ื” ืฉืœื›ื ืงืฉื•ืจื” ืœืžื—ืฉื‘ - ืชืขืฆืจื•. > [Full story, personal experience, emotional] > ื–ื” ืžื‘ื—ืŸ ื˜ื•ืจื™ื ื’ ืฉืœ ื”ืกื•ื›ื ื™ื. ๐Ÿค– **LinkedIn:** > The "Agent Turing Test" - Can AI agents truly replace human workers? > [Professional insight, business implications] > After a week of intensive work with autonomous agents, I've seen tasks completed end-to-end without intervention. > The productivity implications are significant. **Twitter/X:** > ืฉื‘ื•ืข ืขื ืกื•ื›ื ื™ AI ืื•ื˜ื•ื ื•ืžื™ื™ื. > ื”ืชืคื•ืงื”? ืื•ืœื™ ืคื™ 10. > ื”ืžืคืชื—: ืžืฉื™ืžื•ืช ืžืงืฆื” ืœืงืฆื”. > ื–ื” ืžื‘ื—ืŸ ื˜ื•ืจื™ื ื’ ื”ื—ื“ืฉ. ๐Ÿค– **Instagram:** > ๐Ÿค– ืžื‘ื—ืŸ ื˜ื•ืจื™ื ื’ ืฉืœ ื”ืกื•ื›ื ื™ื > > ืœื "ื”ืื ื–ื” ื ืฉืžืข ืื ื•ืฉื™?" > ืืœื "ื”ืื ื–ื” ืžื•ืขื™ืœ ื›ืžื• ืขื•ื‘ื“?" > > ื”ืชืฉื•ื‘ื”: ื›ืŸ. ื•ื–ื” ืงื•ืจื” ืขื›ืฉื™ื•. > > #AI #Automation #Productivity #AIAgents #ClaudeCode ## Supported Platforms | Platform | API | Features | |----------|-----|----------| | **Facebook** | Ayrshare | Posts, images, links | | **Instagram** | Ayrshare | Posts, images, reels | | **LinkedIn** | Ayrshare | Posts, images, articles | | **Twitter/X** | Ayrshare | Tweets, threads | | **YouTube** | Ayrshare | Community posts | | **WhatsApp** | Green API | Messages, images to groups | ## Setup ### 1. Install Dependencies ```bash cd /Users/aviz/architect-workshops/.codex/skills/social-publisher/scripts npm install ``` ### 2. Configure APIs Create `.env` file: ```env # Ayrshare (for FB, IG, LinkedIn, Twitter, YouTube) AYRSHARE_API_KEY=your_ayrshare_api_key # Green API (for WhatsApp) GREEN_API_INSTANCE_ID=your_instance_id GREEN_API_TOKEN=your_api_token ``` ## Usage ### Standard Flow (Recommended) User provides a message, Claude: 1. Adapts for all platforms 2. Shows formatted versions 3. Asks which to publish 4. Publishes selected Example: ``` User: ืชืคืจืกื ืืช ื–ื”: "ื”ื’ืขืชื™ ืœ-10x productivity ื”ืฉื‘ื•ืข ืขื ืกื•ื›ื ื™ AI" Claude: ื”ื ื” ื”ื’ืจืกืื•ืช ืœื›ืœ ืคืœื˜ืคื•ืจืžื”: ๐Ÿ“˜ **Facebook:** ื”ื’ืขืชื™ ืœ-10x productivity ื”ืฉื‘ื•ืข ืขื ืกื•ื›ื ื™ AI... [expanded version] ๐Ÿ’ผ **LinkedIn:** This week I achieved 10x productivity using AI agents... [professional version] ๐Ÿฆ **Twitter/X:** 10x productivity ืขื ืกื•ื›ื ื™ AI. ืœื ื”ื™ื™ืค. ืžืฆื™ืื•ืช. ๐Ÿš€ ๐Ÿ“ธ **Instagram:** ๐Ÿš€ 10x productivity [visual version with hashtags] ืœืื™ื–ื” ืคืœื˜ืคื•ืจืžื•ืช ืœืฉืœื•ื—? ``` ### Direct Publish (Skip Adaptation) ```bash npx ts-node publish.ts --facebook --message "Your message" --no-adapt ``` ### Options | Option | Description | |--------|-------------| | `--all` | Publish to all connected platforms | | `--facebook` | Publish to Facebook | | `--instagram` | Publish to Instagram (requires image) | | `--linkedin` | Publish to LinkedIn | | `--twitter` | Publish to Twitter/X | | `--whatsapp` | Send to WhatsApp | | `--message <text>` | Post/message text | | `--image <path>` | Image file path | | `--group <id>` | WhatsApp group ID | | `--dry-run` | Preview without posting | ## Response Format When presenting adapted content, use this format: ``` ๐Ÿ“ฑ **ื’ืจืกืื•ืช ืžื•ืชืืžื•ืช ืœืคืจืกื•ื:** --- ๐Ÿ“˜ **Facebook** (ืžื•ื›ืŸ ืœืฉืœื™ื—ื”) [content] --- ๐Ÿ’ผ **LinkedIn** (ืžื•ื›ืŸ ืœืฉืœื™ื—ื”) [content] --- ๐Ÿฆ **Twitter/X** (280 ืชื•ื•ื™ื) [content] --- ๐Ÿ“ธ **Instagram** (ื“ื•ืจืฉ ืชืžื•ื ื”) [content] --- **ืœืื™ื–ื” ืคืœื˜ืคื•ืจืžื•ืช ืœืฉืœื•ื—?** 1. ื›ื•ืœื 2. Facebook + LinkedIn 3. Twitter ื‘ืœื‘ื“ 4. ืื—ืจ (ืฆื™ื™ืŸ) ``` ## Integration with Other Skills - **marketing-copy**: Generate content, then adapt and publish - **nano-banana-poster**: Generate poster, then publish with image - **workshop-updates**: Mark "published" in pipeline
View on GitHub