360 Secure SkillHub
360 安全技能中心

SocialKit Bluesky Post

该 Skill 按 socialkit-social-core 流程创建帖子目录、校验 post.json,并要求用户在本机终端批准,随后使用应用密码通过 Bluesky AT Protocol 发布文本、图片或链接卡片并报告结果。

分类:营销
ahmadhussain0335
ahmadhussain0335
热度 36.30
最近更新 2026-11-06 14:52:29

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add ahmadhussain0335/socialkit-bluesky-post
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
socialkit-bluesky-post
description
Publishes a Bluesky post with optional images or a link card through the AT Protocol, using the user's app password, after the user approves it. Use when the user wants to post on Bluesky.
license
MIT
metadata
{"author":"Ahmad Hussain","platform":"bluesky","requires":"socialkit-social-core"}

Bluesky post

Apply socialkit-social-core. Official API only. Setup: setup.

Rules

  • 300 characters; links and #hashtags become clickable automatically.
  • Alt text is required on every image; images up to 2 MB.
  • Use an app password, never the account password.

Steps

  1. Check the credentials in setup are set (environment variables only).
  2. Create the post folder with the socialkit-social-core post script: node <socialkit-social-core>/scripts/post.mjs --init --dir bsky-<slug> --platform bluesky --kind <text|images|link>
  3. Write post.json (text, media with alt text, options). See node scripts/publish.mjs --help.
  4. Validate: node scripts/publish.mjs --check --dir bsky-<slug>
  5. Stop. Show the post. Ask the user to approve in their own terminal: node <socialkit-social-core>/scripts/post.mjs --approve --dir bsky-<slug>
  6. Publish: node scripts/publish.mjs --publish --dir bsky-<slug> and report the result.

Failure handling

  • BLUESKY_AuthenticationRequired: check BLUESKY_HANDLE and BLUESKY_APP_PASSWORD.
  • BLUESKY_IMAGE_SIZE: resize the image below 2 MB.
  • APPROVAL_REQUIRED: the post changed after approval; ask again.
  • ALREADY_PUBLISHED: this folder was posted; use --allow-repost only if the user asks.