← 返回
未分类 中文

Tweet Share Card

Convert an X/Twitter post URL into a polished share card image by capturing the tweet content and compositing it on a styled background.
将 X/Twitter 动态链接转换为精致的分享卡片图片,提取推文内容并合成到精美背景上。
efficiency97 efficiency97 来源
未分类 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 358
下载
💾 0
安装
1
版本
#latest

概述

Create a share image from an X/Twitter post.

When to use

  • User sends an x.com / twitter.com post URL
  • User wants a tweet screenshot, share card, poster, or social-share image
  • User wants the final image sent back in chat

Workflow

  1. Extract the tweet URL from the user message.
  2. Open the tweet in the dedicated visible Chrome profile/session already used for X login.
  3. Capture the tweet content area only:
    • keep avatar/name/text/link preview
    • exclude right sidebar
    • exclude reply/action counts when possible
    • do not rewrite or re-typeset tweet text
  4. Parse any user-requested color style (examples: pink, blue-purple, purple-blue, peach, mint).
  5. Composite the captured tweet area onto a poster background using that style.
  6. Save the final image under workspace/tmp/.
  7. Send the final image back to the user.

Rules

  • Prefer the user's logged-in dedicated Chrome profile, not their default browser profile.
  • Do not use headless/embed screenshots if they produce blank/incorrect tweet content.
  • The tweet content must be a real screenshot, not re-rendered fake text.
  • Default background style: clean pink poster style.
  • Support color presets when the user asks, including pink, blue-purple, purple-blue, peach, and mint.
  • Default output is a square share card with a peach background unless the user asks for another preset.
  • The white content card should adapt to content height instead of using a fixed internal height.
  • Preserve the tweet content area without cropping away core text.
  • Always inspect the result before sending if the capture path changed.

Output

Return the final image directly to the user with a short caption only if needed.

Scripts

  • python3 {Skills Directory}/tweet-share-card/scripts/capture_visible_tweet.py
  • python3 {Skills Directory}/tweet-share-card/scripts/compose_pink_card.py [pink|blue-purple|purple-blue|peach|mint]

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-05-07 12:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 676 📥 325,418
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,379 📥 320,415
ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,227 📥 267,818