social-post_skill

This skill posts to multiple social platforms using a unified API with automatic provider fallback to streamline cross-posting.

5

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

3 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill phy041/claude-agent-skills --skill social-post

  • SKILL.md6.3 KB

Overview

This skill posts to multiple social media platforms through a unified social posting API with automatic provider fallback. It supports Twitter/X, LinkedIn, Instagram, Facebook, TikTok, Threads, Bluesky and more, handling media, scheduling, and provider selection. Use it to publish, schedule, or cross-post content from a single interface.

How this skill works

The skill uses a SocialPostingClient that talks to primary and fallback providers (PostForMe and LATE) via API keys in an environment file. It inspects connected accounts, filters requested platforms to those actually linked, and submits posts with optional media and scheduled timestamps. Results return success status, provider used, and post identifiers; failures include error messages and fallback attempts.

When to use it

  • You want to cross-post the same message to multiple networks in one call.
  • You need to include images or video and ensure platform-specific requirements are met.
  • You want scheduled publishing to a mix of professional and consumer platforms.
  • You need automatic fallback if the primary posting provider is unavailable.
  • You want a quick check of which social accounts are currently connected.

Best practices

  • Store API keys in a .env file and load them before instantiating the client.
  • Always call get_accounts() first and filter requested platforms against connected accounts.
  • Respect per-platform rules (e.g., Twitter 280-char limit; Instagram requires media).
  • Provide absolute media URLs that are publicly accessible for uploads.
  • Use scheduled_for in UTC for predictable timing across time zones.

Example use cases

  • Publish a launch announcement to Twitter/X and LinkedIn with one API call.
  • Post an Instagram carousel by supplying multiple image URLs and targeting only Instagram.
  • Schedule a LinkedIn post for a future conference announcement using scheduled_for.
  • Automatically fall back to the alternate provider if the primary provider returns an error.
  • List connected accounts to show available platforms before prompting a user to post.

FAQ

Set POSTFORME_API_KEY for the primary provider and optionally LATE_API_KEY for a fallback in your .env.

Can I post images to Twitter/X and Instagram?

Yes. Twitter/X supports images via media_urls and Instagram requires at least one media URL; provide publicly accessible image links.

How does scheduling work?

Pass a scheduled_for datetime in UTC to schedule the post; the client sends that timestamp to the provider for delayed publishing.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational