360 Secure SkillHub
360 安全技能中心

Content Repurposer

核心功能是将文章、博客等内容转成X/Twitter线程、LinkedIn帖、Instagram文案等多平台可直接发布的内容,还能生成摘要。典型场景包括批量制作社交素材、自动化内容分发。支持URL、本地文件、标准输入等输入方式,可指定输出平台,能保存为文件或JSON格式,适配手动与自动化需求。

mariusfit
mariusfit
热度 68.88
最近更新 2026-05-17 12:38:26
分类:营销依赖:代码执行 / 联网浏览搜索 / 读写文件应用场景:社交媒体 / 文案创作 / 摘要总结 / 邮件起草

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add oc-content-repurposer
Metadata
name
content-repurposer
description
Repurpose any blog post or article into multiple social media formats. Input a URL or text, get X/Twitter thread, LinkedIn post, Instagram caption, email snippet, and summary. Use when asked to repurpose content, create social posts from an article, turn a blog into tweets, or generate multi-platform content.

Content Repurposer

Turn any article or blog post into ready-to-post content for multiple platforms.

Quick Start

# Repurpose from URL — generates all formats
uv run --with beautifulsoup4 python scripts/repurpose.py url "https://example.com/blog-post"

# Repurpose from text file
python scripts/repurpose.py file article.txt

# Generate only specific formats
uv run --with beautifulsoup4 python scripts/repurpose.py url "https://example.com/post" --formats twitter,linkedin

# Output as JSON (for automation)
uv run --with beautifulsoup4 python scripts/repurpose.py url "https://example.com/post" -f json

# Save all outputs to files
uv run --with beautifulsoup4 python scripts/repurpose.py url "https://example.com/post" -o output/

# Repurpose from clipboard/stdin
echo "Your article text here..." | python scripts/repurpose.py stdin

Commands

Command Args Description
url <url> [--formats LIST] [-f FORMAT] [-o DIR] Extract article from URL and repurpose
file <path> [--formats LIST] [-f FORMAT] [-o DIR] Repurpose from text/markdown file
stdin [--formats LIST] [-f FORMAT] Repurpose from piped input

Output Formats

Platform What You Get
Twitter/X Thread of 5-8 tweets, each ≤280 chars, with hooks and hashtags
LinkedIn Professional post (1300 chars), insight-driven, with CTA
Instagram Caption (2200 chars max), storytelling style, 20-30 hashtags
Email Newsletter snippet with subject line, preview text, and body
Summary 3-sentence TL;DR for quick sharing

Examples

From URL

uv run --with beautifulsoup4 python scripts/repurpose.py url "https://blog.example.com/ai-trends-2026"

Only Twitter + LinkedIn

uv run --with beautifulsoup4 python scripts/repurpose.py url "https://example.com/post" --formats twitter,linkedin

Save to directory

uv run --with beautifulsoup4 python scripts/repurpose.py url "https://example.com/post" -o ./social-posts/
# Creates: twitter.txt, linkedin.txt, instagram.txt, email.txt, summary.txt

Notes

  • Uses beautifulsoup4 for URL extraction (optional for file/stdin input)
  • Content extraction focuses on article body (removes nav, sidebar, footer)
  • All generated content is original repurposing, not copy-paste
  • Character limits are enforced per platform