360 Secure SkillHub
360 安全技能中心

Social Post Generator Agent

该 Skill 提供 generate.sh、thread.sh、hook.sh 三个脚本,将博客文章 URL 或文本改写为 5 条社交媒体帖子、编号推文串和 10 条开头钩子,可通过 PLATFORM、TONE、BRAND_NAME、HASHTAGS 环境变量配置平台与语气,使用 curl 抓取网页内容,输出为可直接复制发布的文本。

kryzl19
kryzl19
热度 41.62
最近更新 2026-05-11 17:36:26
分类:营销依赖:代码执行 / 第三方 API / 读写文件应用场景:社交媒体 / 文案创作 / 博客写作

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add social-post-generator-agent
Metadata
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 <url_or_text_file>

Output: 5 formatted posts ready to publish.

thread.sh — Create Twitter Thread

Generates a thread of connected tweets from an article.

./scripts/thread.sh <url_or_text_file>

Output: Numbered thread tweets with proper formatting.

hook.sh — Create Viral Hooks

Generates attention-grabbing opening hooks for social posts.

./scripts/hook.sh <url_or_text_file>

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