Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计异常

x2c-socialposterx2c 社交海报

Agent Skill

x2c-socialposter 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

504

周安装

21

GitHub Stars

公开资料未说明

下载量

168
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:x2c-socialposter(x2c 社交海报)
来源仓库:https://github.com/giggle-official/skills
仓库路径:skills/x2c-socialposter
安装命令:
npx skills add https://github.com/giggle-official/skills --skill x2c-socialposter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/giggle-official/skills --skill x2c-socialposter

简介

x2c-socialposter 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中整理协作事项。

  • 适用于围绕仓库状态、代码变更或团队协作进行信息梳理与汇总。
  • 通过输入仓库链接、Issue 编号或 PR 信息,由 Agent 提取并组织相关数据。
  • 安装前需确认权限范围、维护状态,注意是否触发联网或 API 调用。
  • 建议结合原始 README 和仓库路径进一步核验具体用法和功能边界。

SKILL.md

简体中文 | English

X2C Social Poster

Source: storyclaw-official/skills · Dashboard: x2creel.ai

Publish posts, manage comments, and upload media to 13+ social platforms via X2C Open API. Features smart upload (auto-selects pre-signed URL for large files), per-platform validation, and one-step publish with local files.


Installation Requirements

RequirementValue
Binarypython3
EnvironmentX2C_API_KEY (required; obtain from X2C Dashboard)
Piprequests

Set X2C_API_KEY before use. The script will prompt if not configured.


First-Time Setup Guide

When the user invokes this skill for the first time, follow these onboarding steps IN ORDER:

Step 0: Check API Key

python3 scripts/x2c_social.py --action check-key
  • If the key is set → proceed to Step 1.
  • If the key is NOT set → guide the user:
🔑 X2C API Key is not configured yet. Let's set it up:

1. Go to https://www.x2creel.ai/social-accounts and sign up / log in
2. Click "Link Account" to connect your social media accounts (TikTok, Instagram, etc.)
3. On the same page, scroll down to "Developer API Key" section and click "Get API Key"
4. Copy your X2C Open API Key and paste it here

Once you provide the key, I'll save it for you.

Step 1: Verify Linked Accounts

python3 scripts/x2c_social.py --action status

Display the linked platforms. If none are linked:

⚠️ No social accounts linked yet.
Please visit https://www.x2creel.ai/social-accounts to link your accounts.

Platform Requirements Quick Reference

Before publishing, always check the target platform's requirements and guide the user accordingly.

PlatformIDMedia RequiredText LimitMax MediaSupported TypesKey Constraints
YouTubeyoutube✅ (video)title:100 desc:5,0001 videoMP4, MOV, AVI, WMV--title required (auto-gen if missing, max 100 chars). Default visibility = public.
Instagraminstagram2,20010 (carousel)JPEG, PNG, MP4Must be Business/Creator. No text-only. Max 5 hashtags, 3 @mentions.
TikToktiktok2,2001 video or 35 imagesMP4, JPG, JPEG, WEBPImages & video can't mix. No PNG. No \n in text. AI content must mark --ai-generated.
X (Twitter)twitter2804 images or 1 videoJPEG, PNG, GIF, MP4Images and videos can't mix. BYO API keys required. Use longPost for >280 chars.
Facebookfacebook63,20610+JPEG, PNG, MP4Must be a Page (not personal).
LinkedInlinkedin3,0009JPEG, PNG, GIF, MP4Personal or Company page.
Pinterestpinterest5005 (carousel)JPEG, PNGImage required. Video requires --thumbnail.
Redditreddittitle:300 post:40,0001JPEG, PNG, GIF, MP4--title required. --subreddit required.
GMBgmb1,5001JPEG, PNG, MP4Verified business. No phone numbers in text.
Blueskybluesky3004JPEG, PNG, MP4300 chars including links.
Threadsthreads50010 (carousel)JPEG, PNG, MP4Linked to Instagram account.
Snapchatsnapchat1601JPEG, PNG, MP4Exactly 1 media item.
Telegramtelegram4,0961JPEG, PNG, GIF, MP4Bot + Channel/Group.

⚠️ Multi-Platform Posting Caveat

When posting to multiple platforms simultaneously, content guards apply sequentially — the shortest character limit wins and will truncate for all platforms. If you need different text per platform, make separate publish calls.

Platform-Specific Parameters

When publishing to these platforms, the script automatically validates and builds platform options:

ParameterPlatformsDescription
--titleYouTube, RedditPost/video title (required). YouTube auto-generates from post text if missing (max 100 chars).
--subredditRedditTarget subreddit without r/ (required)
--visibilityYouTube, TikTokpublic/unlisted/private (YT), PUBLIC_TO_EVERYONE/SELF_ONLY etc. (TT)
--thumbnailPinterestThumbnail URL for video pins (required for video)
--ai-generatedTikTokMark content as AI-generated (recommended for AI content)

Media Upload

The script uses smart upload — automatically selects the best method based on file size:

MethodFile SizeLimitHow It Works
Direct upload≤ 50MB~50MBOne-step multipart upload
Pre-signed URL> 50MB5GBGets S3 pre-signed URL → PUT directly to S3

This is handled automatically — the user just provides a file path and the script picks the right method.

Standalone Upload

# Small file → direct upload
python3 scripts/x2c_social.py --action upload --file /path/to/image.jpg

# Large file → auto pre-signed upload
python3 scripts/x2c_social.py --action upload --file /path/to/large_video.mp4 --folder videos

One-Step Publish with Local Files

When publishing, local files are auto-uploaded before publishing — no separate upload step needed:

# 75MB video → auto pre-signed upload → publish
python3 scripts/x2c_social.py --action publish \
  --platforms tiktok instagram \
  --post "Check this out! 🎬" \
  --media-files /path/to/large_video.mp4

Output flow:

{"status": "uploading", "file": "large_video.mp4", "size_mb": 75.2, "method": "presigned", "message": "..."}
{"status": "uploaded", "file": "large_video.mp4", "url": "https://v.arkfs.co/.../large_video.mp4", "method": "presigned"}
{"success": true, "data": {"id": "post_abc123", "postIds": [...]}}

Commands

1. Check Linked Accounts

python3 scripts/x2c_social.py --action status

2. Publish Post

# Text-only (works for: twitter, facebook, linkedin, reddit, gmb, bluesky, threads, telegram)
python3 scripts/x2c_social.py --action publish \
  --platforms twitter facebook \
  --post "Hello world! 🚀"

# With local file — auto-uploaded (any size up to 5GB)
python3 scripts/x2c_social.py --action publish \
  --platforms tiktok instagram \
  --post "Watch this! 🎬" \
  --media-files /path/to/video.mp4

# With remote URL
python3 scripts/x2c_social.py --action publish \
  --platforms tiktok instagram \
  --post "Watch this! 🎬" \
  --media-urls "https://example.com/video.mp4"

# Mix local + remote
python3 scripts/x2c_social.py --action publish \
  --platforms facebook \
  --post "Double media! 🎬" \
  --media-files /local/video.mp4 \
  --media-urls "https://cdn.example.com/image.jpg"

# YouTube — title required
python3 scripts/x2c_social.py --action publish \
  --platforms youtube \
  --post "Video description here" \
  --title "My YouTube Video" \
  --visibility public \
  --media-files /path/to/video.mp4

# Reddit — title + subreddit required
python3 scripts/x2c_social.py --action publish \
  --platforms reddit \
  --post "Post body text" \
  --title "Discussion: AI in 2026" \
  --subreddit technology

# TikTok — mark AI content
python3 scripts/x2c_social.py --action publish \
  --platforms tiktok \
  --post "AI generated content" \
  --ai-generated \
  --media-files /path/to/ai_video.mp4

# Scheduled post
python3 scripts/x2c_social.py --action publish \
  --platforms tiktok instagram \
  --post "Coming soon! ⏰" \
  --media-files /path/to/video.mp4 \
  --schedule "2026-04-01T12:00:00Z"

# Shorten links
python3 scripts/x2c_social.py --action publish \
  --platforms twitter linkedin \
  --post "Read our blog: https://example.com/very-long-url" \
  --shorten-links

3. Get Post History

python3 scripts/x2c_social.py --action posts
python3 scripts/x2c_social.py --action posts --platform tiktok

4. Delete Post

python3 scripts/x2c_social.py --action delete-post --post-id post_abc123
python3 scripts/x2c_social.py --action delete-post --post-id post_abc123 --bulk

5. Post Comment

python3 scripts/x2c_social.py --action comment \
  --post-id post_abc123 --platforms tiktok --comment "Great! 🔥"

6. Get Comments

python3 scripts/x2c_social.py --action comments --post-id post_abc123 --platform tiktok

7. Reply to Comment

python3 scripts/x2c_social.py --action reply \
  --comment-id comment_xyz --platforms tiktok --comment "Thanks!"

8. Delete Comment

python3 scripts/x2c_social.py --action delete-comment --comment-id comment_xyz

9. Upload Media (standalone)

python3 scripts/x2c_social.py --action upload --file /path/to/file.mp4 --folder videos

Parameter Reference

ParameterRequiredDescription
--actionAction to perform
--postfor publishPost text content
--platformsfor publishSpace-separated target platforms
--platformfor filteringSingle platform filter
--media-urlsRemote URLs or local paths (auto-uploaded)
--media-filesLocal file paths to auto-upload and attach
--scheduleISO 8601 date for scheduled posting
--shorten-linksShorten URLs in post text
--titleYouTube, RedditPost/video title
--subredditRedditTarget subreddit (without r/)
--visibilityYouTube, TikTokPost visibility setting
--thumbnailPinterestVideo thumbnail URL
--ai-generatedTikTokMark as AI-generated content
--post-idfor post opsAyrshare post ID
--comment-idfor comment opsComment ID
--commentfor comment/replyComment or reply text
--bulkDelete from all platforms
--filefor uploadLocal file path to upload
--folderUpload subfolder (default: uploads)

Interaction Guide

When the user request is vague, guide per the steps below. If the user has provided enough info, run the command directly.

Step 1: Onboarding Check

Always run the First-Time Setup Guide first. Verify API key and linked accounts.

Step 2: Determine Intent

What would you like to do?
Options:
  📝 Publish a post
  📊 View post history
  💬 Manage comments
  📤 Upload media
  🔗 Check linked accounts

Step 3: For Publishing — Platform-Aware Guidance

  1. Ask which platforms → show only linked platforms from status check.
  2. Check platform requirements and proactively ask for required fields:

- YouTube → ask for --title and --visibility - Reddit → ask for --title and --subreddit - Instagram/TikTok/Pinterest/Snapchat → remind media is required - TikTok with AI content → suggest --ai-generated

  1. Ask for post content → check text length against platform limits.
  2. Ask about media → accept local files or remote URLs. Local files auto-upload (any size).
  3. Ask about scheduling → publish now or schedule for later.

Step 4: Execute and Display

Run the command. The script will:

  1. Auto-upload local files (smart method selection)
  2. Validate against platform requirements
  3. Build platform-specific options
  4. Publish and return per-platform results

Display results clearly, highlighting any per-platform success/failure.


Error Handling

CodeMeaningAction
400Missing/invalid parametersCheck platform requirements and fix
401Invalid API keyGuide user to verify/reset key
500Server errorRetry or inform user

The script also performs client-side validation before calling the API:

  • Text length per platform
  • Media required check
  • Required fields (title, subreddit)
  • Media count limits (Snapchat = 1)

Fatal validation errors block the publish. Warnings are displayed but don't block.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.88%
按下载量换算59

Claude

28.75%
按下载量换算48

Cursor

17.69%
按下载量换算30

Gemini CLI

9.04%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills