🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Social Post Generator

by @kryzl19

Take a blog post URL or text and generate social media posts from it. Use when repurposing content for Twitter, LinkedIn, or creating promotional posts.

Versionv1.0.0
Downloads583
TERMINAL
clawhub install strd-social-post-gen

πŸ“– About This Skill


name: social-post-generator description: Take a blog post URL or text and generate social media posts from it. Use when repurposing content for Twitter, LinkedIn, or creating promotional posts. metadata: { "openclaw": { "requires": { "bins": ["curl"] }, "install": [], }, }

Social Post Generator

Transform blog posts and articles into social media content β€” tweets, LinkedIn posts, and viral hooks.

Environment Variables

| Variable | Required | Default | Description | |----------|----------|---------|-------------| | PLATFORM | No | twitter | Target platform: twitter or linkedin | | TONE | No | professional | Tone of voice: professional, casual, or technical | | BRAND_NAME | No | β€” | Brand/person name for attribution | | HASHTAGS | No | β€” | Comma-separated default hashtags |

Scripts

generate.sh β€” Generate Posts

Generates 5 social media posts from an article URL or text.

./scripts/generate.sh 

Output: 5 formatted posts ready to publish.

thread.sh β€” Create Twitter Thread

Generates a thread of connected tweets from an article.

./scripts/thread.sh 

Output: Numbered thread tweets with proper formatting.

hook.sh β€” Create Viral Hooks

Generates attention-grabbing opening hooks for social posts.

./scripts/hook.sh 

Output: 10 hook variations to test.

Usage Example

export PLATFORM=twitter
export TONE=casual
export BRAND_NAME="MyBrand"

Generate 5 tweets from an article

./scripts/generate.sh https://example.com/blog/post

Create a thread

./scripts/thread.sh article.txt

Get viral hooks

./scripts/hook.sh article.txt

Notes

  • Uses web_fetch to extract content from URLs
  • Each platform has character limits (Twitter: 280, LinkedIn: 3000)
  • Generates hashtag suggestions based on content
  • Output is copy-paste ready with line breaks
  • Add --dry-run to any script to preview without saving
  • πŸ“‹ Tips & Best Practices

  • Uses web_fetch to extract content from URLs
  • Each platform has character limits (Twitter: 280, LinkedIn: 3000)
  • Generates hashtag suggestions based on content
  • Output is copy-paste ready with line breaks
  • Add --dry-run to any script to preview without saving