π¦ ClawHub
Social Media Manager
by @tryan310
Automate high-engagement 6-slide TikTok carousels using AI-generated consistent images and Postiz API for draft scheduling and notification.
TERMINAL
clawhub install social-media-managerπ About This Skill
SKILL: Social Media Manager
Goal
Automate the creation and scheduling of high-engagement social media content across any platform (TikTok, Instagram, X/Twitter, LinkedIn, Facebook, YouTube, and more) using AI generation and the Postiz API.Supported Platforms
Postiz supports multi-platform publishing. Any platform you connect in Postiz can be targeted:Workflow
1. Research & Ideation: Brainstorm hooks using the "Conflict Formula":[Person] + [Conflict/Doubt] -> [AI Solution] -> [Resolution].
2. Content Generation: Use AI to generate platform-appropriate content.
- Images/Slides: AI-generated visuals (e.g., Nano Banana Pro, gpt-image-1.5) at platform-optimal resolutions.
- Text: AI-written captions, threads, or articles tailored to each platform's tone and format.
- Video thumbnails: AI-generated cover images for video content.
3. Platform Adaptation: Adjust content format per platform:
- TikTok/Instagram: Portrait 1024x1536, 6-slide carousels
- X/Twitter: Landscape/square images, concise text
- LinkedIn: Professional tone, landscape images
- YouTube Shorts: Portrait video thumbnails
4. Consistency Check: Ensure "locked architecture" (same subject/theme, different styles).
- *Critical*: Write one detailed description of the subject and reuse it in EVERY prompt. Only change the style/lighting/context.
5. Scheduling & Publishing: Upload and schedule via Postiz API.
- Draft mode (SELF_ONLY) for review before publishing.
- Scheduled posts for optimal engagement times.
- Cross-post the same content across multiple platforms simultaneously.
6. Notification: Ping user with the caption and links to review/publish.Postiz API Integration
Postiz acts as the universal publishing layer. One API handles all connected platforms.Configuration
https://api.postiz.com/public/v1Authorization: (No Bearer prefix).POST /upload first to get id and path.UPLOAD (Draft) for multi-image content. DIRECT_POST works for single-image/text posts.Posting Structure
type ("now" or "schedule"), date (ISO 8601), posts (array).integration: { id: "..." }, value: [ { content: "...", image: [ { id, path } ] } ].__type: "tiktok", __type: "instagram", etc.).Technical Specs
curl -X POST {API_URL}/upload -H "Authorization: {KEY}" -F "file=@path/to/file"curl -X POST {API_URL}/posts -H "Authorization: {KEY}" -H "Content-Type: application/json" -d '{...}'curl {API_URL}/integrations -H "Authorization: {KEY}" β use this to discover connected platforms and their integration IDs.Prompt Strategy
The Conflict Formula
Adaptable to any product, service, or brand:[Person] + [Common Pain Point] -> [Your Solution] -> [Success/Resolution]Slide/Carousel Structure
Success Log
duet/stitch/comment (booleans), autoAddMusic ("yes"/"no"), brand_content_toggle/brand_organic_toggle (booleans). Top-level shortLink (bool) and tags (array) required.UPLOAD method for TikTok slideshows. Confirmed that DIRECT_POST triggers ERROR state for multi-image sequences.Failure Log
Authorization: (no Bearer).content_posting_method and privacy_level in settings.posts array structure.βοΈ Configuration
https://api.postiz.com/public/v1Authorization: (No Bearer prefix).POST /upload first to get id and path.UPLOAD (Draft) for multi-image content. DIRECT_POST works for single-image/text posts.Posting Structure
type ("now" or "schedule"), date (ISO 8601), posts (array).integration: { id: "..." }, value: [ { content: "...", image: [ { id, path } ] } ].__type: "tiktok", __type: "instagram", etc.).Technical Specs
curl -X POST {API_URL}/upload -H "Authorization: {KEY}" -F "file=@path/to/file"curl -X POST {API_URL}/posts -H "Authorization: {KEY}" -H "Content-Type: application/json" -d '{...}'curl {API_URL}/integrations -H "Authorization: {KEY}" β use this to discover connected platforms and their integration IDs.