social-publisher
affaan-m/ecc
Schedule and publish social media posts across 13 platforms via SocialClaw API.
What is social-publisher?
Agent-driven skill for scheduling and publishing content to X, LinkedIn, Instagram, TikTok, Facebook, Discord, Telegram, YouTube, Reddit, WordPress, and Pinterest from a single workspace. Use this when you need to manage multi-platform campaigns, upload media, validate schedules, or monitor delivery status.
- Publish posts to 13 social platforms (X, LinkedIn, Instagram, TikTok, Facebook, YouTube, Reddit, Discord, Telegram, WordPress, Pinterest)
- Schedule campaigns across multiple platforms simultaneously
- Upload and manage media assets for use in posts
- Validate post schedules before publishing
- Monitor publishing run status and delivery analytics
How to install social-publisher
npx skills add null --skill social-publisher- SocialClaw workspace API key from https://getsocialclaw.com/dashboard
- Connected social media accounts (via SocialClaw dashboard OAuth)
- Optional: SocialClaw CLI installed globally (npm install -g socialclaw@0.1.12)
How to use social-publisher
- 1.Set SC_API_KEY environment variable with your SocialClaw workspace API key
- 2.List connected accounts using 'socialclaw accounts list' or connect new ones via 'socialclaw accounts connect'
- 3.Upload media files if needed using 'socialclaw assets upload' and note the asset_id
- 4.Create a schedule.json file with post details (provider, account_id, text, scheduled_at)
- 5.Validate the schedule using 'socialclaw validate -f schedule.json' to catch errors
- 6.Publish using 'socialclaw apply -f schedule.json' to get a run_id
- 7.Monitor status using 'socialclaw status --run-id' to track delivery
Use cases
- Schedule a coordinated campaign across X, LinkedIn, and Instagram at a specific time
- Upload product images and publish them to multiple platforms with consistent messaging
- Validate a multi-platform post schedule before going live to catch errors
- Monitor delivery status and engagement metrics after publishing
- Connect and manage multiple social accounts from a single workspace
- Social media managers
- Content marketers
- Campaign coordinators
- Community managers
- Multi-platform publishers
social-publisher FAQ
13 platforms: X, LinkedIn (profile and page), Instagram (Business and standalone), Facebook Page, TikTok, YouTube, Reddit, WordPress, Discord, Telegram, and Pinterest.
No. Provider OAuth is handled in the SocialClaw dashboard; only the workspace SC_API_KEY is needed in the agent environment.
Yes. Add multiple post objects to schedule.json with different providers and account_ids, then validate and publish together.
TweetClaw is an optional OpenClaw plugin for X/Twitter research (public tweet search, follower export, user lookup). Use it to gather evidence for campaign decisions, then pass the output to SocialClaw for scheduling and publishing.
Use 'socialclaw status --run-id <run-id>' to check delivery status, or 'socialclaw posts list' to view all published posts.
Full instructions (SKILL.md)
Source of truth, from affaan-m/ecc.
name: social-publisher description: Agent-driven scheduling and publishing of social media posts across 13 platforms via SocialClaw. Use when the user wants to publish to X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, or Pinterest — or when managing campaigns, uploading media, or monitoring post delivery status. metadata: origin: community
Social Publisher (SocialClaw)
Connects Claude Code to SocialClaw for agent-driven social media publishing across 13 platforms through a single workspace API key.
When to Activate
- publish content to X, LinkedIn, Instagram, TikTok, or other platforms
- schedule a post campaign across multiple platforms at once
- upload media for use in social posts
- validate a post schedule before going live
- monitor publishing run status and delivery analytics
Setup
# Required: workspace API key from https://getsocialclaw.com/dashboard
export SC_API_KEY="<workspace-key>"
# Verify access
printf 'header = "Authorization: Bearer %s"\n' "$SC_API_KEY" |
curl -sS -K - https://getsocialclaw.com/v1/keys/validate
# Install CLI (optional but recommended)
npm install -g socialclaw@0.1.12
socialclaw login --api-key <workspace-key>
Core Workflow
1. List connected accounts
socialclaw accounts list --json
If not connected:
socialclaw accounts connect --provider x --open
socialclaw accounts connect --provider linkedin --open
2. Upload media (optional)
socialclaw assets upload --file ./image.png --json
# → { "asset_id": "..." }
3. Build schedule.json
{
"posts": [
{
"provider": "x",
"account_id": "<account-id>",
"text": "Post text here",
"scheduled_at": "2026-06-01T10:00:00Z"
}
]
}
Optional X/Twitter evidence packet
Before building an X schedule, collect a source packet when the campaign depends on live audience signals rather than the draft alone.
For OpenClaw users who have already approved TweetClaw in their dependency policy, use the pinned package as a separate evidence source:
openclaw plugins install npm:@xquik/tweetclaw@1.6.31
Use it for public tweet search, reply search, follower export, user lookup, media review, monitors, or giveaway evidence. Keep the output as research input for schedule.json; SocialClaw remains responsible for validation, scheduling, publishing, and delivery status. Store TweetClaw credentials in its plugin config, not in SC_API_KEY, schedule files, or campaign assets. Do not install it as a default ECC or SocialClaw dependency.
4. Validate before publishing
socialclaw validate -f schedule.json --json
5. Publish
socialclaw apply -f schedule.json --json
# → { "run_id": "..." }
6. Monitor
socialclaw status --run-id <run-id> --json
socialclaw posts list --json
Supported Providers
| Provider | Key |
|---|---|
| X (Twitter) | x |
| LinkedIn profile | linkedin |
| LinkedIn page | linkedin_page |
| Instagram Business | instagram_business |
| Instagram standalone | instagram |
| Facebook Page | facebook |
| TikTok | tiktok |
| YouTube | youtube |
reddit | |
| WordPress | wordpress |
| Discord | discord |
| Telegram | telegram |
pinterest |
Security
- Outbound requests go to
getsocialclaw.comonly - Provider OAuth is in the SocialClaw dashboard — no per-provider secrets exposed to the agent
SC_API_KEYis a workspace-scoped key
Related Skills
x-api— direct X/Twitter API operationssocial-graph-ranker— network analysis for outreach targetingTweetClaw- optional approved OpenClaw X/Twitter source evidence before SocialClaw scheduling
Source
- npm:
npm install -g socialclaw@0.1.12 - Dashboard: SocialClaw dashboard
Related skills
More from affaan-m/ecc and the wider catalog.
springboot-patterns
Spring Boot architecture patterns, REST API design, layered services, and production-grade backend patterns.
springboot-security
Spring Security best practices for authentication, authorization, validation, and secrets management in Java Spring Boot.
springboot-tdd
Test-driven development for Spring Boot with JUnit 5, Mockito, MockMvc, Testcontainers, and JaCoCo coverage.
springboot-verification
Build, test, analyze, and security-scan Spring Boot projects before PR or deploy.
strategic-compact
Suggests manual context compaction at strategic task boundaries to preserve context through multi-phase workflows.
swift-actor-persistence
Thread-safe data persistence in Swift using actors with in-memory cache and file-backed storage.